/* ==========================================================================
   Policies & Legal Pages: Terms & Conditions, Privacy, Shipping, Returns, COD
   Brand: Maroon #6c0e12 · Burgundy #3d0814 · Cream #faf8f4 · Ink #0f0f0f
   Typography: Baskervville (Display) & Nanami (Body)
   ========================================================================== */

.policy-page {
	padding-bottom: var(--box-gap, 24px);
}

.policy-page > section {
	width: var(--box-w, var(--wide));
	margin: var(--box-gap, 20px) auto 0;
	border-radius: var(--box-r, 28px);
	/* NOTE: overflow must NOT be hidden here — it breaks position:sticky on the sidebar */
	overflow: visible;
}

.policy-page h1,
.policy-page h2,
.policy-page h3,
.policy-page h4 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.2;
}

/* ── Hero Banner ─────────────────────────────────────────────────── */
.pol-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(260px, 28vw, 380px);
	background: radial-gradient(ellipse 70% 80% at 80% 20%, #7a1017 0%, rgba(122,16,23,0) 65%), var(--burgundy);
	color: #fff;
	background-size: cover;
	background-position: center;
}

.pol-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(30, 4, 10, .88) 0%, rgba(40, 5, 13, .55) 60%, rgba(40, 5, 13, .15) 100%);
	pointer-events: none;
}

.pol-hero__inner {
	position: relative;
	padding: clamp(36px, 5vw, 68px) clamp(24px, 5.5vw, 72px);
	max-width: 820px;
}

.pol-crumbs {
	margin-bottom: 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.pol-crumbs a {
	color: rgba(255, 255, 255, .7);
	transition: color .2s;
}

.pol-crumbs a:hover {
	color: #fff;
}

.pol-hero__eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.pol-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(32px, 4.8vw, 56px);
	color: #fff;
}

.pol-hero p {
	margin: 0;
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .88);
	max-width: 620px;
}

/* ── Policy Layout: Fixed Sidebar + Scrollable Main Content ───────── */
.pol-container {
	background: #fff;
	border: 1px solid var(--line, #e7e3dc);
	border-radius: var(--box-r, 28px);
	padding: clamp(36px, 5vw, 64px) clamp(20px, 4.5vw, 60px);
}

.pol-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(32px, 5vw, 64px);
	/* align-items MUST be start, not stretch — stretch makes the sticky cell fill
	   the full grid height which prevents the sticky from activating */
	align-items: start;
}

/* ── Sticky Sidebar ──────────────────────────────────────────────── */
.pol-sidebar {
	position: sticky;
	top: 96px;          /* sits just below the fixed site header */
	align-self: start;  /* crucial: keeps cell height == sidebar natural height */
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: none;        /* Firefox */
	-ms-overflow-style: none;     /* IE / Edge */
}

.pol-sidebar::-webkit-scrollbar { display: none; }

.pol-nav-card {
	padding: 24px 20px;
	border-radius: 20px;
	background: var(--box-soft, #f4f6f8);
	border: 1px solid var(--line, #e7e3dc);
}

.pol-nav-card__title {
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--maroon, #6c0e12);
	margin: 0 0 16px;
}

.pol-nav-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pol-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink, #0f0f0f);
	text-decoration: none;
	transition: background .2s, color .2s, transform .2s;
}

.pol-nav-link .icon {
	color: var(--muted, #888);
	transition: color .2s;
}

.pol-nav-link:hover {
	background: #fff;
	color: var(--maroon, #6c0e12);
	transform: translateX(3px);
}

.pol-nav-link:hover .icon {
	color: var(--maroon, #6c0e12);
}

.pol-nav-link.is-active {
	background: var(--maroon, #6c0e12);
	color: #fff;
	box-shadow: 0 4px 14px rgba(108, 14, 18, .2);
}

.pol-nav-link.is-active .icon {
	color: #fff;
}

.pol-help-card {
	padding: 22px 20px;
	border-radius: 20px;
	background: radial-gradient(ellipse at center, #4f0b1a 0%, #29050d 100%);
	color: #fff;
}

.pol-help-card h4 {
	font-size: 17px;
	color: #fff;
	margin: 0 0 8px;
}

.pol-help-card p {
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
	margin: 0 0 14px;
}

.pol-help-card a.cbtn {
	min-height: 38px;
	padding: 0 18px;
	font-size: 11px;
	width: 100%;
}

/* ── Content Sections ────────────────────────────────────────────── */
.pol-content {
	display: flex;
	flex-direction: column;
	gap: 56px;
	min-width: 0;
}

.pol-section {
	scroll-margin-top: 110px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line, #e7e3dc);
}

.pol-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.pol-section__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--maroon, #6c0e12);
	margin-bottom: 10px;
}

.pol-section h2 {
	font-size: clamp(26px, 3.2vw, 38px);
	color: var(--ink, #0f0f0f);
	margin: 0 0 18px;
}

.pol-section h3 {
	font-family: var(--font);
	font-size: 17px;
	font-weight: 700;
	color: var(--ink, #0f0f0f);
	margin: 28px 0 10px;
}

.pol-section p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--muted, #4a4a4a);
	margin: 0 0 16px;
}

.pol-section ul {
	margin: 0 0 20px 20px;
	padding: 0;
	list-style: disc;
}

.pol-section ul li {
	font-size: 14px;
	line-height: 1.75;
	color: var(--muted, #4a4a4a);
	margin-bottom: 8px;
}

/* ── Highlight & Alert Callout Boxes ─────────────────────────────── */
.pol-callout {
	display: flex;
	gap: 16px;
	padding: 20px 22px;
	border-radius: 16px;
	margin: 22px 0;
}

.pol-callout--info {
	background: var(--box-soft, #f4f6f8);
	border: 1px solid var(--line, #e7e3dc);
}

.pol-callout--gold {
	background: #fffdf5;
	border: 1px solid #ebd9a4;
}

.pol-callout--alert {
	background: #fdf5f6;
	border: 1px solid #f0ccd1;
}

.pol-callout__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.pol-callout--info .pol-callout__icon {
	background: #fff;
	color: var(--maroon, #6c0e12);
}

.pol-callout--gold .pol-callout__icon {
	background: #bfa15f;
	color: #fff;
}

.pol-callout--alert .pol-callout__icon {
	background: var(--maroon, #6c0e12);
	color: #fff;
}

.pol-callout__text {
	flex: 1;
	min-width: 0;
}

.pol-callout__text strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink, #0f0f0f);
	margin-bottom: 4px;
}

.pol-callout__text p {
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}

/* ── Mobile Horizontal Pill Bar ──────────────────────────────────── */
.pol-mobile-tabs {
	display: none;
	width: var(--box-w, var(--wide));
	margin: 14px auto 0;
	overflow-x: auto;
	white-space: nowrap;
	padding-bottom: 8px;
	gap: 8px;
}

.pol-mobile-pill {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line, #e7e3dc);
	font-size: 12px;
	font-weight: 600;
	color: var(--ink, #0f0f0f);
	text-decoration: none;
	transition: all .2s;
}

.pol-mobile-pill:hover,
.pol-mobile-pill.is-active {
	background: var(--maroon, #6c0e12);
	color: #fff;
	border-color: var(--maroon, #6c0e12);
}

/* ── Responsive adjustments ──────────────────────────────────────── */
@media (max-width: 992px) {
	.pol-layout {
		grid-template-columns: 1fr;
	}
	.pol-sidebar {
		display: none;
	}
	.pol-mobile-tabs {
		display: flex;
	}
}
