/*
 * Promotions — "Special Deals / Build Your Own Bundle" static page
 * "Dark Forest / Imperial Gold / Cream"  ·  Playfair Display + Nunito Sans
 * Standalone lane, strict `.eh-promo` scoping — shared design-bundle classes
 * (container/btn/eyebrow/section-head/page-head) are ported here with `.eh-`
 * prefix to avoid collisions with the Ecome parent theme. Loaded only on the
 * `promotions` page (functions.php NOVAMIRA_PROMOTIONS block). Tier copy/stats
 * are rendered from the $promo_tiers PHP array in page-promotions.php.
 */

.eh-promo {
	--eh-forest-900: #0d2a20;
	--eh-forest-800: #14392c;
	--eh-forest-700: #1b4332;
	--eh-herb-600: #2d6a4f;
	--eh-gold-600: #b78712;
	--eh-gold-500: #d4a017;
	--eh-gold-400: #e6bf4f;
	--eh-cream-50: #faf7f1;
	--eh-cream-100: #f8f5f0;
	--eh-cream-200: #efe8d9;
	--eh-ink-900: #14201a;
	--eh-ink-700: #2f3a32;
	--eh-ink-500: #6b7368;
	--eh-line: rgba(20, 32, 26, 0.12);
	--eh-line-dark: rgba(243, 228, 182, 0.18);
	--eh-font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
	--eh-font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
	--eh-font-mono: "JetBrains Mono", ui-monospace, monospace;

	font-family: var(--eh-font-body);
	color: var(--eh-ink-700);
	background: var(--eh-cream-50);
}

.eh-promo *,
.eh-promo *::before,
.eh-promo *::after { box-sizing: border-box; }

.eh-promo img { max-width: 100%; height: auto; display: block; }
.eh-promo a { color: inherit; text-decoration: none; }

.eh-promo h1, .eh-promo h2, .eh-promo h3, .eh-promo h4 {
	font-family: var(--eh-font-display);
	color: var(--eh-forest-900);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0;
}
.eh-promo p { margin: 0; }

/* === Shared ports === */
.eh-promo .eh-container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .eh-promo .eh-container { padding: 0 20px; } }

.eh-promo .eh-eyebrow {
	font-family: var(--eh-font-body);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 11px;
	font-weight: 700;
	color: var(--eh-gold-600);
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.eh-promo .eh-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--eh-gold-500); }
.eh-promo .eh-eyebrow.eh-center::after { content: ""; width: 28px; height: 1px; background: var(--eh-gold-500); }

.eh-promo .eh-section-head { margin-bottom: 56px; }
.eh-promo .eh-section-head.eh-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eh-promo .eh-section-head h2 .eh-gold { color: var(--eh-gold-500); font-style: italic; font-weight: 400; }

.eh-promo .eh-btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 28px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
	border-radius: 0; border: 1px solid transparent; transition: all 0.25s ease; white-space: nowrap;
}
.eh-promo .eh-btn-gold { background: var(--eh-gold-500); color: var(--eh-forest-900); border-color: var(--eh-gold-500); }
.eh-promo .eh-btn-gold:hover { background: var(--eh-gold-400); border-color: var(--eh-gold-400); transform: translateY(-1px); }
.eh-promo .eh-btn-outline { background: transparent; color: var(--eh-forest-900); border-color: var(--eh-forest-700); }
.eh-promo .eh-btn-outline:hover { background: var(--eh-forest-700); color: var(--eh-cream-100); }
.eh-promo .eh-arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .25s; }
.eh-promo .eh-arrow::after {
	content: ""; position: absolute; right: 0; top: -3px;
	width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.eh-promo .eh-btn:hover .eh-arrow { width: 26px; }

/* ============================================================ 01 PAGE HEAD */
.eh-promo-head { background: var(--eh-forest-900); color: var(--eh-cream-100); padding: 90px 0 80px; position: relative; overflow: hidden; }
.eh-promo-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45, 106, 79, 0.4), transparent 60%); }
.eh-promo-head-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; z-index: 2; }
.eh-promo-head h1 { color: var(--eh-cream-100); font-size: clamp(46px, 6vw, 86px); }
.eh-promo-head h1 .eh-gold { color: var(--eh-gold-500); font-style: italic; font-weight: 400; }
.eh-promo-head .eh-breadcrumbs { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(243, 228, 182, 0.55); margin-bottom: 22px; }
.eh-promo-head .eh-breadcrumbs a { color: var(--eh-gold-400); }
.eh-promo-head .eh-breadcrumbs .eh-sep { margin: 0 12px; opacity: 0.5; }
.eh-promo-head .eh-head-meta { text-align: right; }
.eh-promo-head .eh-head-meta p { color: rgba(243, 228, 182, 0.7); margin: 0 0 24px; max-width: 360px; margin-left: auto; line-height: 1.75; font-size: 15px; }
.eh-promo-head .eh-stats { display: flex; gap: 34px; justify-content: flex-end; }
.eh-promo-head .eh-stat-pair .eh-n { font-family: var(--eh-font-display); font-size: 44px; color: var(--eh-gold-500); display: block; line-height: 1; }
.eh-promo-head .eh-stat-pair .eh-l { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(243, 228, 182, 0.5); margin-top: 8px; display: block; }
.eh-promo-badge {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700;
	color: var(--eh-forest-900); background: var(--eh-gold-500);
	padding: 9px 18px; margin-bottom: 24px;
}
@media (max-width: 860px) {
	.eh-promo-head-inner { grid-template-columns: 1fr; gap: 36px; }
	.eh-promo-head .eh-head-meta { text-align: left; }
	.eh-promo-head .eh-head-meta p { margin-left: 0; }
	.eh-promo-head .eh-stats { justify-content: flex-start; gap: 28px; }
}

/* ============================================================ 02 INTRO BAND */
.eh-promo-intro { background: var(--eh-cream-100); border-bottom: 1px solid var(--eh-line); padding: 80px 0; }
.eh-promo-intro-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; align-items: start; }
@media (max-width: 860px) { .eh-promo-intro { padding: 56px 0; } .eh-promo-intro-inner { grid-template-columns: 1fr; gap: 32px; } }
.eh-promo-intro h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin-top: 20px; }
.eh-promo-intro h2 .eh-gold { color: var(--eh-gold-600); font-style: italic; font-weight: 400; }
.eh-promo-intro .eh-lede { font-size: 17px; line-height: 1.85; color: var(--eh-ink-700); text-wrap: pretty; }
.eh-promo-intro .eh-lede strong { color: var(--eh-forest-900); font-weight: 700; }

/* ============================================================ 03 TIERS */
.eh-tiers-section { background: var(--eh-cream-50); padding: 100px 0 110px; }
.eh-tiers-section .eh-section-head { margin-bottom: 56px; }
.eh-tiers-section .eh-section-head h2 { margin-top: 22px; }
.eh-tiers-section .eh-section-head p { text-align: center; margin: 18px auto 0; max-width: 520px; font-size: 16px; color: var(--eh-ink-500); line-height: 1.7; }
.eh-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .eh-tiers-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.eh-tier-card {
	background: var(--eh-cream-50);
	border: 1px solid var(--eh-line);
	padding: 42px 38px 40px;
	display: flex; flex-direction: column;
	position: relative; overflow: hidden;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.eh-tier-card::after {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: var(--eh-gold-500); transform: scaleX(0); transform-origin: left;
	transition: transform .35s ease;
}
.eh-tier-card:hover { transform: translateY(-5px); border-color: var(--eh-gold-400); box-shadow: 0 20px 44px rgba(13,42,32,0.10); }
.eh-tier-card:hover::after { transform: scaleX(1); }

.eh-tier-card.eh-feature { background: var(--eh-forest-900); border-color: var(--eh-forest-900); }
.eh-tier-card.eh-feature::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse 70% 60% at 70% 10%, rgba(212,160,23,0.20), transparent 60%);
	pointer-events: none;
}
.eh-tier-flag {
	position: absolute; top: 0; right: 0;
	background: var(--eh-gold-500); color: var(--eh-forest-900);
	font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
	padding: 8px 16px; z-index: 3;
}

.eh-tier-index { font-family: var(--eh-font-display); font-style: italic; font-size: 15px; color: var(--eh-gold-600); position: relative; }
.eh-tier-card.eh-feature .eh-tier-index { color: var(--eh-gold-400); }
.eh-tier-qty {
	font-family: var(--eh-font-display); font-size: 25px; font-weight: 500; color: var(--eh-forest-900);
	margin: 14px 0 28px; line-height: 1.1; position: relative;
}
.eh-tier-card.eh-feature .eh-tier-qty { color: var(--eh-cream-100); }
.eh-tier-qty span { font-style: italic; color: var(--eh-gold-600); }
.eh-tier-card.eh-feature .eh-tier-qty span { color: var(--eh-gold-400); }

.eh-tier-pct {
	font-family: var(--eh-font-display); font-weight: 500; color: var(--eh-forest-900);
	line-height: 0.9; letter-spacing: -0.02em; position: relative;
	display: flex; align-items: flex-start; gap: 4px;
}
.eh-tier-pct .eh-num { font-size: 92px; }
.eh-tier-pct .eh-sym { font-size: 38px; margin-top: 14px; color: var(--eh-gold-600); }
.eh-tier-card.eh-feature .eh-tier-pct { color: var(--eh-cream-100); }
.eh-tier-card.eh-feature .eh-tier-pct .eh-sym { color: var(--eh-gold-400); }
.eh-tier-off {
	font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700;
	color: var(--eh-ink-500); margin-top: 6px; position: relative;
}
.eh-tier-card.eh-feature .eh-tier-off { color: rgba(243, 228, 182, 0.65); }

.eh-tier-divider { height: 1px; background: var(--eh-line); margin: 30px 0 22px; position: relative; }
.eh-tier-card.eh-feature .eh-tier-divider { background: var(--eh-line-dark); }
.eh-tier-note {
	font-size: 14px; line-height: 1.65; color: var(--eh-ink-500); position: relative; text-wrap: pretty;
}
.eh-tier-card.eh-feature .eh-tier-note { color: rgba(243, 228, 182, 0.7); }
.eh-tier-foot {
	margin-top: auto; padding-top: 26px; position: relative;
	display: flex; align-items: center; gap: 10px;
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
	color: var(--eh-gold-600);
}
.eh-tier-card.eh-feature .eh-tier-foot { color: var(--eh-gold-400); }
.eh-tier-foot svg { width: 15px; height: 15px; }

.eh-promo-fineprint {
	text-align: center; margin-top: 40px;
	font-size: 12px; letter-spacing: 0.06em; color: var(--eh-ink-500); font-style: italic;
	font-family: var(--eh-font-display);
}

/* ============================================================ 04 HOW IT WORKS */
.eh-howto { background: var(--eh-cream-100); padding: 100px 0; border-top: 1px solid var(--eh-line); }
.eh-howto .eh-section-head { margin-bottom: 0; }
.eh-howto .eh-section-head h2 { margin-top: 22px; }
.eh-howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
@media (max-width: 860px) { .eh-howto-grid { grid-template-columns: 1fr; max-width: 440px; margin: 56px auto 0; } }
.eh-howto-card { border: 1px solid var(--eh-line); background: var(--eh-cream-50); padding: 40px 34px; display: flex; flex-direction: column; gap: 16px; }
.eh-howto-illu {
	width: 80px; height: 80px; color: var(--eh-herb-600);
	border: 1px solid var(--eh-line); background: #fff;
	display: inline-flex; align-items: center; justify-content: center; padding: 14px;
}
.eh-howto-illu svg { width: 100%; height: 100%; }
.eh-howto-step { font-family: var(--eh-font-display); font-style: italic; font-size: 15px; color: var(--eh-gold-600); }
.eh-howto-card h4 { font-family: var(--eh-font-display); font-size: 23px; font-weight: 500; color: var(--eh-forest-900); margin: 0; }
.eh-howto-card p { font-size: 14px; line-height: 1.7; color: var(--eh-ink-500); margin: 0; text-wrap: pretty; }

/* ============================================================ 05 SHIPPING PERKS */
.eh-perks { background: var(--eh-forest-900); color: var(--eh-cream-100); padding: 100px 0; overflow: hidden; }
.eh-perks .eh-section-head { margin-bottom: 0; }
.eh-perks .eh-eyebrow { color: var(--eh-gold-400); }
.eh-perks .eh-eyebrow::before, .eh-perks .eh-eyebrow.eh-center::after { background: var(--eh-gold-400); }
.eh-perks h2 { color: var(--eh-cream-100); margin-top: 22px; }
.eh-perks h2 .eh-gold { color: var(--eh-gold-400); font-style: italic; font-weight: 400; }
.eh-perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--eh-line-dark); margin-top: 56px; }
@media (max-width: 720px) { .eh-perks-grid { grid-template-columns: 1fr; } }
.eh-perk-cell {
	padding: 50px 44px 54px; border-right: 1px solid var(--eh-line-dark);
	display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.eh-perk-cell:last-child { border-right: 0; }
@media (max-width: 720px) {
	.eh-perk-cell { border-right: 0; border-bottom: 1px solid var(--eh-line-dark); padding: 40px 0; }
	.eh-perk-cell:last-child { border-bottom: 0; }
}
.eh-perk-icon {
	width: 70px; height: 70px; border: 1px solid var(--eh-gold-500); border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; color: var(--eh-gold-500);
	flex-shrink: 0;
}
.eh-perk-icon svg { width: 30px; height: 30px; }
.eh-perk-tag { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: var(--eh-gold-400); }
.eh-perk-cell h3 { color: var(--eh-cream-100); font-family: var(--eh-font-display); font-size: 27px; font-weight: 500; margin: 8px 0 6px; }
.eh-perk-cell h3 em { font-style: italic; color: var(--eh-gold-400); }
.eh-perk-cell p { color: rgba(243, 228, 182, 0.62); font-size: 13.5px; line-height: 1.6; margin: 0; }
.eh-perks-note { margin-top: 30px; font-size: 12.5px; line-height: 1.7; color: rgba(243, 228, 182, 0.5); font-style: italic; }

/* ============================================================ 06 CTA */
.eh-promo-cta { background: var(--eh-cream-100); padding: 90px 0; }
.eh-promo-cta-inner {
	display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center;
	border: 1px solid var(--eh-line); background: var(--eh-cream-50); padding: 56px 60px;
	position: relative; overflow: hidden;
}
.eh-promo-cta-inner::before {
	content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px;
	background: radial-gradient(circle, rgba(212,160,23,0.10), transparent 70%);
}
@media (max-width: 800px) { .eh-promo-cta-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; } }
.eh-promo-cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; position: relative; margin-top: 18px; }
.eh-promo-cta h2 .eh-gold { color: var(--eh-gold-600); font-style: italic; font-weight: 400; }
.eh-promo-cta p { color: var(--eh-ink-500); margin: 16px 0 0; max-width: 480px; line-height: 1.7; position: relative; }
.eh-promo-cta .eh-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
