/* ==========================================================================
   Storefront styles. Colours come from content/settings.json (theme) and are
   written onto :root at runtime, so the client can re-brand from the admin.
   Look: light grey canvas, wide grotesk type, floating pill controls,
   rounded imagery and a giant brand wordmark.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --primary: #1F4D3A;
  --accent: #E07A4F;
  --bg: #F4F1EA;
  --text: #161616;
  --sale: #C0392B;
  --surface: #FFFFFF;
  --muted: color-mix(in srgb, var(--text) 60%, var(--bg));
  --line: color-mix(in srgb, var(--text) 11%, var(--bg));
  --soft: color-mix(in srgb, var(--text) 5%, var(--bg));
  --on-primary: #fff;
  --success: #1E7B4F;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.125rem;
  --step-2: 1.4rem;
  --step-3: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);

  --gutter: clamp(14px, 2vw, 24px);
  --max: 1680px;
  --header-h: 72px;
  --radius: 12px;      /* inputs, panels */
  --radius-lg: 18px;   /* photos, cards */
  --pill: 999px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px -8px rgba(0,0,0,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--step-0)/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--primary); color: var(--on-primary); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; z-index: 100; border-radius: var(--pill); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1em; }
.prose table, .size-table table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.size-table table { font-size: var(--step-0); table-layout: fixed; }
.size-table tr { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.size-table th, .size-table td { border-left: 1px solid var(--line); padding: 18px 8px; text-align: center; font-weight: 400; }
.size-table th:first-child, .size-table td:first-child { border-left: 0; }
.size-table th { font-size: 1.05em; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.h-section { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }
.h-page { font-size: var(--step-4); line-height: .95; font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; }

/* Boot loader */
.boot { min-height: 60vh; display: grid; place-items: center; }
.boot__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: dots 1.1s ease-in-out infinite; }
.boot__dot::before, .boot__dot::after { content: ""; position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); animation: dots 1.1s ease-in-out infinite; }
.boot__dot::before { left: -18px; animation-delay: -.15s; }
.boot__dot::after { left: 18px; animation-delay: .15s; }
@keyframes dots { 0%, 80%, 100% { transform: scale(.6); opacity: .3; } 40% { transform: scale(1); opacity: 1; } }

/* Buttons — everything is a pill */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--pill); font-weight: 600; font-size: var(--step-0); letter-spacing: .005em; border: 1.5px solid transparent; white-space: nowrap; transition: color .35s var(--ease), border-color .35s, transform .3s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary::before { background: var(--text); }
.btn--accent, .btn--light { background: var(--surface); color: var(--text); }
.btn--accent::before, .btn--light::before { background: var(--primary); }
.btn--ghost { border-color: currentColor; }
.btn--ghost::before { background: var(--text); }
@media (hover: hover) {
  .btn:not([disabled]):hover::before { transform: none; }
  .btn--accent:not([disabled]):hover, .btn--light:not([disabled]):hover { color: var(--on-primary); }
  .btn--ghost:not([disabled]):hover { color: var(--bg); border-color: var(--text); }
  .btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.5); }
}
.btn:not([disabled]):active { transform: scale(.97); box-shadow: none; transition-duration: .1s; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Small floating pills (header, links) */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--pill); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; box-shadow: var(--shadow); white-space: nowrap; transition: background .25s, color .25s, transform .25s var(--ease); }
.pill .icon { width: 17px; height: 17px; }
.pill--round { width: 36px; padding: 0; }
.pill--dark { background: var(--primary); color: var(--on-primary); }
.pill__sep { width: 1px; height: 14px; background: currentColor; opacity: .35; }
@media (hover: hover) { .pill:hover { background: var(--text); color: var(--bg); } .pill--dark:hover { background: var(--text); } }
.pill:active { transform: scale(.94); }
.pill-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--pill); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.pill-link span { transition: transform .3s var(--ease); }
.pill-link:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill-link:hover span { transform: translateX(3px); }

/* Announcement bar */
.announce { background: var(--primary); color: var(--on-primary); font-size: 12px; letter-spacing: .02em; height: 30px; overflow: hidden; position: relative; }
.announce__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; padding-inline: 28px; line-height: 30px; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__track span::before { content: "✦"; color: var(--accent); margin-right: 12px; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header: transparent, controls float as pills */
.header { position: sticky; top: 0; z-index: 40; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 12px; }
.header__left, .header__right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.header__right { justify-self: end; }
.brand { display: flex; align-items: center; gap: 10px; justify-self: center; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.brand img { height: 32px; width: auto; }
.brand__name { font-family: var(--display); font-size: 1.55rem; font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; color: var(--primary); }
.header.over-hero .brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.header.over-hero .pill--dark { background: var(--surface); color: var(--text); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--soft); }
.icon-btn:active { transform: scale(.92); }
.count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: var(--on-primary); font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.count:empty { display: none; }
.cart-n { font-variant-numeric: tabular-nums; min-width: 1ch; display: inline-block; }
.nav { display: none; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a[aria-current="page"] { background: var(--text); color: var(--bg); }
.menu-btn span { font-weight: 600; }
.hide-sm { display: none !important; }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-btn { display: none !important; }
  .hide-sm { display: inline-flex !important; }
}
.pill--cart .pill__icon { display: none; }
@media (max-width: 520px) { .brand__name { font-size: 1.2rem; } .brand img { height: 26px; } .pill--cart .pill__label, .pill--cart .pill__sep { display: none; } .pill--cart .pill__icon { display: inline-flex; } .pill--cart { padding: 0 12px; } }

/* Search bar in header */
.searchbar { display: none; padding: 0 0 14px; }
.searchbar.is-open { display: block; animation: rise .35s var(--ease-out); }
.searchbar form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.input, .select { width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 8%, transparent); }
.input.is-invalid { border-color: var(--sale); }
.searchbar .input { border-radius: var(--pill); box-shadow: var(--shadow); border-color: transparent; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field .err { font-size: var(--step--1); color: var(--sale); }

/* Hero: full-bleed, giant wordmark, header floats over it.
   --hy / --hp (scroll px / 0–1) and --mx / --my (cursor −.5–.5) are set by app.js. */
.home-page .hero { margin-top: calc(-1 * var(--header-h)); }
.hero { --hy: 0px; --hp: 0; --mx: 0; --my: 0; position: relative; height: max(560px, 100svh); overflow: hidden; background: var(--primary); color: #fff; }
body:has(#announce:not([hidden])) .hero { height: max(560px, calc(100svh - 30px + var(--header-h))); }
body.home-page:has(#announce:not([hidden])) .hero { height: max(560px, calc(100svh - 30px)); }

/* Slides wipe in from the right over the previous one */
.hero__slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.hero__slide.is-prev { clip-path: inset(0); z-index: 1; }
.hero__slide.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.hero__media { position: absolute; inset: 0; transform: translate3d(0, calc(var(--hy) * .35), 0); will-change: transform; }
.hero__media picture { position: absolute; inset: -3%; display: block; transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -14px), 0); transition: transform .9s var(--ease-out); }
.hero__media img, .hero__media video, .hero__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero__media iframe { pointer-events: none; transform: scale(1.35); }
.hero__slide.is-active .hero__media img, .hero__slide.is-active .hero__media video { animation: kenburns 9s cubic-bezier(.2,.6,.3,1) both; }
@keyframes kenburns { from { transform: scale(1.18); } }
.hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.5) 100%); }

/* Opening: the photo grows from a rounded card to full screen */
.hero .hero__slide.is-active { transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.hero.intro .hero__slide.is-active { clip-path: inset(16% 12% 16% 12% round 28px); transition: none; }
.hero.intro .hero__dots, .hero.intro .hero__scroll { opacity: 0; }

/* Giant wordmark: letters rise, then follow the cursor and lift away on scroll */
.hero__brand { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 2px); pointer-events: none; transform: translate3d(0, calc(var(--hy) * -.3), 0); opacity: calc(1 - var(--hp) * 1.8); }
.hero__brand [data-fit] { --fit-max: 150px; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; text-transform: uppercase; line-height: .78; color: #fff; display: flex; width: max-content; white-space: nowrap; margin: 0 auto; transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 10px), 0); transition: transform .9s var(--ease-out); mix-blend-mode: normal; }
.fit-letter { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.fit-letter > span { display: inline-block; transform: translateY(108%) rotate(6deg); transform-origin: left bottom; transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 250ms); }
.is-fit .fit-letter > span { transform: none; }

/* Strip under the wordmark: tagline, a line that draws itself, slide counter */
.hero__strip { text-shadow: 0 1px 10px rgba(0,0,0,.35); display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(12px, 1.6vw, 24px); color: #fff; font-size: clamp(13px, .55vw + 7px, 15px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero__tag::before { content: "✦"; color: var(--accent); font-size: 1.15em; letter-spacing: 0; }
.hero__rule { flex: 1; min-width: 24px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.25)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) 1s; }
.hero__count { font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .85; }
.hero__count b { display: inline-block; font-weight: 700; }
.hero__count b.tick { animation: wordup .7s var(--ease-out); }
.hero__tag, .hero__count { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease) .85s, transform .9s var(--ease-out) .85s; }
.is-fit .hero__rule { transform: none; }
.is-fit .hero__tag { opacity: 1; transform: none; }
.is-fit .hero__count { opacity: .85; transform: none; }
@media (max-width: 720px) { .hero__strip { font-size: 11.5px; letter-spacing: .1em; } .hero__tag { white-space: normal; max-width: 70%; line-height: 1.4; } }

/* Copy: heading words slide up one by one on every slide change */
.hero__copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 8vh, 88px); display: grid; justify-items: center; text-align: center; gap: 14px; transform: translate3d(0, calc(var(--hy) * -.2), 0); opacity: calc(1 - var(--hp) * 2.2); }
.hero__copy--left { justify-items: start; text-align: left; }
.hero__copy--right { justify-items: end; text-align: right; }
.hero__title { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; line-height: 1; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__title .w > span { display: inline-block; }
.hero__slide.is-active .hero__title .w > span { animation: wordup 1.1s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + .55s); }
@keyframes wordup { from { transform: translateY(110%); } }
.hero__sub { font-size: var(--step-1); margin: 0; max-width: 40ch; opacity: .92; line-height: 1.45; }
.hero__copy .btn { min-height: 46px; padding: 0 28px; }
.hero__slide.is-active .hero__sub { animation: rise 1s var(--ease-out) .9s both; }
.hero__slide.is-active .hero__copy .btn { animation: btnin 1s var(--ease-out) 1.05s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes btnin { from { opacity: 0; transform: translateY(18px) scale(.9); } }
.hero__dots, .hero__scroll { transition: opacity .8s var(--ease) 1.2s; }

.hero__dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 20px; display: flex; gap: 8px; }
.hero__dots button { position: relative; width: 30px; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.4); }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots button[aria-current="true"]::after { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; z-index: 3; right: var(--gutter); bottom: 20px; width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 12px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 720px) {
  .hero, body:has(#announce:not([hidden])) .hero, body.home-page:has(#announce:not([hidden])) .hero { height: max(520px, calc(88svh - 30px)); }
  .hero.intro .hero__slide.is-active { clip-path: inset(12% 6% 12% 6% round 22px); }
  .hero__scroll { display: none; }
}

/* Ticker: two big scrolling lines that also drift with page scroll */
.ticker { padding-block: clamp(28px, 4vw, 56px); overflow: hidden; display: grid; gap: 4px; }
.ticker__move { will-change: transform; }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker__row--rev .ticker__track { animation-direction: reverse; }
.ticker__track span { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.6rem, 1rem + 3vw, 3.5rem); line-height: 1.02; letter-spacing: -0.02em; padding-inline: .35em; color: var(--primary); white-space: nowrap; display: inline-flex; align-items: center; gap: .7em; }
.ticker__track span::after { content: "✦"; font-size: .4em; color: var(--accent); }
.ticker__row--rev span { color: transparent; -webkit-text-stroke: 1.5px var(--primary); }

/* Sections */
.section { padding-block: clamp(40px, 6vw, 88px); }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.h-section { overflow: hidden; }
.h-section > span { display: inline-block; transition: transform 1s var(--ease-out) .1s; }
.js-motion .section__head:not(.is-in) .h-section > span { transform: translateY(110%); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1200px) { .cats { grid-template-columns: repeat(6, 1fr); } }
.cat { position: relative; display: block; }
.cat__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--soft); border-radius: var(--radius-lg); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s var(--ease); }
.cat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 45%); pointer-events: none; }
.cat__name { position: absolute; z-index: 1; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--surface); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); transition: background .3s, color .3s; }
.cat__name::after { content: "→"; display: inline-block; transition: transform .3s var(--ease); }
.cat__cta { display: none; }
@media (hover: hover) {
  .cat:hover .cat__img img { transform: scale(1.06); }
  .cat:hover .cat__name { background: var(--text); color: var(--bg); }
  .cat:hover .cat__name::after { transform: translateX(3px); }
}
/* Only one category: show it as a wide feature banner */
.cats:has(> .cat:only-child) { grid-template-columns: 1fr; }
.cat:only-child .cat__img { aspect-ratio: auto; height: clamp(340px, 36vw, 560px); background: var(--primary); }
.cat:only-child .cat__img img { position: absolute; top: 0; right: 0; width: min(46%, 680px); height: 100%; object-fit: cover; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.cat:only-child .cat__img::after { display: none; }
.cat:only-child .cat__name { left: clamp(20px, 4vw, 56px); bottom: auto; top: 50%; transform: translateY(-50%); height: auto; padding: 0; background: none; box-shadow: none; color: #fff; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 3.5vw, 4rem); line-height: .9; letter-spacing: -0.02em; display: grid; gap: 18px; }
.cat:only-child .cat__name::after { display: none; }
.cat:only-child .cat__cta { display: inline-flex; align-items: center; gap: 8px; width: max-content; height: 40px; padding: 0 20px; border-radius: var(--pill); background: var(--surface); color: var(--text); font-family: var(--sans); font-stretch: 100%; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .3s, color .3s; }
@media (hover: hover) { .cat:only-child:hover .cat__name { background: none; color: #fff; } .cat:only-child:hover .cat__cta { background: var(--text); color: var(--bg); } }
@media (max-width: 720px) {
  .cat:only-child .cat__img { height: 460px; }
  .cat:only-child .cat__img img { top: auto; bottom: 0; width: 100%; height: 62%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cat:only-child .cat__name { top: 28px; transform: none; }
}

/* Product rail + grid */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(70%, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 720px) { .rail { grid-auto-columns: calc((100% - 3*14px)/4); gap: 14px; } }
@media (max-width: 719px) { .rail--pair { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; gap: 22px 10px; overflow: visible; } }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 14px; } }
@media (min-width: 1200px) { .grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; display: grid; gap: 10px; align-content: start; }
.card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--soft); border-radius: var(--radius-lg); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.1s var(--ease-out); }
.card__media img + img { opacity: 0; }
@media (hover: hover) { .card:hover .card__media img + img { opacity: 1; } .card:hover .card__media img { transform: scale(1.04); } }
.badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: var(--pill); }
.badge--sold { background: var(--text); color: var(--bg); }
.card__wish { position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.card__wish .icon { width: 17px; height: 17px; }
.card__wish[aria-pressed="true"] .icon { fill: var(--sale); stroke: var(--sale); }
.card__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-inline: 6px; }
.card__name { display: block; font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--primary); }
.card__meta .price { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.card__add { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow); font-size: 12px; font-weight: 600; transition: background .25s, color .25s, transform .2s var(--ease); }
.card__add .icon { width: 14px; height: 14px; stroke-width: 2; }
.card__add:hover { background: var(--text); color: var(--bg); }
.card__add:active { transform: scale(.94); }
@media (hover: hover) { .card__wish:hover { transform: scale(1.12); } }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; }
.price s { color: var(--muted); font-weight: 400; font-size: .92em; }
.price .off { color: var(--sale); font-size: .9em; font-weight: 700; }

/* Reels */
.reels { position: relative; overflow: hidden; }
.reels__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62%, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reels__track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .reels__track { grid-auto-columns: calc((100% - 3*14px)/4); gap: 14px; } }
.reel { scroll-snap-align: start; position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: var(--radius-lg); background: #000; text-align: left; color: #fff; }
.reel video, .reel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .reel:hover video, .reel:hover > img { transform: scale(1.06); } }
.reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: var(--step--1); font-weight: 500; line-height: 1.35; }
.reel__play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); display: grid; place-items: center; }
.reel__play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.reel__prod { display: flex; gap: 8px; align-items: center; margin-top: 10px; background: rgba(255,255,255,.95); color: var(--text); padding: 6px; border-radius: 12px; }
.reel__prod img { position: static; width: 34px; height: 46px; object-fit: cover; flex: none; border-radius: 8px; }
.reel__prod span { font-size: 12px; line-height: 1.25; }
.reel__prod b { display: block; }

/* Full-screen reel viewer */
.viewer { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center; animation: fadein .3s; }
.viewer video { max-height: 100svh; width: min(100vw, calc(100svh * 9 / 16)); height: 100svh; object-fit: cover; }
.viewer__close { position: absolute; top: 14px; right: 14px; color: #fff; z-index: 2; background: rgba(255,255,255,.14); }
.viewer__shop { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(92vw, 380px); z-index: 2; }

/* Promo band */
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; min-height: 420px; overflow: hidden; color: var(--on-primary); background: var(--primary); border-radius: var(--radius-lg); }
.promo > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform 1.6s var(--ease-out); }
@media (hover: hover) { .promo:hover > img { transform: scale(1.03); } }
.promo__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 36ch; }
.promo__copy h2 { font-size: var(--step-3); font-stretch: 112%; text-transform: uppercase; }
@media (max-width: 719px) { .promo { grid-template-columns: 1fr; min-height: 0; } .promo > img { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16/9; height: auto; } .promo__copy { grid-row: 2; } }
.promo__copy p { margin: 12px 0 22px; }

/* USPs */
.usps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .usps { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.usp { padding: 22px 20px; display: grid; gap: 4px; background: var(--surface); border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s; }
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp b { font-family: var(--display); font-size: var(--step-1); font-weight: 700; color: var(--primary); }
.usp span { color: var(--muted); font-size: var(--step--1); }

/* Testimonials */
.quotes { display: grid; gap: 10px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.quote { margin: 0; padding: 26px; background: var(--surface); border-radius: var(--radius-lg); display: grid; align-content: start; transition: transform .4s var(--ease), box-shadow .4s; }
@media (hover: hover) { .quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.quote p { font-family: var(--display); font-size: var(--step-1); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; margin: 12px 0 16px; }
.reviews-empty { justify-items: start; gap: 8px; max-width: 560px; }
.reviews-empty p { margin: 0; }
.reviews-empty span { color: var(--muted); font-size: var(--step--1); margin-bottom: 10px; }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label { cursor: pointer; font-size: 30px; line-height: 1; color: var(--line); transition: color .15s, transform .15s; }
.stars-input label:has(input:checked), .stars-input label:has(input:checked) ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #E0A100; }
.stars-input label:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.quote footer { font-size: var(--step--1); color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Instagram grid */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 var(--gutter) clamp(40px, 6vw, 88px); max-width: var(--max); margin-inline: auto; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(8, 1fr); gap: 10px; } }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); border-radius: 14px; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .5s; }
.insta a:hover img { transform: scale(1.08); }

/* Collection page */
.pagehead { padding-block: clamp(28px, 5vw, 64px) 22px; }
.pagehead p { color: var(--muted); margin: 14px 0 0; max-width: 56ch; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 0; margin-bottom: 20px; }
.toolbar::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.toolbar__count { color: var(--muted); font-size: var(--step--1); }
.toolbar .select { width: auto; min-height: 38px; padding: 6px 14px; border-radius: var(--pill); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--pill); font-size: 13px; font-weight: 600; background: var(--surface); transition: border-color .2s, background .2s, color .2s, transform .15s var(--ease); }
.chip:hover { border-color: var(--text); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.filters { display: grid; gap: 28px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.filters legend { font-weight: 700; margin-bottom: 10px; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { padding: 64px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.empty p { color: var(--muted); margin: 0; }

/* Product page */
.pdp { display: grid; gap: 28px; padding-block: 16px 64px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 24px; } }
.gallery { display: grid; gap: 10px; }
.gallery__main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); border-radius: var(--radius-lg); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__main > * { scroll-snap-align: start; aspect-ratio: 3/4; width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; gap: 6px; justify-content: center; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.gallery__dots span.on { background: var(--text); width: 18px; }
.gallery__thumbs { display: none; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: 76px 1fr; align-items: start; position: sticky; top: calc(var(--header-h) + 16px); }
  .gallery__thumbs { display: grid; gap: 8px; grid-row: 1; }
  .gallery__thumbs button { aspect-ratio: 3/4; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--soft); position: relative; transition: border-color .2s, opacity .2s; opacity: .7; }
  .gallery__thumbs button:hover { opacity: 1; }
  .gallery__thumbs button[aria-current="true"] { border-color: var(--text); opacity: 1; }
  .gallery__thumbs img, .gallery__thumbs video { width: 100%; height: 100%; object-fit: cover; }
  .gallery__dots { display: none; }
}
.thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); font-size: 18px; }
.info { display: grid; gap: 18px; align-content: start; }
.info h1 { font-size: var(--step-3); font-stretch: 108%; color: var(--primary); }
.info .price { font-size: var(--step-2); font-family: var(--sans); }
.tax { color: var(--muted); font-size: var(--step--1); margin-top: -10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 54px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--pill); font-weight: 600; background: var(--surface); transition: border-color .2s, background .2s, color .2s, transform .15s var(--ease); }
.size:not(:disabled):hover { border-color: var(--text); }
.size:not(:disabled):active { transform: scale(.94); }
.size[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.size:disabled { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: var(--soft); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); height: 46px; background: var(--surface); }
.qty button { width: 42px; height: 100%; font-size: 18px; border-radius: var(--pill); }
.qty button:hover { background: var(--soft); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.ctas { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.wish-btn { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.wish-btn:hover { border-color: var(--text); }
.wish-btn[aria-pressed="true"] .icon { fill: var(--sale); stroke: var(--sale); }
.offers { background: var(--surface); padding: 16px 18px; border-radius: var(--radius); display: grid; gap: 8px; font-size: var(--step--1); }
.offers b { font-weight: 700; }
.offer code { font-family: var(--sans); font-weight: 700; border: 1px dashed var(--primary); padding: 1px 8px; border-radius: var(--pill); color: var(--primary); }
.pincode { display: flex; gap: 8px; }
.pincode .input { min-height: 44px; border-radius: var(--pill); }
.pincode-msg { font-size: var(--step--1); }
.pincode-msg.ok { color: var(--success); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.acc details[open] summary::after { content: "–"; transform: rotate(180deg); }
.acc .acc__body { padding: 0 0 18px; color: color-mix(in srgb, var(--text) 82%, var(--bg)); }
.acc details[open] .acc__body { animation: rise .45s var(--ease-out); }
.acc .acc__body p { margin: 0 0 .8em; }
.sticky-atc { position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-radius: 20px; box-shadow: 0 12px 34px -12px rgba(0,0,0,.35); padding: 10px 10px 10px 18px; display: flex; gap: 12px; align-items: center; transform: translateY(140%); transition: transform .45s var(--ease-out); }
.sticky-atc.is-on { transform: none; }
.sticky-atc .price { font-size: var(--step-0); }
.sticky-atc .btn { flex: 1; }
@media (min-width: 960px) { .sticky-atc { display: none; } }

/* Drawer / modal */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(15,12,10,.4); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.overlay.is-open { opacity: 1; }
.drawer { position: fixed; z-index: 71; top: 8px; bottom: 8px; right: 8px; width: min(440px, calc(100vw - 16px)); background: var(--bg); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; transform: translateX(calc(100% + 16px)); transition: transform .5s var(--ease-out); box-shadow: 0 24px 60px -20px rgba(0,0,0,.4); }
.drawer--left { right: auto; left: 8px; transform: translateX(calc(-100% - 16px)); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--step-1); font-weight: 700; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--surface); }
.drawer.is-open .drawer__body > *, .drawer.is-open .mobile-menu > a { animation: rise .55s var(--ease-out) both; }
.drawer.is-open .mobile-menu > a:nth-child(2), .drawer.is-open .drawer__body > :nth-child(2) { animation-delay: .06s; }
.drawer.is-open .mobile-menu > a:nth-child(3), .drawer.is-open .drawer__body > :nth-child(3) { animation-delay: .12s; }
.drawer.is-open .mobile-menu > a:nth-child(4), .drawer.is-open .drawer__body > :nth-child(4) { animation-delay: .18s; }
.drawer.is-open .mobile-menu > a:nth-child(n+5), .drawer.is-open .drawer__body > :nth-child(n+5) { animation-delay: .24s; }
.modal { position: fixed; z-index: 71; left: 50%; top: 50%; transform: translate(-50%, -44%) scale(.97); opacity: 0; width: min(560px, calc(100vw - 32px)); max-height: 86vh; overflow: auto; background: var(--bg); border-radius: 22px; transition: .35s var(--ease-out); }
.modal.is-open { opacity: 1; transform: translate(-50%, -50%); }
.mobile-menu a { display: block; padding: 12px 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: var(--step-3); letter-spacing: -0.02em; color: var(--primary); border-bottom: 1px solid var(--line); }
.mobile-menu .small a { font-family: var(--sans); font-weight: 400; font-stretch: 100%; text-transform: none; font-size: var(--step-0); letter-spacing: 0; color: var(--muted); border: 0; padding: 8px 0; }

/* Cart lines */
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { aspect-ratio: 3/4; width: 84px; object-fit: cover; background: var(--soft); border-radius: 12px; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font-weight: 600; line-height: 1.3; }
.line__meta { color: var(--muted); font-size: var(--step--1); margin: 2px 0 10px; }
.line .qty { height: 36px; }
.line .qty button { width: 34px; }
.line__remove { font-size: var(--step--1); color: var(--muted); text-decoration: underline; }
.freebar { display: grid; gap: 8px; font-size: var(--step--1); margin-bottom: 6px; }
.freebar__track { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.freebar__fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width .6s var(--ease-out); }
.totals { display: grid; gap: 8px; font-size: var(--step--1); }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: var(--step-1); font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.totals .save { color: var(--success); }
.coupon { display: flex; gap: 8px; }
.coupon .input { min-height: 44px; text-transform: uppercase; border-radius: var(--pill); }
.coupon .btn { min-height: 44px; padding: 0 18px; }

/* Checkout */
.checkout { display: grid; gap: 32px; padding-block: 24px 80px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.3fr 1fr; gap: 56px; } .checkout aside { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.checkout section + section { margin-top: 32px; }
.checkout h2 { font-size: var(--step-2); margin-bottom: 16px; }
.fields { display: grid; gap: 14px; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.summary { background: var(--surface); padding: 22px; border-radius: var(--radius-lg); }
.pay-opt { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; align-items: start; background: var(--surface); transition: border-color .2s, background .2s; }
.pay-opt + .pay-opt { margin-top: 10px; }
.pay-opt:has(input:checked) { border-color: var(--text); }
.pay-opt input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.pay-opt b { font-weight: 700; }
.pay-opt small { grid-column: 2; color: var(--muted); }
.pay-logos { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pay-logos span { font-size: 11px; font-weight: 700; border: 1px solid var(--line); padding: 3px 8px; border-radius: var(--pill); background: var(--bg); }
.secure { display: flex; gap: 8px; align-items: center; font-size: var(--step--1); color: var(--muted); justify-content: center; }

/* Order confirmation */
.done { padding-block: 48px 96px; max-width: 720px; margin-inline: auto; display: grid; gap: 24px; }
.done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; animation: popin .6s var(--ease-out) both; }
.done__mark .icon { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s var(--ease) .35s forwards; stroke-width: 2.2; }
@keyframes popin { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.upi-box { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 24px; border: 1.5px dashed var(--primary); border-radius: var(--radius-lg); background: var(--surface); }
.upi-box svg, .upi-box img { width: 200px; height: 200px; }

/* Footer: brand colour, giant wordmark */
.footer { background: var(--primary); color: color-mix(in srgb, var(--on-primary) 78%, var(--primary)); padding-top: 64px; overflow: hidden; border-radius: 28px 28px 0 0; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--step--1); }
.footer a { transition: color .2s, opacity .2s; }
.footer a:hover { color: var(--on-primary); }
.footer__brand { font-family: var(--display); font-size: var(--step-2); font-weight: 800; font-stretch: 125%; text-transform: uppercase; color: var(--on-primary); }
.footer__about { font-size: var(--step--1); max-width: 40ch; margin: 12px 0 0; }
.footer__base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }
.paylist { display: flex; flex-wrap: wrap; gap: 6px; }
.paylist span { border: 1px solid rgba(255,255,255,.22); padding: 3px 10px; border-radius: var(--pill); font-size: 11px; font-weight: 600; }
.socials { display: flex; gap: 6px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); transform: translateY(-2px); }
.footer__mark { padding: 18px 0 calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .footer__mark { padding-bottom: 10px; } }
.footer__mark [data-fit] { --fit-max: 120px; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; line-height: .78; color: color-mix(in srgb, var(--on-primary) 92%, var(--primary)); display: flex; width: max-content; white-space: nowrap; margin: 0 auto; }

/* Mobile tab bar: floating pill */
.tabbar { position: fixed; z-index: 34; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; box-shadow: 0 12px 34px -12px rgba(0,0,0,.3); padding: 4px; }
.tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 1px; padding: 7px 0 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); border-radius: 18px; transition: color .2s, background .2s; }
.tabbar .icon { width: 20px; height: 20px; }
.tabbar [aria-current="page"] { color: var(--bg); background: var(--text); }
.tabbar .count { top: 2px; right: calc(50% - 22px); }
@media (min-width: 960px) { .tabbar { display: none; } }
body.pdp-page .tabbar { display: none; }

/* WhatsApp float */
.wa { position: fixed; z-index: 33; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: ring 2.8s var(--ease) infinite; }
@media (min-width: 960px) { .wa { bottom: 24px; right: 24px; } }
body.pdp-page .wa { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { body.pdp-page .wa { bottom: 24px; } }

/* Toast */
.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--pill); font-size: var(--step--1); font-weight: 500; opacity: 0; pointer-events: none; transition: .35s var(--ease-out); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Motion. Decorative only; prefers-reduced-motion (top of file) turns it off.
   Reveal classes are added by app.js (.js-motion / [data-reveal] / .is-in).
   ========================================================================== */
#main.page-in { animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
[data-reveal] { transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }
.js-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(36px); }
/* Photos unveil from the bottom as they arrive */
.card .card__media, .cat .cat__img, .reel, .promo { clip-path: inset(0 round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out) var(--d, 0ms), opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }
.js-motion .card:not(.is-in) .card__media, .js-motion .cat:not(.is-in) .cat__img, .js-motion .reel:not(.is-in), .js-motion .promo:not(.is-in) { clip-path: inset(30% 0 0 0 round var(--radius-lg)); }
.js-motion .cat:not(.is-in) .cat__img img, .js-motion .card:not(.is-in) .card__media img:first-child { transform: scale(1.15); }

/* Images fade in over a soft shimmer while loading */
.js-motion .card__media img:first-child:not(.is-loaded), .js-motion .cat__img img:not(.is-loaded), .js-motion .insta img:not(.is-loaded) { opacity: 0; }
.card__media:has(img:first-child:not(.is-loaded)), .cat__img:has(img:not(.is-loaded)), .insta a:has(img:not(.is-loaded)) {
  background: linear-gradient(100deg, var(--soft) 30%, color-mix(in srgb, var(--text) 9%, var(--bg)) 50%, var(--soft) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Scroll progress */
.progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.pop .icon { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } 70% { transform: scale(.9); } }
.count.bump, .cart-n.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ==========================================================================
   Phones: two products per row everywhere, compact cards, smaller floating UI
   ========================================================================== */
@media (max-width: 719px) {
  /* "Just in" / related rails show two cards side by side, swipe for more */
  .rail { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .reels__track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .reel { border-radius: 14px; }
  .reel__cap { padding: 40px 10px 10px; font-size: 12px; }
  .reel__prod { padding: 5px; gap: 6px; }
  .reel__prod img { width: 28px; height: 38px; }
  .reel__prod span { font-size: 11px; }
  .grid { gap: 18px 10px; }

  /* Compact card: name and price stack; "Add" becomes a round + on the photo */
  .card { gap: 8px; }
  .card__media { border-radius: 14px; }
  .card .card__media, .js-motion .card:not(.is-in) .card__media { clip-path: none; }
  .card__meta { gap: 6px; padding-inline: 2px; }
  .card__meta > div { min-width: 0; }
  .card__name { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card__meta .price { font-size: 12.5px; gap: 2px 6px; margin-top: 3px; }
  .card__meta .price s { font-size: 11.5px; }
  .card__meta .price .off { font-size: 11.5px; }
  .card__add { width: 30px; height: 30px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .card__add .icon { width: 15px; height: 15px; }
  .badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
  .card__wish { top: 6px; right: 6px; width: 30px; height: 30px; }
  .card__wish .icon { width: 15px; height: 15px; }

  /* Kurtas banner: shorter */
  .cat:only-child .cat__img { height: 340px; }
  .cat:only-child .cat__img img { height: 58%; }
  .cat:only-child .cat__name { top: 22px; font-size: clamp(2rem, 10vw, 3rem); gap: 12px; }
  .cat:only-child .cat__cta { height: 36px; font-size: 13px; padding: 0 16px; }

  /* Reviews, USPs: tighter */
  .quote { padding: 20px; }
  .quote p { font-size: 1rem; margin: 8px 0 12px; }
  .usp { padding: 16px 14px; }
  .usp b { font-size: 1rem; }
  .section { padding-block: 36px; }
  .section__head { margin-bottom: 16px; }
  .h-section { font-size: 1.25rem; }
  .pill-link { height: 32px; padding: 0 12px; font-size: 12px; }

  /* Floating WhatsApp: smaller, no pulsing ring over content */
  .wa { width: 44px; height: 44px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wa svg { width: 22px; height: 22px; }
  .wa::before { display: none; }
  body.pdp-page .wa { bottom: calc(86px + env(safe-area-inset-bottom)); }

  /* Product page + bag */
  .info h1 { font-size: 1.6rem; }
  .ctas { grid-template-columns: 1fr 1fr 46px; gap: 8px; }
  .ctas .btn { padding: 0 12px; }
  .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top)); transform: translate(-50%, -20px); }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.05rem; }
  .brand img { height: 24px; }
  .menu-btn span { display: none; }
  .menu-btn { width: 36px; padding: 0; }
}

/* Order tracking */
.track-form { display: grid; grid-template-columns: 1fr 180px auto; gap: 12px; align-items: end; }
.track-form .btn { min-height: 46px; }
@media (max-width: 640px) { .track-form { grid-template-columns: 1fr; } }
.track-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.track-steps li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.track-steps li span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); position: relative; z-index: 1; }
.track-steps li:not(:first-child)::before { content: ""; position: absolute; top: 7px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.track-steps li.done, .track-steps li.now { color: var(--text); }
.track-steps li.done span, .track-steps li.now span { background: var(--primary); border-color: var(--primary); }
.track-steps li.now { font-weight: 700; }
.track-steps li.now span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.track-steps li.done::before, .track-steps li.now::before { background: var(--primary) !important; }
.track-events { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.track-events li { position: relative; display: grid; gap: 2px; font-size: var(--step--1); }
.track-events li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.track-events li:first-child::before { background: var(--primary); }
.track-events small { color: var(--muted); }
