/* =====================================================================
   BENKU'S HOME BLISS STUDIO — 2026 redesign
   Rose-milk ground, aubergine ink, rani-pink actions, marigold sticker.
   Display: Rozha One (Indian Type Foundry). Text: Baloo 2 (Ek Type).
   One signature moment: the hero colour lab. Everything else stays quiet.
   ===================================================================== */
@font-face { font-family: "Rozha One"; src: url("../fonts/rozha-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ground: #FBEDEA;      /* rose milk */
  --paper: #FFFFFF;
  --blush: #F6DDD8;
  --blush-2: #F0CCC6;
  --line: #EAD2CD;
  --ink: #2E1630;         /* aubergine */
  --ink-2: #4B2A4D;
  --mute: #735C6C;
  --rani: #C8175D;        /* rani pink */
  --rani-2: #A51149;
  --rani-soft: #FCE3EC;
  --marigold: #F2A51A;
  --leaf: #17704A;
  --wa: #25D366;
  --wa-ink: #0B5E31;
  --danger: #B3261E;
  --font-display: "Rozha One", "Georgia", serif;
  --font-body: "Baloo 2", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-xl: 34px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 72px;
  --shadow: 0 18px 40px -18px rgba(46, 22, 48, .35);
  --shadow-sm: 0 4px 14px rgba(46, 22, 48, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.1; margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--rani); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.fine { font-size: .82rem; color: var(--mute); }

/* shape glyphs: circle / square / capsule */
.sh { display: inline-block; flex: none; border: 2px solid currentColor; vertical-align: -.1em; }
.sh-round { width: .95em; height: .95em; border-radius: 50%; }
.sh-square { width: .85em; height: .85em; border-radius: 3px; }
.sh-bolster { width: 1.45em; height: .72em; border-radius: 999px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .55rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding-inline: 1.7rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-pay { background: var(--rani); color: #fff; }
.btn-pay:hover { background: var(--rani-2); }
.btn-pay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-pay:disabled { opacity: .7; cursor: progress; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--rani-soft); }
.btn-wa { background: var(--wa); color: #063D1E; }
.btn-wa:hover { background: #1FBE5B; }
.btn-wa::before, .wa-float::before, .nav-wa svg {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.4-.7-2.8-1.1-4.6-4-4.8-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.7-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.4-.7-2.8-1.1-4.6-4-4.8-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.7-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn-insta { background: linear-gradient(100deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
.btn-insta:hover { filter: brightness(1.06); }
.link-btn { background: none; border: 0; color: var(--rani); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: .35rem 0; }
.close-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ground);
  color: var(--ink); font-size: 1rem; cursor: pointer; flex: none;
}
.close-btn:hover { background: var(--blush); }

/* ── ANNOUNCEMENT + TOP BAR ───────────────────────────────── */
.announce {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .2rem 2rem;
  padding: .45rem var(--gutter); background: var(--ink); color: #FBE3EA; font-size: .86rem; font-weight: 500;
}
.announce span { display: inline-flex; align-items: center; gap: .45rem; }
.announce svg { width: 17px; height: 17px; fill: none; stroke: var(--marigold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  background: rgba(251, 237, 234, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }
.nav-right { justify-content: flex-end; gap: 1rem; }
.nav-link {
  font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: .3rem 0; text-underline-offset: 7px;
}
.nav-link:hover { color: var(--rani); }
/* active page: a stitched underline */
.nav-link.is-active { color: var(--rani); text-decoration: underline dashed 2px; }
.nl-try-m { display: none; }
.logo-link { display: block; border-radius: 50%; align-self: start; margin-top: 8px; z-index: 2; }
.topbar .logo {
  width: 92px; height: 92px; border-radius: 50%; opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(46, 22, 48, .18));
}
.topbar .logo.is-in { opacity: 1; animation: pop 1s cubic-bezier(.55, 1.5, .55, 1) both; }
@keyframes pop {
  0% { transform: scale(.5); opacity: 0; }
  80% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.nav-wa { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--wa-ink); text-decoration: none; white-space: nowrap; }
.nav-wa svg { width: 18px; height: 18px; }
.nav-wa:hover { text-decoration: underline; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  min-height: 46px; padding: 0 1.1rem 0 .95rem; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; cursor: pointer; font-weight: 700; font-size: .98rem;
}
.cart-btn:hover { background: var(--ink-2); }
a.cart-btn { text-decoration: none; }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* "Track order" beside the cart: outlined pill on computers, round icon on phones */
.track-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1.05rem 0 .9rem;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
}
.track-btn:hover, .track-btn[aria-current="page"] { background: var(--ink); color: #fff; }
.track-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--rani); color: #fff; font-size: .78rem; font-weight: 800;
  display: grid; place-items: center; font-variant-numeric: tabular-nums; border: 2px solid var(--ground);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ── LAYOUT ───────────────────────────────────────────────── */
main { padding-bottom: clamp(48px, 7vw, 96px); }
.sec { margin-top: clamp(64px, 9vw, 120px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 32px); }
.sec-head > div { display: grid; gap: .45rem; max-width: 640px; }
.sec-head p { color: var(--mute); font-size: 1.05rem; }
.see-all { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.view { animation: viewIn .3s ease both; }
@keyframes viewIn { from { opacity: .3; } to { opacity: 1; } }

/* ── HERO + COLOUR LAB ────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". lab" "head lab" "body lab" ". lab";
  column-gap: clamp(28px, 5vw, 72px); row-gap: 1.6rem; align-items: start;
  padding-top: clamp(36px, 4.5vw, 60px);
}
.hero-head { grid-area: head; display: grid; gap: 1.1rem; }
.hero-kicker { font-weight: 600; color: var(--rani); font-size: 1.05rem; }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.65rem); line-height: 1.03; max-width: 16.5ch; }
.hero-body { grid-area: body; display: grid; gap: 1.5rem; align-content: start; }
.lead { font-size: 1.12rem; color: var(--mute); max-width: 50ch; }
.price-trio { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.price-trio a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .85rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600;
}
.price-trio a:hover { border-color: var(--ink); }
.price-trio .sh { color: var(--rani); }
.price-trio b { font-weight: 800; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.lab { grid-area: lab; display: grid; gap: 1rem; position: relative; }
.lab-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 450px; justify-self: center; }
.lab-plinth {
  position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, var(--blush) 62%, var(--blush-2) 100%);
}
.lab-plinth::after { /* stitched ring */
  content: ""; position: absolute; inset: 3.5%; border-radius: 50%; border: 2px dashed rgba(200, 23, 93, .28);
}
.lab-img {
  position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(46, 22, 48, .28));
  transform: rotate(var(--turn)); opacity: 0;
  transition: opacity .7s ease, transform 1.1s cubic-bezier(.3, .7, .2, 1);
}
.lab { --turn: 0deg; }
.lab .lab-img { transform: rotate(var(--turn)); }
.lab-img.is-front { opacity: 1; }
.lab-price {
  position: absolute; right: 2%; top: 4%; width: 96px; height: 96px; border-radius: 50%;
  background: var(--marigold); color: var(--ink); display: grid; place-content: center; text-align: center;
  transform: rotate(-10deg); box-shadow: var(--shadow-sm);
}
.lab-price b { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1; }
.lab-price small { font-weight: 700; font-size: .85rem; }
.lab-panel {
  display: grid; gap: .75rem; padding: 1.1rem 1.15rem 1rem; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow); max-width: 520px; width: 100%; justify-self: center;
}
.lab-q { font-weight: 600; font-size: .98rem; }
.lab-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-sw, .lab-more {
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer; flex: none;
  border: 2px solid #fff; background: var(--c);
  box-shadow: inset 0 -4px 7px rgba(0, 0, 0, .2), inset 0 2px 3px rgba(255, 255, 255, .35), 0 0 0 1px rgba(46, 22, 48, .12);
  transition: transform .12s;
}
.lab-sw:hover { transform: scale(1.1); }
.lab-sw.is-on { box-shadow: inset 0 -4px 7px rgba(0, 0, 0, .2), 0 0 0 2px var(--ink); transform: scale(1.12); }
.lab-asis { background: radial-gradient(circle at 50% 40%, #fff 0 30%, #EFE8DD 31% 100%); }
.lab-more { background: var(--ground); color: var(--ink); font-weight: 800; font-size: .78rem; box-shadow: 0 0 0 1px var(--line); width: auto; padding: 0 .7rem; border-radius: 999px; }
.lab-more:hover { box-shadow: 0 0 0 2px var(--ink); }
.lab-now { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; }
.lab-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.lab-note { font-size: .78rem; color: var(--mute); }

/* ── PROMISE BAND ─────────────────────────────────────────── */
.promise {
  list-style: none; margin-top: clamp(40px, 6vw, 72px); margin-bottom: 0; padding-block: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.promise li {
  display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem;
  border-block: 1px solid var(--line); line-height: 1.25;
}
.promise li + li { border-left: 1px solid var(--line); }
.promise svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--rani); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise span { display: grid; font-size: .92rem; color: var(--mute); }
.promise b { color: var(--ink); font-size: 1rem; }

/* ── PRODUCT CARDS ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.8vw, 24px); }
#bestGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-img {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: pointer;
  border-radius: 20px; overflow: hidden; background: var(--blush);
}
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* whole photo always shown; any space above/below takes the photo's own edge colours (set by app.js) */
.product-img, .m-slide { background: linear-gradient(var(--et, var(--blush)) 50%, var(--eb, var(--blush)) 50%); }
.product-img .img-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--rani);
}
.shape-tag {
  position: absolute; left: .65rem; top: .65rem; display: inline-flex; align-items: center; gap: .35rem;
  padding: .12rem .65rem .12rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .94);
  font-size: .8rem; font-weight: 700; color: var(--ink);
}
.shape-tag .sh { color: var(--rani); font-size: .8rem; }
.product-body { padding: .75rem .15rem 0; display: grid; gap: .1rem; flex: 1; align-content: start; }
.product-name { font-size: 1.05rem; font-weight: 600; line-height: 1.25; cursor: pointer; }
.product-name:hover { color: var(--rani); }
.product-size { font-size: .86rem; color: var(--mute); }
.product-code { font-size: .86rem; color: var(--mute); font-weight: 600; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .45rem; }
.product-price { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.add-btn {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 1rem 0 .75rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem;
}
.add-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.add-btn:hover { background: var(--rani); }
.qty {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper);
}
.qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.qty button:hover { background: var(--ground); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ── SHAPE TILES (photo cut to the shape) ─────────────────── */
.shape-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.shape-tile {
  display: grid; gap: 1.1rem; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-xl);
  background: var(--paper); color: var(--ink); text-decoration: none; border: 1.5px solid transparent;
}
.shape-tile:hover { border-color: var(--ink); }
.st-mask { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: var(--r-lg); background: var(--ground); overflow: hidden; }
.st-mask img { object-fit: cover; }
.st-round .st-mask img { width: 74%; aspect-ratio: 1; border-radius: 50%; }
.st-square .st-mask img { width: 66%; aspect-ratio: 1; border-radius: 14px; }
.st-bolster .st-mask img { width: 88%; aspect-ratio: 2.4; border-radius: 999px; }
.st-text { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 1rem; }
.st-name { font-weight: 700; font-size: 1.25rem; }
.st-price { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--rani); line-height: 1; grid-row: span 2; align-self: center; }
.st-size { color: var(--mute); font-size: .92rem; }

/* ── PATTERN HIGHLIGHTS (story circles) ───────────────────── */
.highlights { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.hl { flex: none; display: grid; justify-items: center; gap: .1rem; width: 88px; text-decoration: none; color: var(--ink); text-align: center; }
.hl-ring {
  width: 80px; height: 80px; border-radius: 50%; padding: 3px; margin-bottom: .35rem;
  background: conic-gradient(from 200deg, var(--marigold), var(--rani), #7A2C8F, var(--marigold));
}
.hl-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ground); }
.hl b { font-weight: 600; font-size: .95rem; line-height: 1.15; }
.hl small { color: var(--mute); font-size: .8rem; }
.hl:hover .hl-ring { transform: scale(1.04); }
.hl-ring { transition: transform .15s; }

/* ── TRY CUSHION BAND ─────────────────────────────────────── */
.try-band { margin-top: clamp(64px, 9vw, 120px); }
.try-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-block: clamp(32px, 5vw, 64px); background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding-inline: clamp(22px, 5vw, 64px); max-width: calc(1240px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter));
}
.try-band h2 { color: #fff; }
.try-copy { display: grid; gap: 1.4rem; justify-items: start; }
.try-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: .9rem; }
.try-steps li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; column-gap: .8rem; }
.try-steps li::before {
  content: counter(st); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--rani); color: #fff; font-weight: 800;
}
.try-steps b { font-size: 1.08rem; }
.try-steps span { color: #E6CFE0; font-size: .95rem; }
.try-art { position: relative; aspect-ratio: 600 / 360; }
.sofa { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc { position: absolute; object-fit: contain; filter: drop-shadow(0 8px 9px rgba(0, 0, 0, .18)); }
.tc-1 { left: 13%; top: 29%; width: 24%; transform: rotate(-8deg); }
.tc-2 { left: 37%; top: 24%; width: 27%; }
.tc-3 { left: 62%; top: 49%; width: 28%; transform: rotate(4deg); }
.tc-select {
  position: absolute; left: 35.5%; top: 21%; width: 30%; height: 51%;
  border: 2px dashed #fff; border-radius: 6px; pointer-events: none;
}
.tc-select i { position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--rani); border: 2px solid #fff; }
.tc-chip {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem .35rem .45rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25); white-space: nowrap;
}
.tc-chip i { width: 22px; height: 22px; border-radius: 50%; }

/* ── ORDER TIMELINE ───────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; right: 12%; top: 9px; border-top: 2px dashed var(--rani); opacity: .45; }
.timeline li { position: relative; display: grid; gap: .3rem; padding-top: 2.1rem; align-content: start; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ground); border: 3px solid var(--rani); }
.timeline li:last-child::before { background: var(--rani); }
.tl-when { font-weight: 700; color: var(--rani); font-size: .92rem; }
.timeline b { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.timeline li > span:last-child { color: var(--mute); font-size: .98rem; max-width: 30ch; }

/* ── SHADE CARD ───────────────────────────────────────────── */
.shade-card {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  margin-top: clamp(64px, 9vw, 120px); text-decoration: none; color: var(--ink);
}
.shade-fan {
  display: flex; align-items: flex-start; gap: 2px; height: 150px; padding: 0 8px; min-width: 0; overflow: hidden;
  border-top: 10px solid var(--ink); border-radius: 6px 6px 0 0;
}
.shade-fan i {
  flex: 1 1 0; min-width: 1px; height: 120px; border-radius: 0 0 4px 4px;
  height: calc(112px + 26px * sin(var(--i) * 13deg));
  box-shadow: inset 0 -6px 8px rgba(0, 0, 0, .08);
  transition: transform .2s;
}
.shade-card:hover .shade-fan i { transform: translateY(4px); }
.shade-text { display: grid; gap: .5rem; justify-items: start; }
.shade-text b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.shade-text span { color: var(--mute); font-size: 1.05rem; max-width: 34ch; }
.shade-text u { color: var(--rani); font-weight: 700; text-underline-offset: 4px; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-img { margin: 0; }
.about-img img { width: 100%; max-height: 680px; object-fit: contain; border-radius: var(--r-lg); margin-inline: auto; width: auto; }
.about-copy { display: grid; gap: 1rem; }
.about-copy > p { color: var(--mute); font-size: 1.08rem; max-width: 60ch; }
.about-copy > .about-quote {
  font-family: var(--font-display); color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2;
  padding-left: 1.1rem; border-left: 4px solid var(--rani); max-width: 30ch;
}
.about-copy > .signature { font-weight: 700; color: var(--rani); font-size: 1.25rem; }
.tick-list { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
.tick-list li { padding-left: 1.7rem; position: relative; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 2px dashed var(--rani);
}

/* ── ASKS (gifting / custom) ──────────────────────────────── */
.asks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(56px, 8vw, 100px); }
.ask { display: grid; gap: .7rem; justify-items: start; align-content: start; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--blush); }
.ask h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.ask p { color: var(--ink-2); max-width: 46ch; }
.ask .btn { margin-top: .3rem; }

/* ── INSTAGRAM ────────────────────────────────────────────── */
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.insta-grid a { display: block; border-radius: 14px; overflow: hidden; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.insta-grid a:hover img { transform: scale(1.04); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-side { display: grid; gap: 1rem; justify-items: start; position: sticky; top: calc(var(--bar-h) + 40px); }
.faq-side p { color: var(--mute); max-width: 36ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--rani); font-size: 1.3rem; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--rani); color: #fff; }
.faq details p { margin: 0 0 1.2rem; color: var(--mute); max-width: 68ch; }

/* ── GALLERY PAGE ─────────────────────────────────────────── */
.page-head { padding-top: clamp(40px, 6vw, 72px); display: grid; gap: .6rem; }
.page-head p { color: var(--mute); max-width: 60ch; font-size: 1.08rem; }
.filters { display: grid; gap: 1.1rem; margin-block: 1.6rem 1.2rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; color: var(--ink);
}
.chip .sh { color: var(--rani); font-size: .85rem; }
.chip b { font-weight: 800; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on .sh { color: #fff; }
.pattern-row { display: flex; gap: .9rem; overflow-x: auto; padding: .2rem .1rem .5rem; scrollbar-width: thin; }
.pchip { flex: none; display: grid; justify-items: center; gap: .25rem; width: 74px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; font-size: .82rem; font-weight: 600; line-height: 1.15; color: var(--ink); }
.pchip img, .pchip-all { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--line); }
.pchip-all { display: grid; place-items: center; background: var(--paper); font-weight: 800; color: var(--rani); }
.pchip:hover img, .pchip:hover .pchip-all { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3.5px var(--ink); }
.pchip.is-on img, .pchip.is-on .pchip-all { box-shadow: 0 0 0 2px var(--ground), 0 0 0 4.5px var(--rani); }
.pchip.is-on span:last-child { color: var(--rani); }
.result-count { color: var(--mute); font-weight: 600; margin-bottom: .9rem; min-height: 1.5em; }
.empty-note { color: var(--mute); font-size: .95rem; padding: .25rem 0; }

/* colour chart (content unchanged) */
.colour-chart .sec-head { margin-bottom: 1rem; }
.chart-sub { font-size: 1.05rem; margin: 1.2rem 0 .6rem; }
.chart-sub:first-of-type { margin-top: .2rem; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; margin-bottom: .6rem; }
.chip-swatch {
  aspect-ratio: 5 / 3; border-radius: 10px; padding: .45rem .55rem; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); font-size: .74rem; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.chip-swatch b { font-size: .95rem; font-weight: 800; }
.chip-swatch span { opacity: .85; }

/* ── STUDIO ───────────────────────────────────────────────── */
.studio-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; padding-top: clamp(32px, 5vw, 56px); margin-bottom: 1.2rem; }
.studio-head > div { display: grid; gap: .5rem; max-width: 62ch; min-width: 0; }
.studio-head p { color: var(--mute); }
.steps { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.steps li {
  display: flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .3rem; border-radius: 999px;
  background: var(--paper); font-size: .9rem; font-weight: 600;
}
.steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--rani); color: #fff; font-size: .8rem; font-weight: 800; }

.studio { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
.col { display: grid; gap: 1rem; min-width: 0; }
.col-left, .col-right { position: sticky; top: calc(var(--bar-h) + 12px); max-height: calc(100vh - var(--bar-h) - 24px); overflow: auto; scrollbar-width: thin; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 1rem; min-width: 0; }
.panel-head { display: grid; gap: .1rem; margin-bottom: .8rem; }
.panel-head h2 { font-size: 1.35rem; }
.panel-hint { font-size: .82rem; color: var(--mute); }

.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.design-card {
  position: relative; display: grid; gap: .2rem; justify-items: center; padding: .5rem .4rem .55rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--ground); cursor: pointer; text-align: center;
  transition: border-color .15s, transform .15s;
}
.design-card:hover { border-color: var(--rani); }
.design-card:active { transform: scale(.96); }
.design-card img { width: 100%; height: 76px; object-fit: contain; }
.dc-name { font-size: .8rem; font-weight: 700; line-height: 1.2; }
.dc-price { font-size: .78rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.dc-plus {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--rani); color: #fff; font-weight: 800; font-size: .9rem; display: grid; place-items: center; line-height: 1;
}

.stage { background: var(--paper); border-radius: var(--r-lg); padding: .7rem; display: grid; gap: .6rem; }
.stage-bar { display: flex; gap: .45rem; align-items: center; flex-wrap: nowrap; min-width: 0; }
.bar-spacer { flex: 1; }
.tool {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .35rem .9rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer;
  font-weight: 600; font-size: .9rem; white-space: nowrap; color: var(--ink);
}
.tool:hover { border-color: var(--ink); }
.tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-primary { background: var(--rani); border-color: var(--rani); color: #fff; }
.tool-primary:hover { background: var(--rani-2); border-color: var(--rani-2); }
.tool-danger { color: var(--danger); }
.tool:disabled { opacity: .45; cursor: not-allowed; }
.tool-dup { border-color: var(--rani); color: var(--rani); font-weight: 700; }
.tool-dup:hover { background: var(--rani-soft); border-color: var(--rani); }
.tool-dup.is-idle { opacity: .5; }
.tool-dup[hidden] { display: none; }
.canvas-wrap { position: relative; border-radius: 14px; overflow: hidden; background: var(--ground); display: grid; place-items: center; min-height: 0; }
#cv { width: 100%; height: auto; display: block; touch-action: pan-y; cursor: default; max-width: 100%; }
.drop-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(252, 227, 236, .92);
  border: 3px dashed var(--rani); border-radius: 14px; font-weight: 800; font-size: 1.1rem; color: var(--rani);
}
.stage-tip { font-size: .85rem; color: var(--mute); }
.tip-phone { display: none; }
@media (hover: none) and (pointer: coarse) { .tip-pc { display: none; } .tip-phone { display: inline; } }
.studio-tabs { display: none; }

.empty-stage {
  width: 100%; min-height: 360px; display: grid; place-items: center; align-content: center; gap: .55rem;
  padding: 2rem 1.25rem; text-align: center; cursor: pointer;
  border: 2.5px dashed var(--rani); border-radius: 14px; background: var(--ground); color: var(--mute);
}
.empty-stage strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.15; }
.empty-stage > span:not(.btn):not(.es-icon) { max-width: 40ch; }
.empty-stage .btn { margin-top: .4rem; pointer-events: none; }
.empty-stage:hover { background: var(--rani-soft); }
.es-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow-sm); }
.es-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--rani); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.es-drop { font-size: .82rem; }
.empty-stage.nudge { animation: nudge .5s ease; }
@keyframes nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.placed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pl-item {
  display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto auto; align-items: center; gap: .6rem;
  padding: .45rem .55rem; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper);
}
.pl-item.is-sel { border-color: var(--rani); background: var(--rani-soft); }
.pl-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.pl-thumb { width: 44px; height: 44px; object-fit: contain; }
.pl-text { min-width: 0; display: grid; }
.pl-name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta { font-size: .8rem; color: var(--mute); display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.pl-chip { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .15); flex: none; display: inline-block; vertical-align: -2px; }
.pl-price { font-weight: 800; font-variant-numeric: tabular-nums; font-size: .92rem; }
.pl-dup {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--rani); background: var(--paper); color: var(--rani);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.pl-dup:hover { background: var(--rani); color: #fff; }
.pl-dup svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.list-foot { display: grid; gap: .7rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.list-total { display: flex; justify-content: space-between; align-items: baseline; }
.list-total strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }

.sel-card {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: .7rem;
  padding: .55rem; border-radius: 14px; background: var(--ground); margin-bottom: .8rem;
}
.sel-card img { width: 52px; height: 52px; object-fit: contain; }
.sel-card .sc-name { font-weight: 700; }
.sel-card .sc-meta { font-size: .84rem; color: var(--mute); }
.sel-card .sc-code { font-size: .92rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.sel-card.is-empty { grid-template-columns: 1fr; color: var(--mute); font-size: .92rem; }
.swatch-wrap.is-disabled { opacity: .45; pointer-events: none; }
.orig-btn {
  width: 100%; min-height: 42px; margin-bottom: .6rem; border-radius: 12px; cursor: pointer; font-weight: 700;
  border: 1.5px dashed var(--rani); background: var(--paper); color: var(--rani);
}
.orig-btn.is-on { background: var(--rani-soft); border-style: solid; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 6px; }
.sw {
  position: relative; aspect-ratio: 1; border-radius: 8px; border: 2px solid transparent; cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.sw span {
  position: absolute; inset: auto 0 1px 0; font-size: .58rem; font-weight: 800; text-align: center;
  color: rgba(255, 255, 255, .92); text-shadow: 0 0 2px rgba(0, 0, 0, .6); pointer-events: none;
}
.swatch-grid .sw[data-code^="BH"] span { font-size: .5rem; }
.sw.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); z-index: 1; }

.slider-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 46px; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.slider-row label { font-weight: 600; font-size: .9rem; }
.slider-row output { font-size: .84rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--mute); }
input[type="range"] { width: 100%; accent-color: var(--rani); height: 28px; }
.adjust-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: .4rem 0 .5rem; }
.adjust-btns .tool { justify-content: center; }
.adjust-body.is-disabled { opacity: .45; pointer-events: none; }
.studio-bar { display: none; }

/* ── DRAWER / MODALS ──────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(46, 22, 48, .45); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 70;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .28s ease; box-shadow: -14px 0 40px rgba(46, 22, 48, .2);
  padding-top: env(safe-area-inset-top, 0px);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1rem 1.2rem; display: grid; gap: .8rem; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .7rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cart-total strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.bulk-note { font-size: .9rem; padding: .65rem .85rem; border-radius: 12px; background: #E6F6EC; color: #134A2C; }
.bulk-note a { color: var(--wa-ink); font-weight: 700; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .85rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.cart-item img, .ci-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: var(--blush); }
.ci-ph { display: grid; place-items: center; font-family: var(--font-display); color: var(--rani); font-size: 1.5rem; }
.cart-item.is-studio img { object-fit: contain; background: var(--ground); }
.ci-main { min-width: 0; display: grid; gap: .15rem; }
.ci-top { display: flex; justify-content: space-between; gap: .5rem; }
.ci-name { font-weight: 700; line-height: 1.25; }
.ci-meta { font-size: .84rem; color: var(--mute); display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: .3rem; }
.ci-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.ci-remove { background: none; border: 0; color: var(--mute); cursor: pointer; font-size: .84rem; text-decoration: underline; padding: 0; }
.cart-group-title { font-size: .9rem; font-weight: 700; color: var(--rani); }
.cart-empty { text-align: center; display: grid; gap: .8rem; padding: 2rem 0; justify-items: center; color: var(--mute); }

.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem;
  background: rgba(46, 22, 48, .5); overflow: auto;
}
.modal-card {
  position: relative; width: min(460px, 100%); background: var(--paper); border-radius: 28px;
  padding: 1.7rem 1.5rem 1.5rem; box-shadow: var(--shadow); display: grid; gap: .9rem; margin: auto;
}
.modal-wide { width: min(660px, 100%); }
.modal-card > .close-btn { position: absolute; top: .85rem; right: .85rem; z-index: 3; background: var(--paper); box-shadow: 0 2px 10px rgba(46, 22, 48, .18); }
.modal-card h2 { padding-right: 2.6rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.modal-sub { color: var(--mute); font-size: .96rem; }
.modal-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
#registerForm { display: grid; gap: .85rem; }
.field { display: grid; gap: .3rem; }
.field > span { font-weight: 600; font-size: .92rem; }
.field input, .field select, .phone-input {
  width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); padding: .5rem .85rem;
  font: inherit; color: var(--ink); background: #FFFCFB;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--rani); box-shadow: 0 0 0 3px var(--rani-soft); }
.phone-input { display: flex; align-items: center; padding: 0; overflow: hidden; }
.phone-input:focus-within { border-color: var(--rani); box-shadow: 0 0 0 3px var(--rani-soft); }
.phone-input .cc { padding: 0 .8rem; font-weight: 700; border-right: 1.5px solid var(--line); align-self: stretch; display: grid; place-items: center; background: var(--ground); }
.phone-input input { border: 0; min-height: 48px; box-shadow: none !important; }
.err { color: var(--danger); font-size: .84rem; font-style: normal; }
.field.has-err input, .field.has-err .phone-input, .field.has-err select { border-color: var(--danger); }
.addr { border: 0; padding: 0; margin: .2rem 0 0; display: grid; gap: .85rem; min-width: 0; }
.addr legend { font-family: var(--font-display); font-size: 1.35rem; padding: 0; margin-bottom: .6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field-row > .field { min-width: 0; }
.field small { font-weight: 500; color: var(--mute); }
.field select { appearance: auto; }
#accountModal .modal-card { width: min(580px, 100%); max-height: 94vh; overflow: auto; }

.co-section { display: grid; gap: .55rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.co-section h3 { display: flex; align-items: center; gap: .5rem; }
.co-first { border-top: 0; padding-top: 0; }
.step-num { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 800; }
.co-help { font-size: .92rem; color: var(--mute); }
.co-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.co-designs { display: grid; gap: .6rem; }
.co-designs img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.co-preview {
  margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--font-body); font-size: .88rem;
  background: #F2FBF5; border: 1px solid #CDEBD8; border-radius: 12px; padding: .8rem; max-height: 240px; overflow: auto;
}
.co-cust { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .75rem .9rem; background: var(--ground); border-radius: 14px; flex-wrap: wrap; }
.co-cust b { display: block; }
.co-cust-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.co-addr { font-size: .88rem; color: var(--mute); }
.co-after { padding: .9rem; border-radius: 14px; background: var(--ground); display: grid; gap: .6rem; }
.co-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-height: 240px; overflow: auto; }
.co-lines li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto auto; gap: .65rem; align-items: center; }
.co-lines img { width: 50px; height: 50px; border-radius: 10px; object-fit: contain; background: var(--blush); }
.col-main { display: grid; min-width: 0; }
.col-main b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.col-main small { color: var(--mute); font-size: .8rem; }
.col-qty { color: var(--mute); font-size: .88rem; font-variant-numeric: tabular-nums; }
.col-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.co-totals { display: grid; gap: .25rem; padding-top: .6rem; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.co-totals > div { display: flex; justify-content: space-between; }
.co-totals .free { color: var(--leaf); font-weight: 700; }
.co-grand { font-size: 1.1rem; padding-top: .2rem; font-weight: 600; }
.co-grand strong { font-size: 1.5rem; }
.co-promise { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.co-promise li { font-size: .84rem; padding: .25rem .7rem; border-radius: 999px; background: var(--ground); color: var(--ink-2); }
.co-pay { display: grid; gap: .65rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.co-pay .btn-pay { min-height: 58px; font-size: 1.1rem; }
.co-error { margin: 0; padding: .7rem .85rem; border-radius: 12px; background: #FDECEA; color: #8A2A22; font-size: .92rem; }
.co-error a { color: #8A2A22; font-weight: 700; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.pay-methods span { font-size: .76rem; font-weight: 700; padding: .2rem .6rem; border: 1px solid var(--line); border-radius: 8px; color: var(--mute); background: #FFFCFB; }
.co-wa { border-top: 1px solid var(--line); padding-top: .75rem; }
.co-wa summary { cursor: pointer; font-weight: 600; color: var(--mute); font-size: .92rem; }
.co-wa[open] { display: grid; gap: .6rem; }
.co-wa h3 { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }

.success-card { text-align: center; justify-items: center; }
.ok-tick { width: 72px; height: 72px; border-radius: 50%; background: #E3F5EA; display: grid; place-items: center; }
.ok-tick svg { width: 40px; height: 40px; fill: none; stroke: var(--leaf); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.success-card h2 { padding-right: 0; }
.ok-order { font-size: 1.02rem; }
.ok-steps { list-style: none; counter-reset: s; margin: .2rem 0; padding: 0; display: grid; gap: .5rem; text-align: left; width: 100%; }
.ok-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: .65rem; padding: .6rem .75rem; border-radius: 14px; background: var(--ground); }
.ok-steps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--rani); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.ok-steps span { color: var(--mute); font-size: .9rem; }

/* product detail */
.pd-card { width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.pd-media { position: relative; }
/* the whole photo, in its natural 4:3 shape. On wide screens it sits in the middle of the left column,
   over a soft, blurred glow of the same photo (set by app.js as --pd-bg). */
.pd-media { display: grid; align-items: center; overflow: hidden; isolation: isolate; background: var(--blush); }
.pd-media::before {
  content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--pd-bg, none) center / cover no-repeat;
  filter: blur(34px) saturate(1.05); opacity: .55;
}
.pd-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .35); pointer-events: none; }
.pd-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.pd-tag { position: absolute; left: .9rem; top: .9rem; padding: .2rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .84rem; font-weight: 700; }
.pd-info { display: grid; gap: .7rem; align-content: start; min-width: 0; padding: 1.8rem 1.6rem 1.6rem; }
.pd-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.pd-info .product-code { color: var(--rani); font-weight: 700; }
.pd-meta { color: var(--mute); }
.pd-price { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pd-price small { font-size: .88rem; font-weight: 600; color: var(--leaf); }
.pd-colour { border: 1.5px solid var(--line); border-radius: 16px; padding: .75rem .9rem; display: grid; gap: .6rem; }
.pd-colour-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .95rem; }
.pd-colour-head b { display: inline-flex; align-items: center; gap: .3rem; }
.pd-swatches { display: grid; gap: .5rem; }
.pd-asis { justify-self: start; min-height: 36px; padding: .2rem .9rem; border-radius: 999px; border: 1.5px dashed var(--rani); background: #fff; font-weight: 700; color: var(--rani); cursor: pointer; }
.pd-asis.is-on { border-style: solid; background: var(--rani-soft); }
.pd-sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; max-height: 200px; overflow: auto; padding: 4px; }
.pd-sw { aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 -3px 5px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .1); padding: 0; }
.pd-sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.pd-buy { display: flex; gap: .6rem; }
.pd-buy .btn { flex: 1; }
.pd-qty button { width: 44px; height: 48px; }
.pd-points { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; color: var(--mute); }
.pd-points li { padding-left: 1.4rem; position: relative; }
.pd-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.pd-try { justify-self: start; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(30, 12, 32, .88); display: grid; place-items: center; padding: 1rem; }
.lightbox figure { margin: 0; display: grid; gap: .6rem; justify-items: center; max-width: 900px; }
.lightbox img { max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lightbox .close-btn { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }

.toast {
  position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow); max-width: calc(100% - 2rem); text-align: center;
  animation: toastIn .25s ease;
}
.toast a { color: #FFC2D6; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 35;
  display: flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem .75rem .85rem; border-radius: 999px;
  background: var(--wa); color: #063D1E; text-decoration: none; font-weight: 700; font-size: .95rem; box-shadow: 0 10px 26px rgba(11, 94, 49, .35);
}
.wa-float::before { width: 24px; height: 24px; }
body[data-route="studio"] .wa-float { display: none; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #F1DCE8; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.2fr .7fr 1fr; gap: 2rem; padding-block: clamp(40px, 6vw, 72px) 2rem; }
.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand img { border-radius: 50%; background: #fff; }
.footer-line { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; color: #fff; max-width: 22ch; }
.footer-col { display: grid; gap: .45rem; align-content: start; font-size: .96rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .25rem; }
.footer-col a { color: #FFC2D6; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; }
.social-row { display: flex; gap: .6rem; margin-top: .6rem; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
}
.footer-col .social-icon { color: #fff; }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon:hover { background: var(--rani); border-color: var(--rani); }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; padding-block: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; font-weight: 600; color: #FBE3EA; }
.footer-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.footer-trust span::before { content: ""; width: .6rem; height: .35rem; border-left: 2px solid var(--marigold); border-bottom: 2px solid var(--marigold); transform: rotate(-45deg) translateY(-2px); }
.copyright { text-align: center; padding: 1rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom, 0px)); font-size: .82rem; color: #CDB6C6; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ── POLICY PAGES ─────────────────────────────────────────── */
.policy { max-width: 780px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 4rem; display: grid; gap: .85rem; }
.policy h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.policy .eyebrow { color: var(--rani); font-weight: 700; }
.policy .lead { color: var(--mute); }
.policy h2 { font-size: 1.5rem; margin-top: 1.2rem; }
.policy p, .policy li { max-width: 68ch; }
.policy ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.policy-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.policy-links a { padding: .4rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--paper); color: var(--ink); }
.policy-links a:hover { border-color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.contact-grid > div { background: var(--paper); border-radius: var(--r); padding: 1.1rem; }
.contact-grid h2 { margin-top: 0; font-size: 1.25rem; }
.gst { font-size: .8rem; color: var(--mute); font-weight: 600; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .studio { grid-template-columns: 220px minmax(0, 1fr) 270px; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* tablet & phone */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "lab" "body"; padding-top: 28px; row-gap: 1.4rem; }
  .hero h1 { max-width: 18ch; }
  .lab { grid-template-columns: 1fr; }
  .lab-stage { max-width: 420px; }
  .promise { grid-template-columns: 1fr 1fr; }
  .promise li:nth-child(3) { border-left: 0; }
  .promise li:nth-child(n+3) { border-top: 0; }
  #bestGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .try-band { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .timeline::before { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-img img { max-height: 560px; }
  .faq { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .shade-card { grid-template-columns: 1fr; }
  .pd-card { grid-template-columns: 1fr; }
  .pd-media img { aspect-ratio: 4 / 3; height: auto; }
  .pd-media::before, .pd-media::after { display: none; }

  /* studio: canvas first, tool tabs, sticky order bar */
  .studio { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
  .panel { max-width: 100%; }
  .col { display: contents; }
  .col-left, .col-right { position: static; max-height: none; overflow: visible; }
  .stage { order: 1; padding: .5rem; position: sticky; top: calc(var(--bar-h) + 4px); z-index: 5; box-shadow: var(--shadow-sm); }
  .stage-tip { display: none; }
  .studio-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--ground); border-radius: 999px; }
  .stab { min-height: 42px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--ink); }
  .stab.is-on { background: var(--ink); color: #fff; }
  .tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--rani); color: #fff; font-size: .74rem; padding: 0 5px; }
  .panel { order: 3; display: none; }
  .panel.is-active { display: block; }
  .panel-head { margin-bottom: .6rem; }
  .design-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 112px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: .4rem; }
  .design-card { scroll-snap-align: start; }
  .swatch-grid { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 7px; }
  .studio-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    align-items: center; justify-content: space-between; gap: 1rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(46, 22, 48, .1);
  }
  .sb-info { display: grid; line-height: 1.2; }
  .sb-info span { font-size: .84rem; color: var(--mute); }
  .sb-info strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
  #view-studio { padding-bottom: 5rem; }
  .steps { display: none; }
  body[data-route="studio"] .toast { bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 980px) and (max-height: 640px) { .stage { position: static; } }

/* phone */
@media (max-width: 760px) {
  :root { --bar-h: 62px; }
  body { font-size: 16.5px; }
  .hide-sm { display: none !important; }
  .announce { gap: .2rem 1.2rem; font-size: .8rem; padding-block: .4rem; }
  .topbar { grid-template-columns: 1fr auto 1fr; gap: .5rem; }
  .nl-home, .nl-try, .nav-wa { display: none; }
  .nl-try-m { display: inline; }
  .nav-left, .nav-right { gap: .8rem; }
  .nav-link { font-size: .95rem; }
  .logo-link { align-self: center; margin-top: 0; }
  .topbar .logo { width: 54px; height: 54px; filter: none; }
  .cart-label, .track-label { display: none; }
  .cart-btn { width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .track-btn { width: 44px; min-height: 44px; padding: 0; justify-content: center; }

  .hero { padding-top: 22px; row-gap: 1.1rem; }
  .hero-kicker { font-size: .95rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); line-height: 1.04; }
  .lab-stage { max-width: 290px; width: 76%; }
  .lab-price { width: 78px; height: 78px; right: -2%; }
  .lab-price b { font-size: 1.45rem; }
  .lab-panel { padding: .95rem; }
  .lab-sw, .lab-more { width: 30px; height: 30px; }
  .lab-swatches { gap: 6px; }
  .lead { font-size: 1.02rem; }
  .price-trio { gap: .4rem; }
  .price-trio a { padding: .4rem .8rem .4rem .7rem; font-size: .95rem; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .promise li { padding: .9rem .75rem; gap: .6rem; }
  .promise svg { width: 26px; height: 26px; }
  .promise span { font-size: .84rem; }
  .promise b { font-size: .95rem; }

  /* swipe rail for best sellers */
  .rail { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory;
          margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .6rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .product-grid:not(.rail) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .product-img { border-radius: 16px; }
  .product-name { font-size: .98rem; }
  .product-size { font-size: .8rem; }
  .product-price { font-size: 1.12rem; }
  .product-grid:not(.rail) .product-foot { flex-wrap: wrap; gap: .4rem; }
  .product-grid:not(.rail) .add-btn { width: 100%; justify-content: center; }
  .product-grid:not(.rail) .product-foot .qty { width: 100%; justify-content: space-between; }

  .shape-tiles { grid-template-columns: 1fr; gap: 10px; }
  .shape-tile { grid-template-columns: 112px 1fr; align-items: center; gap: 1rem; padding: 12px; border-radius: var(--r-lg); }
  .st-mask { aspect-ratio: 1; border-radius: 18px; }
  .st-price { font-size: 2rem; }
  .st-name { font-size: 1.15rem; }
  .st-size { font-size: .85rem; }

  .highlights { flex-wrap: nowrap; overflow-x: auto; gap: 1rem; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .4rem; scrollbar-width: none; }
  .highlights::-webkit-scrollbar { display: none; }
  .hl { flex: none; width: 80px; }
  .hl-ring { width: 74px; height: 74px; }

  .try-band { border-radius: var(--r-lg); width: calc(100% - 2 * var(--gutter)); }
  .try-band .btn { width: 100%; }
  .tc-chip { font-size: .78rem; }

  .timeline { grid-template-columns: 1fr; row-gap: 1.4rem; padding-left: 2.2rem; }
  .timeline::before { display: block; left: 9px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--rani); }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2.2rem; top: .15rem; }
  .timeline b { font-size: 1.35rem; }

  .shade-fan { height: 110px; gap: 1px; padding: 0 4px; }
  .shade-fan i { height: calc(82px + 18px * sin(var(--i) * 13deg)); }

  .about-img img { max-height: 520px; }
  .tick-list { grid-template-columns: 1fr; }
  .asks { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .insta-grid a { border-radius: 10px; }
  .sec-head .btn-insta { width: 100%; }

  .page-head h1 { font-size: 2.4rem; }
  .seg { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .2rem; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg .chip { flex: none; }
  .pattern-row { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .pattern-row::-webkit-scrollbar { display: none; }
  .chart-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }

  .empty-stage { min-height: 260px; }
  .es-drop { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .footer-col:nth-child(2) { grid-column: 1 / -1; }

  .wa-float span { display: none; }
  .wa-float { padding: .85rem; }

  .modal { padding: 0; place-items: end stretch; }
  .modal-card { width: 100%; border-radius: 24px 24px 0 0; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px)); max-height: 94vh; overflow: auto; margin: auto 0 0; }
  .modal-wide { width: 100%; }
  .pd-card { padding: 0; display: block; }
  .pd-info { padding: 1.1rem 1.05rem calc(1.2rem + env(safe-area-inset-bottom, 0px)); }
  #pdBuy { position: sticky; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); z-index: 2; box-shadow: 0 10px 24px -6px rgba(200, 23, 93, .55); }
}

@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .stab { font-size: .82rem; }
  .nav-left, .nav-right { gap: .6rem; }
  .nav-link { font-size: .9rem; }
}
@media (max-width: 360px) {
  .topbar .logo { width: 48px; height: 48px; }
  .lab-sw, .lab-more { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* keep the brand logo pop-in, as on the original site */
  .topbar .logo.is-in { animation: pop 1s cubic-bezier(.55, 1.5, .55, 1) both !important; }
}

/* ── Festival offer (switched on in /admin → Prices & offers) ── */
.offer-bar {
  display: block; text-align: center; padding: .5rem var(--gutter); background: var(--marigold); color: var(--ink);
  font-size: .95rem; font-weight: 500; text-decoration: none;
}
.offer-bar b { font-weight: 800; }
.offer-bar u { font-weight: 700; text-underline-offset: 3px; }
.offer-bar:hover u { color: var(--rani); }
.was { color: var(--mute); font-weight: 500; font-size: .82em; text-decoration-thickness: 1.5px; }
.now { color: var(--rani); }
.off-tag {
  position: absolute; right: .65rem; top: .65rem; padding: .12rem .6rem; border-radius: 999px;
  background: var(--rani); color: #fff; font-size: .8rem; font-weight: 800;
}
.st-size s { color: var(--mute); }
.price-trio .was, .chip .was { font-size: .8em; }
.chip.is-on .was, .chip.is-on .now { color: #fff; }
.lab-price.is-offer { width: 104px; height: 104px; background: var(--rani); color: #fff; }
.lab-price.is-offer small { font-size: .78rem; line-height: 1.1; }
.lab-price.is-offer s { opacity: .85; }
.pd-offer { justify-self: start; padding: .2rem .75rem; border-radius: 999px; background: var(--marigold); color: var(--ink); font-weight: 700; font-size: .88rem; }
.pd-price .was { font-size: .6em; }
.cart-save { margin: 0; padding: .55rem .85rem; border-radius: 12px; background: #FFF1D6; color: #6B4700; font-weight: 600; font-size: .92rem; }
.co-offer { color: var(--leaf); font-weight: 700; }
@media (max-width: 760px) {
  .offer-bar { font-size: .86rem; padding-block: .45rem; }
  .lab-price.is-offer { width: 88px; height: 88px; }
}

/* ── Policy & contact pages: picture on the left, full text on the right ── */
.policy-wrap {
  max-width: 1240px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) 4rem;
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start;
}
.policy-art { margin: 0; position: sticky; top: calc(var(--bar-h) + 24px); }
.policy-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--blush); }
.policy-wrap > .policy { max-width: 720px; margin: 0; padding: 0; }
.policy-links a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: .4rem; }
.ccard { background: var(--paper); border-radius: 20px; padding: 1.15rem 1.2rem 1.25rem; display: grid; gap: .45rem; align-content: start; min-width: 0; }
.ccard h2 { margin: 0 0 .2rem; font-size: 1.3rem; display: flex; align-items: center; gap: .65rem; }
.ccard .ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--rani-soft); display: grid; place-items: center; }
.ccard .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--rani); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard p { overflow-wrap: anywhere; }
.ccard .big { font-weight: 700; font-size: 1.08rem; }
.ccard .big a { color: var(--ink); text-decoration: none; }
.ccard .big a:hover { color: var(--rani); text-decoration: underline; }
.ccard .btn { justify-self: start; min-height: 42px; font-size: .95rem; margin-top: .35rem; }
.follow { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-ig, .btn-fb { color: #fff; }
.btn-ig { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 40%, #8134AF 75%, #515BD4 100%); }
.btn-ig:hover { filter: brightness(1.06); }
.btn-fb { background: #1877F2; }
.btn-fb:hover { background: #166FE5; }
.btn-ig svg, .btn-fb svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-ig svg rect, .btn-ig svg circle:not(:last-child) { fill: none; }

@media (max-width: 900px) {
  .policy-wrap { grid-template-columns: 1fr; }
  .policy-art { position: static; max-width: 440px; width: 100%; justify-self: center; }
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
  .follow .btn { flex: 1 1 100%; }
}

/* ── Track your order (track.html) ── */
.policy.track { max-width: 620px; }
.tr-form, .tr-result { background: var(--paper); border-radius: 20px; padding: 1.25rem; display: grid; gap: .85rem; margin-top: .4rem; box-shadow: var(--shadow-sm); }
.tr-err { margin: 0; color: var(--danger); font-weight: 600; }
.tr-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tr-head .fine { margin: 0; }
.tr-head h2 { margin: 0; font-size: 1.45rem; overflow-wrap: anywhere; }
.tr-pill { padding: .3rem .85rem; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--blush); white-space: nowrap; }
.tr-pill.s-paid, .tr-pill.s-making { background: #FFF1D6; color: #6B4700; }
.tr-pill.s-shipped { background: #E2ECFF; color: #1E4A9A; }
.tr-pill.s-delivered { background: #E3F7EA; color: var(--leaf); }
.tr-result p { margin: 0; }
.tr-result h3 { font-size: 1.15rem; margin-top: .3rem; }
.tr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tr-steps li { position: relative; padding: 0 0 1rem 2.3rem; display: grid; color: var(--mute); }
.tr-steps li:last-child { padding-bottom: 0; }
.tr-steps li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); box-sizing: border-box; }
.tr-steps li::after { content: ""; position: absolute; left: calc(.65rem - 1px); top: 1.5rem; bottom: -.1rem; width: 2px; background: var(--line); }
.tr-steps li:last-child::after { display: none; }
.tr-steps b { color: var(--mute); }
.tr-steps span { font-size: .92rem; }
.tr-steps li.is-done::before { background: var(--leaf); border-color: var(--leaf); }
.tr-steps li.is-done::after { background: var(--leaf); }
.tr-steps li.is-now::before { background: var(--rani); border-color: var(--rani); box-shadow: 0 0 0 4px var(--rani-soft); }
.tr-steps li.is-done b, .tr-steps li.is-now b { color: var(--ink); }
.tr-steps li:not(.is-done):not(.is-now) span { display: none; }
.tr-note { padding: .7rem .9rem; border-radius: 12px; background: #FFF1D6; color: #6B4700; font-weight: 600; font-size: .95rem; }
.tr-ship { border: 1.5px solid var(--line); border-radius: 16px; padding: 1rem; display: grid; gap: .5rem; }
.tr-ship h3 { margin: 0; }
.tr-ship p { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tr-ship p > .fine:first-child { min-width: 8.5rem; }
.tr-ship b { font-size: 1.08rem; overflow-wrap: anywhere; }
.tr-copy { min-height: 34px; padding: .2rem .8rem; font-size: .88rem; }
.tr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tr-items li { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.tr-items li span:not(.tr-qty) { grid-column: 1; font-size: .9rem; color: var(--mute); }
.tr-qty { grid-row: 1; grid-column: 2; font-weight: 700; }
.tr-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.ok-track { font-weight: 700; color: var(--rani); white-space: nowrap; }
.tr-ret { border-top: 1px solid var(--line); padding-top: .9rem; display: grid; gap: .7rem; }
.tr-ret h3 { margin: 0; }
.tr-ret-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tr-pill.s-ret-requested, .tr-pill.s-ret-approved { background: #FFF1D6; color: #6B4700; }
.tr-pill.s-ret-received { background: #E2ECFF; color: #1E4A9A; }
.tr-pill.s-ret-refunded { background: #E3F7EA; color: var(--leaf); }
.tr-pill.s-ret-rejected { background: #F1E7E4; color: #6B4A40; }
.tr-ret-form { display: grid; gap: .8rem; }
.tr-ret-form .field textarea, .tr-ret-form .field input[type=file] { width: 100%; font: inherit; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.tr-ret-items { border: 1.5px solid var(--line); border-radius: 14px; padding: .6rem .8rem; margin: 0; display: grid; gap: .45rem; min-width: 0; }
.tr-ret-items legend { font-weight: 600; font-size: .92rem; padding: 0 .3rem; }
.tr-ret-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; font-size: .95rem; cursor: pointer; }
.tr-ret-row input { width: 20px; height: 20px; accent-color: var(--rani); }
.tr-ret-row select { font: inherit; padding: .25rem .4rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); }
.tr-ret-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.tr-ret-thumbs:empty { display: none; }
.tr-ret-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* ── Design pages (/cushions/…, made by cushion.php) ── */
.pp-page { background: var(--ground); }
.pp-wrap { max-width: 1240px; margin: 0 auto; padding: clamp(18px, 3vw, 32px) var(--gutter) 4rem; display: grid; gap: clamp(28px, 4vw, 48px); }
.pp-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; color: var(--mute); }
.pp-crumbs a { color: var(--mute); }
.pp-crumbs a:hover { color: var(--rani); }
.pp-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pp-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: -.6rem; }
.pp-photo { margin: 0; position: sticky; top: calc(var(--bar-h) + 20px); }
.pp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: var(--blush); box-shadow: var(--shadow); }
.pp-photo .off-tag, .pp-card-img .off-tag { right: .8rem; top: .8rem; }
.pp-page .out-tag { position: absolute; left: .8rem; top: .8rem; padding: .12rem .6rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; }
.pp-info { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.pp-info h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.pp-info h2 { margin: .8rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; }
.pp-info p { margin: 0; }
.pp-page .eyebrow { margin: 0; color: var(--rani); font-weight: 700; }
.pp-best { display: inline-block; padding: 0 .55rem; border-radius: 999px; background: var(--marigold); color: var(--ink); font-size: .85rem; }
.pp-code { color: var(--mute); font-weight: 600; }
.pp-price { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; font-size: 1.9rem; }
.pp-price .was { font-size: .55em; }
.pp-price .pd-offer { font-size: .88rem; }
.pp-buy { display: flex; flex-wrap: wrap; gap: .6rem; }
.pp-buy .btn { flex: 1 1 210px; }
.pp-perks { list-style: none; margin: 0; padding: .9rem 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .8rem; background: var(--paper); border-radius: var(--r); font-weight: 600; font-size: .95rem; }
.pp-perks li { display: flex; gap: .45rem; align-items: baseline; }
.pp-perks li::before { content: "✓"; color: var(--leaf); font-weight: 800; }
.pp-specs { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1.2rem; padding: .9rem 1rem; background: var(--paper); border-radius: var(--r); }
.pp-specs dt { color: var(--mute); font-weight: 600; }
.pp-specs dd { margin: 0; font-weight: 600; }
.pp-note { color: var(--mute); }
.pp-note a, .pp-crumbs a { text-underline-offset: 3px; }
.pp-head { display: grid; gap: .6rem; }
.pp-head h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.pp-head p { margin: 0; }
.pp-more h2 { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); }
.pp-more h2 small { font-family: var(--font-body); font-size: .55em; color: var(--mute); }
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pp-card { display: grid; gap: .2rem; color: var(--ink); text-decoration: none; min-width: 0; }
.pp-card-img { position: relative; display: block; margin-bottom: .4rem; }
.pp-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--blush); transition: transform .2s; }
.pp-card:hover .pp-card-img img { transform: scale(1.02); }
.pp-card-name { font-weight: 700; line-height: 1.25; }
.pp-card:hover .pp-card-name { color: var(--rani); }
.pp-card-meta { font-size: .88rem; color: var(--mute); }
.pp-card-price { font-size: 1.05rem; }
.pp-all { margin: 1.4rem 0 0; text-align: center; }
.pp-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; padding: 1.4rem var(--gutter) 1rem; }
.pp-foot-links a { color: #F1DCE8; text-decoration: none; font-weight: 600; }
.pp-foot-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 860px) {
  .pp-main { grid-template-columns: 1fr; margin-top: 0; }
  .pp-photo { position: relative; top: 0; max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 760px) {
  .pp-page .nav-left { display: none; }
  .pp-page .topbar { grid-template-columns: auto 1fr; }
  .pp-page .logo-link { justify-self: start; }
  .pp-page .nav-right { justify-self: end; }
}
@media (max-width: 560px) {
  .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .pp-card-name { font-size: .95rem; }
  .pp-perks { grid-template-columns: 1fr; }
  .pp-price { font-size: 1.6rem; }
}

/* ── "Price for 1 cushion" clarity ─────────────────────────── */
.one-tag {
  position: absolute; right: .65rem; bottom: .65rem; z-index: 2; padding: .12rem .65rem; border-radius: 999px;
  background: rgba(46, 22, 48, .85); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.3;
  pointer-events: none; white-space: nowrap;
}
.pd-media .one-tag { right: .9rem; bottom: .9rem; font-size: .8rem; padding: .2rem .75rem; }
.pp-photo .one-tag, .pp-card-img .one-tag { right: .8rem; bottom: .8rem; }
.product-price .per, .pp-card-price .per { display: block; font-size: .7rem; font-weight: 600; color: var(--mute); line-height: 1.2; }
.pp-price .per { font-size: .9rem; font-weight: 600; color: var(--mute); }
.pd-one, .pp-one { margin: 0; font-size: .88rem; color: var(--mute); }
.pp-one { margin-bottom: .6rem; }
@media (max-width: 700px) {
  .pp-photo .one-tag, .pp-card-img .one-tag { right: .5rem; bottom: .5rem; font-size: .66rem; padding: .08rem .5rem; }
}
