/* ==========================================================================
   Tabby Claws — "Alta" design system
   Tokens → base → components → sections/pages. Mobile-first.
   See docs/DESIGN.md for the reasoning behind every token.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --alta: #C8102E;
  --alta-hi: #DC2340;
  --lacquer: #6E0A1E;
  --lacquer-deep: #4A0614;
  --kohl: #250A12;
  --kohl-70: rgba(37, 10, 18, .72);
  --kohl-50: rgba(37, 10, 18, .52);
  --kohl-12: rgba(37, 10, 18, .12);
  --kohl-06: rgba(37, 10, 18, .06);
  --nude: #F7E6DD;
  --petal: #EDC9BB;
  --petal-soft: #F2D8CC;
  --pearl: #FFF7F3;
  --pearl-70: rgba(255, 247, 243, .74);
  --pearl-20: rgba(255, 247, 243, .2);
  --gilt: #C9A24A;
  --ok: #1F7A4D;
  --warn: #B26A00;
  --err: #B3102A;

  --font-display: "Rozha One", "Bodoni 72", Didot, Georgia, serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: .833rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 4vw, 4rem);
  --step-hero: clamp(5.2rem, 19vw, 16rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: 6.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1320px;

  --r-media: 22px; --r-card: 18px; --r-input: 12px; --r-pill: 999px;
  --glow: 0 18px 40px -18px rgba(110, 10, 30, .45);
  --glow-strong: 0 24px 60px -20px rgba(110, 10, 30, .6);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 64px;
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--nude); color: var(--kohl); font-family: var(--font-text);
  font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--alta); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 var(--space-3); line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gilt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--alta); color: var(--pearl); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10000; background: var(--kohl); color: var(--pearl); padding: .6rem 1rem; border-radius: var(--r-pill); }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.fine { font-size: var(--step--1); color: var(--kohl-70); }
.lead { font-size: var(--step-1); line-height: 1.5; }
.display-1, .display-2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
.display-1 { font-size: var(--step-4); line-height: .95; }
.display-2 { font-size: var(--step-3); line-height: 1; }
.hide-sm { display: none !important; }
@media (min-width: 761px) { .hide-sm { display: inline-flex !important; } .only-sm { display: none !important; } }

/* surfaces */
.surface-alta { background: var(--alta); color: var(--pearl); }
.surface-alta a:hover { color: var(--pearl); }
.surface-alta .fine { color: var(--pearl-70); }
.surface-lacquer { background: var(--lacquer); color: var(--pearl); }
.surface-lacquer .fine { color: var(--pearl-70); }
.surface-nude { background: var(--nude); }
.surface-petal { background: var(--petal-soft); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--kohl); --fg: var(--pearl); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: var(--r-pill); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; transition: transform .18s var(--ease), background-color .2s, box-shadow .2s, color .2s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--glow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--alta { --bg: var(--alta); --fg: var(--pearl); }
.btn--alta:hover { --bg: var(--alta-hi); }
.btn--pearl { --bg: var(--pearl); --fg: var(--alta); }
.btn--kohl { --bg: var(--kohl); --fg: var(--pearl); }
.btn--ghost { --bg: transparent; --fg: var(--kohl); --bd: var(--kohl-12); }
.btn--ghost:hover { --bd: var(--kohl); box-shadow: none; }
.btn--outline-pearl { --bg: transparent; --fg: var(--pearl); --bd: var(--pearl-70); }
.btn--outline-pearl:hover { --bg: var(--pearl-20); box-shadow: none; }
.btn--small { min-height: 38px; padding: .45rem 1rem; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2.5px solid currentColor; border-color: var(--fg) transparent var(--fg) transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Wet-lacquer gloss sweep (primary buttons only) */
.lacquer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 45%, rgba(255,255,255,.08) 55%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.lacquer:hover::before, .lacquer:focus-visible::before { transform: translateX(120%); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--kohl-06); color: inherit; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--alta); color: var(--pearl); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.35); } }
.link-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--alta); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: .35rem; margin-bottom: var(--space-4); }
.field label, .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: var(--step--1); color: var(--kohl-70); }
.input, .select, .textarea, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: var(--r-input); border: 1.5px solid var(--kohl-12);
  background: var(--pearl); color: var(--kohl); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea, .textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--alta); box-shadow: 0 0 0 4px rgba(200, 16, 46, .14); }
.field-row { display: grid; gap: var(--space-3); grid-template-columns: 1fr 1fr; }
.field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .field-row--3 { grid-template-columns: 1fr 1fr; } .field-row--3 > :first-child { grid-column: 1 / -1; } }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--alta); flex: none; }
.field-error { color: var(--err); font-size: var(--step--1); font-weight: 600; }
@keyframes field-glow {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); border-color: rgba(200,16,46,0); }
  25% { box-shadow: 0 0 0 6px rgba(200, 16, 46, .4); border-color: var(--alta); }
  75% { box-shadow: 0 0 0 6px rgba(200, 16, 46, .3); border-color: var(--alta); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}
.field-glow { animation: field-glow 3s ease-in-out; }

/* ---------------------------------------------------------------- announcement + header */
.announce { background: var(--kohl); color: var(--pearl); font-size: .85rem; font-weight: 500; }
.announce__list { list-style: none; display: flex; justify-content: center; gap: 2.5rem; padding: .5rem var(--gutter); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.announce__list li:not(:first-child) { display: none; }
@media (min-width: 761px) { .announce__list li:not(:first-child) { display: block; } }
.site-header { position: sticky; top: 0; z-index: 900; background: color-mix(in srgb, var(--nude) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--kohl-12); }
.page-home .site-header:not(.is-scrolled) { background: var(--alta); color: var(--pearl); }
.page-home .site-header:not(.is-scrolled) .icon-btn:hover { background: var(--pearl-20); }
.page-home .site-header:not(.is-scrolled) .badge-count { background: var(--pearl); color: var(--alta); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-3); height: var(--header-h); }
.site-header__menu { margin-left: -10px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark { width: 30px; height: 30px; color: var(--alta); }
.page-home .site-header:not(.is-scrolled) .brand__mark { color: var(--pearl); }
.brand__word { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; letter-spacing: .005em; }
.site-nav { display: none; margin-left: var(--space-6); }
.site-nav > ul { list-style: none; display: flex; gap: var(--space-2); }
.site-nav > ul > li > a { display: inline-block; padding: .55rem .85rem; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; }
.site-nav > ul > li > a:hover { background: var(--kohl-06); color: inherit; }
.page-home .site-header:not(.is-scrolled) .site-nav > ul > li > a:hover { background: var(--pearl-20); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
@media (min-width: 1000px) { .site-nav { display: block; } .site-header__menu { display: none; } }
.has-mega { position: relative; }
.mega { position: absolute; left: -1rem; top: 100%; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: var(--space-6); width: min(760px, 80vw); padding: var(--space-6); border-radius: var(--r-card); background: var(--pearl); color: var(--kohl); box-shadow: var(--glow-strong); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__title { font-size: var(--step--1); color: var(--kohl-70); font-weight: 600; margin-bottom: var(--space-2); }
.mega ul { list-style: none; display: grid; gap: .15rem; }
.mega a { text-decoration: none; display: block; padding: .3rem 0; }
.mega a:hover { color: var(--alta); }
.mega__feature { display: flex !important; flex-direction: column; justify-content: flex-end; gap: .25rem; padding: var(--space-5) !important; border-radius: var(--r-card); background: var(--alta) url("/static/img/original/tejas-hand.jpg") center/cover; background-blend-mode: multiply; color: var(--pearl) !important; min-height: 180px; }
.mega__feature-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.05; }

/* ---------------------------------------------------------------- drawers & dialogs */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: var(--kohl); }
dialog::backdrop { background: rgba(37, 10, 18, .5); backdrop-filter: blur(3px); }
.drawer { width: min(440px, 100vw); height: 100dvh; margin: 0; background: var(--nude); }
.drawer--right { margin-left: auto; }
.drawer--left { margin-right: auto; }
.drawer[open] { animation: drawer-in-r .32s var(--ease-out); }
.drawer--left[open] { animation-name: drawer-in-l; }
@keyframes drawer-in-r { from { transform: translateX(100%); } }
@keyframes drawer-in-l { from { transform: translateX(-100%); } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--kohl-12); }
.drawer__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-5); overscroll-behavior: contain; }
.drawer__foot { padding: var(--space-4) var(--space-5) calc(var(--space-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--kohl-12); display: grid; gap: var(--space-3); background: var(--pearl); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.drawer__foot .fine { margin: 0; }
.menu-panel__nav { display: flex; flex-direction: column; gap: .1rem; }
.menu-panel__nav a { text-decoration: none; padding: .5rem 0; }
.menu-panel__big { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; padding: .2rem 0 !important; }
.menu-panel__label { margin: var(--space-5) 0 var(--space-1); font-size: var(--step--1); color: var(--kohl-70); font-weight: 600; }

.search-dialog { width: min(720px, calc(100vw - 2rem)); margin: 12vh auto auto; border-radius: var(--r-card); background: var(--pearl); box-shadow: var(--glow-strong); }
.search-dialog__form { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); border-bottom: 1px solid var(--kohl-12); }
.search-dialog__form > svg { width: 22px; height: 22px; flex: none; color: var(--kohl-50); }
.search-dialog__form input { flex: 1; border: 0; background: transparent; font-size: 1.2rem; min-height: 48px; outline: none; }
.search-dialog__results { max-height: 60vh; overflow-y: auto; padding: var(--space-4) var(--space-5); }
.search-dialog__hint { color: var(--kohl-70); margin: 0; }
.search-hit { display: flex; gap: var(--space-3); align-items: center; padding: .5rem; border-radius: var(--r-input); text-decoration: none; }
.search-hit:hover, .search-hit:focus { background: var(--petal-soft); color: inherit; }
.search-hit img { width: 52px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--petal); }
.search-hit strong { display: block; }
.search-hit span { font-size: var(--step--1); color: var(--kohl-70); }

.modal { width: min(560px, calc(100vw - 2rem)); border-radius: var(--r-card); background: var(--nude); padding: var(--space-6); box-shadow: var(--glow-strong); }
.modal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }

/* ---------------------------------------------------------------- toasts, consent, loader */
.toast-stack { position: fixed; z-index: 99999; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; width: min(380px, calc(100vw - 2rem)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; border-radius: 14px; background: var(--kohl); color: var(--pearl); box-shadow: var(--glow-strong); font-size: .95rem; animation: toast-in .35s var(--ease-out); }
.toast--error { background: var(--err); }
.toast--ok { background: var(--kohl); }
.toast a { color: var(--pearl); font-weight: 700; }
.toast__close { margin-left: auto; background: none; border: 0; color: var(--pearl-70); padding: 0 .2rem; font-size: 1.1rem; line-height: 1; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 760px) { .toast-stack { left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); width: auto; } }
.consent { position: fixed; z-index: 950; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: var(--space-4); max-width: 560px; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); background: var(--pearl); border-radius: var(--r-card); box-shadow: var(--glow-strong); font-size: .92rem; }
.consent p { margin: 0; }
@media (min-width: 761px) { .consent { left: auto; right: 1rem; max-width: 460px; } }
@media (max-width: 760px) {
  .consent { left: .5rem; right: .5rem; bottom: calc(.5rem + env(safe-area-inset-bottom)); gap: var(--space-3); padding: .6rem .6rem .6rem 1rem; font-size: .85rem; }
  .consent .btn { flex: none; }
}
.loader { display: grid; place-items: center; padding: var(--space-7); }
/* A nail silhouette filling with lacquer */
.loader__nail { width: 34px; height: 64px; border-radius: 50% 50% 14px 14px / 30% 30% 14px 14px; border: 2px solid var(--alta); background: linear-gradient(to top, var(--alta) 50%, transparent 50%) bottom/100% 200%; animation: lacquer-fill 1.3s var(--ease) infinite alternate; }
@keyframes lacquer-fill { to { background-position: top; } }

/* ---------------------------------------------------------------- product card */
.grid-products { display: grid; gap: var(--space-5) var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); } }
.pcard { position: relative; display: flex; flex-direction: column; container-type: inline-size; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--petal); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .35s; }
.pcard__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .pcard:hover .pcard__alt { opacity: 1; } .pcard:hover .pcard__media img:first-child { transform: scale(1.04); } }
.pcard__tags { position: absolute; left: .6rem; top: .6rem; display: flex; gap: .3rem; flex-wrap: wrap; }
.tag { display: inline-block; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--pearl); color: var(--kohl); font-size: .74rem; font-weight: 700; }
.tag--bestseller { background: var(--kohl); color: var(--pearl); }
.tag--new { background: var(--alta); color: var(--pearl); }
.tag--limited { background: var(--gilt); color: var(--kohl); }
.tag--sale { background: var(--pearl); color: var(--alta); }
.pcard__wish { position: absolute; right: .5rem; top: .5rem; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--pearl) 85%, transparent); color: var(--kohl); }
.pcard__wish svg { width: 20px; height: 20px; }
.pcard__wish .on, .pcard__wish[aria-pressed="true"] .off { display: none; }
.pcard__wish[aria-pressed="true"] .on { display: block; color: var(--alta); }
.pcard__body { padding: var(--space-3) .15rem 0; display: grid; gap: .1rem; }
.pcard__name { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0; line-height: 1.1; }
.pcard__name a { text-decoration: none; }
.pcard__meta { margin: 0; font-size: .9rem; color: var(--kohl-70); }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pcard__price { margin: 0; font-weight: 700; }
.pcard__price s { font-weight: 400; color: var(--kohl-50); margin-left: .25rem; }
.pcard__add { margin-top: var(--space-3); min-height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--kohl); background: transparent; font-weight: 600; transition: background-color .2s, color .2s; }
.pcard__add:hover { background: var(--kohl); color: var(--pearl); }
.pcard__add[disabled] { opacity: .45; }
@container (max-width: 180px) { .pcard__name { font-size: 1.15rem; } }

.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--kohl-12); }
.stars svg { width: 14px; height: 14px; }
.stars--md svg { width: 18px; height: 18px; }
.stars svg.is-on, .stars svg.is-half { color: var(--gilt); }
.stars svg.is-half { clip-path: inset(0 45% 0 0); }
.stars__count { margin-left: .3rem; font-size: .8rem; color: var(--kohl-70); }

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.shelf, .moments, .every-hand, .story, .reviews-strip { padding-block: var(--space-8); }

/* hero */
.hero { min-height: min(92svh, 920px); display: grid; grid-template-rows: 1fr auto auto; overflow: hidden; padding-bottom: var(--space-6);
  background: radial-gradient(90% 70% at 55% 42%, #D8163A 0%, var(--alta) 45%, #8E0A24 100%); }
.hero__stage { position: absolute; inset: 0; z-index: 2; }
.hero__stage canvas { width: 100% !important; height: 100% !important; }
.hero__poster { position: absolute; inset: 12% 10% 22%; width: 80%; height: 66%; object-fit: contain; mix-blend-mode: normal; opacity: .95; }
.hero__stage.is-3d .hero__poster { display: none; }
.hero__word { position: absolute; inset: 0; margin: 0; pointer-events: none; font-family: var(--font-display); font-weight: 400; font-size: var(--step-hero); line-height: .82; letter-spacing: -.02em; color: var(--pearl); }
.hero__word-top { position: absolute; left: var(--gutter); top: 6%; z-index: 1; opacity: .96; }
.hero__word-bottom { position: absolute; right: var(--gutter); bottom: 30%; z-index: 3; text-shadow: 0 10px 40px rgba(74, 6, 20, .35); }
.hero__copy { position: relative; z-index: 4; grid-row: 2; align-self: end; padding-top: var(--space-6); }
.hero__sub { max-width: 30ch; font-size: var(--step-1); line-height: 1.45; font-weight: 500; }
.hero__ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__controls { position: relative; z-index: 4; grid-row: 3; display: flex; gap: .4rem; justify-content: flex-start; padding: var(--space-5) var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
/* Mobile / tablet: the 3D stage and the giant words own the first row; copy, CTAs and chips flow below, so
   nothing can overlap whatever the viewport height. Desktop keeps the full-bleed layered layout. */
@media (max-width: 899px) {
  .hero { isolation: isolate; min-height: 0; grid-template-rows: minmax(340px, 56svh) auto auto; padding-bottom: var(--space-5); }
  .hero__stage { position: relative; inset: auto; grid-row: 1; grid-column: 1; }
  .hero__word { position: relative; inset: auto; grid-row: 1; grid-column: 1; height: 100%; }
  .hero__word-top { top: 3%; }
  .hero__word-bottom { bottom: 2%; }
  .hero__poster { inset: 14% 6% 14%; width: 88%; height: 72%; }
  .hero__copy { grid-row: 2; padding-top: var(--space-3); }
  .hero__sub { margin-bottom: var(--space-4); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__controls { grid-row: 3; padding-top: var(--space-4); }
}
.shape-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem .45rem .6rem; border-radius: var(--r-pill); border: 1.5px solid var(--pearl-20); background: transparent; color: var(--pearl); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.shape-chip .shape-svg { width: 12px; height: 24px; fill: currentColor; }
.shape-chip.is-active, .shape-chip:hover { background: var(--pearl); color: var(--alta); border-color: var(--pearl); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .hero__copy { grid-column: 1; grid-row: 2; }
  .hero__controls { grid-column: 2; grid-row: 2; align-self: end; justify-content: flex-end; padding-bottom: 0; flex-wrap: wrap; }
  .hero__word-bottom { bottom: 24%; }
}

/* ruler */
.ruler-strip { padding-block: var(--space-8) var(--space-7); }
.ruler-strip__inner { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .ruler-strip__inner { grid-template-columns: 1fr 2fr; align-items: end; } }
.ruler { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; align-items: end; padding-bottom: 28px; }
.ruler__ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-top: 2px solid var(--kohl); background: repeating-linear-gradient(90deg, var(--kohl) 0 1.5px, transparent 1.5px 10px) top/100% 8px no-repeat, repeating-linear-gradient(90deg, var(--kohl) 0 1.5px, transparent 1.5px 50px) top/100% 16px no-repeat; opacity: .7; }
.ruler__step { display: grid; justify-items: center; gap: .25rem; border: 0; background: transparent; padding: .5rem .2rem; border-radius: var(--r-card); color: var(--kohl); transition: background-color .2s; }
.ruler__step:hover { background: var(--petal-soft); }
.ruler__nail { width: clamp(22px, 5vw, 38px); height: calc(var(--mm) * 3.3px + 20px); border-radius: 50% 50% 12px 12px / 22% 22% 12px 12px; background: linear-gradient(100deg, var(--alta) 0 55%, #e0485f 62%, var(--alta) 72%); box-shadow: inset -3px 0 0 rgba(0,0,0,.08); transition: transform .3s var(--ease-out), background .3s; transform-origin: bottom; }
.ruler__step.is-active .ruler__nail { transform: scaleX(1.12); background: linear-gradient(100deg, var(--lacquer) 0 55%, #9b2440 62%, var(--lacquer) 72%); }
.ruler__label { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.ruler__mm { font-weight: 700; font-size: .85rem; }
.ruler__note { font-size: .78rem; color: var(--kohl-70); text-align: center; line-height: 1.3; min-height: 2.6em; }
@media (max-width: 520px) { .ruler__note { display: none; } }

/* moments: asymmetric nail-silhouette tiles */
.moments__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.moment { position: relative; display: block; text-decoration: none; color: var(--pearl); min-height: 260px; }
.moment__media { position: absolute; inset: 0; border-radius: 48% 48% var(--r-media) var(--r-media) / 28% 28% var(--r-media) var(--r-media); overflow: hidden; background: var(--lacquer); }
.moment__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.moment__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(37,10,18,.78), rgba(37,10,18,0) 55%); }
.moment:hover .moment__media img { transform: scale(1.05); }
.moment:hover { color: var(--pearl); }
.moment__text { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; display: grid; gap: .1rem; }
.moment__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.moment__tag { font-size: .88rem; opacity: .9; }
.moment--1 { grid-column: span 2; min-height: 320px; }
.moment--1 .moment__media { border-radius: var(--r-media) var(--r-media) 50% 50% / var(--r-media) var(--r-media) 26% 26%; }
@media (min-width: 900px) {
  .moments__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .moment { min-height: 0; }
  .moment--1 { grid-column: 1 / span 2; grid-row: span 2; }
  .moment--2 { grid-column: 3 / span 2; grid-row: span 2; }
  .moment--3 { grid-column: 5 / span 2; grid-row: span 1; }
  .moment--4 { grid-column: 5 / span 1; }
  .moment--5 { grid-column: 6 / span 1; }
  .moment--3 .moment__media, .moment--4 .moment__media, .moment--5 .moment__media { border-radius: var(--r-media); }
}

/* try-on promo */
.tryon-promo { padding-block: var(--space-8); overflow: hidden; }
.tryon-promo__inner { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .tryon-promo__inner { grid-template-columns: 1fr 1.1fr; } }
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19; margin-inline: auto; border-radius: 44px; padding: 10px; background: #12060a; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(-4deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.phone__chip { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); padding: .4rem .9rem; border-radius: var(--r-pill); background: rgba(255,247,243,.92); color: var(--alta); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.ticks { list-style: none; display: grid; gap: .6rem; margin: var(--space-5) 0 var(--space-6); }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--gilt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23250A12' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/70% no-repeat; }

/* custom CTA */
.custom-cta { padding-block: var(--space-8); }
.custom-cta__inner { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .custom-cta__inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.custom-cta__fine { margin-top: var(--space-3); }
.steps { list-style: none; display: grid; gap: var(--space-3); counter-reset: none; }
.steps li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--r-card); background: var(--lacquer); }
.steps__n { font-family: var(--font-display); font-size: 2.4rem; line-height: .9; color: var(--gilt); min-width: 1.4ch; }
.steps strong { display: block; font-size: 1.1rem; }

/* every hand */
.every-hand__inner { display: grid; gap: var(--space-5); align-items: center; }
.every-hand__img { margin: 0; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; background: var(--petal); }
.every-hand__img img { width: 100%; height: 100%; object-fit: cover; }
.every-hand__links { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (min-width: 900px) {
  .every-hand__inner { grid-template-columns: 1fr 1.3fr 1fr; gap: var(--space-7); }
  .every-hand__img--a { transform: translateY(-2rem); }
  .every-hand__img--b { transform: translateY(2rem); aspect-ratio: 3 / 4; }
}
@media (max-width: 899px) { .every-hand__img--b { display: none; } .every-hand__img { aspect-ratio: 16 / 11; } }

/* story */
.story__inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .story__inner { grid-template-columns: .8fr 1.2fr; gap: var(--space-8); } }
.story__photo { margin: 0; max-width: 360px; }
.story__photo img { border-radius: 48% 48% var(--r-media) var(--r-media) / 22% 22% var(--r-media) var(--r-media); aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; }
.story__photo figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--kohl-70); }

/* trust */
.trust { padding-block: var(--space-6); }
.trust__list { list-style: none; display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
.trust__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.trust__list svg { width: 26px; height: 26px; flex: none; color: var(--alta); }
.trust__list strong { display: block; }

/* quotes & offers */
.reviews-strip__row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.quote { margin: 0; padding: var(--space-5); background: var(--pearl); border-radius: var(--r-card); }
.quote p { margin: .6rem 0; }
.quote footer { font-size: .9rem; color: var(--kohl-70); }
.verified { color: var(--ok); font-weight: 600; }
.offers { padding-block: var(--space-6) var(--space-7); }
.offers__row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.offer { display: inline-flex; gap: .6rem; align-items: center; padding: .6rem 1rem; border-radius: var(--r-pill); border: 1.5px dashed var(--alta); background: var(--pearl); }
.offer strong { color: var(--alta); letter-spacing: .03em; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--lacquer-deep); color: var(--pearl); padding-top: var(--space-8); }
.site-footer a { color: var(--pearl); text-decoration: none; }
.site-footer a:hover { color: var(--petal); text-decoration: underline; }
.site-footer__top { display: grid; gap: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand p { color: var(--pearl-70); max-width: 36ch; margin-top: var(--space-3); }
.brand--footer .brand__mark { color: var(--gilt); }
.site-footer__title { font-weight: 700; margin-bottom: var(--space-3); }
.site-footer__col ul { list-style: none; display: grid; gap: .45rem; font-size: .95rem; }
.newsletter { margin-top: var(--space-5); max-width: 420px; }
.newsletter label { display: block; font-weight: 700; margin-bottom: .5rem; }
.newsletter__row { display: flex; gap: .5rem; }
.newsletter input { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--pearl-20); background: rgba(255,247,243,.08); color: var(--pearl); }
.newsletter input::placeholder { color: var(--pearl-70); }
.newsletter .fine { color: var(--pearl-70); margin-top: .6rem; }
.newsletter .fine a { text-decoration: underline; }
.site-footer__legal { border-top: 1px solid var(--pearl-20); padding-block: var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom)); font-size: .82rem; color: var(--pearl-70); }
.site-footer__legal p { margin-bottom: .4rem; }

/* ---------------------------------------------------------------- listing */
.page-head { padding-block: var(--space-6) var(--space-5); }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: .95; margin-bottom: var(--space-3); }
.page-head p { max-width: 60ch; color: var(--kohl-70); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--kohl-70); margin-bottom: var(--space-4); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--kohl-50); }
.crumbs a { text-decoration: none; }
.listing { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 1000px) { .listing { grid-template-columns: 260px 1fr; align-items: start; } }
.filters { display: none; }
@media (min-width: 1000px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 1rem); } }
.filters__group { padding-block: var(--space-4); border-bottom: 1px solid var(--kohl-12); }
.filters__group h3 { font-size: 1rem; margin-bottom: var(--space-3); }
.filters__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: var(--r-pill); border: 1.5px solid var(--kohl-12); background: var(--pearl); font-size: .88rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--kohl); color: inherit; }
.chip.is-active { background: var(--kohl); color: var(--pearl); border-color: var(--kohl); }
.chip .shape-svg { width: 10px; height: 20px; fill: currentColor; }
.chip__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); flex-wrap: wrap; }
.toolbar__count { color: var(--kohl-70); font-size: .92rem; }
.toolbar__right { display: flex; gap: .5rem; align-items: center; }
.toolbar select { min-height: 42px; padding: 0 2.2rem 0 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--kohl-12); background: var(--pearl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23250A12' stroke-width='2'/%3E%3C/svg%3E") right .7rem center/16px no-repeat; appearance: none; font-weight: 600; }
.cat-strip { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--space-4); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.empty { text-align: center; padding: var(--space-8) var(--space-4); }
.empty h2 { font-family: var(--font-display); font-weight: 400; }
.load-more { display: flex; justify-content: center; margin-top: var(--space-7); }
.filters-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-card) var(--r-card) 0 0; max-height: 86dvh; background: var(--nude); }
.filters-sheet[open] { animation: sheet-in .3s var(--ease-out); }
@keyframes sheet-in { from { transform: translateY(100%); } }

/* ---------------------------------------------------------------- product page */
.pdp { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: var(--space-8); align-items: start; } }
.gallery { position: relative; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 1rem); } }
.gallery__tabs { display: flex; gap: .4rem; margin-bottom: var(--space-3); }
.gallery__tabs button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: var(--r-pill); border: 1.5px solid var(--kohl-12); background: var(--pearl); font-weight: 600; font-size: .9rem; }
.gallery__tabs button svg { width: 18px; height: 18px; }
.gallery__tabs button[aria-selected="true"] { background: var(--kohl); color: var(--pearl); border-color: var(--kohl); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--petal); }
.gallery__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gallery__3d { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 20%, #fff3ee, var(--petal)); }
.gallery__3d[hidden] { display: none; }
.gallery__3d canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.gallery__hint { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); padding: .35rem .8rem; border-radius: var(--r-pill); background: rgba(255,247,243,.9); font-size: .82rem; font-weight: 600; pointer-events: none; }
.gallery__thumbs { display: flex; gap: .5rem; margin-top: var(--space-3); overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 64px; height: 80px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--petal); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--kohl); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: .95; margin-bottom: var(--space-2); }
.pdp__subtitle { font-size: var(--step-1); color: var(--kohl-70); }
.pdp__price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: var(--space-4) 0 var(--space-2); }
.pdp__price strong { font-size: 1.8rem; }
.pdp__price s { color: var(--kohl-50); }
.pdp__price .tag--sale { border: 1.5px solid var(--alta); }
.opt { margin-block: var(--space-5); }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
.opt__head .label span { font-weight: 500; color: var(--kohl-70); }
.opt__values { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .9rem; border-radius: var(--r-input); border: 1.5px solid var(--kohl-12); background: var(--pearl); font-weight: 600; font-size: .92rem; }
.opt__btn .shape-svg { width: 11px; height: 22px; fill: var(--alta); }
.opt__btn small { font-weight: 500; color: var(--kohl-70); }
.opt__btn:hover { border-color: var(--kohl); }
.opt__btn[aria-pressed="true"] { border-color: var(--kohl); background: var(--kohl); color: var(--pearl); }
.opt__btn[aria-pressed="true"] small { color: var(--pearl-70); }
.opt__btn[aria-pressed="true"] .shape-svg { fill: var(--pearl); }
.sizes-input { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin-top: var(--space-3); }
.sizes-input label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 600; text-align: center; }
.sizes-input input { min-height: 44px; text-align: center; border-radius: 10px; border: 1.5px solid var(--kohl-12); background: var(--pearl); }
.buybox { display: grid; gap: var(--space-3); grid-template-columns: auto 1fr; margin-block: var(--space-5); }
.buybox .btn--block { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--kohl-12); border-radius: var(--r-pill); background: var(--pearl); }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; }
.qty button svg { width: 18px; height: 18px; }
.qty input { width: 2.4rem; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 36px; height: 36px; }
.pdp__perks { list-style: none; display: grid; gap: .5rem; padding: var(--space-4) var(--space-5); border-radius: var(--r-card); background: var(--pearl); font-size: .92rem; }
.pdp__perks li { display: flex; gap: .6rem; align-items: center; }
.pdp__perks svg { width: 20px; height: 20px; color: var(--alta); flex: none; }
.pin-check { display: flex; gap: .5rem; margin-top: var(--space-3); }
.pin-check input { flex: 1; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--kohl-12); background: var(--nude); }
.pin-result { font-size: .9rem; margin: .4rem 0 0; }
.acc { border-top: 1px solid var(--kohl-12); }
.acc details { border-bottom: 1px solid var(--kohl-12); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-weight: 700; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 20px; height: 20px; transition: transform .25s; }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc .acc__body { padding-bottom: var(--space-4); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 0; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--kohl-70); }
.sticky-buy { position: fixed; z-index: 800; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--space-3); padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--pearl); box-shadow: 0 -12px 30px -18px rgba(37,10,18,.4); transform: translateY(110%); transition: transform .3s var(--ease-out); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }
.reviews { padding-block: var(--space-7); border-top: 1px solid var(--kohl-12); }
.reviews__summary { display: flex; gap: var(--space-5); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-5); }
.reviews__score { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.review { padding-block: var(--space-4); border-bottom: 1px solid var(--kohl-12); }
.review h3 { font-size: 1.05rem; margin: .4rem 0 .2rem; }
.review__meta { font-size: .85rem; color: var(--kohl-70); }
.review__reply { margin-top: .6rem; padding: .7rem 1rem; border-left: 3px solid var(--alta); background: var(--pearl); font-size: .92rem; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--kohl-12); }
.rating-input label svg { width: 30px; height: 30px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gilt); }
.rating-input input:focus-visible + label { outline: 3px solid var(--gilt); border-radius: 4px; }

/* ---------------------------------------------------------------- cart & checkout */
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--space-3); padding-block: var(--space-4); border-bottom: 1px solid var(--kohl-12); }
.cart-line img { width: 76px; height: 95px; object-fit: cover; border-radius: 12px; background: var(--petal); }
.cart-line__name { font-weight: 700; text-decoration: none; }
.cart-line__opts { font-size: .85rem; color: var(--kohl-70); margin: .1rem 0 .5rem; }
.cart-line__price { text-align: right; font-weight: 700; }
.cart-line__price s { display: block; font-weight: 400; color: var(--kohl-50); font-size: .85rem; }
.cart-line__err { color: var(--err); font-size: .85rem; font-weight: 600; }
.cart-line__actions { display: flex; align-items: center; gap: .5rem; }
.link-btn { border: 0; background: none; padding: .2rem; font-size: .85rem; text-decoration: underline; color: var(--kohl-70); }
.link-btn:hover { color: var(--alta); }
.ship-meter { font-size: .9rem; }
.ship-meter__bar { height: 6px; border-radius: 3px; background: var(--kohl-12); overflow: hidden; margin-top: .4rem; }
.ship-meter__bar span { display: block; height: 100%; background: var(--alta); border-radius: 3px; transition: width .5s var(--ease-out); }
.cart-empty { text-align: center; padding: var(--space-7) var(--space-4); }
.cart-empty .loader__nail { margin: 0 auto var(--space-4); animation: none; background: none; }
.checkout-layout, .cart-layout { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 1000px) { .checkout-layout, .cart-layout { grid-template-columns: 1.3fr 1fr; gap: var(--space-8); align-items: start; } }
.panel { background: var(--pearl); border-radius: var(--r-card); padding: var(--space-5); }
.panel + .panel { margin-top: var(--space-4); }
.panel h2 { font-size: 1.25rem; margin-bottom: var(--space-4); }
.summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.summary__rows { display: grid; gap: .5rem; margin: var(--space-4) 0; }
.summary__row { display: flex; justify-content: space-between; }
.summary__row--total { font-size: 1.25rem; font-weight: 700; padding-top: var(--space-3); border-top: 1px solid var(--kohl-12); }
.summary__row--discount { color: var(--ok); }
.coupon { display: flex; gap: .5rem; }
.coupon input { flex: 1; min-height: 46px; padding: 0 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--kohl-12); background: var(--nude); text-transform: uppercase; }
.coupon-msg { font-size: .88rem; margin: .4rem 0 0; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--err); }
.pay-options { display: grid; gap: .6rem; }
.pay-option { display: flex; gap: .8rem; align-items: flex-start; padding: var(--space-4); border-radius: var(--r-input); border: 1.5px solid var(--kohl-12); cursor: pointer; background: var(--nude); }
.pay-option:has(input:checked) { border-color: var(--alta); background: #fff; box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--alta); margin-top: 2px; }
.pay-option strong { display: block; }
.pay-option small { color: var(--kohl-70); }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }
.mini-lines { display: grid; gap: .7rem; }
.mini-line { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; font-size: .92rem; }
.mini-line img { width: 52px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--petal); }
.mini-line__qty { position: relative; }
.mini-line small { color: var(--kohl-70); display: block; }
.overlay-busy { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; background: rgba(247,230,221,.82); backdrop-filter: blur(4px); }
.overlay-busy[hidden] { display: none; }
.overlay-busy p { font-weight: 700; margin-top: var(--space-3); text-align: center; }

/* order page */
.order-hero { padding-block: var(--space-7) var(--space-5); }
.order-hero__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: var(--r-pill); background: var(--ok); color: #fff; font-weight: 700; font-size: .9rem; }
.order-hero__badge--wait { background: var(--warn); }
.order-hero__badge--bad { background: var(--err); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; margin: var(--space-5) 0; }
.timeline li { position: relative; padding-top: 22px; font-size: .8rem; text-align: center; color: var(--kohl-50); font-weight: 600; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--kohl-12); }
.timeline li::after { content: ""; position: absolute; top: 7px; left: calc(50% + 10px); right: calc(-50% + 10px); height: 2px; background: var(--kohl-12); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done { color: var(--kohl); }
.timeline li.is-done::before { background: var(--alta); }
.timeline li.is-done::after { background: var(--alta); }
.events { list-style: none; display: grid; gap: .6rem; font-size: .92rem; }
.events time { color: var(--kohl-70); display: block; font-size: .82rem; }

/* ---------------------------------------------------------------- prose / CMS */
.prose { max-width: 72ch; padding-bottom: var(--space-8); }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); margin-top: var(--space-7); }
.prose h3 { font-size: 1.15rem; margin-top: var(--space-5); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0 var(--space-5); font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--kohl-12); vertical-align: top; }
.prose th { background: var(--petal-soft); }
.prose blockquote { margin: var(--space-4) 0; padding: var(--space-3) var(--space-5); border-left: 3px solid var(--alta); background: var(--pearl); }
.prose a { color: var(--alta); font-weight: 600; }
.cms-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .cms-layout { grid-template-columns: 240px 1fr; gap: var(--space-8); } }
.cms-nav { font-size: .92rem; }
@media (min-width: 1000px) { .cms-nav { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; } }
.cms-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 1000px) { .cms-nav ul { flex-direction: column; } }
.cms-nav a { display: block; padding: .35rem .8rem; border-radius: var(--r-pill); text-decoration: none; }
.cms-nav a[aria-current="page"] { background: var(--kohl); color: var(--pearl); }
.faq-group { margin-bottom: var(--space-6); }
.faq-group h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); }
.faq-item { border-bottom: 1px solid var(--kohl-12); }
.faq-item summary { padding: var(--space-4) 2rem var(--space-4) 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .prose { padding-bottom: var(--space-3); }

/* ---------------------------------------------------------------- misc pages */
.narrow { max-width: 640px; margin-inline: auto; }
.error-page { text-align: center; padding-block: var(--space-9); }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 24vw, 14rem); line-height: .8; color: var(--alta); }
.about-hero { display: grid; gap: var(--space-6); align-items: center; padding-bottom: var(--space-7); }
@media (min-width: 900px) { .about-hero { grid-template-columns: 1fr 1fr; } }
.stickers { display: flex; gap: var(--space-4); }
.stickers img { width: 45%; max-width: 220px; }
.two-col { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* studio (render stage) */
.page-studio { margin: 0; background: var(--nude); }
.studio-stage { width: 1200px; height: 1500px; }

/* ---------------------------------------------------------------- custom builder */
.builder { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); }
@media (min-width: 1000px) { .builder { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; } .builder__preview { position: sticky; top: calc(var(--header-h) + 1rem); } }
.builder__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-media); overflow: hidden; background: radial-gradient(120% 80% at 50% 20%, #fff3ee, var(--petal)); }
.builder__stage canvas { width: 100% !important; height: 100% !important; touch-action: none; }
@media (max-width: 999px) { .builder__stage { aspect-ratio: 4 / 3; } }
.builder__price { margin-top: var(--space-3); }
.bstep { padding-block: var(--space-5); border-bottom: 1px solid var(--kohl-12); }
.bstep h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; }
.bstep .steps__n { color: var(--alta); font-size: 2rem; }
.bstep .label { margin: var(--space-4) 0 var(--space-2); display: block; }
.swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--pearl); background: var(--sw); box-shadow: 0 0 0 1.5px var(--kohl-12); padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--kohl); }
.swatch--pick { position: relative; display: grid; place-items: center; background: conic-gradient(#C8102E, #C9A24A, #7A9A80, #2A4B8D, #6B3FA0, #C8102E); cursor: pointer; overflow: hidden; }
.swatch--pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.patterns { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.pattern { display: grid; justify-items: center; gap: .3rem; padding: .5rem .3rem; border-radius: var(--r-input); border: 1.5px solid var(--kohl-12); background: var(--pearl); font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.2; }
.pattern[aria-checked="true"] { border-color: var(--kohl); box-shadow: 0 0 0 2px var(--kohl); }
.pattern__swatch { width: 30px; height: 60px; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; object-fit: cover; }
.uploads { display: flex; flex-wrap: wrap; gap: .5rem; }
.upload-tile, .upload-thumb { position: relative; width: 96px; height: 120px; border-radius: var(--r-input); margin: 0; }
.upload-tile { display: grid; place-items: center; align-content: center; gap: .3rem; border: 1.5px dashed var(--kohl-50); background: var(--pearl); cursor: pointer; font-size: .82rem; font-weight: 600; }
.upload-tile svg { width: 22px; height: 22px; }
.upload-tile.is-loading { opacity: .5; pointer-events: none; }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-input); }
.upload-thumb .icon-btn { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; background: var(--pearl); }
.upload-thumb .icon-btn svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- try-on studio */
.tryon { padding-bottom: var(--space-8); }
.tryon__top { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-block: var(--space-5); }
.tryon__top .display-2 { margin-bottom: .2rem; }
.tryon__top .fine { margin: 0; max-width: 52ch; }
.tryon__modes { display: flex; gap: .3rem; padding: .3rem; border-radius: var(--r-pill); background: var(--pearl); }
.tryon__modes button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: var(--r-pill); border: 0; background: transparent; font-weight: 600; }
.tryon__modes button svg { width: 18px; height: 18px; }
.tryon__modes button[aria-selected="true"] { background: var(--alta); color: var(--pearl); }
.tryon__body { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) { .tryon__body { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.tryon__viewport { position: relative; display: grid; place-items: center; min-height: 360px; border-radius: var(--r-media); overflow: hidden; background: var(--kohl); }
@media (min-width: 1000px) { .tryon__viewport { position: sticky; top: calc(var(--header-h) + 1rem); min-height: 70vh; } }
.tryon__media { position: relative; width: 100%; max-height: 78vh; }
.tryon__media[hidden] { display: none; }
.tryon__media video, .tryon__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tryon__media.is-mirrored video, .tryon__media.is-mirrored .tryon__gl { transform: scaleX(-1); }
.tryon__gl { position: absolute; inset: 0; pointer-events: none; }
.tryon__stage3d { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 20%, #fff3ee, var(--petal)); }
.tryon__stage3d canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.tryon__status { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; padding: .6rem 1rem; border-radius: var(--r-input); background: rgba(37,10,18,.78); color: var(--pearl); font-size: .92rem; text-align: center; backdrop-filter: blur(6px); }
.tryon__status:empty, .tryon__status[hidden] { display: none; }
.tryon__tools { position: absolute; top: .8rem; right: .8rem; display: flex; gap: .4rem; }
.tryon__tool { background: rgba(255,247,243,.9); color: var(--kohl); }
.tryon__tool:hover { background: var(--pearl); }
.tryon__panel { display: grid; gap: var(--space-5); }
.tryon__hands { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
.hand-pick { flex: none; display: grid; gap: .25rem; justify-items: center; width: 76px; padding: 0; border: 0; background: none; font-size: .78rem; font-weight: 600; cursor: pointer; }
.hand-pick img, .hand-pick--upload svg { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; }
.hand-pick--upload svg { padding: 24px; border: 1.5px dashed var(--kohl-50); background: var(--pearl); }
.tryon__designs { display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: .5rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .3rem; }
.design-pick { display: grid; gap: .3rem; padding: 0; border: 0; background: none; font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.2; }
.design-pick img { width: 88px; height: 110px; object-fit: cover; border-radius: 14px; background: var(--petal); border: 2px solid transparent; }
.design-pick[aria-pressed="true"] img { border-color: var(--alta); box-shadow: 0 0 0 2px var(--alta); }
.tryon__cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.tryon__cta-row { display: flex; gap: .5rem; }
.tryon__body > *, .pdp > *, .builder > *, .listing > *, .checkout-layout > *, .cart-layout > * { min-width: 0; }

/* ---------------------------------------------------------------- sign-in */
.signin { width: min(420px, calc(100vw - 2rem)); text-align: left; }
.signin__close { position: absolute; top: .6rem; right: .6rem; }
.signin__mark { width: 40px; height: 40px; color: var(--alta); margin-bottom: var(--space-3); }
.signin__tabs { display: flex; gap: .3rem; padding: .25rem; margin: var(--space-4) 0; border-radius: var(--r-pill); background: var(--pearl); }
.signin__tabs button { flex: 1; min-height: 40px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 600; }
.signin__tabs button[aria-selected="true"] { background: var(--kohl); color: var(--pearl); }
.signin__phone { display: flex; }
.signin__phone span { display: grid; place-items: center; padding: 0 .9rem; border: 1.5px solid var(--kohl-12); border-right: 0; border-radius: var(--r-input) 0 0 var(--r-input); background: var(--petal-soft); font-weight: 700; }
.signin__phone input { border-radius: 0 var(--r-input) var(--r-input) 0 !important; }
.signin__code { letter-spacing: .5em; text-align: center; font-size: 1.4rem !important; font-weight: 700; }
.signin__row { display: flex; justify-content: space-between; margin-top: .6rem; }
.signin__or { display: flex; align-items: center; gap: .8rem; margin: var(--space-4) 0; color: var(--kohl-50); font-size: .85rem; }
.signin__or::before, .signin__or::after { content: ""; flex: 1; height: 1px; background: var(--kohl-12); }
.signin [data-google] svg { width: 18px; height: 18px; }
.signin__legal { margin: var(--space-4) 0 0; }
/* While the cookie notice is showing on mobile, let the page scroll every field clear of it. */
@media (max-width: 760px) { body:has(.consent:not([hidden])) { padding-bottom: 96px; } }
