/* ============================================================
   ZEVENX — toys & kidswear catalogue
   Design system · assets/css/zx.v1.css
   Direction: bright, soft, storybook-premium. Rounded forms,
   pastel product tiles, cobalt + berry + sunshine accents.
   ============================================================ */

/* ---------- 1. TOKENS ------------------------------------- */
:root{
  --paper:   #FFF8EF;
  --paper-2: #F8EEDF;
  --white:   #FFFFFF;
  --ink:     #1F1D36;
  --ink-2:   #3A3756;
  --muted:   #6D6986;
  --line:    rgba(31,29,54,.11);
  --line-2:  rgba(31,29,54,.2);

  --cobalt:    #3346F0;
  --cobalt-dk: #2232C8;
  --cobalt-lt: #E6E9FF;
  --berry:     #EC3F75;
  --berry-lt:  #FFE3EC;
  --sun:       #FFC53D;
  --sun-lt:    #FFF1C9;
  --mint:      #25B892;
  --mint-lt:   #D9F5EC;
  --sky:       #7DB6FF;
  --peach:     #FF9B6A;

  /* product tile — one variable if you ever want pure white tiles */
  --tile: #F7F1E8;

  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body:    "Nunito", "Segoe UI", system-ui, sans-serif;
  --hand:    "Caveat", "Comic Sans MS", cursive;

  --r-xs: 10px; --r-sm: 16px; --r: 24px; --r-lg: 34px; --r-xl: 48px;
  --gut: clamp(1rem, 3.6vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 8rem);
  --max: 1360px;

  --ease:   cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --io:     cubic-bezier(.65,0,.35,1);

  --shadow-sm: 0 2px 6px rgba(31,29,54,.06), 0 8px 24px -12px rgba(31,29,54,.18);
  --shadow:    0 4px 14px rgba(31,29,54,.06), 0 24px 48px -24px rgba(31,29,54,.28);
  --shadow-co: 0 18px 40px -16px rgba(51,70,240,.55);
}

/* ---------- 2. RESET -------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:hidden; overflow-x:clip; }
body{
  font-family:var(--body); font-size:clamp(.97rem,.25vw + .9rem,1.05rem);
  line-height:1.65; color:var(--ink); background:var(--paper);
  -webkit-font-smoothing:antialiased; overflow-x:hidden; overflow-x:clip; max-width:100%;
}
body.is-locked{ overflow:hidden; }
img,svg,video{ display:block; max-width:100%; }
img{ height:auto; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; background:none; border:0; }
button{ cursor:pointer; }
ul,ol{ list-style:none; }
::selection{ background:var(--sun); color:var(--ink); }
:focus-visible{ outline:3px solid var(--cobalt); outline-offset:3px; border-radius:6px; }
[hidden]{ display:none !important; }

.skip{ position:absolute; left:-9999px; top:.5rem; z-index:10001; background:var(--cobalt); color:#fff;
  padding:.7rem 1.1rem; border-radius:99px; font-weight:800; }
.skip:focus{ left:.5rem; }
.sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- 3. TYPE --------------------------------------- */
.h1,.h2,.h3,.h4,h1,h2,h3,h4{
  font-family:var(--display); font-weight:750; line-height:1.02; letter-spacing:-.02em;
  font-variation-settings:"SOFT" 100, "WONK" 1, "opsz" 96;
}
.h1{ font-size:clamp(2.6rem,6.4vw,5.6rem); letter-spacing:-.035em; line-height:.96; font-weight:800; }
.h2{ font-size:clamp(2rem,4.4vw,3.6rem); letter-spacing:-.03em; }
.h3{ font-size:clamp(1.4rem,2.4vw,2rem); }
.h4{ font-size:clamp(1.1rem,1.5vw,1.3rem); line-height:1.2; letter-spacing:-.01em; }
.it{ font-style:italic; font-weight:600; }
.lead{ font-size:clamp(1.06rem,1.3vw,1.24rem); line-height:1.6; color:var(--ink-2); }
.muted{ color:var(--muted); }
.kicker{
  display:inline-flex; align-items:center; gap:.55rem;
  font-size:.74rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; color:var(--cobalt);
}
.kicker::before{ content:""; width:10px; height:10px; border-radius:50%; background:currentColor;
  box-shadow:14px 0 0 var(--sun), 28px 0 0 var(--berry); margin-right:28px; }
.hand{ font-family:var(--hand); font-weight:700; letter-spacing:0; }
.tc{ text-align:center; }

/* marker-style highlight that draws in */
.mark{ position:relative; white-space:nowrap; z-index:0; }
.mark::after{
  content:""; position:absolute; left:-.08em; right:-.08em; bottom:.06em; height:.36em; z-index:-1;
  background:var(--sun); border-radius:.3em; transform:scaleX(0) rotate(-1.5deg); transform-origin:left;
  transition:transform 1s var(--ease) .35s;
}
.in .mark::after, .mark.in::after{ transform:scaleX(1) rotate(-1.5deg); }
.mark--berry::after{ background:var(--berry-lt); }
.mark--mint::after{ background:var(--mint-lt); }

/* ---------- 4. LAYOUT ------------------------------------- */
.wrap{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gut); }
.section{ padding-block:var(--sec); position:relative; }
.section--tight{ padding-block:clamp(2.5rem,5vw,4rem); }
.bg-white{ background:var(--white); }
.bg-paper2{ background:var(--paper-2); }
.bg-sun{ background:var(--sun-lt); }
.bg-sky{ background:var(--cobalt-lt); }
.bg-mint{ background:var(--mint-lt); }
.bg-berry{ background:var(--berry-lt); }
.bg-ink{ background:var(--ink); color:#fff; }
.bg-ink .muted{ color:rgba(255,255,255,.66); }

.row{ display:flex; gap:1rem; align-items:center; }
.between{ justify-content:space-between; }
.wrapf{ flex-wrap:wrap; }
.grid{ display:grid; gap:clamp(1rem,2vw,1.6rem); }
.g2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.g3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.g4{ grid-template-columns:repeat(4,minmax(0,1fr)); }

.shead{ display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; flex-wrap:wrap;
  margin-bottom:clamp(1.8rem,3.6vw,3rem); }
.shead .h2{ max-width:16ch; margin-top:.9rem; }
.shead p{ max-width:42ch; }

/* wavy divider between sections */
.wave{ display:block; width:100%; height:clamp(28px,4vw,56px); color:var(--paper); }
.wave--white{ color:var(--white); }
.wave--ink{ color:var(--ink); }

/* ---------- 5. BUTTONS ------------------------------------ */
.btn{
  --b:var(--cobalt); --f:#fff;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  padding:1rem 1.6rem; border-radius:99px; background:var(--b); color:var(--f);
  font-weight:850; font-size:.98rem; letter-spacing:.005em; line-height:1;
  overflow:hidden; isolation:isolate; white-space:nowrap;
  transition:transform .45s var(--spring), box-shadow .35s ease, background .3s ease, color .3s ease;
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -12px rgba(31,29,54,.45);
}
.btn::before{ /* glossy sweep */
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; z-index:-1;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);
  transform:skewX(-20deg); transition:left .8s var(--ease);
}
.btn:hover{ transform:translateY(-3px) scale(1.02); box-shadow:var(--shadow-co); }
.btn:hover::before{ left:130%; }
.btn:active{ transform:translateY(0) scale(.96); transition-duration:.12s; }
.btn svg{ width:18px; height:18px; flex:none; transition:transform .45s var(--spring); }
.btn:hover svg{ transform:translateX(4px); }
.btn--sm{ padding:.72rem 1.15rem; font-size:.88rem; }
.btn--lg{ padding:1.15rem 2rem; font-size:1.04rem; }
.btn--block{ width:100%; }
.btn--sun{ --b:var(--sun); --f:var(--ink); }
.btn--sun:hover{ box-shadow:0 18px 36px -16px rgba(230,160,20,.8); }
.btn--berry{ --b:var(--berry); --f:#fff; }
.btn--berry:hover{ box-shadow:0 18px 36px -16px rgba(236,63,117,.7); }
.btn--ink{ --b:var(--ink); --f:#fff; }
.btn--white{ --b:#fff; --f:var(--ink); }
.btn--ghost{ --b:transparent; --f:var(--ink); box-shadow:inset 0 0 0 2px var(--line-2); }
.btn--ghost:hover{ box-shadow:inset 0 0 0 2px var(--ink); background:#fff; }
.btn[disabled]{ opacity:.55; pointer-events:none; }

.link{ font-weight:850; color:var(--cobalt); display:inline-flex; align-items:center; gap:.4rem;
  background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat; padding-bottom:2px;
  transition:background-size .4s var(--ease); }
.link:hover{ background-size:100% 2px; }
.link svg{ width:16px; height:16px; transition:transform .4s var(--spring); }
.link:hover svg{ transform:translateX(4px); }

.icon-btn{
  position:relative; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; flex:none;
  transition:background .25s ease, transform .4s var(--spring);
}
.icon-btn:hover{ background:rgba(31,29,54,.06); transform:scale(1.06); }
.icon-btn svg{ width:22px; height:22px; }
.count{
  position:absolute; top:4px; right:2px; min-width:19px; height:19px; padding:0 5px; border-radius:99px;
  background:var(--berry); color:#fff; font-size:.68rem; font-weight:900; display:grid; place-items:center;
  transform:scale(0); transition:transform .4s var(--spring);
}
.count.on{ transform:scale(1); }
.count.bump{ animation:bump .5s var(--spring); }
@keyframes bump{ 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }

/* ---------- 6. BADGES & CHIPS ----------------------------- */
.badge{
  display:inline-flex; align-items:center; gap:.3rem; padding:.34rem .7rem; border-radius:99px;
  font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; line-height:1;
  background:var(--ink); color:#fff;
}
.badge--new{ background:var(--cobalt); }
.badge--sale{ background:var(--berry); }
.badge--handmade{ background:var(--mint); }
.badge--gift{ background:var(--sun); color:var(--ink); }
.sticker{
  position:absolute; display:grid; place-items:center; text-align:center; border-radius:50%;
  font-family:var(--hand); font-weight:700; line-height:.95; color:var(--ink); background:var(--sun);
  box-shadow:var(--shadow-sm); transform:rotate(-12deg);
}
.chip{
  display:inline-flex; align-items:center; gap:.45rem; padding:.55rem 1rem; border-radius:99px;
  background:#fff; box-shadow:inset 0 0 0 1.5px var(--line); font-weight:800; font-size:.88rem;
  transition:box-shadow .25s ease, background .25s ease, color .25s ease, transform .35s var(--spring);
}
.chip:hover{ box-shadow:inset 0 0 0 1.5px var(--ink); transform:translateY(-2px); }
.chip.on{ background:var(--ink); color:#fff; box-shadow:none; }
.chip i{ width:10px; height:10px; border-radius:50%; background:var(--c,var(--cobalt)); flex:none; }

/* ---------- 7. ANNOUNCEMENT BAR --------------------------- */
.announce{
  background:var(--ink); color:#fff; font-size:.84rem; font-weight:750; position:relative; z-index:902;
  height:40px; overflow:hidden;
}
.announce__track{ display:flex; flex-direction:column; transition:transform .7s var(--ease); }
.announce__item{ height:40px; display:flex; align-items:center; justify-content:center; gap:.5rem; padding-inline:1rem; text-align:center; white-space:nowrap; }
.announce__item > span{ min-width:0; }
.announce__item svg{ width:16px; height:16px; color:var(--sun); flex:none; }
.announce a{ text-decoration:underline; text-underline-offset:3px; }
@media (max-width:560px){ .announce__item{ font-size:.76rem; } }

/* ---------- 8. HEADER ------------------------------------- */
.header{
  position:sticky; top:0; z-index:900; background:rgba(255,248,239,.86);
  backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .3s ease, box-shadow .3s ease, transform .5s var(--ease);
}
.header.is-stuck{ border-color:var(--line); box-shadow:0 10px 30px -22px rgba(31,29,54,.35); }
.header.is-hidden{ transform:translateY(-100%); }
.header__in{ display:flex; align-items:center; gap:1rem; height:76px; max-width:100%; }
.header__tools{ display:flex; align-items:center; gap:.25rem; margin-left:auto; flex:none; }

.brand{ display:flex; align-items:center; gap:.55rem; flex:none; min-width:0; }
.brand__mark{ width:40px; height:40px; flex:none; transition:transform .8s var(--spring); }
.brand:hover .brand__mark{ transform:rotate(51.4deg) scale(1.08); }   /* one star point = 360/7 */
.brand__word{
  font-family:var(--display); font-weight:850; font-size:1.7rem; letter-spacing:-.04em; line-height:1;
  font-variation-settings:"SOFT" 100, "WONK" 1, "opsz" 72;
}
.brand__word i{ font-style:normal; color:var(--berry); }

.nav{ display:flex; align-items:center; gap:.2rem; margin-left:clamp(.5rem,2vw,2rem); }
.nav__item{ position:relative; }
.nav__link{
  display:inline-flex; align-items:center; gap:.3rem; padding:.62rem .9rem; border-radius:99px;
  font-weight:850; font-size:.96rem; transition:background .25s ease, color .25s ease;
}
.nav__link:hover,.nav__item.open > .nav__link{ background:#fff; box-shadow:var(--shadow-sm); }
.nav__link.is-active{ color:var(--cobalt); }
.nav__link svg{ width:14px; height:14px; transition:transform .35s var(--ease); }
.nav__item.open > .nav__link svg{ transform:rotate(180deg); }
@media (max-width:1180px){ .nav{ display:none; } }

/* mega menu */
.mega{
  position:absolute; top:calc(100% + 10px); left:50%; width:min(720px,92vw);
  transform:translate(-50%,10px) scale(.98); transform-origin:50% 0;
  background:#fff; border-radius:var(--r-lg); box-shadow:var(--shadow); padding:1.25rem;
  display:grid; grid-template-columns:1fr 1fr 250px; gap:1rem;
  opacity:0; visibility:hidden; transition:opacity .25s ease, transform .45s var(--spring), visibility 0s linear .3s;
}
.mega::before{ content:""; position:absolute; left:0; right:0; top:-14px; height:14px; } /* hover bridge */
.nav__item.open .mega{ opacity:1; visibility:visible; transform:translate(-50%,0) scale(1); transition-delay:0s; }
.mega__col h5{ font-size:.72rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:.3rem .7rem .6rem; }
.mega__link{
  display:flex; align-items:center; gap:.75rem; padding:.62rem .7rem; border-radius:var(--r-sm);
  font-weight:800; transition:background .25s ease, transform .35s var(--ease);
}
.mega__link:hover{ background:var(--paper); transform:translateX(4px); }
.mega__link span{ display:block; font-size:.78rem; font-weight:650; color:var(--muted); margin-top:1px; }
.mega__dot{ width:36px; height:36px; border-radius:12px; flex:none; background:var(--c); display:grid; place-items:center; }
.mega__dot svg{ width:18px; height:18px; color:var(--ink); }
.mega__feat{ border-radius:var(--r); background:var(--c,var(--paper)); padding:1rem; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; position:relative; }
.mega__feat img{ width:100%; aspect-ratio:1; object-fit:contain; mix-blend-mode:multiply; transition:transform .6s var(--ease); }
.mega__feat:hover img{ transform:scale(1.06) rotate(-2deg); }
.mega__feat b{ font-family:var(--display); font-size:1.1rem; line-height:1.1; }

/* burger */
.burger{ display:none; }
@media (max-width:1180px){ .burger{ display:grid; } }
.burger__lines{ position:relative; width:22px; height:14px; }
.burger__lines i{ position:absolute; left:0; right:0; height:2.5px; border-radius:3px; background:var(--ink); transition:transform .45s var(--spring), opacity .2s ease, top .3s var(--ease); }
.burger__lines i:nth-child(1){ top:0; } .burger__lines i:nth-child(2){ top:6px; } .burger__lines i:nth-child(3){ top:12px; }

/* ---------- 9. MOBILE MENU (drawer) ----------------------- */
.drawer{
  position:fixed; top:0; bottom:0; width:min(420px,92vw); z-index:1100; background:var(--paper);
  display:flex; flex-direction:column; box-shadow:var(--shadow);
  transition:transform .6s var(--ease), visibility 0s linear .6s; visibility:hidden;
}
.drawer--left{ left:0; transform:translateX(-102%); border-radius:0 var(--r-lg) var(--r-lg) 0; }
.drawer--right{ right:0; transform:translateX(102%); border-radius:var(--r-lg) 0 0 var(--r-lg); }
.drawer.open{ transform:none; visibility:visible; transition:transform .6s var(--ease), visibility 0s; }
.drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:1rem 1.2rem; border-bottom:1px solid var(--line); }
.drawer__body{ flex:1; overflow-y:auto; padding:1rem 1.2rem 1.5rem; overscroll-behavior:contain; }
.drawer__foot{ padding:1rem 1.2rem 1.3rem; border-top:1px solid var(--line); background:#fff; }
.scrim{
  position:fixed; inset:0; z-index:1050; background:rgba(31,29,54,.42); backdrop-filter:blur(3px);
  opacity:0; visibility:hidden; transition:opacity .4s ease, visibility 0s linear .4s;
}
.scrim.on{ opacity:1; visibility:visible; transition:opacity .4s ease, visibility 0s; }

.mnav__group{ border-bottom:1px solid var(--line); }
.mnav__top{ width:100%; display:flex; align-items:center; justify-content:space-between; padding:1rem .2rem;
  font-family:var(--display); font-size:1.5rem; font-weight:750; letter-spacing:-.02em; text-align:left; }
.mnav__top svg{ width:20px; height:20px; transition:transform .4s var(--ease); }
.mnav__group.open .mnav__top svg{ transform:rotate(45deg); }
.mnav__sub{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .45s var(--ease); }
.mnav__group.open .mnav__sub{ grid-template-rows:1fr; }
.mnav__sub > div{ overflow:hidden; }
.mnav__sub a{ display:flex; align-items:center; gap:.7rem; padding:.55rem .3rem; font-weight:800; }
.mnav__sub a:last-child{ margin-bottom:.9rem; }
.mnav__sub i{ width:12px; height:12px; border-radius:4px; background:var(--c); flex:none; }
.mnav__plain{ display:block; padding:1rem .2rem; font-family:var(--display); font-size:1.5rem; font-weight:750; border-bottom:1px solid var(--line); }

/* ---------- 10. PAGE TRANSITION --------------------------- */
/* The curtain LEAVES on page load with pure CSS — so even if the script fails
   to load, it can never stay stuck over the page. JS only plays the exit. */
.pt{ display:none; }
.js .pt{ position:fixed; inset:0; z-index:9000; pointer-events:none; display:grid; }
.pt__band{ grid-area:1/1; will-change:transform; }
.pt__band:nth-child(1){ background:var(--sun); }
.pt__band:nth-child(2){ background:var(--berry); }
.pt__band:nth-child(3){ background:var(--cobalt); display:grid; place-items:center; }
.pt__star{ width:70px; height:70px; animation:ptSpin 1.2s var(--io) infinite; }
@keyframes ptSpin{ to{ transform:rotate(360deg); } }
.js .pt__band{ animation:ptAway .66s var(--io) forwards; }
.js .pt__band:nth-child(1){ animation-delay:.14s; }
.js .pt__band:nth-child(2){ animation-delay:.07s; }
.js .pt__band:nth-child(3){ animation-delay:0s; }
@keyframes ptAway{ from{ transform:translateY(0); } to{ transform:translateY(-101%); } }
/* exit: bands rise from below before the next page loads */
.js .pt.entering{ pointer-events:all; }
.js .pt.entering .pt__band{ animation:ptIn .55s var(--io) both; }
.js .pt.entering .pt__band:nth-child(1){ animation-delay:0s; }
.js .pt.entering .pt__band:nth-child(2){ animation-delay:.06s; }
.js .pt.entering .pt__band:nth-child(3){ animation-delay:.12s; }
@keyframes ptIn{ from{ transform:translateY(101%); } to{ transform:translateY(0); } }

/* ---------- 11. REVEALS ----------------------------------- */
.js [data-reveal]{ opacity:0; transform:translateY(32px); transition:opacity .9s var(--ease), transform .9s var(--ease); transition-delay:var(--d,0ms); }
.js [data-reveal="pop"]{ transform:translateY(24px) scale(.94); transition-timing-function:ease, var(--spring); }
.js [data-reveal="left"]{ transform:translateX(-40px); }
.js [data-reveal="right"]{ transform:translateX(40px); }
.js [data-reveal="fade"]{ transform:none; }
.js [data-reveal="tilt"]{ transform:translateY(40px) rotate(-4deg); transition-timing-function:ease, var(--spring); }
.js [data-reveal].in{ opacity:1; transform:none; }
.js .words .w{ display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.08em; margin-bottom:-.08em; }
.js .words .w > span{ display:inline-block; transform:translateY(110%) rotate(6deg); transition:transform .9s var(--spring); transition-delay:var(--wd,0ms); }
.js .words.in .w > span{ transform:none; }

/* ---------- 12. DECOR ------------------------------------- */
.deco{ position:absolute; pointer-events:none; z-index:0; }
.deco svg{ width:100%; height:100%; }
.float{ animation:float 7s ease-in-out infinite; }
.float--slow{ animation-duration:10s; }
.float--rev{ animation-direction:reverse; }
@keyframes float{ 0%,100%{ transform:translate(0,0) rotate(0); } 50%{ transform:translate(0,-14px) rotate(8deg); } }
.spin{ animation:spin 22s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.confetti{ background-image:
  radial-gradient(circle at 12% 18%, var(--sun) 0 5px, transparent 6px),
  radial-gradient(circle at 82% 12%, var(--berry) 0 4px, transparent 5px),
  radial-gradient(circle at 70% 78%, var(--cobalt) 0 4px, transparent 5px),
  radial-gradient(circle at 26% 84%, var(--mint) 0 5px, transparent 6px),
  radial-gradient(circle at 50% 40%, var(--peach) 0 3px, transparent 4px);
}

/* ---------- 13. HERO SLIDER ------------------------------- */
.hero{ position:relative; padding:clamp(.8rem,2vw,1.4rem) var(--gut) 0; }
.hero__stage{
  position:relative; max-width:1600px; margin-inline:auto; border-radius:var(--r-xl); overflow:hidden;
  background:var(--slide-bg,#FCE6E0); transition:background-color .9s var(--ease);
  min-height:clamp(560px,78svh,760px); display:grid;
  isolation:isolate; -webkit-mask-image:-webkit-radial-gradient(white,black); /* forces rounded-corner clipping of animating slides */
}
.slide{
  grid-area:1/1; display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:clamp(1rem,3vw,3rem);
  padding:clamp(2rem,5vw,4.5rem) clamp(1.4rem,5vw,5rem) clamp(5.5rem,8vw,6.5rem);
  opacity:0; visibility:hidden; transition:opacity .6s ease, visibility 0s linear .6s; position:relative; z-index:1;
  background:var(--bg,transparent);   /* multiply needs a backdrop INSIDE the slide's stacking context */
}
.slide.is-active{ opacity:1; visibility:visible; transition:opacity .6s ease .15s, visibility 0s; z-index:2; }
.slide__kicker{ display:inline-flex; align-items:center; gap:.5rem; padding:.45rem .9rem; border-radius:99px;
  background:rgba(255,255,255,.7); font-weight:900; font-size:.76rem; letter-spacing:.12em; text-transform:uppercase; }
.slide__kicker i{ width:8px; height:8px; border-radius:50%; background:var(--acc,var(--berry)); }
.slide h1,.slide h2{ margin-top:1.1rem; font-size:clamp(2.5rem,5.8vw,5.2rem); line-height:.95; letter-spacing:-.04em; font-weight:800; }
.slide h1 em,.slide h2 em{ font-style:italic; color:var(--acc,var(--berry)); font-weight:650; }
.slide__lead{ margin-top:1.2rem; font-size:clamp(1.02rem,1.3vw,1.2rem); max-width:40ch; color:var(--ink-2); }
.slide__cta{ margin-top:1.8rem; display:flex; flex-wrap:wrap; gap:.8rem; }
.slide__price{ margin-top:1.4rem; display:inline-flex; align-items:baseline; gap:.5rem; font-weight:800; }
.slide__price b{ font-family:var(--display); font-size:1.7rem; }

.slide__art{ position:relative; display:grid; place-items:center; min-height:clamp(280px,40vw,520px); }
.slide__blob{ position:absolute; width:min(92%,520px); aspect-ratio:1; color:rgba(255,255,255,.72); }
.slide__blob svg{ width:100%; height:100%; animation:morph 14s ease-in-out infinite; }
@keyframes morph{ 0%,100%{ transform:rotate(0) scale(1); } 50%{ transform:rotate(14deg) scale(1.05); } }
.slide__img{
  position:relative; z-index:1; width:min(88%,480px); aspect-ratio:1; object-fit:contain; mix-blend-mode:multiply;
  filter:brightness(calc(1 + var(--lift,0)));
}
.slide__sticker{ width:clamp(84px,9vw,118px); aspect-ratio:1; right:6%; top:10%; z-index:2; font-size:clamp(1.05rem,1.5vw,1.35rem); padding:.6rem; }

/* per-slide entrance */
.js .slide [data-s]{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .8s var(--spring); }
.js .slide.is-active [data-s]{ opacity:1; transform:none; }
.js .slide.is-active [data-s="1"]{ transition-delay:.25s; } .js .slide.is-active [data-s="2"]{ transition-delay:.35s; }
.js .slide.is-active [data-s="3"]{ transition-delay:.48s; } .js .slide.is-active [data-s="4"]{ transition-delay:.6s; }
.js .slide .slide__img{ opacity:0; transform:scale(.7) rotate(-10deg); transition:opacity .6s ease .2s, transform 1.1s var(--spring) .2s; }
.js .slide.is-active .slide__img{ opacity:1; transform:none; }
.js .slide .slide__sticker{ opacity:0; transform:scale(0) rotate(-40deg); transition:transform .8s var(--spring) .75s, opacity .3s ease .75s; }
.js .slide.is-active .slide__sticker{ opacity:1; transform:rotate(-12deg); }

.hero__ui{
  position:absolute; left:0; right:0; bottom:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1rem clamp(1.4rem,5vw,5rem) clamp(1.2rem,2.4vw,1.8rem);
}
.hero__dots{ display:flex; gap:.5rem; flex-wrap:wrap; }
.hero__dot{ display:flex; align-items:center; gap:.55rem; padding:.45rem .8rem .45rem .45rem; border-radius:99px;
  background:rgba(255,255,255,.55); font-weight:850; font-size:.8rem; transition:background .3s ease; }
.hero__dot:hover{ background:#fff; }
.hero__dot i{ position:relative; width:30px; height:5px; border-radius:9px; background:rgba(31,29,54,.15); overflow:hidden; }
.hero__dot i::after{ content:""; position:absolute; inset:0; background:var(--ink); transform:scaleX(0); transform-origin:left; border-radius:inherit; }
.hero__dot[aria-selected="true"]{ background:#fff; }
.hero__dot[aria-selected="true"] i::after{ animation:fill var(--dur,6500ms) linear forwards; }
.hero.paused .hero__dot[aria-selected="true"] i::after{ animation-play-state:paused; }
@keyframes fill{ to{ transform:scaleX(1); } }
.hero__arrows{ display:flex; gap:.5rem; }
.hero__arrow{ width:50px; height:50px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:var(--shadow-sm);
  transition:transform .45s var(--spring), background .25s ease, color .25s ease; }
.hero__arrow:hover{ transform:scale(1.1); background:var(--ink); color:#fff; }
.hero__arrow svg{ width:20px; height:20px; }

@media (max-width:900px){
  .slide{ grid-template-columns:1fr; text-align:center; padding-top:1.5rem; gap:0; align-content:start; }
  .slide__art{ order:-1; min-height:auto; }
  .slide__img{ width:min(64%,300px); }
  .slide__blob{ width:min(70%,340px); }
  .slide__lead{ margin-inline:auto; }
  .slide__cta{ justify-content:center; }
  .slide__kicker{ margin-top:.2rem; }
  .hero__dot span{ display:none; }
  .hero__dot{ padding:.45rem; }
  .hero__stage{ min-height:auto; }
}
@media (max-width:520px){ .hero__arrows{ display:none; } .hero__ui{ justify-content:center; } }

/* ---------- 14. TRUST STRIP ------------------------------- */
.trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.trust__item{ display:flex; align-items:center; gap:.9rem; padding:1rem 1.1rem; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); }
.trust__ic{ width:48px; height:48px; border-radius:16px; display:grid; place-items:center; flex:none; background:var(--c); }
.trust__ic svg{ width:24px; height:24px; }
.trust__item b{ display:block; font-weight:900; line-height:1.25; }
.trust__item span{ font-size:.86rem; color:var(--muted); }
@media (max-width:1000px){ .trust{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px){ .trust{ grid-template-columns:1fr; } }

/* ---------- 15. CATEGORY BUBBLES -------------------------- */
.cats{ display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:clamp(.6rem,1.6vw,1.2rem); }
.cat{ display:flex; flex-direction:column; align-items:center; gap:.8rem; text-align:center; }
.cat__disc{
  position:relative; width:100%; aspect-ratio:1; border-radius:50%; background:var(--c); overflow:hidden;
  display:grid; place-items:center; transition:border-radius .6s var(--ease), transform .6s var(--spring), box-shadow .4s ease;
}
.cat__disc img{ width:78%; height:78%; object-fit:contain; mix-blend-mode:multiply; transition:transform .7s var(--spring); }
.cat:hover .cat__disc{ border-radius:38% 62% 55% 45% / 45% 40% 60% 55%; transform:translateY(-6px); box-shadow:var(--shadow); }
.cat:hover .cat__disc img{ transform:scale(1.12) rotate(-6deg); }
.cat b{ font-weight:900; font-size:.95rem; line-height:1.2; }
.cat span{ font-size:.78rem; color:var(--muted); margin-top:-.55rem; }
@media (max-width:1100px){ .cats{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:560px){ .cats{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-inline:calc(var(--gut) * -1); padding-inline:var(--gut); padding-bottom:.6rem; scrollbar-width:none; }
  .cats::-webkit-scrollbar{ display:none; } .cat{ flex:0 0 38%; scroll-snap-align:start; } }

/* ---------- 16. PRODUCT CARD ------------------------------ */
.pgrid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(.9rem,2vw,1.6rem) clamp(.8rem,1.6vw,1.4rem); }
.pgrid--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1100px){ .pgrid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px){ .pgrid,.pgrid--3{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

.pcard{ position:relative; display:flex; flex-direction:column; min-width:0; }
.pcard__media{
  position:relative; display:block; aspect-ratio:4/5; border-radius:var(--r); overflow:hidden; background:var(--tint,var(--tile));
  transition:box-shadow .45s ease, transform .6s var(--spring), border-radius .5s var(--ease);
  isolation:isolate;
}
.pcard:hover .pcard__media{ box-shadow:var(--shadow); transform:translateY(-6px); }
.pcard__img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:8%;
  mix-blend-mode:multiply; transition:opacity .55s ease, transform .9s var(--ease);
  filter:brightness(calc(1 + var(--lift,0))) contrast(calc(1 + var(--lift,0) * .5));
}
.pcard__img--alt{ opacity:0; transform:scale(1.06); }
.pcard:hover .pcard__img--main{ transform:scale(1.07); }
.pcard.has-alt:hover .pcard__img--main{ opacity:0; }
.pcard.has-alt:hover .pcard__img--alt{ opacity:1; transform:scale(1); }
.pcard__badges{ position:absolute; top:.8rem; left:.8rem; z-index:2; display:flex; flex-direction:column; align-items:flex-start; gap:.35rem; }

.heart{
  position:absolute; top:.65rem; right:.65rem; z-index:3; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.9); display:grid; place-items:center; box-shadow:var(--shadow-sm);
  transition:transform .45s var(--spring), background .25s ease;
}
.heart:hover{ transform:scale(1.12); }
.heart svg{ width:20px; height:20px; fill:transparent; stroke:var(--ink); stroke-width:2; transition:fill .25s ease, stroke .25s ease, transform .45s var(--spring); }
.heart[aria-pressed="true"] svg{ fill:var(--berry); stroke:var(--berry); }
.heart.pop svg{ animation:heartPop .6s var(--spring); }
@keyframes heartPop{ 0%{transform:scale(1)} 30%{transform:scale(.6)} 65%{transform:scale(1.35)} 100%{transform:scale(1)} }
.burst{ position:fixed; z-index:9500; pointer-events:none; width:8px; height:8px; border-radius:50%; }

.pcard__quick{
  position:absolute; left:.8rem; right:.8rem; bottom:.8rem; z-index:3; padding:.78rem 1rem; border-radius:99px;
  background:var(--ink); color:#fff; font-weight:850; font-size:.88rem; display:flex; align-items:center; justify-content:center; gap:.5rem;
  opacity:0; transform:translateY(14px); transition:opacity .3s ease, transform .5s var(--spring), background .25s ease;
}
.pcard__quick svg{ width:16px; height:16px; }
.pcard__quick:hover{ background:var(--cobalt); }
.pcard:hover .pcard__quick,.pcard__quick:focus-visible{ opacity:1; transform:none; }
@media (hover:none){ .pcard__quick{ display:none; } }

.pcard__body{ padding:.95rem .25rem 0; display:flex; flex-direction:column; gap:.2rem; }
.pcard__cat{ font-size:.72rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.pcard__name{ font-family:var(--body); font-weight:850; font-size:1.02rem; line-height:1.3; letter-spacing:0; font-variation-settings:normal; }
.pcard__name a{ background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat; transition:background-size .4s var(--ease); }
.pcard:hover .pcard__name a{ background-size:100% 1.5px; }
.price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:.15rem .5rem; font-weight:900; }
.price .now{ font-size:1.05rem; }
.price .from{ font-size:.78rem; font-weight:800; color:var(--muted); }
.price s{ color:var(--muted); font-weight:700; font-size:.9rem; }
.price .save{ font-size:.72rem; font-weight:900; color:var(--berry); background:var(--berry-lt); padding:.18rem .5rem; border-radius:99px; }
.pcard__sw{ display:flex; align-items:center; gap:.35rem; margin-top:.45rem; }
.pcard__sw button{ width:20px; height:20px; border-radius:50%; background:var(--sw); box-shadow:inset 0 0 0 1px rgba(31,29,54,.18);
  transition:transform .35s var(--spring), box-shadow .25s ease; }
.pcard__sw button:hover,.pcard__sw button.on{ transform:scale(1.2); box-shadow:inset 0 0 0 1px rgba(31,29,54,.18), 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.pcard__sw small{ font-size:.76rem; font-weight:800; color:var(--muted); }

/* skeleton while JS renders */
.skel{ border-radius:var(--r); aspect-ratio:4/5; background:linear-gradient(100deg,var(--paper-2) 30%,#fff 50%,var(--paper-2) 70%) 0 0/300% 100%; animation:skel 1.4s linear infinite; }
@keyframes skel{ to{ background-position:-150% 0; } }

/* horizontal rail (mobile scroll, desktop grid) */
.rail{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 3 * 1.4rem) / 4); gap:1.4rem; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding-bottom:.5rem; }
.rail::-webkit-scrollbar{ display:none; }
.rail > *{ scroll-snap-align:start; }
@media (max-width:1100px){ .rail{ grid-auto-columns:calc((100% - 2 * 1.2rem) / 3); gap:1.2rem; } }
@media (max-width:760px){ .rail{ grid-auto-columns:62%; gap:1rem; margin-inline:calc(var(--gut) * -1); padding-inline:var(--gut); scroll-padding-inline:var(--gut); } }
.rail-nav{ display:flex; gap:.5rem; }
.rail-nav button{ width:46px; height:46px; border-radius:50%; background:#fff; box-shadow:var(--shadow-sm); display:grid; place-items:center; transition:transform .4s var(--spring), background .25s, color .25s; }
.rail-nav button:hover{ transform:scale(1.08); background:var(--ink); color:#fff; }
.rail-nav svg{ width:18px; height:18px; }

/* tabs above product rows */
.tabs{ display:inline-flex; gap:.3rem; padding:.3rem; border-radius:99px; background:#fff; box-shadow:var(--shadow-sm); position:relative; }
.tabs button{ position:relative; z-index:1; padding:.62rem 1.1rem; border-radius:99px; font-weight:850; font-size:.92rem; transition:color .3s ease; }
.tabs button[aria-selected="true"]{ color:#fff; }
.tabs__pill{ position:absolute; z-index:0; top:.3rem; bottom:.3rem; border-radius:99px; background:var(--ink); transition:left .5s var(--spring), width .5s var(--spring); }
.fade-swap{ animation:fadeSwap .55s var(--ease); }
@keyframes fadeSwap{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

/* ---------- 17. PROMO BANNERS ----------------------------- */
.promos{ display:grid; grid-template-columns:1.25fr 1fr; gap:clamp(1rem,2vw,1.6rem); }
.promo{
  position:relative; overflow:hidden; border-radius:var(--r-lg); background:var(--c); padding:clamp(1.6rem,3.4vw,2.8rem);
  min-height:clamp(320px,34vw,440px); display:grid; grid-template-columns:1fr 1fr; align-items:end; isolation:isolate;
}
.promo__txt{ position:relative; z-index:2; align-self:center; }
.promo__txt .h3{ margin:.8rem 0 .7rem; }
.promo__img{ position:absolute; right:-4%; bottom:-6%; width:62%; height:100%; object-fit:contain; object-position:bottom; mix-blend-mode:multiply;
  transition:transform 1s var(--spring); z-index:1; }
.promo:hover .promo__img{ transform:scale(1.06) rotate(-3deg) translateY(-8px); }
.promo .deco{ z-index:0; }
@media (max-width:900px){ .promos{ grid-template-columns:1fr; } }
@media (max-width:520px){ .promo{ grid-template-columns:1fr; min-height:420px; align-items:start; } .promo__img{ width:78%; height:58%; right:-6%; } }

/* ---------- 18. MARQUEE ----------------------------------- */
.marquee{ overflow:hidden; display:flex; padding-block:1.1rem; user-select:none; }
.marquee__track{ display:flex; flex:none; animation:mq 36s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
@keyframes mq{ to{ transform:translateX(-50%); } }
.marquee__item{ display:flex; align-items:center; gap:1.5rem; padding-inline:.75rem; flex:none;
  font-family:var(--display); font-weight:750; font-size:clamp(1.5rem,3.4vw,2.8rem); letter-spacing:-.03em; white-space:nowrap; }
.marquee__item svg{ width:.8em; height:.8em; flex:none; }
.marquee--tilt{ transform:rotate(-2deg); margin-block:1rem; }

/* ---------- 19. AGE FINDER -------------------------------- */
.ages{ display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; }
.age{
  position:relative; border-radius:var(--r-lg); padding:1.4rem 1.2rem 1.2rem; background:#fff; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:.4rem; overflow:hidden; transition:transform .5s var(--spring), box-shadow .35s ease;
}
.age:hover{ transform:translateY(-6px) rotate(-1deg); box-shadow:var(--shadow); }
.age__num{ font-family:var(--display); font-weight:800; font-size:clamp(2rem,3.4vw,2.9rem); line-height:1; letter-spacing:-.04em; color:var(--c); }
.age b{ font-weight:900; }
.age small{ color:var(--muted); font-weight:700; }
.age::after{ content:""; position:absolute; width:120px; height:120px; right:-40px; bottom:-40px; border-radius:50%; background:var(--c); opacity:.14; transition:transform .6s var(--spring); }
.age:hover::after{ transform:scale(1.6); }
@media (max-width:980px){ .ages{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .ages{ grid-template-columns:repeat(2,1fr); } }

/* ---------- 20. FEATURE / STORY BLOCKS -------------------- */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5rem); align-items:center; }
.feature__art{ position:relative; border-radius:var(--r-xl); background:var(--c,var(--sun-lt)); aspect-ratio:1; display:grid; place-items:center; overflow:hidden; }
.feature__art img{ width:80%; height:80%; object-fit:contain; mix-blend-mode:multiply; }
.feature__art .sticker{ width:110px; height:110px; top:8%; left:6%; font-size:1.3rem; padding:.7rem; }
@media (max-width:900px){ .feature{ grid-template-columns:1fr; } }

.values{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.value{ border-radius:var(--r-lg); padding:1.6rem; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); transition:transform .5s var(--spring), background .3s ease; }
.value:hover{ transform:translateY(-6px); background:rgba(255,255,255,.12); }
.value__ic{ width:56px; height:56px; border-radius:18px; display:grid; place-items:center; background:var(--c); color:var(--ink); margin-bottom:1.2rem; }
.value__ic svg{ width:28px; height:28px; }
.value h3{ font-size:1.3rem; margin-bottom:.5rem; }
@media (max-width:1000px){ .values{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .values{ grid-template-columns:1fr; } }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; counter-reset:s; }
.step{ position:relative; border-radius:var(--r-lg); background:#fff; padding:1.8rem 1.5rem 1.5rem; box-shadow:var(--shadow-sm); }
.step__n{ width:52px; height:52px; border-radius:50%; background:var(--c); display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:1.4rem; margin-bottom:1rem; }
.step h3{ font-size:1.3rem; margin-bottom:.4rem; }
@media (max-width:860px){ .steps{ grid-template-columns:1fr; } }

/* ---------- 21. CTA BAND ---------------------------------- */
.cta{ position:relative; overflow:hidden; border-radius:var(--r-xl); background:var(--cobalt); color:#fff; padding:clamp(2.2rem,5vw,4.5rem); isolation:isolate; }
.cta .h2{ max-width:18ch; }
.cta p{ max-width:48ch; color:rgba(255,255,255,.86); margin-top:1rem; }
.cta__actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.8rem; }
.cta .deco{ opacity:.9; }

/* ---------- 22. FOOTER ------------------------------------ */
.footer{ background:var(--ink); color:#fff; padding-top:clamp(3rem,6vw,5rem); position:relative; overflow:hidden; }
.footer a{ transition:color .2s ease; }
.footer a:hover{ color:var(--sun); }
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:clamp(1.6rem,3vw,3rem); }
.footer h4{ font-family:var(--body); font-variation-settings:normal; letter-spacing:.14em; text-transform:uppercase; font-size:.74rem; font-weight:900; color:rgba(255,255,255,.55); margin-bottom:1rem; }
.footer ul li{ margin-bottom:.55rem; }
.footer ul a{ font-weight:750; color:rgba(255,255,255,.86); }
.footer .brand__word{ color:#fff; }
.footer__blurb{ margin-top:1rem; color:rgba(255,255,255,.72); max-width:36ch; }
.footer__co{ font-size:.86rem; color:rgba(255,255,255,.72); line-height:1.75; }
.footer__co b{ color:#fff; }
.socials{ display:flex; gap:.5rem; margin-top:1.3rem; }
.socials a{ width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.1); display:grid; place-items:center; transition:background .25s, transform .4s var(--spring); }
.socials a:hover{ background:var(--sun); color:var(--ink); transform:translateY(-3px) rotate(-8deg); }
.socials svg{ width:18px; height:18px; }
.footer__word{ font-family:var(--display); font-weight:850; font-size:clamp(4rem,20vw,17rem); line-height:.8; letter-spacing:-.06em; text-align:center;
  color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.14); margin-top:clamp(2rem,5vw,4rem); user-select:none; white-space:nowrap;
  font-variation-settings:"SOFT" 100, "WONK" 1; transition:color .6s ease; }
.footer__word:hover{ color:rgba(255,197,61,.12); }
.footer__bar{ display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; justify-content:space-between; align-items:center; border-top:1px solid rgba(255,255,255,.12);
  padding-block:1.3rem; padding-right:4.2rem; margin-top:-1rem; font-size:.84rem; color:rgba(255,255,255,.6); position:relative; }
.footer__bar nav{ display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; }
@media (max-width:980px){ .footer__top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer__top{ grid-template-columns:1fr; } }

.fill{ background:rgba(255,197,61,.18); border-bottom:1.5px dashed var(--sun); padding:0 .3em; border-radius:4px; font-weight:800; }

/* ---------- 23. PAGE HEAD --------------------------------- */
.phead{ position:relative; padding:clamp(2.4rem,5vw,4.5rem) 0 clamp(2rem,4vw,3.5rem); overflow:hidden; }
.phead__box{ position:relative; border-radius:var(--r-xl); background:var(--c,var(--sun-lt)); padding:clamp(1.8rem,4vw,3.6rem); overflow:hidden; isolation:isolate; }
.phead__box .h1{ font-size:clamp(2.4rem,5.4vw,4.6rem); max-width:16ch; }
.phead__box p{ max-width:52ch; margin-top:1rem; }
.phead__art{ position:absolute; right:clamp(-2rem,2vw,3rem); bottom:-8%; width:clamp(160px,28vw,360px); aspect-ratio:1; z-index:-1; mix-blend-mode:multiply; }
.phead__art img{ width:100%; height:100%; object-fit:contain; filter:brightness(calc(1 + var(--lift,0))); }
.phead__art img.is-cover{ border-radius:var(--r-lg); transform:rotate(4deg) scale(.86); box-shadow:var(--shadow); }
@media (max-width:760px){ .phead__art{ opacity:.35; right:-4rem; } }
.crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; font-size:.86rem; font-weight:800; color:var(--muted); margin-bottom:1rem; }
.crumbs a:hover{ color:var(--cobalt); }
.crumbs svg{ width:14px; height:14px; opacity:.5; }
.crumbs [aria-current]{ color:var(--ink); }

/* ---------- 24. SHOP -------------------------------------- */
.shop{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:clamp(1.5rem,3vw,2.6rem); align-items:start; }
.filters{ position:sticky; top:96px; display:flex; flex-direction:column; gap:1.4rem; }
.fgroup h4{ font-family:var(--body); font-variation-settings:normal; font-size:.74rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:.7rem; letter-spacing:.14em; }
.flist{ display:flex; flex-direction:column; gap:.15rem; }
.flink{ display:flex; align-items:center; justify-content:flex-start; gap:.6rem; padding:.55rem .75rem; border-radius:var(--r-sm); font-weight:800; transition:background .2s ease, transform .3s var(--ease); text-align:left; width:100%; }
.flink small{ margin-left:auto; }
.flink:hover{ background:#fff; transform:translateX(3px); }
.flink.on{ background:var(--ink); color:#fff; }
.flink small{ font-weight:800; font-size:.76rem; opacity:.6; }
.flink--sub{ padding-left:1.6rem; font-weight:700; font-size:.94rem; }
.flink i{ width:12px; height:12px; border-radius:4px; background:var(--c); flex:none; box-shadow:inset 0 0 0 1.5px rgba(31,29,54,.22); }
.flink.on i{ box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5); }
.fchips{ display:flex; flex-wrap:wrap; gap:.4rem; }
.fchips .chip{ font-size:.82rem; padding:.45rem .8rem; }
.range{ display:flex; flex-direction:column; gap:.5rem; }
.range input[type=range]{ width:100%; accent-color:var(--cobalt); }
.range output{ font-weight:900; }

.toolbar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:1.4rem; }
.toolbar__count{ font-weight:850; color:var(--muted); }
.toolbar__count b{ color:var(--ink); }
.select{ position:relative; }
.select select{ appearance:none; padding:.7rem 2.4rem .7rem 1rem; border-radius:99px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--line); font-weight:850; cursor:pointer; }
.select svg{ position:absolute; right:.9rem; top:50%; width:16px; height:16px; transform:translateY(-50%); pointer-events:none; }
.search-in{ position:relative; flex:1; min-width:200px; max-width:340px; }
.search-in input{ width:100%; padding:.7rem 1rem .7rem 2.6rem; border-radius:99px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--line); font-weight:700; }
.search-in input:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--cobalt); }
.search-in svg{ position:absolute; left:.9rem; top:50%; width:18px; height:18px; transform:translateY(-50%); color:var(--muted); }
.active-filters{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1.2rem; }
.active-filters .chip{ background:var(--cobalt-lt); box-shadow:none; }
.active-filters .chip svg{ width:14px; height:14px; }
.filter-btn{ display:none; }
.empty{ text-align:center; padding:4rem 1rem; border-radius:var(--r-lg); background:#fff; }
.empty .h3{ margin:.8rem 0 .4rem; }
@media (max-width:980px){
  .shop{ grid-template-columns:1fr; }
  .filters{ position:fixed; top:0; left:0; bottom:0; z-index:1100; width:min(360px,90vw); background:var(--paper); padding:1.2rem; overflow-y:auto; overscroll-behavior:contain;
    transform:translateX(-102%); transition:transform .55s var(--ease); border-radius:0 var(--r-lg) var(--r-lg) 0; box-shadow:var(--shadow); }
  .filters.open{ transform:none; }
  .filter-btn{ display:inline-flex; }
}
.filters__head{ display:none; }
.filters__foot{ display:flex; flex-direction:column; gap:.6rem; }
.filters__foot .btn{ flex-shrink:0; justify-content:center; }
#f-show{ display:none; }
@media (max-width:980px){
  .filters__head{ display:flex; align-items:center; justify-content:space-between; }
  .filters{ padding-bottom:0; }
  .filters > *{ flex-shrink:0; }
  .filters__foot{ position:sticky; bottom:0; margin:auto -1.2rem 0; padding:.9rem 1.2rem calc(.9rem + env(safe-area-inset-bottom)); flex-direction:row;
    background:linear-gradient(to top, var(--paper) 78%, rgba(255,248,239,0)); }
  .filters__foot .btn{ flex:1; }
  #f-show{ display:inline-flex; flex:1.4; }
}

/* ---------- 25. PRODUCT PAGE ------------------------------ */
.pdp{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(1.5rem,4vw,4rem); align-items:start; }
@media (max-width:900px){ .pdp{ grid-template-columns:1fr; } }

.gallery{ position:sticky; top:96px; display:grid; grid-template-columns:84px minmax(0,1fr); gap:1rem; }
@media (max-width:900px){ .gallery{ position:relative; top:0; grid-template-columns:1fr; } }
/* one-photo products: no thumbnail strip, so the photo takes the full width */
.gallery > .thumbs[hidden] + .gallery__main{ grid-column:1 / -1; }
.gallery__main{
  position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--tint,var(--tile)); aspect-ratio:1;
  cursor:zoom-in; touch-action:pan-y;
}
.gallery__main img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:7%; mix-blend-mode:multiply;
  transition:transform .35s var(--ease), opacity .45s ease;
  filter:brightness(calc(1 + var(--lift,0))) contrast(calc(1 + var(--lift,0) * .5));
}
.gallery__main.zoom img.cur{ transition:transform .15s linear; }
.gallery__main img.enter{ animation:imgIn .7s var(--spring) both; }
.gallery__main img.leave{ animation:imgOut .4s var(--ease) both; }
@keyframes imgIn{ from{ opacity:0; transform:translateX(var(--dx,40px)) scale(.92) rotate(var(--rot,3deg)); } to{ opacity:1; transform:none; } }
@keyframes imgOut{ to{ opacity:0; transform:translateX(calc(var(--dx,40px) * -1)) scale(.96); } }
.gallery__badges{ position:absolute; top:1rem; left:1rem; z-index:2; display:flex; gap:.4rem; }
.gallery__count{ position:absolute; right:1rem; bottom:1rem; z-index:2; background:rgba(255,255,255,.9); padding:.35rem .75rem; border-radius:99px; font-size:.8rem; font-weight:900; }
.gallery__nav{ position:absolute; top:50%; z-index:2; width:44px; height:44px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:var(--shadow-sm);
  transform:translateY(-50%); opacity:0; transition:opacity .25s ease, transform .4s var(--spring); }
.gallery__nav svg{ width:18px; height:18px; }
.gallery__nav--prev{ left:1rem; } .gallery__nav--next{ right:1rem; }
.gallery__main:hover .gallery__nav{ opacity:1; }
.gallery__nav:hover{ transform:translateY(-50%) scale(1.1); }
@media (hover:none){ .gallery__nav{ opacity:1; } }
.thumbs{ display:flex; flex-direction:column; gap:.7rem; }
@media (max-width:900px){ .thumbs{ flex-direction:row; order:2; overflow-x:auto; scrollbar-width:none; } .thumbs::-webkit-scrollbar{ display:none; } }
.thumb{ position:relative; width:84px; aspect-ratio:1; flex:none; border-radius:var(--r-sm); overflow:hidden; background:var(--tint,var(--tile));
  box-shadow:inset 0 0 0 2px transparent; transition:box-shadow .25s ease, transform .4s var(--spring); }
.thumb img{ width:100%; height:100%; object-fit:contain; padding:10%; mix-blend-mode:multiply; filter:brightness(calc(1 + var(--lift,0))); }
.thumb:hover{ transform:scale(1.05); }
.thumb.on{ box-shadow:inset 0 0 0 2.5px var(--ink); }
.thumbs.swap .thumb{ animation:thumbIn .55s var(--spring) both; animation-delay:calc(var(--i) * 60ms); }
@keyframes thumbIn{ from{ opacity:0; transform:translateY(12px) scale(.8); } to{ opacity:1; transform:none; } }

.summary__cat{ display:inline-flex; align-items:center; gap:.5rem; font-weight:900; font-size:.76rem; letter-spacing:.12em; text-transform:uppercase; color:var(--cobalt); }
.summary h1{ font-size:clamp(2rem,3.8vw,3.2rem); margin:.7rem 0 .8rem; letter-spacing:-.03em; }
.summary__blurb{ font-size:1.08rem; color:var(--ink-2); }
.summary__price{ margin:1.3rem 0 1.4rem; display:flex; align-items:baseline; flex-wrap:wrap; gap:.3rem .7rem; }
.summary__price .now{ font-family:var(--display); font-weight:800; font-size:clamp(1.9rem,3vw,2.5rem); letter-spacing:-.02em; display:inline-flex; }
.summary__price .from{ font-weight:850; color:var(--muted); }
.summary__price s{ color:var(--muted); font-weight:750; font-size:1.1rem; }
.summary__price :empty{ display:none; }
.digit{ display:inline-block; }
.digit.roll{ animation:roll .5s var(--spring) both; animation-delay:calc(var(--i) * 30ms); }
@keyframes roll{ from{ opacity:0; transform:translateY(60%); } to{ opacity:1; transform:none; } }

.opt{ margin-bottom:1.3rem; }
.opt__head{ display:flex; align-items:center; gap:.5rem; margin-bottom:.7rem; font-weight:850; }
.opt__head b{ font-weight:900; }
.opt__val{ color:var(--muted); font-weight:750; display:inline-block; }
.opt__val.swap{ animation:fadeSwap .4s var(--ease); }
.opt__req{ margin-left:auto; font-size:.8rem; color:var(--berry); font-weight:850; opacity:0; transform:translateX(8px); transition:opacity .3s, transform .3s; }
.opt.need .opt__req{ opacity:1; transform:none; }
.opt.shake .opt__list{ animation:shake .5s var(--ease); }
@keyframes shake{ 0%,100%{transform:none} 20%{transform:translateX(-8px)} 40%{transform:translateX(7px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(3px)} }
.opt__list{ display:flex; flex-wrap:wrap; gap:.55rem; }
.swatch{
  position:relative; width:48px; height:48px; border-radius:50%; background:var(--sw); box-shadow:inset 0 0 0 1.5px rgba(31,29,54,.16);
  transition:transform .45s var(--spring), box-shadow .25s ease;
}
.swatch::after{ content:""; position:absolute; inset:-6px; border-radius:50%; box-shadow:0 0 0 2.5px var(--ink); transform:scale(.8); opacity:0; transition:transform .45s var(--spring), opacity .25s ease; }
.swatch:hover{ transform:scale(1.08); }
.swatch[aria-checked="true"]::after{ transform:scale(1); opacity:1; }
.swatch .ripple{ position:absolute; inset:0; border-radius:50%; background:rgba(255,255,255,.7); animation:ripple .6s ease-out forwards; pointer-events:none; }
@keyframes ripple{ from{ transform:scale(.2); opacity:1; } to{ transform:scale(1.8); opacity:0; } }
.pill{
  min-width:56px; padding:.72rem 1.05rem; border-radius:14px; background:#fff; font-weight:850; font-size:.92rem;
  box-shadow:inset 0 0 0 1.5px var(--line-2); transition:background .25s ease, color .25s ease, box-shadow .25s ease, transform .4s var(--spring);
}
.pill:hover{ box-shadow:inset 0 0 0 1.5px var(--ink); transform:translateY(-2px); }
.pill[aria-checked="true"]{ background:var(--ink); color:#fff; box-shadow:none; transform:scale(1.03); }
.pill small{ display:block; font-size:.72rem; font-weight:800; opacity:.7; margin-top:1px; }

.qty{ display:inline-flex; align-items:center; border-radius:99px; background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); }
.qty button{ width:46px; height:52px; display:grid; place-items:center; border-radius:99px; transition:background .2s; }
.qty button:hover{ background:var(--paper); }
.qty svg{ width:16px; height:16px; }
.qty input{ width:44px; text-align:center; font-weight:900; font-size:1.05rem; -moz-appearance:textfield; }
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{ -webkit-appearance:none; }

.buy{ display:flex; flex-wrap:wrap; gap:.7rem; align-items:center; margin-top:.6rem; }
.buy .btn--lg{ flex:1; min-width:220px; }
.save-btn{ width:56px; height:56px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); display:grid; place-items:center; transition:transform .45s var(--spring), box-shadow .25s; }
.save-btn:hover{ transform:scale(1.08); box-shadow:inset 0 0 0 1.5px var(--ink); }
.save-btn svg{ width:22px; height:22px; fill:transparent; stroke:var(--ink); stroke-width:2; transition:fill .25s, stroke .25s; }
.save-btn[aria-pressed="true"] svg{ fill:var(--berry); stroke:var(--berry); }
.save-btn.pop svg{ animation:heartPop .6s var(--spring); }

.order-note{ margin-top:1rem; display:flex; gap:.8rem; align-items:flex-start; padding:1rem 1.1rem; border-radius:var(--r); background:var(--sun-lt); font-size:.93rem; }
.order-note svg{ width:22px; height:22px; flex:none; color:#B07A00; margin-top:2px; }
.meta{ margin-top:1.4rem; display:grid; gap:.35rem; font-size:.92rem; }
.meta div{ display:flex; gap:.5rem; }
.meta dt{ font-weight:900; min-width:84px; }
.meta dd{ color:var(--muted); font-weight:700; }
.meta a{ color:var(--cobalt); font-weight:800; }
.sku{ display:inline-block; }
.sku.swap{ animation:fadeSwap .4s var(--ease); }
.assure{ margin-top:1.4rem; display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; }
.assure div{ padding:.9rem; border-radius:var(--r-sm); background:#fff; box-shadow:var(--shadow-sm); font-size:.82rem; font-weight:750; display:flex; flex-direction:column; gap:.35rem; }
.assure svg{ width:22px; height:22px; color:var(--cobalt); }
@media (max-width:520px){ .assure{ grid-template-columns:1fr; } }
.share{ display:inline-flex; align-items:center; gap:.4rem; font-weight:850; color:var(--muted); margin-top:1rem; }
.share:hover{ color:var(--ink); }
.share svg{ width:16px; height:16px; }

/* accordion / tabs */
.acc{ margin-top:1.6rem; border-top:1.5px solid var(--line); }
.acc__item{ border-bottom:1.5px solid var(--line); }
.acc__head{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.15rem .1rem; text-align:left;
  font-family:var(--display); font-weight:750; font-size:1.2rem; letter-spacing:-.01em; }
.acc__head span.ic{ width:30px; height:30px; border-radius:50%; background:var(--paper-2); position:relative; flex:none; transition:background .3s, transform .45s var(--spring); }
.acc__head span.ic::before,.acc__head span.ic::after{ content:""; position:absolute; left:50%; top:50%; width:12px; height:2px; border-radius:2px; background:var(--ink); transform:translate(-50%,-50%); transition:transform .45s var(--spring); }
.acc__head span.ic::after{ transform:translate(-50%,-50%) rotate(90deg); }
.acc__item.open .acc__head span.ic{ background:var(--sun); transform:rotate(180deg); }
.acc__item.open .acc__head span.ic::after{ transform:translate(-50%,-50%) rotate(0); }
.acc__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .5s var(--ease); }
.acc__item.open .acc__panel{ grid-template-rows:1fr; }
.acc__panel > div{ overflow:hidden; }
.acc__panel > div > div{ padding:0 .1rem 1.3rem; color:var(--ink-2); }
.acc__panel p + p{ margin-top:.8rem; }
.ticks{ display:grid; gap:.45rem; margin-top:.9rem; }
.ticks li{ display:flex; gap:.6rem; align-items:flex-start; font-weight:700; }
.ticks li::before{ content:""; width:20px; height:20px; flex:none; margin-top:2px; border-radius:50%; background:var(--mint-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325B892' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.spec{ width:100%; border-collapse:collapse; }
.spec th,.spec td{ text-align:left; padding:.7rem .2rem; border-bottom:1px solid var(--line); vertical-align:top; }
.spec th{ width:36%; font-weight:900; }
.spec td{ color:var(--ink-2); font-weight:650; }

/* sticky mobile buy bar */
.buybar{
  position:fixed; left:.6rem; right:.6rem; bottom:.6rem; z-index:800; display:none; align-items:center; gap:.7rem;
  padding:.6rem .6rem .6rem 1rem; border-radius:99px; background:rgba(255,255,255,.95); backdrop-filter:blur(10px); box-shadow:var(--shadow);
  transform:translateY(140%); transition:transform .5s var(--spring);
}
.buybar.on{ transform:none; }
.buybar b{ font-family:var(--display); font-size:1.2rem; }
.buybar small{ display:block; font-size:.72rem; color:var(--muted); font-weight:800; max-width:40vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.buybar .btn{ margin-left:auto; }
@media (max-width:900px){ .buybar{ display:flex; } }

/* ---------- 26. MODAL (quick look) ------------------------ */
.modal{ position:fixed; inset:0; z-index:1200; display:grid; place-items:center; padding:1rem; visibility:hidden; }
.modal.open{ visibility:visible; }
.modal__scrim{ position:absolute; inset:0; background:rgba(31,29,54,.5); backdrop-filter:blur(4px); opacity:0; transition:opacity .35s ease; }
.modal.open .modal__scrim{ opacity:1; }
.modal__box{
  position:relative; width:min(980px,100%); max-height:calc(100svh - 2rem); overflow-y:auto; overscroll-behavior:contain; border-radius:var(--r-xl); background:var(--paper);
  display:grid; grid-template-columns:1fr 1fr; box-shadow:var(--shadow);
  opacity:0; transform:translateY(30px) scale(.94); transition:opacity .3s ease, transform .55s var(--spring);
}
.modal.open .modal__box{ opacity:1; transform:none; }
.modal__media{ position:relative; background:var(--tint,var(--tile)); min-height:360px; }
.modal__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:10%; mix-blend-mode:multiply; filter:brightness(calc(1 + var(--lift,0))); }
.modal__body{ padding:clamp(1.4rem,3vw,2.4rem); }
.modal__body h2{ font-size:clamp(1.6rem,2.6vw,2.2rem); margin:.5rem 0 .6rem; }
.modal__close{ position:absolute; top:.9rem; right:.9rem; z-index:3; width:44px; height:44px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:var(--shadow-sm); transition:transform .45s var(--spring); }
.modal__close:hover{ transform:rotate(90deg) scale(1.08); }
.modal__close svg{ width:20px; height:20px; }
@media (max-width:760px){ .modal__box{ grid-template-columns:1fr; } .modal__media{ min-height:280px; } }

/* ---------- 27. WISHLIST DRAWER --------------------------- */
.wl-item{ display:grid; grid-template-columns:76px 1fr auto; gap:.9rem; align-items:center; padding:.8rem 0; border-bottom:1px solid var(--line); }
.wl-item.out{ animation:wlOut .45s var(--ease) forwards; }
@keyframes wlOut{ to{ opacity:0; transform:translateX(40px); height:0; padding:0; margin:0; } }
.wl-item__img{ width:76px; aspect-ratio:1; border-radius:var(--r-sm); background:var(--tint,var(--tile)); display:grid; place-items:center; overflow:hidden; }
.wl-item__img img{ width:88%; height:88%; object-fit:contain; mix-blend-mode:multiply; filter:brightness(calc(1 + var(--lift,0))); }
.wl-item b{ display:block; font-weight:900; line-height:1.25; }
.wl-item small{ color:var(--muted); font-weight:750; }
.wl-item button{ width:36px; height:36px; border-radius:50%; display:grid; place-items:center; transition:background .2s; }
.wl-item button:hover{ background:var(--berry-lt); color:var(--berry); }
.wl-item button svg{ width:18px; height:18px; }
.wl-empty{ text-align:center; padding:2.5rem 1rem; }
.wl-empty svg{ width:64px; height:64px; margin:0 auto 1rem; color:var(--berry); }

/* ---------- 28. SEARCH OVERLAY ---------------------------- */
.search{ position:fixed; inset:0; z-index:1150; visibility:hidden; }
.search.open{ visibility:visible; }
.search__panel{ position:absolute; left:0; right:0; top:0; background:var(--paper); border-radius:0 0 var(--r-xl) var(--r-xl); box-shadow:var(--shadow);
  padding:clamp(1rem,3vw,2rem) 0 clamp(1.4rem,3vw,2.4rem); transform:translateY(-104%); transition:transform .6s var(--ease); max-height:90svh; overflow-y:auto; overscroll-behavior:contain; }
.search.open .search__panel{ transform:none; }
.search__bar{ display:flex; align-items:center; gap:.8rem; border-bottom:2px solid var(--ink); padding-bottom:.7rem; }
.search__bar svg{ width:26px; height:26px; flex:none; }
.search__bar input{ flex:1; min-width:0; font-family:var(--display); font-size:clamp(1.5rem,3.4vw,2.6rem); font-weight:700; letter-spacing:-.02em; }
.search__bar input:focus{ outline:none; }
.search__hint{ margin-top:1rem; display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.search__results{ margin-top:1.4rem; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
@media (max-width:900px){ .search__results{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.sres{ display:flex; gap:.8rem; align-items:center; padding:.6rem; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); transition:transform .4s var(--spring); animation:fadeSwap .45s var(--ease) both; animation-delay:calc(var(--i) * 40ms); }
.sres:hover{ transform:translateY(-3px); }
.sres__img{ width:64px; aspect-ratio:1; border-radius:14px; background:var(--tint,var(--tile)); flex:none; display:grid; place-items:center; overflow:hidden; }
.sres__img img{ width:88%; height:88%; object-fit:contain; mix-blend-mode:multiply; }
.sres b{ display:block; font-weight:900; font-size:.94rem; line-height:1.25; }
.sres small{ font-weight:800; color:var(--muted); }
.search__none{ margin-top:1.4rem; font-weight:800; color:var(--muted); }

/* ---------- 29. TOAST ------------------------------------- */
.toasts{ position:fixed; left:50%; bottom:1.2rem; z-index:9600; display:flex; flex-direction:column; align-items:center; gap:.5rem; transform:translateX(-50%); pointer-events:none; width:max-content; max-width:calc(100vw - 2rem); }
.toast{ display:flex; align-items:center; gap:.7rem; padding:.8rem 1.1rem .8rem .8rem; border-radius:99px; background:var(--ink); color:#fff; font-weight:800; box-shadow:var(--shadow);
  animation:toastIn .55s var(--spring) both; pointer-events:auto; }
.toast.out{ animation:toastOut .35s var(--ease) forwards; }
.toast i{ width:30px; height:30px; border-radius:50%; background:var(--c,var(--berry)); display:grid; place-items:center; flex:none; }
.toast i svg{ width:16px; height:16px; color:#fff; }
.toast a{ color:var(--sun); text-decoration:underline; text-underline-offset:3px; }
@keyframes toastIn{ from{ opacity:0; transform:translateY(24px) scale(.9); } to{ opacity:1; transform:none; } }
@keyframes toastOut{ to{ opacity:0; transform:translateY(16px) scale(.95); } }

/* ---------- 30. CONTENT / LEGAL --------------------------- */
.prose{ max-width:72ch; }
.prose h2{ font-size:clamp(1.4rem,2.4vw,1.9rem); margin:2.2rem 0 .8rem; scroll-margin-top:110px; }
.prose h2:first-child{ margin-top:0; }
.prose h3{ font-size:1.15rem; margin:1.4rem 0 .5rem; font-family:var(--body); font-variation-settings:normal; font-weight:900; letter-spacing:0; }
.prose p,.prose li{ color:var(--ink-2); margin-bottom:.9rem; }
.prose ul{ padding-left:1.2rem; margin-bottom:1rem; }
.prose li{ list-style:disc; margin-bottom:.4rem; }
.prose li::marker{ color:var(--berry); }
.prose a{ color:var(--cobalt); font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.prose strong{ color:var(--ink); }
.legal{ display:grid; grid-template-columns:250px minmax(0,1fr); gap:clamp(2rem,5vw,4rem); align-items:start; }
.toc{ position:sticky; top:100px; padding:1.2rem; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); }
.toc h4{ font-family:var(--body); font-variation-settings:normal; font-size:.72rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:.7rem; }
.toc a{ display:block; padding:.42rem .7rem; border-radius:10px; font-weight:750; font-size:.9rem; color:var(--ink-2); transition:background .2s, color .2s; }
.toc a:hover{ background:var(--paper); }
.toc a.on{ background:var(--ink); color:#fff; }
@media (max-width:900px){ .legal{ grid-template-columns:1fr; } .toc{ position:static; } }
.note{ padding:1.1rem 1.3rem; border-radius:var(--r); background:var(--sun-lt); border:1.5px dashed #E5A800; margin-bottom:2rem; }
.note b{ display:block; margin-bottom:.3rem; }

/* ---------- 31. FORMS ------------------------------------- */
.form{ display:grid; gap:1rem; }
.field{ display:flex; flex-direction:column; gap:.4rem; }
.field label{ font-weight:900; font-size:.9rem; }
.field input,.field select,.field textarea{
  width:100%; padding:.95rem 1.1rem; border-radius:var(--r-sm); background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); font-weight:650;
  transition:box-shadow .25s ease;
}
.field textarea{ min-height:140px; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--cobalt), 0 0 0 5px var(--cobalt-lt); }
.field.err input,.field.err textarea{ box-shadow:inset 0 0 0 2px var(--berry); }
.field__err{ display:none; color:var(--berry); font-weight:850; font-size:.84rem; }
.field.err .field__err{ display:block; }
.seg{ display:inline-flex; flex-wrap:wrap; gap:.3rem; padding:.3rem; border-radius:99px; background:#fff; box-shadow:var(--shadow-sm); }
.seg button{ padding:.6rem 1rem; border-radius:99px; font-weight:850; font-size:.9rem; transition:background .3s, color .3s; }
.seg button[aria-pressed="true"]{ background:var(--cobalt); color:#fff; }
.contact-card{ border-radius:var(--r-lg); background:#fff; padding:1.5rem; box-shadow:var(--shadow-sm); }
.contact-card h3{ font-size:1.25rem; margin:.4rem 0 .6rem; }
.contact-card a{ color:var(--cobalt); font-weight:850; }

/* ---------- 32. BACK TO TOP ------------------------------- */
.totop{ position:fixed; right:1rem; bottom:1rem; z-index:700; width:52px; height:52px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center;
  box-shadow:var(--shadow); opacity:0; visibility:hidden; transform:translateY(24px) scale(.6) rotate(-90deg);
  transition:transform .6s var(--spring), opacity .3s ease, visibility 0s linear .6s; }
.totop.on{ opacity:1; visibility:visible; transform:none; transition:transform .6s var(--spring), opacity .3s ease, visibility 0s; }
.totop svg{ width:20px; height:20px; }
.totop:hover{ background:var(--cobalt); }
@media (max-width:900px){ .has-buybar .totop{ bottom:5.4rem; } }

/* ---------- 33. RESPONSIVE ROLLUPS ------------------------ */
@media (max-width:1000px){ .g4{ grid-template-columns:repeat(2,minmax(0,1fr)); } .g3{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .g2,.g3,.g4{ grid-template-columns:1fr; } .header__in{ height:66px; } .brand__word{ font-size:1.45rem; } .brand__mark{ width:34px; height:34px; } }
@media (max-width:400px){ .header__tools .icon-btn{ width:42px; height:42px; } }

/* Any photo carrying a measured --lift gets its light-grey studio backdrop pushed
   to pure white, so mix-blend-mode:multiply melts it into the tile colour. */
img[style*="--lift"]{ filter:brightness(calc(1 + var(--lift))) contrast(calc(1 + var(--lift) * .5)); }
/* full-bleed studio photos (white products on grey): no blend, no whitening */
img.is-cover{ object-fit:cover !important; padding:0 !important; mix-blend-mode:normal !important; filter:none !important; }
/* clothing is mostly photographed on children and cropped mid-leg — sit the crop
   line on the tile's bottom edge so nobody looks like they are floating */
.pcard[data-cat="clothing"] .pcard__img,
#pdp[data-cat="clothing"] .gallery__main img,
.modal__media[data-cat="clothing"] img{ padding:6% 6% 0; object-position:center bottom; }
#pdp[data-cat="clothing"] .thumb img{ padding:8% 8% 0; object-position:center bottom; }

@media (max-width:640px){ .hide-sm{ display:none !important; } }

/* ---------- 33b. MOBILE POLISH ---------------------------- */
button,a,.chip,.pill,.swatch{ -webkit-tap-highlight-color:transparent; }
/* hover-only motion — stops lifted cards "sticking" after a tap on phones */
@media (hover:none){
  .pcard:hover .pcard__media{ transform:none; box-shadow:none; }
  .pcard:hover .pcard__img--main{ transform:none; }
  .pcard.has-alt:hover .pcard__img--main{ opacity:1; }
  .pcard.has-alt:hover .pcard__img--alt{ opacity:0; }
  .cat:hover .cat__disc{ transform:none; border-radius:50%; box-shadow:none; }
  .age:hover,.value:hover{ transform:none; }
  .btn:hover{ transform:none; }
}
@media (max-width:760px){
  /* iOS zooms into any field under 16px — keep inputs at 16px */
  .field input,.field select,.field textarea,.search-in input,.select select,.qty input{ font-size:16px; }
  .announce,.announce__item{ height:44px; }
  .announce__item{ white-space:normal; line-height:1.25; font-size:.76rem; }
  .rail-nav{ display:none; }                       /* swipe instead */
  .tabs{ max-width:100%; overflow-x:auto; scrollbar-width:none; }
  .tabs::-webkit-scrollbar{ display:none; }
  .tabs button{ flex:none; padding:.58rem .95rem; font-size:.88rem; }
  .shead{ margin-bottom:1.5rem; }
  .section{ padding-block:clamp(3rem,12vw,4.5rem); }
  .pcard__body{ padding-top:.75rem; }
  .pcard__name{ font-size:.95rem; }
  .pcard__badges{ top:.55rem; left:.55rem; }
  .badge{ font-size:.62rem; padding:.3rem .55rem; }
  .heart{ width:38px; height:38px; top:.45rem; right:.45rem; }
  .heart svg{ width:18px; height:18px; }
  .trust__item{ padding:.85rem .95rem; }
  .cta{ border-radius:var(--r-lg); }
  .footer__bar{ padding-right:0; padding-bottom:4.5rem; }
  .footer__bar nav{ gap:.4rem 1rem; }
  .phead{ padding-top:1.2rem; }
  .phead__box{ border-radius:var(--r-lg); }
}
@media (max-width:560px){
  .hero{ padding-inline:.6rem; }
  .hero__stage{ border-radius:var(--r-lg); }
  .slide{ padding:1.2rem 1.2rem 5.4rem; }
  .slide h1,.slide h2{ font-size:clamp(2.2rem,10.5vw,3rem); }
  .slide__lead{ font-size:1rem; }
  .slide__cta .btn{ flex:1 1 auto; padding:.95rem 1.2rem; font-size:.94rem; }
  .slide__sticker{ width:76px; font-size:1rem; right:4%; top:4%; }
  .hero__ui{ padding:.8rem 1rem 1rem; }
  /* product page buy row: quantity + save on one line, enquire full width below */
  .buy{ gap:.6rem; }
  .buy .qty{ order:1; }
  .buy .save-btn{ order:2; margin-left:auto; }
  .buy .btn--lg{ order:3; flex:1 1 100%; min-width:0; }
  .summary h1{ font-size:clamp(1.8rem,8.5vw,2.4rem); }
  .swatch{ width:44px; height:44px; }
  .pill{ padding:.7rem .9rem; min-width:52px; }
  .gallery__main{ border-radius:var(--r); }
  .thumb{ width:clamp(60px,18vw,84px); }
  .search__results{ grid-template-columns:1fr; }
  .modal{ padding:.5rem; align-items:end; }
  .modal__box{ border-radius:var(--r-lg) var(--r-lg) 0 0; max-height:calc(100svh - 1rem); }
  .modal__media{ min-height:240px; }
  .drawer{ width:100vw; border-radius:0; }
  .toolbar{ gap:.6rem; }
  .toolbar .filter-btn{ order:1; padding-block:.8rem; }
  .toolbar .select{ order:2; flex:1; } .toolbar .select select{ width:100%; }
  .toolbar .search-in{ order:3; flex:1 1 100%; max-width:none; }
  .toolbar__count{ order:4; flex:1 1 100%; font-size:.85rem; }
  .ages .age{ padding:1.1rem 1rem 1rem; }
  .promo{ padding:1.5rem; }
}
/* legal pages: turn the long contents list into a swipeable chip row on phones */
@media (max-width:900px){
  .toc{ display:flex; gap:.4rem; overflow-x:auto; padding:.6rem; scrollbar-width:none; position:sticky; top:66px; z-index:5; transition:top .45s var(--ease); }
  body:has(.header.is-hidden) .toc{ top:.6rem; }
  .toc::-webkit-scrollbar{ display:none; }
  .toc h4{ display:none; }
  .toc a{ flex:none; white-space:nowrap; background:var(--paper); }
}
/* keep fixed UI clear of the iPhone home bar */
.buybar{ bottom:calc(.6rem + env(safe-area-inset-bottom,0px)); }
.totop{ bottom:calc(1rem + env(safe-area-inset-bottom,0px)); }

/* ---------- 35. CART & CHECKOUT --------------------------- */
/* add-to-cart button on every product card (sits beside the price) */
.pcard__buy{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.pcard__add{
  flex:none; display:inline-flex; align-items:center; height:42px; min-width:42px; padding:0 11px; border-radius:99px;
  background:var(--cobalt); color:#fff; box-shadow:0 10px 22px -12px rgba(51,70,240,.9);
  transition:transform .45s var(--spring), background .25s ease, box-shadow .3s ease;
}
.pcard__add svg{ width:20px; height:20px; flex:none; }
.pcard__add span{ max-width:0; overflow:hidden; white-space:nowrap; font-weight:900; font-size:.84rem; transition:max-width .45s var(--ease), margin .45s var(--ease); }
.pcard:hover .pcard__add span,.pcard__add:focus-visible span{ max-width:76px; margin-left:.4rem; }
.pcard__add:hover{ background:var(--cobalt-dk); transform:scale(1.06); }
.pcard__add.done{ background:var(--mint); animation:addPop .6s var(--spring); }
@keyframes addPop{ 0%{transform:scale(1)} 35%{transform:scale(.8)} 70%{transform:scale(1.16)} 100%{transform:scale(1)} }
/* quick look now sits on the photo: the card is a size container so the photo height (4:5) is known */
.pcard{ container-type:inline-size; }
.pcard__quick{ top:calc(125cqw - 3.6rem); bottom:auto; }
@supports not (top:1cqw){ .pcard__quick{ display:none; } }

/* flying thumbnail + cart icon jiggle */
.fly{ position:fixed; z-index:9700; border-radius:50%; overflow:hidden; background:#fff; box-shadow:0 18px 40px -12px rgba(31,29,54,.45); pointer-events:none; }
.fly img{ width:100%; height:100%; object-fit:cover; }
.icon-btn.jiggle svg{ animation:jiggle .7s var(--spring); }
@keyframes jiggle{ 0%{transform:none} 30%{transform:rotate(-16deg) scale(1.2)} 60%{transform:rotate(10deg) scale(1.05)} 100%{transform:none} }
.count--cart{ background:var(--cobalt); }
.mnav__cart span{ color:var(--cobalt); font-family:var(--body); font-size:1rem; font-weight:900; }

/* cart lines (drawer + cart page) */
.citem{ display:grid; grid-template-columns:80px minmax(0,1fr) auto; gap:.9rem; align-items:center; padding:.9rem 0; border-bottom:1px solid var(--line); }
.citem.is-new{ animation:citemIn .8s var(--spring); }
@keyframes citemIn{ from{ opacity:0; transform:translateX(30px) scale(.96); background:var(--sun-lt); } to{ opacity:1; transform:none; } }
.citem.out{ animation:wlOut .4s var(--ease) forwards; }
.citem__img{ width:80px; aspect-ratio:1; border-radius:var(--r-sm); background:var(--tint,var(--tile)); display:grid; place-items:center; overflow:hidden; }
.citem__img img{ width:88%; height:88%; object-fit:contain; mix-blend-mode:multiply; }
.citem__img img.is-cover{ width:100%; height:100%; }
.citem[data-cat="clothing"] .citem__img img:not(.is-cover){ object-position:center bottom; }
.citem__name{ display:block; font-weight:900; line-height:1.25; }
.citem__name:hover{ color:var(--cobalt); }
.citem__opt,.citem__each{ display:block; color:var(--muted); font-weight:750; font-size:.84rem; margin-top:.15rem; }
.citem__row{ display:flex; align-items:center; flex-wrap:wrap; gap:.4rem .9rem; margin-top:.55rem; }
.qty--sm button{ width:34px; height:36px; }
.qty--sm svg{ width:14px; height:14px; }
.qty--sm input{ width:32px; font-size:.95rem; }
.qty button[disabled]{ opacity:.3; pointer-events:none; }
.citem__end{ align-self:stretch; display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:.5rem; }
.citem__total{ font-family:var(--display); font-weight:800; font-size:1.05rem; white-space:nowrap; }
.citem__rm{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:var(--muted); transition:background .2s ease, color .2s ease; }
.citem__rm:hover{ background:var(--berry-lt); color:var(--berry); }
.citem__rm svg{ width:18px; height:18px; }
.citem__save{ display:inline-flex; align-items:center; gap:.35rem; font-weight:850; font-size:.84rem; color:var(--muted); transition:color .2s ease; }
.citem__save:hover{ color:var(--berry); }
.citem__save svg{ width:16px; height:16px; fill:transparent; stroke:currentColor; stroke-width:2; }
.citem--lg{ grid-template-columns:128px minmax(0,1fr) auto; gap:1.2rem; padding:1.1rem; margin-bottom:.8rem; border:0; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); }
.citem--lg .citem__img{ width:128px; }
.citem--lg .citem__name{ font-size:1.12rem; }
.citem--lg .citem__total{ font-size:1.35rem; }
.citem--lg .citem__rm{ width:auto; height:auto; padding:.45rem .75rem; border-radius:99px; display:inline-flex; gap:.35rem; font-weight:850; font-size:.84rem; }
.citem--lg .citem__rm svg{ width:16px; height:16px; }

/* mini cart drawer foot */
.cd-count{ font-family:var(--body); font-size:1rem; font-weight:850; color:var(--muted); }
.cd-row{ display:flex; justify-content:space-between; align-items:baseline; margin-top:.8rem; font-weight:900; }
.cd-row b{ font-family:var(--display); font-size:1.5rem; display:inline-flex; }
.cd-note{ font-size:.84rem; margin:.1rem 0 .9rem; }
.cd-actions{ display:grid; grid-template-columns:1fr 1.25fr; gap:.6rem; }
.cd-actions .btn{ padding-inline:.8rem; }

/* free-delivery progress */
.freebar p{ display:flex; align-items:center; gap:.5rem; font-size:.88rem; font-weight:750; }
.freebar p svg{ width:20px; height:20px; flex:none; color:var(--cobalt); }
.freebar i{ display:block; height:8px; margin-top:.55rem; border-radius:99px; background:var(--paper-2); overflow:hidden; }
.freebar i b{ display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cobalt),var(--berry)); transition:width .9s var(--ease); }
.freebar.done i b{ background:var(--mint); }
.freebar.done p svg{ color:var(--mint); }
.freebar--lg{ padding:1rem 1.2rem; margin-bottom:1rem; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); }

/* cart page */
.phead--slim .phead__box{ padding-block:clamp(1.5rem,3vw,2.6rem); }
.cartpage{ display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:clamp(1.2rem,3vw,2.6rem); align-items:start; }
.sumcard{ position:sticky; top:100px; padding:1.5rem; border-radius:var(--r-lg); background:#fff; box-shadow:var(--shadow); }
.sumrows{ display:grid; gap:.6rem; margin:1.1rem 0 1.3rem; }
.sumrows > div{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; font-weight:750; }
.sumrows b{ display:inline-flex; font-weight:900; white-space:nowrap; }
.sumrows small{ color:var(--muted); font-weight:700; font-size:.8rem; }
.sumrows__total{ padding-top:.85rem; border-top:1.5px dashed var(--line-2); font-size:1.1rem; font-weight:900 !important; }
.sumrows__total b{ font-family:var(--display); font-size:1.7rem; }
.sum-note{ font-size:.84rem; margin-top:.8rem; }
.sum-perks{ display:grid; gap:.45rem; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); }
.sum-perks li{ display:flex; align-items:center; gap:.55rem; font-size:.86rem; font-weight:750; }
.sum-perks svg{ width:18px; height:18px; flex:none; color:var(--cobalt); }
.link--muted{ color:var(--muted); }
.link--muted:hover{ color:var(--berry); }
.cart-empty{ padding-block:clamp(2.5rem,6vw,4rem); }
.cart-empty__ic{ width:92px; height:92px; margin:0 auto 1rem; border-radius:50%; display:grid; place-items:center; background:var(--cobalt-lt); color:var(--cobalt); animation:float 5s ease-in-out infinite; }
.cart-empty__ic svg{ width:44px; height:44px; }
.cart-empty--sm .cart-empty__ic{ width:76px; height:76px; }
.cart-empty--sm .cart-empty__ic svg{ width:36px; height:36px; margin:0; color:var(--cobalt); }

/* product page + quick look extras */
.buy-now{ margin-top:.7rem; }
.qv-need{ display:flex; align-items:center; gap:.5rem; padding:.6rem .85rem; margin-bottom:1rem; border-radius:var(--r-sm); background:var(--sun-lt); font-weight:800; font-size:.88rem; }
.qv-need svg{ width:18px; height:18px; flex:none; color:#B07A00; }
.qv-links{ display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; margin-top:1.2rem; }

/* checkout */
.co-top{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:1rem; margin:.3rem 0 1.2rem; }
.co-top .h1{ font-size:clamp(2.3rem,5vw,3.6rem); }
.co-steps{ display:flex; flex-wrap:wrap; gap:.4rem; }
.co-steps li{ display:inline-flex; align-items:center; gap:.45rem; padding:.4rem .9rem .4rem .4rem; border-radius:99px; background:#fff; box-shadow:var(--shadow-sm); font-weight:850; font-size:.86rem; color:var(--muted); transition:color .3s ease; }
.co-steps li i{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--paper-2); font-style:normal; font-weight:900; font-size:.8rem; transition:background .3s ease, color .3s ease; }
.co-steps li i svg{ width:14px; height:14px; }
.co-steps li.on{ color:var(--ink); }
.co-steps li.on i{ background:var(--cobalt); color:#fff; }
.co-steps li.done i{ background:var(--mint); color:#fff; }
.co-banner{ display:flex; gap:.8rem; align-items:flex-start; padding:1rem 1.2rem; margin-bottom:1.6rem; border-radius:var(--r); background:var(--sun-lt); border:1.5px dashed #E5A800; font-size:.94rem; }
.co-banner svg{ width:22px; height:22px; flex:none; margin-top:2px; color:#B07A00; }
.checkout{ display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:clamp(1.2rem,3vw,2.6rem); align-items:start; }
.co-form{ display:grid; gap:1rem; min-width:0; }
.co-card{ min-width:0; border:0; margin:0; padding:clamp(1.2rem,2.6vw,1.8rem); border-radius:var(--r-lg); background:#fff; box-shadow:var(--shadow-sm); display:grid; gap:1rem; }
.co-legend{ float:left; width:100%; display:flex; align-items:center; gap:.6rem; padding:0; font-family:var(--display); font-weight:800; font-size:1.3rem; letter-spacing:-.01em; }
.co-legend span{ width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:#fff; font-family:var(--body); font-size:.86rem; font-weight:900; }
.co-legend + *{ clear:both; }
.co-grid{ gap:1rem; }
.select--field select{ width:100%; padding:.95rem 2.6rem .95rem 1.1rem; border-radius:var(--r-sm); box-shadow:inset 0 0 0 1.5px var(--line-2); font-weight:650; }
.select--field select:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--cobalt), 0 0 0 5px var(--cobalt-lt); }
.ship{ display:grid; gap:.6rem; }
.ship__opt{ position:relative; display:flex; align-items:center; gap:.9rem; padding:1rem 1.1rem; border-radius:var(--r-sm); background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); cursor:pointer; transition:box-shadow .25s ease, background .25s ease, transform .4s var(--spring); }
.ship__opt:hover{ transform:translateY(-2px); }
.ship__opt input{ position:absolute; opacity:0; pointer-events:none; }
.ship__dot{ width:22px; height:22px; flex:none; border-radius:50%; box-shadow:inset 0 0 0 2px var(--line-2); background:#fff; transition:box-shadow .3s var(--spring); }
.ship__opt.on{ box-shadow:inset 0 0 0 2px var(--cobalt); background:var(--cobalt-lt); }
.ship__opt.on .ship__dot{ box-shadow:inset 0 0 0 7px var(--cobalt); }
.ship__opt:focus-within{ outline:2px solid var(--cobalt); outline-offset:2px; }
.ship__txt{ flex:1; display:flex; flex-direction:column; }
.ship__txt b{ font-weight:900; }
.ship__txt small{ color:var(--muted); font-weight:750; font-size:.84rem; }
.ship__price{ font-weight:900; white-space:nowrap; }
.paytabs{ display:flex; flex-wrap:wrap; gap:.5rem; }
.paytabs button{ display:inline-flex; align-items:center; gap:.45rem; padding:.7rem 1rem; border-radius:var(--r-sm); background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); font-weight:850; font-size:.9rem; }
.paytabs button.on{ color:var(--cobalt); background:var(--cobalt-lt); box-shadow:inset 0 0 0 2px var(--cobalt); }
.paytabs button[disabled]{ opacity:.55; cursor:not-allowed; }
.paytabs small{ padding:.15rem .45rem; border-radius:99px; background:var(--paper-2); color:var(--muted); font-size:.66rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.paytabs svg{ width:18px; height:18px; }
.cardbox{ display:grid; gap:1rem; padding:1.1rem; border-radius:var(--r); background:var(--paper); }
.cardnum{ position:relative; }
.cardnum input{ padding-right:7.5rem; letter-spacing:.05em; font-variant-numeric:tabular-nums; }
.cardnum__brand{ position:absolute; right:.8rem; top:50%; padding:.32rem .65rem; border-radius:8px; background:var(--ink); color:#fff; font-weight:900; font-size:.76rem; letter-spacing:.04em; opacity:0; transform:translateY(-50%) scale(.7); transition:opacity .25s ease, transform .45s var(--spring); pointer-events:none; }
.cardnum__brand.on{ opacity:1; transform:translateY(-50%); }
.cardnum__brand.is-visa{ background:#1A1F71; }
.cardnum__brand.is-mastercard{ background:#EB5A1F; }
.cardnum__brand.is-amex{ background:#2E77BB; }
.cardnum__brand.is-discover{ background:#E87A1D; }
.cardbox__hint{ display:flex; gap:.6rem; align-items:flex-start; padding:.8rem .9rem; border-radius:var(--r-sm); background:#fff; font-size:.84rem; font-weight:650; color:var(--ink-2); }
.cardbox__hint svg{ width:18px; height:18px; flex:none; margin-top:1px; color:var(--cobalt); }
.check{ position:relative; display:flex; align-items:center; gap:.7rem; font-weight:750; font-size:.92rem; cursor:pointer; }
.check input{ position:absolute; opacity:0; width:1px; height:1px; }
.check > span{ width:24px; height:24px; flex:none; border-radius:8px; background:#fff; box-shadow:inset 0 0 0 2px var(--line-2); display:grid; place-items:center; transition:background .25s ease, box-shadow .25s ease; }
.check > span::after{ content:""; width:11px; height:6px; margin-top:-3px; border-left:2.5px solid #fff; border-bottom:2.5px solid #fff; transform:rotate(-45deg) scale(0); transition:transform .35s var(--spring); }
.check input:checked + span{ background:var(--cobalt); box-shadow:none; }
.check input:checked + span::after{ transform:rotate(-45deg) scale(1); }
.check input:focus-visible + span{ outline:2px solid var(--cobalt); outline-offset:2px; }
.co-terms{ padding:.2rem .3rem 0; }
.co-terms-err{ margin:-.5rem 0 0 2.4rem; }
.co-terms-err.on{ display:block; }
.co-pay{ margin-top:.2rem; padding-block:1.3rem; font-size:1.1rem; }
.co-pay:hover svg{ transform:none; }
.co-fine{ display:flex; align-items:center; justify-content:center; gap:.45rem; text-align:center; font-size:.84rem; }
.co-fine svg{ width:15px; height:15px; flex:none; }
.co-summary{ position:sticky; top:96px; }
.co-summary .sumcard{ position:static; }
.check .link{ display:inline; }
.co-items{ display:grid; gap:.9rem; margin:1rem 0; max-height:340px; overflow-y:auto; padding:.5rem .3rem .2rem 0; }
.co-item{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:.8rem; align-items:center; }
.co-item__img{ position:relative; width:64px; aspect-ratio:1; border-radius:14px; background:var(--tint,var(--tile)); display:grid; place-items:center; }
.co-item__img img{ width:86%; height:86%; object-fit:contain; mix-blend-mode:multiply; border-radius:14px; }
.co-item__img img.is-cover{ width:100%; height:100%; }
.co-item__img i{ position:absolute; top:-7px; right:-7px; min-width:22px; height:22px; padding:0 6px; border-radius:99px; background:var(--ink); color:#fff; font-style:normal; font-weight:900; font-size:.72rem; display:grid; place-items:center; }
.co-item__txt b{ display:block; font-weight:900; font-size:.92rem; line-height:1.25; }
.co-item__txt small{ display:block; color:var(--muted); font-weight:750; font-size:.8rem; }
.co-item__price{ font-weight:900; white-space:nowrap; }
.co-code{ display:flex; gap:.5rem; }
.co-code input{ flex:1; min-width:0; padding:.8rem 1rem; border-radius:var(--r-sm); background:#fff; box-shadow:inset 0 0 0 1.5px var(--line-2); font-weight:650; }
.co-code input:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--cobalt); }
.co-code-msg{ margin-top:.5rem; font-size:.84rem; }
.co-mini{ display:none; }
.co-overlay{ position:fixed; inset:0; z-index:9800; display:grid; place-items:center; padding:1rem; background:rgba(31,29,54,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); opacity:0; transition:opacity .35s ease; }
.co-overlay[hidden]{ display:none; }
.co-overlay.on{ opacity:1; }
.co-overlay__box{ width:min(460px,100%); padding:2.1rem 1.6rem; border-radius:var(--r-lg); background:var(--paper); text-align:center; box-shadow:var(--shadow); transform:translateY(20px) scale(.95); transition:transform .55s var(--spring); }
.co-overlay.on .co-overlay__box{ transform:none; }
.co-spin{ width:58px; height:58px; margin:0 auto 1rem; border-radius:50%; border:5px solid var(--cobalt-lt); border-top-color:var(--cobalt); animation:spin .8s linear infinite; }
.co-proc{ font-weight:850; }
.co-result__ic{ width:66px; height:66px; margin:0 auto .9rem; border-radius:50%; display:grid; place-items:center; background:var(--sun-lt); color:#B07A00; animation:addPop .7s var(--spring); }
.co-result__ic svg{ width:32px; height:32px; }

@media (max-width:980px){
  .cartpage,.checkout{ grid-template-columns:1fr; }
  .sumcard{ position:static; }
  .co-summary{ position:static; order:-1; display:none; }
  .co-summary.open{ display:block; animation:fadeSwap .45s var(--ease); }
  .co-mini{ display:flex; align-items:center; gap:.6rem; width:100%; padding:1rem 1.1rem; border-radius:var(--r); background:#fff; box-shadow:var(--shadow-sm); font-weight:850; }
  .co-mini svg{ width:20px; height:20px; color:var(--cobalt); }
  .co-mini b{ margin-left:auto; font-family:var(--display); font-size:1.2rem; }
}
@media (max-width:760px){
  .co-code input,.cardnum input{ font-size:16px; }
  .co-steps li{ font-size:.8rem; padding-right:.75rem; }
  .pcard__add{ height:38px; min-width:38px; padding:0 9px; }
  .pcard__add svg{ width:18px; height:18px; }
}
@media (max-width:560px){
  .citem--lg{ grid-template-columns:88px minmax(0,1fr); gap:.9rem; padding:.9rem; }
  .citem--lg .citem__img{ width:88px; }
  .citem--lg .citem__end{ grid-column:1 / -1; flex-direction:row; align-items:center; padding-top:.7rem; border-top:1px solid var(--line); }
  .co-card .g3{ grid-template-columns:1fr 1fr; }
  .co-card .g3 .field:first-child{ grid-column:1 / -1; }
  .co-top{ align-items:flex-start; flex-direction:column; }
  .cd-actions{ grid-template-columns:1fr; }
}
@media (hover:none){ .pcard__add:hover{ transform:none; } }
/* small phones: four header controls + logo must fit in 320px */
@media (max-width:400px){
  .header__in{ gap:.5rem; }
  .header__tools{ gap:0; }
  .header__tools .icon-btn{ width:40px; height:40px; }
  .header .brand__word{ font-size:1.32rem; }
  .header .brand__mark{ width:31px; height:31px; }
  .cardnum input{ padding-right:4.8rem; }
  .cardnum__brand{ font-size:.66rem; padding:.28rem .45rem; }
}
@media (max-width:370px){ .header__tools [data-open-wl]{ display:none; } }


/* ---------- 36. LADIES EDIT ------------------------------- */
/* lifestyle photos sit full-bleed in their frame instead of being
   multiplied onto the tint like cut-out product shots */
.slide__img--cover{
  width:min(72%,392px); aspect-ratio:4/5; object-fit:cover; object-position:50% 26%;
  mix-blend-mode:normal; border-radius:calc(var(--r-xl) - 10px); box-shadow:0 26px 60px rgba(31,29,54,.22);
}
@media (max-width:900px){ .slide__img--cover{ width:min(58%,270px); } }
.feature__art img.is-cover{ width:100%; height:100%; object-fit:cover; object-position:50% 22%; mix-blend-mode:normal; }
.cat__disc img.is-cover{ width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; }
.cat:hover .cat__disc img.is-cover{ transform:scale(1.1); }

/* ---------- 34. REDUCED MOTION ---------------------------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .js [data-reveal],.js .words .w > span,.js .slide [data-s],.js .slide .slide__img,.js .slide .slide__sticker{ opacity:1 !important; transform:none !important; }
  .pt{ display:none !important; }
}
