/* ==========================================================
   SomaLeaf – Halloween Sale 2026
   Light: leaf green + Relief orange, lavender for the free gift
   ========================================================== */

@font-face {
	font-family: "Gotham";
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Gotham/GothamBold.woff2") format("woff2"), url("../fonts/Gotham/GothamBold.woff") format("woff");
}
@font-face {
	font-family: "Gotham";
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/Gotham/Gotham-Book.woff2") format("woff2"), url("../fonts/Gotham/Gotham-Book.woff") format("woff");
}

:root {
	--paper: #f6faf1;
	--white: #ffffff;
	--leaf: #6dbe45;
	--leaf-soft: #e8f3df;
	--leaf-text: #2f7a22;
	--forest: #1d4a2a;
	--ink: #263a2c;
	--ink-soft: #55675a;
	--pumpkin: #f39021;
	--pumpkin-press: #c96f0c;
	--pumpkin-soft: #fff1de;
	--pumpkin-text: #a65000;
	--candy: #ffd769;
	--lavender: #7b62b8;
	--lavender-soft: #f0ebf9;
	--line: rgba(29, 74, 42, .14);

	--display: "Bricolage Grotesque", "Gotham", "Helvetica Neue", Arial, sans-serif;
	--sans: "Gotham", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body.hw {
	margin: 0;
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body.hw { font-size: 1.0625rem; } }

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--pumpkin-press); outline-offset: 3px; border-radius: 4px; }

.hw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hw-skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--candy); color: var(--forest); padding: .5rem 1rem; border-radius: 6px; }
.hw-skip:focus { top: 1rem; }

.hw-wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.hw-small { font-size: .875rem; color: var(--ink-soft); }

/* ---------- Type ---------- */
.hw-h2, .hw-h3, .hw-hero-title {
	font-family: var(--display);
	font-weight: 800;
	font-stretch: 80%;
	font-variation-settings: "wdth" 80, "opsz" 72;
	color: var(--forest);
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
.hw-h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
.hw-h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }

/* ---------- Buttons ---------- */
.hw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1;
	text-decoration: none; color: var(--forest);
	background: var(--pumpkin); border: 0; border-radius: 999px;
	padding: 1em 1.8em; min-height: 48px; cursor: pointer;
	box-shadow: 0 4px 0 var(--pumpkin-press);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.hw-btn:hover { background: #f8a03c; }
.hw-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pumpkin-press); }
.hw-btn:disabled { opacity: .6; cursor: progress; }
.hw-btn-sm { font-size: .875rem; padding: .7em 1.2em; min-height: 40px; box-shadow: 0 3px 0 var(--pumpkin-press); }
.hw-btn-lg { font-size: 1.125rem; padding: 1.1em 2.3em; }
.hw-btn-block { width: 100%; }
.hw-btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.hw-btn-ghost:hover { background: var(--leaf-soft); }

.hw-link { background: none; border: 0; padding: 0; color: var(--leaf-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.hw-link:hover { color: var(--forest); }

/* ---------- Top bar + header ---------- */
.hw-topbar { background: var(--forest); color: var(--white); font-size: .8rem; font-weight: 700; line-height: 1.35; padding: .5rem 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 2rem; text-align: center; }
.hw-topbar p { margin: 0; }
.hw-topbar p + p::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: .6rem; vertical-align: -1px; background: var(--leaf); clip-path: polygon(50% 0, 64% 36%, 100% 30%, 70% 58%, 82% 100%, 50% 76%, 18% 100%, 30% 58%, 0 30%, 36% 36%); }
@media (max-width: 599px) { .hw-topbar p:last-child { display: none; } }

.hw-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.hw-header-in { width: min(100% - 2rem, 1240px); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hw-logo img { width: 150px; }
.hw-header-actions { display: flex; align-items: center; gap: .9rem; }
.hw-cart-btn { position: relative; color: var(--forest); display: inline-flex; padding: .35rem; }
.hw-cart-count {
	position: absolute; top: -3px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--pumpkin); color: var(--forest);
	font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center;
}
@media (min-width: 960px) { .hw-logo img { width: 180px; } }
@media (max-width: 420px) { .hw-header .hw-btn-sm { display: none; } }

/* ---------- Hero ---------- */
.hw-hero { position: relative; overflow: hidden; padding: 2rem 0 3.5rem; }
.hw-web { position: absolute; top: 0; left: 0; width: min(38vw, 260px); color: var(--forest); opacity: .16; pointer-events: none; }
.hw-bats { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--forest); opacity: .13; pointer-events: none; }
.hw-hero-in { position: relative; display: grid; gap: 2rem; align-items: center; }
.hw-hero-kicker { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--pumpkin-text); margin-bottom: .35rem; }
.hw-hero-title { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); margin-bottom: .35em; max-width: 12ch; }
.hw-hero-lede { font-size: 1.08em; max-width: 36rem; }
.hw-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.6rem 0 0; }
.hw-hero-link { font-weight: 700; color: var(--forest); text-underline-offset: 4px; }

.hw-hero-img { position: relative; margin: 0; }
.hw-hero-img::before { content: ""; position: absolute; inset: 6% -6% -5% 8%; background: var(--pumpkin-soft); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.hw-hero-img img { position: relative; border-radius: 28px; box-shadow: 0 24px 50px -24px rgba(29, 74, 42, .45); }
.hw-hero-sticker {
	position: absolute; right: -6px; top: -14px; margin: 0;
	width: 118px; height: 118px; border-radius: 50%;
	background: var(--white); box-shadow: 0 8px 22px -8px rgba(29, 74, 42, .35);
	display: grid; place-items: center; text-align: center; transform: rotate(10deg);
	font-weight: 700; font-size: .78rem; line-height: 1; color: var(--forest);
}
.hw-hero-sticker svg { position: absolute; width: 52px; top: -30px; left: 50%; transform: translateX(-50%) rotate(-10deg); }
.hw-hero-sticker span { display: grid; gap: 2px; padding-top: 6px; }
.hw-hero-sticker strong { font-family: var(--display); font-size: 2.3rem; font-stretch: 80%; font-variation-settings: "wdth" 80; color: var(--pumpkin-text); }
@media (min-width: 900px) {
	.hw-hero { padding: 3rem 0 4.5rem; }
	.hw-hero-in { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
	.hw-hero-sticker { width: 138px; height: 138px; right: -18px; }
}
@media (max-width: 899px) { .hw-hero-sticker { right: 8px; top: -10px; width: 104px; height: 104px; } .hw-hero-sticker strong { font-size: 2rem; } }

/* ---------- Countdown (tear-off calendar tiles) ---------- */
.hw-timer { margin: 1.5rem 0 0; }
.hw-timer-label { font-weight: 700; font-size: .9rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.hw-countdown { display: flex; gap: .55rem; }
.hw-cd {
	position: relative; display: grid; justify-items: center; min-width: 64px; padding: .9rem .4rem .45rem;
	background: var(--white); border-radius: 10px; border: 1px solid var(--line);
	box-shadow: 0 3px 0 rgba(29, 74, 42, .08);
}
.hw-cd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--pumpkin); border-radius: 10px 10px 0 0; }
.hw-cd-num { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
.hw-cd-unit { font-size: .7rem; font-weight: 700; color: var(--ink-soft); margin-top: .2rem; }
.hw-timer[data-state="expired"] .hw-timer-label { color: var(--pumpkin-text); font-size: 1rem; }

/* ---------- Tiers ---------- */
.hw-tiers-sec { background: var(--white); border-block: 1px solid var(--line); padding: 3.25rem 0; }
.hw-tiers-head { max-width: 40rem; margin-bottom: 1.75rem; }
.hw-tiers-head p { color: var(--ink-soft); margin: 0; }
.hw-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (min-width: 860px) { .hw-tiers { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.hw-tier {
	position: relative; display: grid; align-content: start; gap: .2rem; text-align: left;
	padding: 1.15rem 1rem 1rem; border-radius: 16px; cursor: pointer;
	background: var(--paper); border: 2px solid var(--line);
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hw-tier:hover { border-color: var(--leaf); }
.hw-tier[aria-pressed="true"] { border-color: var(--leaf-text); background: var(--leaf-soft); }
.hw-tier[aria-pressed="true"]::after { content: ""; position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf-text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.hw-tier.is-best { background: var(--pumpkin-soft); border-color: rgba(243, 144, 33, .55); }
.hw-tier.is-best[aria-pressed="true"] { border-color: var(--pumpkin-press); }
.hw-tier-flag { position: absolute; top: -11px; left: 1rem; background: var(--pumpkin); color: var(--forest); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.hw-tier-name { font-weight: 700; font-size: .95rem; }
.hw-tier-off { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3.1rem); line-height: 1; color: var(--forest); }
.hw-tier.is-best .hw-tier-off { color: var(--pumpkin-text); }
.hw-tier-note { font-size: .875rem; color: var(--ink-soft); }
.hw-tier-gift { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .8rem; font-weight: 700; color: var(--lavender); }
.hw-tier-gift svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hw-tiers-cta { margin: 1.75rem 0 0; }

/* ---------- What's changing ---------- */
.hw-change { padding: 4rem 0; }
.hw-change-in { display: grid; gap: 2.5rem; }
.hw-change-copy { max-width: 40rem; }
.hw-pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.hw-page {
	position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 6px 6px 14px 14px;
	padding: 1.9rem 1.4rem 1.2rem; box-shadow: 0 10px 24px -16px rgba(29, 74, 42, .4);
}
/* binding rings */
.hw-page::before {
	content: ""; position: absolute; left: 14%; right: 14%; top: -9px; height: 18px;
	background: radial-gradient(circle at 9px 9px, var(--forest) 0 4px, transparent 4.5px) 0 0 / calc(100% / 5) 18px repeat-x;
}
.hw-page::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--leaf); border-radius: 6px 6px 0 0; opacity: .85; }
.hw-page p { margin: 0; font-size: .95rem; }
.hw-page-big { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80; color: var(--forest); font-size: clamp(2.8rem, 2rem + 2.4vw, 3.6rem) !important; line-height: 1; margin-bottom: .4rem !important; }
.hw-page-big span { font-size: .45em; }
.hw-page.is-hot { background: var(--pumpkin-soft); }
.hw-page.is-hot::after { background: var(--pumpkin); }
.hw-page.is-hot .hw-page-big { color: var(--pumpkin-text); }
@media (min-width: 700px) and (max-width: 999px) { .hw-pages { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
	.hw-change-in { grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
	.hw-pages { gap: 1.9rem; }
}

/* ---------- Entourage ---------- */
.hw-ent { background: var(--leaf-soft); padding: 4rem 0; }
.hw-ent-in { display: grid; gap: 2.5rem; align-items: center; }
.hw-ent-copy { max-width: 40rem; }
.hw-ent-fig { position: relative; margin: 0; padding: 2rem 0 0; }
.hw-ent-fig::before { content: ""; position: absolute; left: 50%; top: 4%; width: 78%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--white) 0 55%, rgba(255, 255, 255, 0) 71%); }
.hw-ent-leafbg { position: absolute; left: 50%; top: 2%; width: 74%; height: auto; aspect-ratio: 1; transform: translateX(-50%); color: var(--leaf); opacity: .28; transform: translateX(-50%) rotate(-8deg); }
.hw-ent-fig picture, .hw-ent-fig img { position: relative; }
.hw-ent-pumpkin { position: absolute; width: 22%; max-width: 110px; right: 0; bottom: 2.4rem; transform: rotate(8deg); filter: drop-shadow(0 6px 8px rgba(29, 74, 42, .25)); }
.hw-ent-fig figcaption { position: relative; margin-top: .75rem; text-align: center; font-size: .85rem; font-weight: 700; color: var(--leaf-text); }
@media (min-width: 900px) { .hw-ent-in { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.hw-ent-punch { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.15; color: var(--forest); margin: 1.4rem 0 0; }

/* ---------- Stock up ---------- */
.hw-stock { background: var(--pumpkin-soft); padding: 4rem 0; }
.hw-stock-in { display: grid; gap: 2.5rem; }
.hw-stock-ends { font-weight: 700; font-size: 1.1rem; color: var(--pumpkin-text); margin: 0; }
.hw-stock-main .hw-timer { margin-bottom: 1.75rem; }
.hw-stock-main .hw-timer[data-state="live"] .hw-timer-label { display: none; }
.hw-stock-side { display: grid; gap: 1.25rem; align-content: start; }
.hw-guar { display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; align-items: center; background: var(--white); border-radius: 18px; padding: 1.25rem; }
.hw-guar p { margin: 0 0 .4rem; font-size: .95rem; }
.hw-guar p:last-child { margin: 0; color: var(--ink-soft); }
.hw-qs { background: var(--white); border-radius: 18px; padding: 1.25rem; }
.hw-qs-title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--forest); margin: 0 0 .5rem; }
.hw-help-links { display: grid; gap: .5rem; margin: 0; }
.hw-help-links a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; color: var(--forest); overflow-wrap: anywhere; }
.hw-help-links a:hover { text-decoration: underline; }
.hw-help-links svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--leaf-text); stroke-width: 1.8; stroke-linejoin: round; }
@media (min-width: 900px) { .hw-stock-in { grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; } }

/* ---------- Shop ---------- */
.hw-shop { padding: 4rem 0 3rem; }
.hw-shop-head { margin-bottom: 2.25rem; }
.hw-shop-head > * { max-width: 46rem; }
.hw-shop-head p { color: var(--ink-soft); }

/* Flex so a short last row sits centered */
.hw-products { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.hw-product { flex: 1 1 100%; }
@media (min-width: 720px) { .hw-product { flex: 0 1 calc((100% - 1.25rem) / 2); } }
@media (min-width: 1100px) { .hw-product { flex: 0 1 calc((100% - 2.5rem) / 3); } }

/* Product card (same structure as the Purality Halloween page) */
.hw-product {
	position: relative; display: flex; flex-direction: column;
	background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem 1.1rem;
	box-shadow: 0 16px 34px -28px rgba(29, 74, 42, .55);
	transition: box-shadow .3s ease;
}
.hw-product.is-added { box-shadow: 0 0 0 3px var(--leaf), 0 16px 34px -28px rgba(29, 74, 42, .55); }
.hw-product.is-out .hw-product-img, .hw-product.is-out .hw-opts { opacity: .45; filter: grayscale(.6); }
.hw-risk { position: absolute; top: -.7rem; left: 1rem; z-index: 1; padding: .22em .7em; border-radius: 999px; background: var(--pumpkin-soft); box-shadow: inset 0 0 0 1px rgba(243, 144, 33, .6); color: var(--pumpkin-text); font-size: .72rem; font-weight: 700; }
.hw-out-tag { position: absolute; top: -.7rem; right: 1rem; background: var(--forest); color: var(--white); font-size: .72rem; font-weight: 700; padding: .22em .7em; border-radius: 999px; }

.hw-product-head { display: grid; grid-template-columns: 112px 1fr; gap: .9rem; align-items: start; margin-bottom: 1rem; }
.hw-product-img { width: 112px; height: 112px; object-fit: contain; transition: opacity .12s ease; }
.hw-product-img.is-swap { opacity: 0; }
.hw-product-name { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.6rem; line-height: 1.05; color: var(--forest); margin: .1rem 0 .4rem; }
.hw-product-points { list-style: none; margin: 0 0 .5rem; padding: 0; font-size: .84rem; line-height: 1.4; color: var(--ink-soft); }
.hw-product-points li { position: relative; padding-left: .95rem; margin-bottom: .2rem; }
.hw-product-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--leaf); }
.hw-product-links { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .84rem; }
@media (min-width: 720px) {
	.hw-product { padding: 1.5rem 1.25rem 1.35rem; }
	.hw-product-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.hw-product-img { width: 190px; height: 190px; }
	.hw-product-points { text-align: left; }
	.hw-product-links { justify-content: center; }
}

/* Scents: one line */
.hw-scents { border: 0; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: nowrap; gap: .3rem; min-width: 0; }
.hw-scent { position: relative; cursor: pointer; flex: 1 1 auto; min-width: 0; }
.hw-scent input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hw-scent span { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 34px; padding: .25rem .5rem .25rem .3rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.hw-scent span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); }
.hw-scent input:checked + span { box-shadow: inset 0 0 0 2px var(--swatch); background: color-mix(in srgb, var(--swatch) 10%, white); }
.hw-scent input:focus-visible + span { outline: 3px solid var(--pumpkin-press); outline-offset: 2px; }

/* Pack options */
.hw-opts { border: 0; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; min-width: 0; }
.hw-opts-label { margin: .6rem 0 0; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.hw-opt { position: relative; display: block; cursor: pointer; }
.hw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hw-opt-box {
	display: grid; grid-template-columns: 1.25rem 1fr auto; gap: .1rem .65rem; align-items: center;
	padding: .7rem .8rem; border-radius: 12px; background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s ease, background .15s ease;
}
.hw-opt-dot { grid-row: span 2; width: 1.25rem; height: 1.25rem; border-radius: 50%; box-shadow: inset 0 0 0 2px #9fb6a3; background: var(--white); }
.hw-opt-name { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.hw-opt-price { grid-row: span 2; text-align: right; line-height: 1.2; white-space: nowrap; }
.hw-opt-price strong { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; }
.hw-opt-price del { font-size: .78rem; color: var(--ink-soft); }
.hw-opt-perks { font-size: .78rem; line-height: 1.35; color: var(--ink-soft); }
.hw-opt-off { display: inline-block; margin-right: .35rem; padding: .1em .5em; border-radius: 6px; background: var(--leaf-soft); color: var(--forest); font-weight: 700; }
.hw-opt-flag { position: absolute; top: -.7rem; right: .75rem; padding: .15em .65em; border-radius: 999px; font-size: .68rem; font-weight: 700; background: var(--pumpkin); color: var(--forest); pointer-events: none; }
.hw-opt:hover .hw-opt-box { box-shadow: inset 0 0 0 2px #b9d6a5; }
.hw-opt input:checked + .hw-opt-box { background: var(--leaf-soft); box-shadow: inset 0 0 0 2px var(--leaf-text); }
.hw-opt input:checked + .hw-opt-box .hw-opt-dot { box-shadow: inset 0 0 0 6px var(--leaf-text); }
.hw-opt input:checked + .hw-opt-box .hw-opt-off { background: var(--leaf-text); color: var(--white); }
.hw-opt input:focus-visible + .hw-opt-box { outline: 3px solid var(--pumpkin-press); outline-offset: 2px; }

.hw-sub-terms { margin: -.25rem 0 1rem; padding: .7rem .9rem; border-radius: 12px; background: var(--lavender-soft); font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }

.hw-buy { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; }
.hw-buy-price { line-height: 1.15; }
.hw-buy-now { display: block; font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--forest); font-variant-numeric: tabular-nums lining-nums; }
.hw-buy-per { display: block; font-size: .78rem; color: var(--ink-soft); }
.hw-buy .hw-btn { width: 100%; }
.hw-product-state { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--pumpkin-text); text-align: center; }

/* ---------- Cart panel ---------- */
.hw-cart-panel { margin: 2.5rem auto 0; max-width: 760px; scroll-margin-top: calc(var(--header-h) + 70px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem 1.25rem; box-shadow: 0 16px 34px -26px rgba(29, 74, 42, .5); }
@media (min-width: 600px) { .hw-cart-panel { padding: 2rem; } }
.hw-cart-empty { text-align: center; padding: 1rem 0 .5rem; }
.hw-cart-empty svg { width: 64px; margin: 0 auto .5rem; }
.hw-cart-empty p { margin: 0 0 .4rem; }

.hw-meter { background: var(--leaf-soft); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.hw-meter-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.hw-meter-title { margin: 0; font-size: 1rem; }
.hw-meter-title strong { font-family: var(--display); font-size: 1.5rem; color: var(--forest); }
.hw-meter-pct { margin: 0; font-weight: 700; color: var(--leaf-text); }
.hw-meter-bar { height: 10px; border-radius: 999px; background: var(--white); margin: .55rem 0 .5rem; overflow: hidden; }
.hw-meter-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--leaf), var(--pumpkin)); transition: width .5s ease; }
.hw-meter-note { margin: 0; font-size: .82rem; color: var(--ink-soft); }

.hw-lines { list-style: none; margin: 0; padding: 0; }
.hw-line { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img info price" "img qty price"; gap: .3rem .85rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.hw-line-img { grid-area: img; width: 56px; height: 56px; object-fit: contain; background: var(--paper); border-radius: 10px; }
.hw-line-img-blank { display: block; }
.hw-line-info { grid-area: info; display: grid; line-height: 1.3; font-size: .9rem; }
.hw-line-name { font-weight: 700; }
.hw-line-size { font-size: .8rem; color: var(--ink-soft); }
.hw-line-info .hw-link { justify-self: start; font-size: .78rem; margin-top: .15rem; }
.hw-line-qty { grid-area: qty; display: flex; align-items: center; gap: .4rem; }
.hw-step { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); font-weight: 700; cursor: pointer; line-height: 1; }
.hw-step:hover:not(:disabled) { border-color: var(--leaf); }
.hw-step:disabled { opacity: .4; cursor: default; }
.hw-line-count { min-width: 1.4em; text-align: center; font-weight: 700; }
.hw-line-price { grid-area: price; display: grid; justify-items: end; line-height: 1.2; }
.hw-line-price del { font-size: .78rem; color: var(--ink-soft); }
.hw-line-gift { background: var(--lavender-soft); border-radius: 12px; padding-inline: .6rem; border-bottom: 0; margin-top: .6rem; }
.hw-line-gift .hw-line-img { background: var(--white); }
.hw-line-gift .hw-line-price strong { color: var(--lavender); }

.hw-totals { margin: 1rem 0 1.25rem; display: grid; gap: .35rem; font-size: .92rem; }
.hw-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.hw-totals dt, .hw-totals dd { margin: 0; }
.hw-totals-save dd { color: var(--leaf-text); font-weight: 700; }
.hw-totals-sub { font-size: 1.15rem; font-weight: 700; padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.hw-checkout-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; font-size: .8rem; color: var(--ink-soft); margin: .9rem 0 0; }

.hw-fine { text-align: center; font-size: .8rem; color: var(--ink-soft); max-width: 46rem; margin: 2rem auto 0; }

/* ---------- Guarantee ---------- */
.hw-guar-sec { background: var(--pumpkin-soft); padding: 3.5rem 0; }
.hw-guar-in { display: grid; gap: 1.5rem; justify-items: center; text-align: center; max-width: 920px; }
.hw-guar-badge { width: 160px; }
.hw-guar-in .hw-h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
@media (min-width: 760px) {
	.hw-guar-in { grid-template-columns: 200px 1fr; gap: 3rem; justify-items: start; text-align: left; align-items: center; }
	.hw-guar-badge { width: 200px; }
}

/* ---------- Reviews ---------- */
.hw-reviews { padding: 3.5rem 0 4rem; }
.hw-reviews .hw-h2 { text-align: center; }

/* ---------- Footer ---------- */
.hw-footer { position: relative; overflow: hidden; background: var(--forest); color: rgba(255, 255, 255, .85); text-align: center; padding: 3rem 1.25rem 2.5rem; font-size: .85rem; }
.hw-footer img { width: 170px; margin: 0 auto 1rem; }
.hw-footer-leaf { position: absolute; right: -40px; bottom: -50px; width: 260px; color: rgba(109, 190, 69, .12); }
.hw-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: 0 0 1.25rem; }
.hw-footer-links a { text-decoration: none; }
.hw-footer-links a:hover { text-decoration: underline; }
.hw-disclaimer { max-width: 42rem; margin: 0 auto; font-size: .78rem; opacity: .8; }
.hw-footer :focus-visible { outline-color: var(--candy); }

/* ---------- Mobile cart bar ---------- */
.hw-cartbar {
	position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 60;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: .6rem .7rem .6rem 1rem;
	box-shadow: 0 12px 30px -10px rgba(29, 74, 42, .45); text-decoration: none;
	transform: translateY(calc(100% + 2rem)); visibility: hidden; pointer-events: none;
	transition: transform .25s ease, visibility 0s linear .25s;
}
.hw-cartbar.is-on { transform: none; visibility: visible; pointer-events: auto; transition: transform .25s ease; }
.hw-cartbar-txt { display: grid; line-height: 1.2; }
.hw-cartbar-txt strong { font-size: 1.05rem; color: var(--forest); }
.hw-cartbar-txt span { font-size: .78rem; color: var(--ink-soft); }
/* Desktop: bottom-left corner, clear of the chat bubble on the right */
@media (min-width: 900px) { .hw-cartbar { left: 1.25rem; right: auto; width: 380px; bottom: 1.25rem; } }

/* ---------- Dialogs ---------- */
.hw-dialog {
	width: min(100% - 2rem, 640px); max-height: min(88vh, 900px); overflow: auto;
	border: 0; border-radius: 22px; padding: 2rem 1.5rem 1.5rem; color: var(--ink); background: var(--white);
	box-shadow: 0 30px 60px -20px rgba(29, 74, 42, .5);
}
.hw-dialog::backdrop { background: rgba(29, 74, 42, .45); backdrop-filter: blur(3px); }
.hw-dialog[open] { animation: hw-pop .22s ease; }
@keyframes hw-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.hw-dialog-x { position: absolute; top: .6rem; right: .7rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.hw-dialog-x:hover { background: var(--leaf-soft); }
.hw-dialog .hw-h3 { padding-right: 2rem; }
.hw-dialog > img { margin: 0 auto; max-height: 70vh; width: auto; }
.hw-about p { font-size: .95rem; }
.hw-dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.hw-gift-dialog { text-align: center; max-width: 480px; }
.hw-gift-dialog .hw-h3 { padding: 0; }
.hw-gift-dialog .hw-dialog-actions { justify-content: center; }
.hw-gift-art { position: relative; width: 170px; margin: 0 auto .75rem; }
.hw-gift-art img { background: var(--lavender-soft); border-radius: 50%; }
.hw-gift-art svg { position: absolute; width: 64px; right: -18px; bottom: -6px; transform: rotate(8deg); }

/* ---------- Toast ---------- */
.hw-toast {
	position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 70;
	width: min(100% - 2rem, 460px); transform: translate(-50%, -12px); opacity: 0;
	background: var(--forest); color: var(--white); border-radius: 14px; padding: .85rem 1.1rem;
	font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(29, 74, 42, .55);
	transition: opacity .25s ease, transform .25s ease;
}
.hw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hw-toast a { color: var(--candy); font-weight: 700; margin-left: .25rem; }
