/**
 * shipping.css — Shipping & Delivery page (ported from shipping-and-delivery.html).
 *
 * The source mockup used Tailwind; this is hand-written semantic CSS, scoped
 * under .shipping-page. Design tokens are redeclared here (not global in the
 * theme) and loaded only on is_page('shipping-and-delivery') after the
 * base/header/footer styles. Theme chrome + scroll-reveal toggling are global;
 * only the reveal initial state is shipped here. Fonts/FontAwesome are global.
 */

.shipping-page {
	--primary: #1565c0;
	--primary-dark: #0d47a1;
	--primary-light: #1976d2;
	--accent: #f9d67b;
	--accent-dark: #f0c44a;
	--dark: #1a1a2e;
	--gray: #5a6a85;
	--light-gray: #eef4ff;
	--border: #d0def5;
	--white: #ffffff;
	--surface: #f5f8ff;
	--surface-soft: #fbfdff;
	--font-head: 'Sora', sans-serif;
	--font-body: 'DM Sans', sans-serif;
	--shadow-sm: 0 2px 12px rgba( 21, 101, 192, 0.08 );
	--shadow-md: 0 8px 32px rgba( 21, 101, 192, 0.14 );
	--shadow-lg: 0 16px 48px rgba( 21, 101, 192, 0.18 );
	--hero-grad: linear-gradient( 135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100% );
	--radius: 12px;
	--transition: all 0.3s ease;
	font-family: var( --font-body );
	color: var( --dark );
	font-size: 16px;
	line-height: 1.6;
}

.shipping-page .container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Scroll-reveal initial state (toggled to .sp-visible by global js). */
.shipping-page .sp-anim {
	opacity: 0;
	transform: translateY( 24px );
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.shipping-page .sp-anim[data-anim='fadeInRight'] {
	transform: translateX( 16px );
}

.shipping-page .sp-anim.sp-visible {
	opacity: 1;
	transform: none;
}

/* ===== buttons (page-local; home.css btn only loads on front page) ===== */
.shipping-page .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 50px;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
	transition: var( --transition );
}

.shipping-page .btn-accent {
	background: var( --accent );
	color: var( --primary );
	border-color: var( --accent );
}

.shipping-page .btn-accent:hover {
	background: var( --accent-dark );
	border-color: var( --accent-dark );
	transform: translateY( -2px );
}

.shipping-page .btn-outline-white {
	background: transparent;
	color: var( --white );
	border-color: rgba( 255, 255, 255, 0.45 );
}

.shipping-page .btn-outline-white:hover {
	background: var( --white );
	color: var( --primary );
	transform: translateY( -2px );
}

/* ===== HERO ===== */
.ship-hero {
	position: relative;
	overflow: hidden;
	background: var( --hero-grad );
	padding: 64px 0 96px;
	color: var( --white );
}

.ship-ring {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
}

.ship-ring-1 {
	width: 430px;
	height: 430px;
	top: -176px;
	right: -96px;
}

.ship-ring-2 {
	width: 240px;
	height: 240px;
	bottom: -96px;
	left: 6%;
}

.ship-ring-3 {
	width: 80px;
	height: 80px;
	top: 48px;
	left: 18%;
	border: 2px solid rgba( 249, 214, 123, 0.15 );
}

.ship-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 56px;
	background: var( --surface );
	clip-path: polygon( 0 64%, 25% 34%, 50% 56%, 75% 30%, 100% 42%, 100% 100%, 0 100% );
	pointer-events: none;
}

.ship-hero .container {
	position: relative;
	z-index: 2;
}

.ship-hero-inner {
	max-width: 760px;
}

.shipping-page .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba( 255, 255, 255, 0.65 );
	margin-bottom: 20px;
}

.shipping-page .breadcrumb a {
	color: rgba( 255, 255, 255, 0.65 );
	text-decoration: none;
	transition: var( --transition );
}

.shipping-page .breadcrumb a:hover {
	color: var( --accent );
}

.shipping-page .breadcrumb-sep {
	font-size: 10px;
	color: rgba( 255, 255, 255, 0.35 );
}

.shipping-page .breadcrumb-current {
	font-weight: 600;
	color: var( --accent );
}

.ship-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba( 249, 214, 123, 0.45 );
	background: rgba( 249, 214, 123, 0.2 );
	color: var( --accent );
	font-family: var( --font-head );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 50px;
	margin-bottom: 16px;
}

.ship-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var( --accent );
}

.ship-hero h1 {
	font-family: var( --font-head );
	font-size: clamp( 34px, 5vw, 56px );
	font-weight: 800;
	line-height: 1.15;
	color: var( --white );
	margin-bottom: 16px;
}

.ship-hero-desc {
	max-width: 660px;
	font-size: 18px;
	line-height: 1.7;
	color: rgba( 255, 255, 255, 0.75 );
}

/* ===== CONTENT LAYOUT ===== */
.ship-content {
	background: var( --surface );
	padding: 64px 0;
}

@media ( min-width: 768px ) {
	.ship-content {
		padding: 80px 0;
	}
}

.ship-layout {
	display: grid;
	gap: 32px;
	align-items: start;
}

@media ( min-width: 1024px ) {
	.ship-layout {
		grid-template-columns: 1fr 300px;
	}
}

.ship-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ===== CARDS ===== */
.ship-card {
	background: var( --white );
	border: 1px solid var( --border );
	border-radius: var( --radius );
	box-shadow: var( --shadow-sm );
	padding: 24px;
}

@media ( min-width: 768px ) {
	.ship-card {
		padding: 32px;
	}
}

.ship-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.ship-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: var( --radius );
	background: var( --light-gray );
	color: var( --primary );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.ship-icon-lg {
	width: 48px;
	height: 48px;
	font-size: 20px;
	margin-bottom: 14px;
}

.ship-icon-accent {
	background: rgba( 249, 214, 123, 0.2 );
	color: var( --accent );
}

.ship-card h2 {
	font-family: var( --font-head );
	font-size: 24px;
	font-weight: 700;
	color: var( --dark );
}

.ship-card .ship-h2-sm {
	font-size: 20px;
}

.ship-card > p {
	color: var( --gray );
	line-height: 1.75;
}

.ship-grid-2 {
	display: grid;
	gap: 20px;
}

@media ( min-width: 768px ) {
	.ship-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.ship-subcard {
	border: 1px solid var( --border );
	background: var( --surface-soft );
	border-radius: var( --radius );
	padding: 20px;
}

.ship-subcard h3 {
	font-family: var( --font-head );
	font-size: 18px;
	font-weight: 700;
	color: var( --primary );
	margin-bottom: 12px;
}

/* ===== CHECK LISTS ===== */
.ship-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ship-check-list li {
	display: flex;
	gap: 10px;
	font-size: 14px;
	line-height: 1.65;
	color: var( --gray );
}

.ship-check-list.ship-check-list-lg li {
	font-size: 15px;
	line-height: 1.75;
}

.ship-check-list li i {
	margin-top: 4px;
	color: var( --primary );
	flex-shrink: 0;
}

/* ===== TABLE ===== */
.ship-table-wrap {
	overflow-x: auto;
	border: 1px solid var( --border );
	border-radius: var( --radius );
}

.ship-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	min-width: 560px;
}

.ship-table thead {
	background: var( --primary );
	color: var( --white );
}

.ship-table th {
	font-size: 14px;
	font-weight: 700;
	padding: 16px;
}

.ship-table td {
	font-size: 14px;
	color: var( --gray );
	padding: 16px;
	border-top: 1px solid var( --border );
}

.ship-table tbody tr:nth-child( even ) {
	background: var( --surface-soft );
}

.ship-table .ship-cell-strong {
	font-weight: 600;
	color: var( --dark );
}

.ship-note {
	margin-top: 16px;
	border: 1px solid rgba( 249, 214, 123, 0.5 );
	background: rgba( 249, 214, 123, 0.15 );
	border-radius: var( --radius );
	padding: 16px;
	font-size: 14px;
	line-height: 1.7;
	color: var( --gray );
}

.ship-note strong {
	color: var( --dark );
}

/* ===== CONTACT TILES ===== */
.ship-contact-grid {
	display: grid;
	gap: 16px;
}

@media ( min-width: 640px ) {
	.ship-contact-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.ship-contact-tile {
	border: 1px solid var( --border );
	background: var( --surface-soft );
	border-radius: var( --radius );
	padding: 20px;
	text-decoration: none;
	transition: var( --transition );
}

.ship-contact-tile:hover {
	border-color: var( --primary );
	background: var( --light-gray );
}

.ship-contact-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --gray );
	margin-bottom: 4px;
}

.ship-contact-tile strong {
	font-family: var( --font-head );
	color: var( --primary );
}

.ship-contact-tile .ship-contact-sub {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var( --gray );
}

.ship-break {
	word-break: break-word;
}

/* ===== SIDEBAR ===== */
.ship-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media ( min-width: 1024px ) {
	.ship-sidebar {
		position: sticky;
		top: 112px;
		align-self: start;
	}
}

.ship-summary {
	border: 1px solid var( --border );
	background: var( --white );
	border-radius: var( --radius );
	box-shadow: var( --shadow-sm );
	padding: 24px;
}

.ship-summary h2 {
	font-family: var( --font-head );
	font-size: 20px;
	font-weight: 700;
	color: var( --dark );
	margin-bottom: 8px;
}

.ship-summary-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var( --gray );
}

.ship-summary-list strong {
	color: var( --dark );
}

.ship-support {
	border-radius: var( --radius );
	background: var( --hero-grad );
	box-shadow: var( --shadow-md );
	padding: 24px;
	color: var( --white );
}

.ship-support h2 {
	font-family: var( --font-head );
	font-size: 20px;
	font-weight: 700;
	color: var( --white );
	margin-bottom: 8px;
}

.ship-support p {
	font-size: 14px;
	line-height: 1.6;
	color: rgba( 255, 255, 255, 0.75 );
	margin-bottom: 20px;
}

.ship-support .btn {
	width: 100%;
	justify-content: center;
}

/* ===== CTA ===== */
.ship-cta {
	background: var( --surface );
	padding: 64px 0;
}

@media ( min-width: 768px ) {
	.ship-cta {
		padding: 80px 0;
	}
}

.ship-cta-card {
	position: relative;
	overflow: hidden;
	background: var( --hero-grad );
	border-radius: var( --radius );
	box-shadow: var( --shadow-lg );
	padding: 32px;
	color: var( --white );
}

@media ( min-width: 768px ) {
	.ship-cta-card {
		padding: 48px;
	}
}

.ship-cta-ring {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.ship-cta-ring-1 {
	width: 224px;
	height: 224px;
	top: -80px;
	right: -64px;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
}

.ship-cta-ring-2 {
	width: 176px;
	height: 176px;
	bottom: -80px;
	left: 40px;
	border: 1px solid rgba( 249, 214, 123, 0.2 );
}

.ship-cta-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 32px;
	align-items: center;
}

@media ( min-width: 1024px ) {
	.ship-cta-grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.ship-cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba( 249, 214, 123, 0.45 );
	background: rgba( 249, 214, 123, 0.15 );
	color: var( --accent );
	font-family: var( --font-head );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 50px;
	margin-bottom: 16px;
}

.ship-cta-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var( --accent );
}

.ship-cta-card h2 {
	font-family: var( --font-head );
	font-size: clamp( 28px, 4vw, 44px );
	font-weight: 800;
	line-height: 1.2;
	color: var( --white );
	margin-bottom: 16px;
}

.ship-cta-card p {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba( 255, 255, 255, 0.75 );
}

.ship-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media ( min-width: 1024px ) {
	.ship-cta-actions {
		justify-content: flex-end;
	}
}
