/* ==========================================================================
   Prana Beauty — main stylesheet
   ========================================================================== */
:root {
  --cream: #fbf4ec;
  --sand: #f3e4d4;
  --peach: #f6d3b8;
  --clay: #c9653d;
  --clay-dark: #a84d2a;
  --ink: #2a1a12;
  --muted: #7a6558;
  --line: rgba(42, 26, 18, 0.14);
  --leaf: #4d5d3a;
  --r-lg: 2rem;
  --r-md: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--peach); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 0; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-optical-sizing: auto; }
.display em, .display i { font-style: italic; }
.h-giant { font-size: clamp(6rem, 22vw, 16rem); color: var(--peach); }
.h-hero { font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 0.98; }
.h-xxl { font-size: clamp(2.4rem, 6.4vw, 5.5rem); line-height: 1; }
.h-xl { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.eyebrow a { border-bottom: 1px solid var(--line); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; max-width: 38rem; }
.muted { color: var(--muted); }
.muted-inv { color: rgba(251, 244, 236, 0.6); }
.small { font-size: 0.8rem; }
.accent { color: var(--clay); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.meta { font-size: 0.8rem; color: var(--muted); }
.stars { color: var(--clay); letter-spacing: 0.08em; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, 1320px); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 900px); }
.container--prose { width: min(100% - 2.5rem, 720px); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 4vw, 3.25rem); flex-wrap: wrap; }
.section-sub { margin: -2rem 0 2.5rem; }
.glow {
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(246, 211, 184, 0.95), transparent 70%),
    radial-gradient(50% 40% at 88% 28%, rgba(201, 101, 61, 0.22), transparent 70%),
    radial-gradient(50% 50% at 50% 100%, var(--sand), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  border: 1px solid var(--ink); transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--clay); border-color: var(--clay); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1.2rem 2.6rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 0.95rem; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow svg { transition: transform 0.4s var(--ease); }
.link-arrow--inv { color: var(--peach); }
.link-clear { font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background 0.3s; }
.icon-btn:hover { background: rgba(42, 26, 18, 0.07); }
.icon-btn--ring { border: 1px solid var(--line); }
.icon-btn--ring:hover { background: var(--ink); color: var(--cream); }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--cream); text-align: center; font-size: 0.78rem; letter-spacing: 0.04em; padding: 0.55rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 60; transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s; }
.site-header.is-scrolled { background: rgba(251, 244, 236, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: clamp(0.75rem, 2vw, 1.5rem); }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; line-height: 1; white-space: nowrap; flex: none; }
.brand__name { font-size: clamp(1.2rem, 1.9vw, 1.65rem); letter-spacing: -0.03em; }
.brand__tt { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; color: #fff; background: var(--clay); border-radius: 99px; padding: 0.28rem 0.55rem 0.26rem; transform: translateY(1px); }
.brand__logo, .brand img { max-height: 46px; width: auto; }
.brand--panel .brand__name { font-size: 1.45rem; }
.footer__brand { display: flex; margin-bottom: 2.5rem; }
.footer__brand .brand__name { font-size: 1.6rem; color: var(--cream); }
.footer__brand .brand__tt { background: var(--clay); }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-desktop { display: flex; gap: clamp(1rem, 1.8vw, 2rem); align-items: center; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a { display: block; padding: 1.5rem 0; font-size: 0.92rem; position: relative; }
.nav-desktop > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.1rem; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav-desktop > li:hover > a::after, .nav-desktop > li.current-menu-item > a::after { transform: scaleX(1); }
.nav-desktop .sub-menu {
  position: absolute; left: -1.25rem; top: 100%; min-width: 220px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0.75rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; box-shadow: 0 24px 60px -24px rgba(42, 26, 18, 0.35);
}
.nav-desktop li:hover > .sub-menu, .nav-desktop li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-desktop .sub-menu a { display: block; padding: 0.55rem 0.9rem; border-radius: 0.7rem; font-size: 0.9rem; }
.nav-desktop .sub-menu a:hover { background: var(--sand); }
.header__actions { display: flex; align-items: center; gap: 0.15rem; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px;
  background: var(--clay); color: #fff; font-size: 0.68rem; line-height: 18px; text-align: center; font-weight: 600; transition: transform 0.4s var(--ease);
}
.cart-count[data-empty="1"] { transform: scale(0); }
.cart-count.bump { transform: scale(1.4); }
.menu-btn { display: none; }

/* ---------- Panels (menu / search) ---------- */
.panel { position: fixed; inset: 0; z-index: 90; background: var(--cream); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s; overflow-y: auto; }
.panel.is-open { opacity: 1; visibility: visible; transform: none; }
.panel__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.panel__bar > .display { font-size: 1.9rem; }
.mobile-nav { padding: 1rem 1.25rem 4rem; }
.mobile-list { display: grid; gap: 0.25rem; }
.mobile-list > li > a { display: block; font-family: var(--serif); font-size: 2.4rem; letter-spacing: -0.03em; padding: 0.35rem 0; }
.mobile-list .sub-menu { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.25rem 0 0.75rem; }
.mobile-list .sub-menu a { font-size: 0.85rem; border: 1px solid var(--line); border-radius: 99px; padding: 0.35rem 0.9rem; }
.mobile-list--sub { margin-top: 1.5rem; }
.mobile-list--sub a { font-size: 1.1rem; font-family: var(--sans); }
.search__form { display: flex; gap: 0.75rem; margin-top: 1rem; }
.search__form input, .inline-search input { flex: 1; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.4rem); padding: 0.5rem 0; outline: none; min-width: 0; }
.inline-search { display: flex; gap: 1rem; margin-top: 2rem; }
.search__quick { margin: 2rem 0 1rem; }
.suggest { padding-bottom: 3rem; }
.suggest__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 1.5rem 0 0.6rem; }
.suggest__list li a { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.suggest__list--text li a { grid-template-columns: 1fr; }
.suggest__list img { width: 56px; height: 70px; object-fit: cover; border-radius: 0.6rem; background: var(--sand); }
.suggest__name { font-weight: 500; }
.suggest__list li a:hover .suggest__name { color: var(--clay); }
.suggest__none { padding: 1.5rem 0; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips--row { margin: 1.25rem 0 2rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line); border-radius: 99px; padding: 0.4rem 1rem; font-size: 0.85rem; transition: background 0.3s, color 0.3s, border-color 0.3s; background: transparent; }
.chip:hover, .chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip--x { background: var(--sand); border-color: transparent; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.hero__copy .lead { margin-top: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.eyebrow[data-hero-in] { display: inline-block; border: 1px solid var(--line); padding: 0.4rem 1rem; border-radius: 99px; }
.stats { display: flex; gap: 3rem; margin: 3rem 0 0; }
.stats dt { font-size: 2.4rem; }
.stats dd { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hero__stack { position: relative; height: clamp(380px, 46vw, 560px); }
.hero__card { position: absolute; width: 56%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(201, 101, 61, 0.45); background: var(--sand); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--0 { top: 0; left: 0; }
.hero__card--1 { top: 22%; left: 40%; }
.hero__card--2 { top: 48%; left: 4%; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
[data-split] .w > span { display: inline-block; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(243, 228, 212, 0.6); padding-block: 1.25rem; }
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee 50s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); padding-inline: 2rem; white-space: nowrap; }
.marquee i { color: var(--clay); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Popular list ---------- */
.popular { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.popular__list li { border-top: 1px solid var(--line); }
.popular__list li:last-child { border-bottom: 1px solid var(--line); }
.popular__list a { display: flex; align-items: baseline; gap: 1.25rem; padding-block: 1.5rem; }
.popular__n { font-size: 0.85rem; color: var(--muted); }
.popular__name { flex: 1; font-size: clamp(1.6rem, 3.6vw, 3.2rem); transition: transform 0.6s var(--ease), color 0.3s; }
.popular__list li.is-hover .popular__name { transform: translateX(14px); color: var(--clay); }
.popular__price { white-space: nowrap; }
.popular__price del { opacity: 0.5; margin-right: 0.4rem; }
.popular__price ins { text-decoration: none; }
.popular__preview { position: sticky; top: calc(var(--header-h) + 1.5rem); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.popular__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Statement / promo / CTA ---------- */
.statement { background: rgba(246, 211, 184, 0.5); padding-block: clamp(4rem, 10vw, 8rem); }
.statement em { color: var(--clay); }
.statement .lead { margin-top: 2rem; }
.promo { background: var(--ink); color: var(--cream); padding-block: clamp(4rem, 9vw, 7rem); }
.promo em { color: var(--peach); }
.promo .lead { margin-top: 1.5rem; color: rgba(251, 244, 236, 0.75); }
.promo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.promo__grid > div { border: 1px solid rgba(251, 244, 236, 0.16); border-radius: var(--r-lg); padding: 2rem; }
.promo__grid p { color: rgba(251, 244, 236, 0.65); margin-top: 0.75rem; }
.cta { padding-block: clamp(5rem, 10vw, 9rem); }
.cta .btn { margin-top: 2.5rem; }

/* ---------- Tiles / concerns ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 26, 18, 0.7), transparent 55%); }
.tile:hover img { transform: scale(1.07); }
.tile__label { position: absolute; left: 1.25rem; bottom: 1.1rem; z-index: 2; color: #fff; font-size: 2rem; }
.tile__label small { font-family: var(--sans); font-size: 0.75rem; opacity: 0.8; vertical-align: super; }
.concerns { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.concern { font-size: clamp(1.4rem, 3.2vw, 2.4rem); border: 1px solid var(--line); border-radius: 99px; padding: 0.8rem 1.8rem; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.concern sup { font-family: var(--sans); font-size: 0.7rem; }
.concern:hover { background: var(--ink); color: var(--cream); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
.grid--shop { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s var(--ease); }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.05); }
.card:hover .card__img--alt { opacity: 1; }
.card__media > svg, .card__media > .woocommerce-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; top: 0.8rem; left: 0.8rem; display: flex; gap: 0.4rem; z-index: 2; }
.badge { background: var(--clay); color: #fff; font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.3rem 0.8rem; border-radius: 99px; font-weight: 500; }
.badge--dark { background: var(--ink); }
.card__info { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; flex: 1; }
.card__title { font-size: 1rem; font-weight: 500; line-height: 1.35; }
.card__title a:hover { color: var(--clay); }
.card__meta { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.card__price { white-space: nowrap; font-weight: 500; text-align: right; }
.card__price del { color: var(--muted); font-weight: 400; display: block; font-size: 0.85em; }
.card__price ins, .summary .price ins { text-decoration: none; }
.card__btn { margin-top: 0.9rem; }
.card__btn.is-added { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.post-card { display: block; }
.post-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); margin-bottom: 1.1rem; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card .meta { margin-bottom: 0.4rem; }
.post-card h3 a:hover { color: var(--clay); }
.post-card .muted { margin-top: 0.6rem; font-size: 0.92rem; }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head--compact { padding-block: 2.5rem 1.5rem; }
.page-head .lead { margin-top: 1.25rem; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 3rem; align-items: start; padding-bottom: 6rem; }
.filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); display: flex; flex-direction: column; }
.filters__form { display: flex; flex-direction: column; min-height: 0; }
.filters__head { display: none; align-items: center; justify-content: space-between; padding-bottom: 1rem; }
.filters__body { overflow-y: auto; padding-right: 0.5rem; scrollbar-width: thin; }
.filters__foot { display: none; padding-top: 1rem; text-align: center; }
.filters__foot .link-clear { display: inline-block; margin-top: 0.75rem; }
.fgroup { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.fgroup summary { font-family: var(--serif); font-size: 1.25rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; letter-spacing: -0.02em; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "+"; color: var(--clay); transition: transform 0.4s var(--ease); }
.fgroup[open] summary::after { transform: rotate(45deg); }
.checks { display: grid; gap: 0.15rem; margin-top: 0.9rem; }
.checks--nested { margin: 0.1rem 0 0.4rem 1.7rem; }
.checks label { display: flex; align-items: center; gap: 0.7rem; padding: 0.3rem 0; cursor: pointer; font-size: 0.92rem; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks .box { width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 5px; display: grid; place-items: center; color: transparent; transition: background 0.25s, color 0.25s; flex: none; }
.checks input:checked + .box { background: var(--ink); color: var(--cream); }
.checks input:focus-visible + .box { outline: 2px solid var(--clay); outline-offset: 2px; }
.checks .lbl { flex: 1; }
.checks em { font-style: normal; color: var(--muted); font-size: 0.78rem; }
.price-range { display: flex; align-items: center; gap: 0.6rem; margin: 0.9rem 0; }
.price-range input { width: 100%; border: 1px solid var(--line); border-radius: 99px; padding: 0.6rem 1rem; background: transparent; }
.price-range label { flex: 1; }
.toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.toolbar__count { flex: 1; color: var(--muted); font-size: 0.92rem; }
.toolbar__count strong { color: var(--ink); }
.sort select { border: 1px solid var(--line); border-radius: 99px; padding: 0.6rem 2.2rem 0.6rem 1.1rem; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232a1a12' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; font-size: 0.9rem; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.75rem; }
.empty { text-align: center; padding: 5rem 0; display: grid; gap: 1.5rem; justify-items: center; }
.filters-overlay, .drawer-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(42, 26, 18, 0.45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.filters-overlay.is-open, .drawer-overlay.is-open { opacity: 1; visibility: visible; }
[data-shop].is-loading .grid, [data-shop].is-loading .toolbar { opacity: 0.45; pointer-events: none; transition: opacity 0.25s; }
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 4rem; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 99px; padding-inline: 0.75rem; transition: background 0.3s, color 0.3s; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination .dots { border: 0; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; z-index: 80; height: 100dvh; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.6s var(--ease), visibility 0.6s; visibility: hidden; box-shadow: -30px 0 80px -40px rgba(42, 26, 18, 0.5); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__inner { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__ship { padding: 1rem 1.5rem 0; font-size: 0.82rem; color: var(--muted); }
.progress { height: 6px; background: var(--sand); border-radius: 99px; overflow: hidden; margin-top: 0.55rem; }
.progress span { display: block; height: 100%; background: var(--clay); border-radius: 99px; transition: width 0.8s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: grid; gap: 1.4rem; align-content: start; }
.drawer__empty { text-align: center; padding: 3rem 0; display: grid; gap: 1.5rem; justify-items: center; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; }
.line__img img { width: 76px; height: 98px; object-fit: cover; border-radius: 0.8rem; background: var(--sand); }
.line__name { font-weight: 500; line-height: 1.3; display: block; }
.line__price { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.line__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 0.7rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; }
.qty span { min-width: 22px; text-align: center; font-size: 0.9rem; }
.line__rm { font-size: 0.8rem; text-decoration: underline; color: var(--muted); }
.line.is-busy { opacity: 0.45; pointer-events: none; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.7rem; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; transform: translate(-50%, 140%); background: var(--ink); color: var(--cream); padding: 0.85rem 1.5rem; border-radius: 99px; font-size: 0.9rem; transition: transform 0.6s var(--ease); max-width: calc(100% - 2rem); }
.toast.is-on { transform: translate(-50%, 0); }
.toast.is-err { background: var(--clay-dark); }

/* ---------- Product page ---------- */
.crumbs { font-size: 0.82rem; color: var(--muted); padding-block: 1.5rem 1.5rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }
.pdp__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; }
.gallery:not(:has(.gallery__thumbs)) { grid-template-columns: 1fr; }
.gallery__thumbs { display: grid; gap: 0.7rem; align-content: start; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.gallery__thumb { aspect-ratio: 4 / 5; border-radius: 0.8rem; overflow: hidden; border: 2px solid transparent; opacity: 0.55; transition: opacity 0.3s, border-color 0.3s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--ink); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gallery__img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.8s var(--ease); }
.gallery__main.is-zoom .gallery__img { transform: scale(1.8); cursor: zoom-out; transition: transform 0.4s; }
.summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.summary h1 { margin-bottom: 1rem; }
.summary__rate { min-height: 1.4rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; }
.stars-link:hover { color: var(--ink); }
.summary .price { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0.5rem 0 1.25rem; }
.summary .price del { display: inline; margin-right: 0.5rem; font-size: 0.6em; }
.summary__desc { margin-bottom: 1.5rem; }
.prose p, .entry p { color: var(--muted); line-height: 1.75; margin-bottom: 1.1em; }
.prose ul, .entry ul { list-style: disc; padding-left: 1.3em; color: var(--muted); line-height: 1.75; margin-bottom: 1.1em; }
.prose ol, .entry ol { list-style: decimal; padding-left: 1.3em; color: var(--muted); line-height: 1.75; margin-bottom: 1.1em; }
.prose strong, .entry strong { color: var(--ink); }
.prose h2, .prose h3, .prose h4, .entry h2, .entry h3, .entry h4 { font-family: var(--serif); letter-spacing: -0.02em; margin: 1.6em 0 0.5em; line-height: 1.15; font-weight: 400; }
.prose--wide { max-width: 760px; }
.summary form.cart { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0; }
.summary form.cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 56px; }
.summary form.cart .quantity input { width: 44px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; padding: 0; }
.summary form.cart .quantity input::-webkit-outer-spin-button, .summary form.cart .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary form.cart .quantity .qb { width: 44px; height: 54px; display: grid; place-items: center; font-size: 1.2rem; }
.summary form.cart .single_add_to_cart_button { flex: 1; height: 56px; border-radius: 99px; background: var(--ink); color: var(--cream); border: 0; font-weight: 500; transition: background 0.4s var(--ease); min-width: 180px; }
.summary form.cart .single_add_to_cart_button:hover { background: var(--clay); }
.summary form.cart .single_add_to_cart_button.is-loading { opacity: 0.6; pointer-events: none; }
.summary form.cart .single_add_to_cart_button.disabled, .summary form.cart .single_add_to_cart_button:disabled { opacity: 0.4; pointer-events: none; }
.summary .stock { color: var(--clay-dark); margin: 0 0 1rem; font-size: 0.9rem; }
.summary table.variations { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.summary table.variations th, .summary table.variations td { text-align: left; padding: 0.4rem 0; display: block; font-weight: 500; }
.summary table.variations select { width: 100%; border: 1px solid var(--line); border-radius: 99px; padding: 0.75rem 1.1rem; background: transparent; }
.summary .reset_variations { font-size: 0.8rem; color: var(--muted); }
.summary .woocommerce-variation-add-to-cart { display: flex; gap: 0.8rem; flex-wrap: wrap; width: 100%; }
.perks { display: grid; gap: 0.5rem; margin: 1.75rem 0; font-size: 0.9rem; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 0.5rem; }
.perks svg { color: var(--leaf); }
.meta-lines { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.85rem; color: var(--muted); display: grid; gap: 0.3rem; }
.meta-lines span { color: var(--ink); margin-right: 0.4rem; }
.pdp__section { padding-top: clamp(3rem, 6vw, 5rem); }
.pdp__section > h2 { margin-bottom: 1.25rem; }
.shop_attributes { width: 100%; max-width: 760px; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.shop_attributes th { width: 35%; color: var(--muted); }
.shop_attributes p { margin: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(251, 244, 236, 0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 0.75rem 1.25rem; display: none; align-items: center; justify-content: space-between; gap: 1rem; transform: translateY(110%); transition: transform 0.5s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy > div { display: grid; min-width: 0; }
.sticky-buy__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.9rem; }
.sticky-buy span { font-size: 0.85rem; color: var(--muted); }

/* Reviews (WooCommerce markup) */
#reviews h2, .comments h2, .woocommerce-Reviews-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
#reviews .commentlist, .comment-list { display: grid; gap: 1.25rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
#reviews .commentlist li, .comment-list li { background: rgba(243, 228, 212, 0.55); border-radius: var(--r-md); padding: 1.5rem; }
#reviews .comment_container { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
#reviews img.avatar, .comment-list img.avatar { border-radius: 50%; width: 48px; height: 48px; }
#reviews .star-rating { color: var(--clay); letter-spacing: 0.1em; font-size: 0; display: block; height: 1.1rem; position: relative; width: 5.4em; overflow: hidden; }
#reviews .star-rating::before { content: "★★★★★"; font-size: 1rem; color: rgba(201, 101, 61, 0.25); position: absolute; left: 0; top: 0; }
#reviews .star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; height: 1.1rem; }
#reviews .star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; font-size: 1rem; color: var(--clay); }
#reviews .meta, .comment-meta { font-size: 0.82rem; color: var(--muted); margin: 0.2rem 0 0.5rem; }
#reviews .description p, .comment-content p { color: var(--ink); margin: 0; }
#review_form input[type=text], #review_form input[type=email], #review_form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.85rem 1.1rem; background: transparent; }
#review_form label, .comment-form label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; }
#review_form p, .comment-form p { margin-bottom: 1rem; }
#review_form .submit, .comment-form .submit, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--cream); border: 0; border-radius: 99px; padding: 0.95rem 1.9rem; font-weight: 500; cursor: pointer; transition: background 0.4s var(--ease); }
#review_form .submit:hover, .comment-form .submit:hover, .woocommerce .button:hover, .woocommerce a.button:hover { background: var(--clay); color: #fff; }
p.stars a { color: var(--clay); font-size: 1.4rem; margin-right: 0.15rem; }
p.stars a::before { content: "★"; }
p.stars a { font-size: 0; } p.stars a::before { font-size: 1.5rem; }
p.stars:hover a::before { color: var(--clay); }
.comment-reply-title { font-family: var(--serif); font-size: 1.5rem; display: block; margin-bottom: 1rem; }

/* ---------- Article ---------- */
.article__head { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.article__head .meta { margin-top: 1.5rem; }
.article__hero { margin-bottom: 3rem; }
.article__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); }
.entry { font-size: 1.08rem; }
.entry img { border-radius: var(--r-md); margin-block: 1.5rem; }
.entry a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin: 2rem 0; padding: 0; border: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.95rem; }
.entry th, .entry td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.5rem; text-align: left; }
.shop-cta { background: var(--sand); border-radius: var(--r-lg); padding: 2.5rem; text-align: center; display: grid; gap: 1.25rem; justify-items: center; margin-block: 3rem; }
.tags { margin-top: 2rem; }
.comments { margin-block: 3rem 5rem; }
.not-found { padding-block: 6rem; display: grid; gap: 1.5rem; justify-items: center; }

/* ---------- Reviews carousel / FAQ ---------- */
.reviews { position: relative; text-align: center; max-width: 900px; margin-inline: auto; min-height: 280px; }
.review { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s; }
.review.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.review .stars { font-size: 1.2rem; margin-bottom: 1.25rem; }
.review footer { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }
.reviews__nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding-block: 1.5rem; }
.faq__q .display { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.15; }
.faq__q i { font-style: normal; font-size: 2rem; color: var(--clay); transition: transform 0.5s var(--ease); line-height: 1; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); max-width: 40rem; padding-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(4rem, 8vw, 7rem) 2rem; margin-top: 0; }
.footer__big { font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: 1; }
.footer__big em { color: var(--peach); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 4rem; font-size: 0.92rem; }
.footer__grid h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(251, 244, 236, 0.5); font-weight: 500; margin-bottom: 1rem; }
.footer__grid li { margin-bottom: 0.55rem; }
.footer__grid a:hover { color: var(--peach); }
.footer__legal { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(251, 244, 236, 0.15); font-size: 0.78rem; color: rgba(251, 244, 236, 0.5); }

/* ---------- Reveal defaults (JS adds .js to html) ---------- */
.js-ready [data-reveal]:not(.is-in), .js-ready [data-stagger] > *:not(.is-in) { opacity: 0; transform: translateY(24px); }
.js [data-hero-card] { opacity: 0; }
.js.no-motion [data-reveal], .js.no-motion [data-stagger] > *, .js.no-motion [data-hero-in], .js.no-motion [data-hero-card] { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid--shop { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 230px 1fr; gap: 2rem; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hide-sm { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stack { height: 420px; max-width: 420px; margin-inline: auto; width: 100%; }
  .popular { grid-template-columns: 1fr; }
  .popular__preview { display: none; }
  .promo__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pdp__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 68px; order: 2; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .sticky-buy { display: flex; }

  /* Filters become a slide-over panel */
  .shop { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 80; width: min(360px, 92vw); max-height: none; background: var(--cream); padding: 1.25rem 1.5rem; transform: translateX(-102%); transition: transform 0.55s var(--ease), visibility 0.55s; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head, .filters__foot { display: flex; }
  .filters__foot { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 2rem, 1320px); }
  .grid, .grid--shop { grid-template-columns: repeat(2, 1fr); gap: 2rem 0.9rem; }
  .grid--3 { grid-template-columns: 1fr; }
  .tiles { gap: 0.8rem; }
  .tile__label { font-size: 1.4rem; left: 0.9rem; bottom: 0.8rem; }
  .card__info { flex-direction: column; gap: 0.3rem; }
  .card__price { text-align: left; }
  .card__price del { display: inline; margin-right: 0.4rem; }
  .stats { gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .toolbar { flex-wrap: wrap; }
  .toolbar__count { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Home 1: Amazon-style offer grid
   ========================================================================== */
.h1-hero { position: relative; padding-bottom: clamp(7rem, 14vw, 11rem); background-size: cover; background-position: center; }
.h1-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 244, 236, 0.92) 0%, rgba(251, 244, 236, 0.55) 45%, transparent 75%), linear-gradient(to bottom, transparent 60%, var(--cream)); }
.h1-hero:not(.h1-hero--image)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to bottom, transparent, var(--cream)); pointer-events: none; }
.h1-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); min-height: 340px; }
.h1-hero__copy .h-hero { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.h1-hero__copy .lead { margin: 1.25rem 0 1.75rem; }
.h1-hero__art { position: relative; height: clamp(220px, 28vw, 340px); }
.h1-hero__pic { position: absolute; width: 34%; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(201, 101, 61, 0.5); background: var(--sand); }
.h1-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.h1-hero__pic--0 { left: 4%; top: 6%; }
.h1-hero__pic--1 { left: 33%; top: 0; z-index: 2; width: 38%; }
.h1-hero__pic--2 { left: 66%; top: 12%; }

.h1-cards { margin-top: clamp(-9rem, -12vw, -6rem); position: relative; z-index: 3; }
.h1-cards--after-offers { margin-top: 1.25rem; }
.h1-offers { margin-top: clamp(-9rem, -12vw, -6rem); position: relative; z-index: 3; }
.h1-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
.h1-grid--5 { grid-template-columns: repeat(5, 1fr); }
.h1-card { background: #fffaf4; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.25rem 1rem; display: flex; flex-direction: column; box-shadow: 0 18px 40px -28px rgba(42, 26, 18, 0.35); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
@media (hover: hover) { .h1-card:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -28px rgba(42, 26, 18, 0.4); } }
.h1-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.9rem; }
.h1-tiles { display: grid; gap: 0.75rem; flex: 1; align-content: start; }
.h1-tiles--4 { grid-template-columns: 1fr 1fr; }
.h1-tiles--1 { grid-template-columns: 1fr; }
.h1-tile { display: block; min-width: 0; }
.h1-tile__img { display: block; aspect-ratio: 1; border-radius: 0.8rem; overflow: hidden; background: var(--sand); }
.h1-tiles--1 .h1-tile__img { aspect-ratio: 4 / 3; }
.h1-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.h1-tile:hover .h1-tile__img img { transform: scale(1.07); }
.h1-tile__label { display: block; font-size: 0.78rem; line-height: 1.3; margin-top: 0.4rem; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.h1-tile:hover .h1-tile__label { color: var(--clay-dark); }
.h1-card__more { margin-top: 1rem; font-size: 0.85rem; color: var(--clay-dark); font-weight: 500; }
.h1-card__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.grid--4-up { grid-template-columns: repeat(4, 1fr); }
.grid--5-up { grid-template-columns: repeat(5, 1fr); gap: 2.5rem 1rem; }
.promo--slim { padding-block: clamp(3rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.promo--slim .promo__grid { margin-top: 0; }

@media (max-width: 1100px) {
  .h1-grid, .h1-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--5-up { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .h1-hero__inner { grid-template-columns: 1fr; }
  .h1-hero__art { display: none; }
  .h1-grid, .h1-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--4-up, .grid--5-up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .h1-grid { gap: 0.75rem; }
  .h1-card { padding: 0.9rem 0.9rem 0.8rem; }
  .h1-card__title { font-size: 1.1rem; }
  .h1-tiles { gap: 0.5rem; }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .nav-desktop > li > a { font-size: 0.85rem; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.1rem; }
  .brand__tt { font-size: 0.55rem; padding: 0.24rem 0.45rem; }
}

/* Offers bento (Home 1 + homepage) */
.h1-offers__grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }

.h1-offer { position: relative; z-index: 1; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(1.1rem, 1.8vw, 1.6rem); overflow: hidden; background: var(--sand); border: 1px solid var(--line); box-shadow: 0 22px 46px -32px rgba(42, 26, 18, 0.5); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); isolation: isolate; }
@media (hover: hover) { .h1-offer:hover { transform: translateY(-2px); box-shadow: 0 28px 52px -30px rgba(42, 26, 18, 0.5); z-index: 2; } }
.h1-offer--1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #b8532f 0%, #d98a4a 100%); color: #fff; border-color: transparent; padding: clamp(1.5rem, 2.6vw, 2.4rem); }
.h1-offer--2 { background: linear-gradient(135deg, var(--peach), #f9e6d4); }
.h1-offer--3 { background: linear-gradient(135deg, #efe3cf, var(--sand)); }
.h1-offer--4 { background: linear-gradient(135deg, #e7d4b4, #f3e4d4); }
.h1-offer--5 { background: var(--ink); color: var(--cream); border-color: transparent; }
.h1-offer__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; z-index: 2; min-width: 0; flex: 1; }
.h1-offer__badge { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 0.32rem 0.75rem; border-radius: 99px; background: var(--ink); color: var(--cream); }
.h1-offer--1 .h1-offer__badge { background: #fff; color: var(--clay-dark); }
.h1-offer--5 .h1-offer__badge { background: var(--clay); color: #fff; }
.h1-offer__title { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.05; max-width: 14ch; }
.h1-offer--1 .h1-offer__copy { max-width: 56%; }
.h1-offer--1 .h1-offer__title { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: none; }
.h1-offer__text { font-size: 0.88rem; line-height: 1.5; opacity: 0.8; max-width: 26ch; }
.h1-offer--1 .h1-offer__text { font-size: 1rem; opacity: 0.95; max-width: 28ch; }
.h1-offer__cta { white-space: nowrap; margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; font-size: 0.85rem; padding: 0.6rem 1.05rem; border-radius: 99px; background: var(--ink); color: var(--cream); transition: gap 0.4s var(--ease), background 0.4s; }
.h1-offer--1 .h1-offer__cta { background: #fff; color: var(--ink); font-size: 0.95rem; padding: 0.8rem 1.4rem; }
.h1-offer--5 .h1-offer__cta { background: var(--cream); color: var(--ink); }
.h1-offer:hover .h1-offer__cta { gap: 0.8rem; }
/* Big figure (2+1, 10%, TT$250) sits above the copy */
.h1-offer.has-fig { flex-direction: column-reverse; justify-content: flex-end; }
.h1-offer__fig { font-size: clamp(2.6rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -0.05em; color: var(--clay); font-style: italic; margin-bottom: 0.7rem; z-index: 1; }
.h1-offer--5 .h1-offer__fig { color: var(--peach); }
.h1-offer.has-fig .h1-offer__copy { flex: 1; }
/* Photo */
.h1-offer__img { position: absolute; right: 0.9rem; top: 0.9rem; width: clamp(84px, 8vw, 112px); aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 18px 34px -18px rgba(42, 26, 18, 0.6); background: var(--sand); transform: rotate(4deg); transition: transform 0.7s var(--ease); z-index: 1; }
@media (hover: hover) { .h1-offer:hover .h1-offer__img { transform: rotate(0) scale(1.03); } }
.h1-offer__img img { width: 100%; height: 100%; object-fit: cover; }
.h1-offer--1 .h1-offer__img { right: clamp(1.2rem, 2.5vw, 2.4rem); top: 50%; width: clamp(150px, 18vw, 250px); transform: translateY(-50%) rotate(3deg); }
@media (hover: hover) { .h1-offer--1:hover .h1-offer__img { transform: translateY(-50%) rotate(0) scale(1.03); } }
.h1-offer.has-img:not(.h1-offer--1) .h1-offer__title { max-width: 9ch; }

@media (max-width: 1100px) {
  .h1-offers__grid { grid-template-columns: repeat(2, 1fr); }
  .h1-offer--1 { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
}
@media (max-width: 640px) {
  .h1-offers__grid { grid-template-columns: 1fr; gap: 0.85rem; grid-auto-rows: auto; }
  .h1-offer, .h1-offer--1, .h1-offer--5 { grid-column: auto; min-height: 0; padding: 1.1rem; }
  .h1-offer__title, .h1-offer--1 .h1-offer__title { max-width: 16ch; font-size: 1.6rem; }
  .h1-offer.has-img:not(.h1-offer--1) .h1-offer__title { max-width: 12ch; }
  .h1-offer__text, .h1-offer--1 .h1-offer__text { max-width: 24ch; font-size: 0.85rem; }
  .h1-offer__cta, .h1-offer--1 .h1-offer__cta { margin-top: 0.6rem; }
  .h1-offer--1 .h1-offer__img { top: 1rem; transform: rotate(3deg); width: 104px; }
  .h1-offer--1:hover .h1-offer__img { transform: rotate(0); }
  .h1-offer__fig { font-size: 2.6rem; margin-bottom: 0.4rem; }
  .h1-offer--1 .h1-offer__copy { max-width: 62%; }
}

/* Offer photos: single or pair (lip balm + lip scrub) */
.h1-offer__imgs { position: absolute; right: 0.9rem; top: 0.9rem; z-index: 1; display: block; }
.h1-offer__imgs .h1-offer__img { position: relative; right: auto; top: auto; transform: rotate(4deg); }
.h1-offer--1 .h1-offer__imgs { right: clamp(1.2rem, 2.5vw, 2.4rem); top: 50%; transform: translateY(-50%); width: clamp(200px, 26vw, 360px); aspect-ratio: 1.05; }
.h1-offer--1 .h1-offer__imgs .h1-offer__img { position: absolute; top: auto; transform: none; width: 58%; }
.h1-offer--1.has-pair .h1-offer__img:nth-child(1) { left: 0; top: 0; transform: rotate(-5deg); z-index: 2; }
.h1-offer--1.has-pair .h1-offer__img:nth-child(2) { right: 0; bottom: 0; transform: rotate(5deg); z-index: 1; }
.h1-offer--1:not(.has-pair) .h1-offer__imgs .h1-offer__img { right: 0; top: 50%; transform: translateY(-50%) rotate(3deg); width: 70%; }
.h1-offer--1:hover.has-pair .h1-offer__img:nth-child(1) { transform: rotate(-3deg); }
.h1-offer--1:hover.has-pair .h1-offer__img:nth-child(2) { transform: rotate(3deg); }
@media (max-width: 640px) {
  .h1-offer--1 .h1-offer__imgs { top: 1rem; transform: none; width: 140px; right: 0.9rem; }
  .h1-offer--1 .h1-offer__imgs .h1-offer__img { width: 62%; }
  .h1-offer--1 .h1-offer__copy { max-width: 52%; }
}

/* ==========================================================================
   Home 1: mobile polish + CRO additions
   ========================================================================== */
.h1-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; padding-block: 1.1rem; font-size: 0.85rem; color: var(--muted); }
.h1-trust strong { color: var(--ink); font-weight: 600; }
.h1-trust .stars { margin-right: 0.35rem; }
.h1-trust span { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }

@media (max-width: 640px) {
  /* Hero: shorter so offers appear on the first screen */
  .h1-hero { padding-bottom: 4.5rem; }
  .h1-hero__inner { padding-top: 1.25rem; min-height: 0; gap: 0; }
  .h1-hero .eyebrow { font-size: 0.64rem; padding: 0.3rem 0.8rem; margin-bottom: 0.8rem; }
  .h1-hero__copy .h-hero { font-size: clamp(2rem, 9.5vw, 2.6rem); line-height: 1; }
  .h1-hero__copy .lead { margin: 0.8rem 0 1rem; font-size: 0.98rem; line-height: 1.5; }
  .h1-hero__copy .btn { padding: 0.8rem 1.4rem; font-size: 0.9rem; }
  .h1-offers { margin-top: -2.75rem; }
  .h1-offers .h1-offer:first-child { box-shadow: 0 24px 40px -26px rgba(42, 26, 18, 0.6); }

  /* Offer cards: one per row, tiles scroll sideways and are large enough to see */
  .h1-grid, .h1-grid--5 { grid-template-columns: 1fr; gap: 0.9rem; }
  .h1-card { padding: 1rem 0 0.9rem 1rem; }
  .h1-card__title { font-size: 1.25rem; margin-bottom: 0.7rem; padding-right: 1rem; }
  .h1-tiles, .h1-tiles--4, .h1-tiles--1 { display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1rem 0.35rem 0; margin-right: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h1-tiles::-webkit-scrollbar { display: none; }
  .h1-tile { flex: 0 0 min(38vw, 150px); scroll-snap-align: start; }
  .h1-tile__img, .h1-tiles--1 .h1-tile__img { aspect-ratio: 1; border-radius: 0.9rem; }
  .h1-tile__label { font-size: 0.78rem; margin-top: 0.45rem; -webkit-line-clamp: 2; }
  .h1-card__more { margin-top: 0.6rem; padding-right: 1rem; font-size: 0.9rem; }
  .h1-card:nth-child(n+7) { display: none; }
  .grid--4-up, .grid--5-up { gap: 1.75rem 0.75rem; }
}

/* Product page on phones: shorter photo so title, price and Add to cart show sooner */
@media (max-width: 960px) {
  .crumbs { padding-block: 0.9rem; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pdp__grid { gap: 1.25rem; }
  .gallery__main { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
  .summary h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: 0.6rem; }
  .summary .eyebrow { margin-bottom: 0.6rem; }
  .summary .price { margin: 0.4rem 0 1rem; }
  .summary__desc { margin-bottom: 1rem; }
  .perks { margin: 1.25rem 0; }
}
@media (max-width: 640px) {
  .card__media { border-radius: 1.1rem; }
  .card__btn { padding: 0.7rem 0.5rem; font-size: 0.85rem; }
  .page-head { padding-block: 2rem 1rem; }
  .page-head .h-hero { font-size: clamp(2.2rem, 11vw, 3rem); }
}

/* Main homepage on phones: tight hero that leads straight into this month's offers */
@media (max-width: 640px) {
  .hero__grid { padding-block: 1.5rem 2rem; gap: 0; }
  .hero__stack, .hero .stats, .hero__cta .btn--ghost { display: none; }
  .hero .eyebrow[data-hero-in] { font-size: 0.64rem; padding: 0.3rem 0.8rem; margin-bottom: 0.9rem; line-height: 1.3; }
  .hero .h-hero { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .hero__copy .lead { margin-top: 0.9rem; font-size: 1rem; line-height: 1.5; }
  .hero__cta { margin-top: 1.25rem; }
  .hero__cta .btn { width: 100%; }
  .marquee { display: none; }
  .h1-offers--inline.section { padding-top: 1.5rem; }
  .h1-offers--inline .section-head { margin-bottom: 1rem; }
  .h1-offers--inline .section-head .h-xl { font-size: 1.9rem; }
}
