/* Maison Assal — vitrine
   Concept : galerie blanche. Fond blanc pur, ivoire pour les respirations, encre profonde,
   un seul accent champagne pour les détails. Le volume vient de la typographie Didone et de l'espace. */
:root {
  --white: #FFFFFF;
  --ivory: #F7F5F1;
  --ink: #111111;
  --ink-2: #3A3A38;
  --muted: #8A8780;
  --line: #E9E6E0;
  --gold: #A88757;
  --gold-soft: #EDE4D6;
  --wa: #128C5E;
  --ok: #2E7D5B;
  --warn: #B4652C;
  --scrim: rgba(20, 18, 15, .38);

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-body: 'Jost', 'Futura', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1380px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; background: #FFFFFF; color-scheme: light only; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 15.5px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 900px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }

.eyebrow { margin: 0 0 .9rem; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.sec-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.06; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); flex-wrap: wrap; }

/* Reveal: visible by default; JS adds .pre only to elements below the fold */
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.pre { opacity: 0; transform: translateY(26px); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.9rem; overflow: hidden; isolation: isolate;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--ink); transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark::before { background: var(--gold); }
.btn-dark:hover { border-color: var(--gold); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--white); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa::before { background: #0E7049; }
.btn-wa svg { width: 18px; height: 18px; stroke-width: 1.5; }
.btn .arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn-block { width: 100%; }
.btn-text { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding-block: .4rem; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.btn-text:hover { color: var(--gold); background-size: 40% 1px; }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; position: relative; transition: color .25s; }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { color: var(--gold); }
.round { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; display: inline-grid; place-items: center; transition: border-color .3s, background .3s, color .3s; background: var(--white); }
.round svg { width: 18px; height: 18px; }
.round:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.rail-ctrl { display: none; gap: .5rem; }
@media (min-width: 900px) { .rail-ctrl { display: flex; } }
.pip { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .62rem; font-weight: 500; line-height: 17px; text-align: center; font-variant-numeric: tabular-nums; }
.pip-dark { background: var(--ink); }
.pip.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }

/* Announcement */
.announce { background: var(--ink); color: #EDE9E2; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; height: 36px; overflow: hidden; position: relative; }
.announce-track p { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding-inline: var(--gutter) var(--gutter-r); opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce-track p.active { opacity: 1; transform: none; }
.announce-track p.out { opacity: 0; transform: translateY(-100%); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--head-h); gap: 1rem; }
.head-left { display: flex; align-items: center; min-width: 0; }
.menu-btn { margin-left: -10px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: clamp(1.15rem, 4.4vw, 1.6rem); letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin: 0; white-space: nowrap; padding-left: .2em; }
.brand-sub { font-size: .55rem; letter-spacing: .6em; text-transform: uppercase; color: var(--gold); margin-top: .45rem; padding-left: .6em; }
.head-actions { display: flex; justify-content: flex-end; align-items: center; margin-right: -10px; }
.head-note { display: none; margin: 0; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-row { display: none; }
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .head-note { display: block; }
  .nav-row { display: block; border-top: 1px solid var(--line); }
  .main-nav { display: flex; justify-content: center; gap: 2.8rem; }
  .main-nav a { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding-block: 1rem; position: relative; white-space: nowrap; transition: color .3s; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .main-nav a:hover::after, .main-nav a.on::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .site-header.scrolled .head-row { min-height: 64px; }
}
.head-row { transition: min-height .4s var(--ease); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; box-shadow: 0 30px 50px -40px rgba(0,0,0,.25); }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding-block: 2.2rem 2.6rem; }
.mega-intro h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; margin: 0 0 .4rem; }
.mega-intro p { color: var(--muted); margin: 0 0 1.4rem; max-width: 30ch; }
.mega-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.mega-item img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--ivory); transition: transform .8s var(--ease); }
.mega-item .mi-img { overflow: hidden; }
.mega-item:hover img { transform: scale(1.05); }
.mega-item p { margin: .6rem 0 0; font-size: .85rem; }
.mega-item span { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* Hero */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem); background: var(--white); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } }
.hero-copy { min-width: 0; padding-block: 1rem; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.025em; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.2s var(--ease-out) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title em { font-style: italic; color: var(--gold); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-lede { font-size: 1.08rem; color: var(--ink-2); max-width: 40ch; margin: 1.8rem 0 2.2rem; font-weight: 300; }
.hero-cta { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }

.hero-stage { position: relative; min-width: 0; }
.hero-frame { position: relative; aspect-ratio: 4 / 4.6; width: 100%; max-width: 100%; overflow: hidden; background: var(--ivory); }
@media (min-width: 960px) { .hero-frame { aspect-ratio: 4 / 4.8; } }
.hero-slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-out); }
.hero-slide.active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero-slide.leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1.6s var(--ease-out); }
.hero-slide.active img { transform: scale(1.03) translate3d(var(--px, 0), var(--py, 0), 0); }
.hero-tag {
  position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2.2rem; z-index: 3; background: var(--white); padding: 1.1rem 1.3rem; min-width: 230px; max-width: 72%;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); display: grid; gap: .15rem; transition: opacity .4s var(--ease), transform .5s var(--ease);
}
@media (max-width: 959px) { .hero-tag { left: 12px; bottom: 12px; } }
.hero-tag.swap { opacity: 0; transform: translateY(10px); }
.hero-tag .t-cat { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hero-tag .t-name { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.2; }
.hero-tag .t-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .35rem; }
.hero-tag .t-price { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.hero-tag button { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-tag button:hover { color: var(--gold); }
.hero-nav { display: flex; gap: .5rem; margin-top: 1rem; justify-content: flex-end; }
.hero-nav button { position: relative; width: 56px; height: 24px; display: grid; align-items: center; }
.hero-nav button::before { content: ""; height: 1px; background: var(--line); width: 100%; }
.hero-nav button::after { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-nav button[aria-current="true"]::after { animation: prog var(--dur, 6s) linear forwards; }
.hero-nav.paused button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--white); padding-block: 1.05rem; }
.marquee-track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; white-space: nowrap; }
.marquee i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Collections rail */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); }
.cat-rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .cat-rail { grid-auto-columns: minmax(260px, 38%); } }
@media (min-width: 1100px) { .cat-rail { grid-auto-columns: calc((100% - 56px) / 5); margin: 0; padding: 0; } }
.cat-tile { scroll-snap-align: start; position: relative; display: block; text-align: left; }
.cat-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ivory); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat-tile:hover .cat-img img { transform: scale(1.07); }
.cat-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(17,17,17,.42)); opacity: .0; transition: opacity .6s var(--ease); }
.cat-tile:hover .cat-img::after { opacity: 1; }
.cat-go { position: absolute; left: 1.1rem; bottom: 1rem; color: #fff; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); z-index: 2; }
.cat-tile:hover .cat-go { opacity: 1; transform: none; }
.cat-meta { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-top: 1rem; }
.cat-name { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15; }
.cat-count { font-size: .74rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cat-desc { display: block; font-size: .84rem; color: var(--muted); margin-top: .15rem; }

/* Tabs */
.tabs { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.tabs button { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: #C7C3BB; transition: color .35s var(--ease); line-height: 1.1; position: relative; }
.tabs button:hover { color: var(--ink-2); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 28px; height: 1px; background: var(--gold); }

/* Product rails */
.picks { background: var(--ivory); }
.prod-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); }
.prod-rail::-webkit-scrollbar { display: none; }
.prod-rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .prod-rail { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1100px) { .prod-rail { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; margin: 0; padding: 0; } }
.prod-rail.small { grid-auto-columns: minmax(150px, 42%); }
@media (min-width: 700px) { .prod-rail.small { grid-auto-columns: calc((100% - 64px) / 5); } }
.prod-rail.swap { animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }

/* Filter bar */
.result-count { color: var(--muted); font-size: .82rem; margin: 0; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.filterbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--sticky-h, 76px)); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: .8rem; padding-block: .9rem; border-bottom: 1px solid var(--line); margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); transition: top .45s var(--ease); }
.site-header.hide ~ main .filterbar { top: env(safe-area-inset-top, 0px); }
@media (min-width: 1020px) { .filterbar { flex-direction: row; justify-content: space-between; align-items: center; } }
.chips { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-block: .4rem; position: relative; transition: color .3s; white-space: nowrap; }
.chip sup { font-size: .6rem; margin-left: .2rem; letter-spacing: 0; }
.chip:hover { color: var(--ink); }
.chip[aria-selected="true"] { color: var(--ink); }
.chip[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }
.tools { display: flex; align-items: center; gap: .6rem; }
.tool-btn, .tool-select select { height: 40px; display: inline-flex; align-items: center; gap: .5rem; padding: 0 .9rem; border: 1px solid var(--line); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: var(--white); transition: border-color .25s; }
.tool-btn:hover, .tool-select select:hover, .tool-btn[aria-expanded="true"] { border-color: var(--ink); }
.tool-btn svg { width: 17px; height: 17px; }
.tool-n { background: var(--ink); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; font-size: .62rem; display: grid; place-items: center; letter-spacing: 0; }
.tool-select select { appearance: none; padding-right: 2rem; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .6rem center / 14px no-repeat; }
.density { display: none; border: 1px solid var(--line); height: 40px; }
@media (min-width: 900px) { .density { display: inline-flex; } }
.density button { width: 40px; display: grid; place-items: center; color: #BDB8AF; transition: color .25s; }
.density button svg { width: 16px; height: 16px; }
.density button[aria-pressed="true"], .density button:hover { color: var(--ink); }

.filter-panel { display: grid; gap: 1.8rem; padding: 1.6rem 0 2rem; border-bottom: 1px solid var(--line); animation: fadeIn .45s var(--ease); }
@media (min-width: 800px) { .filter-panel { grid-template-columns: 1.1fr 1.4fr 1fr; gap: 3rem; } }
.fp-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.range { position: relative; height: 22px; }
.range-track { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line); }
.range-fill { position: absolute; top: 0; height: 2px; background: var(--ink); }
.range input { position: absolute; left: 0; width: 100%; top: 0; height: 22px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); pointer-events: auto; cursor: grab; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.range input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); pointer-events: auto; cursor: grab; }
.range-out { display: flex; justify-content: space-between; font-size: .86rem; margin: .8rem 0 0; font-variant-numeric: tabular-nums; }
.size-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.size-grid button { min-width: 44px; height: 38px; padding: 0 .7rem; border: 1px solid var(--line); font-size: .82rem; font-variant-numeric: tabular-nums; transition: all .2s; }
.size-grid button:hover { border-color: var(--ink); }
.size-grid button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-grid .hint { color: var(--muted); font-size: .85rem; margin: 0; }
.check { display: flex; align-items: center; gap: .7rem; font-size: .9rem; cursor: pointer; margin-bottom: .7rem; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 18px; height: 18px; border: 1px solid #C9C4BA; display: grid; place-items: center; transition: all .2s; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .box { outline: 1.5px solid var(--gold); outline-offset: 2px; }
.fp-reset { margin-top: .6rem; }

/* Grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; padding-top: 2rem; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; } }
@media (min-width: 1180px) { .grid[data-density="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid[data-density="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; } }
.card { min-width: 0; display: flex; flex-direction: column; }
.card.enter { animation: cardIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.card-open { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.card-media .img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .img-alt { opacity: 1; }
  .card:hover .img-main { transform: scale(1.05); }
}
.card.sold .card-media img { filter: grayscale(.6); opacity: .75; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .32rem .6rem; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; background: var(--white); color: var(--ink); font-weight: 500; pointer-events: none; }
.badge.low { background: var(--ink); color: #fff; }
.badge.sale { background: var(--gold); color: #fff; }
.badge.sold { background: transparent; border: 1px solid var(--ink-2); color: var(--ink-2); }
.heart { position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: transform .3s var(--ease), background .3s; }
.heart svg { width: 19px; height: 19px; transition: fill .3s, stroke .3s; }
.heart:hover { background: rgba(255,255,255,.85); }
.heart[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }
.heart.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .7rem .8rem .8rem; transform: translateY(calc(100% + 14px)); transition: transform .5s var(--ease); }
.quick-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 .45rem; text-align: center; }
.quick-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
.quick-sizes button { min-width: 36px; height: 32px; padding: 0 .45rem; font-size: .78rem; border: 1px solid transparent; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s, color .2s; }
.quick-sizes button:hover:not(:disabled) { border-color: var(--ink); }
.quick-sizes button:disabled { color: #C9C4BA; text-decoration: line-through; cursor: not-allowed; }
.quick-add { width: 100%; height: 38px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; background: var(--ink); color: #fff; transition: background .3s; }
.quick-add:hover { background: var(--gold); }
@media (hover: hover) { .card:hover .quick, .card:focus-within .quick { transform: none; } }
@media (hover: none) { .quick { display: none; } }
.card-body { padding-top: 1rem; display: grid; gap: .2rem; min-width: 0; }
.card-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.card-cat { margin: 0; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card-name { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.16rem; line-height: 1.22; }
.card-name button { text-align: left; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.card-name button:hover { background-size: 100% 1px; }
.card-mat { margin: 0; font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-price { margin: .25rem 0 0; display: flex; gap: .55rem; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; font-size: .95rem; }
.card-price s { color: var(--muted); font-size: .8rem; }
.card-price .sale { color: var(--gold); }
@media (max-width: 520px) { .card-name { font-size: 1rem; } .card-mat { display: none; } }

.more { display: grid; justify-items: center; gap: .9rem; padding-top: 3.5rem; }
.more-count { margin: 0; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.more-bar { width: 200px; height: 1px; background: var(--line); position: relative; }
.more-bar span { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width .6s var(--ease); }
.empty { text-align: center; padding: 5rem 1rem; color: var(--muted); }
.empty-title { font-family: var(--f-display); font-size: 1.7rem; color: var(--ink); margin: 0 0 .3rem; }
.empty .btn { margin-top: 1.4rem; }

/* Story */
.story { background: var(--ivory); }
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.story-visual { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--white); }
.story-visual img { position: absolute; width: 62%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); transition: transform 1.2s var(--ease-out); }
.story-visual img:nth-child(1) { left: 6%; top: 8%; }
.story-visual img:nth-child(2) { right: 6%; bottom: 8%; width: 48%; }
.story-visual:hover img:nth-child(1) { transform: translate(-6px, -6px); }
.story-visual:hover img:nth-child(2) { transform: translate(6px, 6px); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid #E2DDD4; }
.step-n { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; color: var(--gold); font-style: italic; }
.steps h3 { margin: 0 0 .25rem; font-weight: 500; font-size: 1rem; letter-spacing: .02em; }
.steps p { margin: 0; color: var(--ink-2); font-weight: 300; max-width: 46ch; }
.pay-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.pay-row span { border: 1px solid #DCD6CC; background: var(--white); padding: .5rem .9rem; font-size: .76rem; letter-spacing: .08em; }

/* Footer */
.site-footer { padding-top: clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.foot-top { display: grid; gap: 2.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand { grid-column: 1 / -1; display: grid; gap: .8rem; justify-items: start; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-tag { color: var(--muted); margin: 0 0 .6rem; }
.site-footer h4 { margin: 0 0 1rem; font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.foot-col p { margin: 0 0 .35rem; font-size: .9rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .9rem; }
.foot-links button:hover { color: var(--gold); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 2.5rem 2rem; margin-top: 3.5rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); letter-spacing: .04em; }

/* WhatsApp float */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(18,140,94,.6); transition: transform .4s var(--ease); }
.wa-float svg { width: 26px; height: 26px; stroke-width: 1.5; }
.wa-float .fill { fill: currentColor; stroke: none; }
.wa-float:hover { transform: translateY(-3px); }
.wa-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: .78rem; padding: .5rem .8rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 600px) { .wa-tip { display: none; } }

/* Overlays */
.scrim { position: fixed; inset: 0; background: var(--scrim); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; z-index: 70; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(460px, 100%); background: var(--white); z-index: 80; display: flex; flex-direction: column; visibility: hidden; transition: transform .6s var(--ease-out), visibility .6s; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer-right { right: 0; transform: translateX(100%); padding-right: env(safe-area-inset-right, 0px); }
.drawer-left { left: 0; width: min(380px, 90%); transform: translateX(-100%); padding-left: env(safe-area-inset-left, 0px); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); min-height: 72px; }
.drawer-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; }
.drawer-head .icon-btn { margin-right: -10px; }
.menu-list { display: flex; flex-direction: column; padding: 1.2rem 1.5rem; flex: 1; overflow-y: auto; }
.menu-list button { display: flex; justify-content: space-between; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.6rem; text-align: left; transition: padding .35s var(--ease), color .3s; }
.menu-list button:hover { padding-left: .5rem; color: var(--gold); }
.menu-list button span { font-family: var(--f-body); font-size: .76rem; color: var(--muted); }
.menu-foot { padding: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; background: var(--ivory); }
.menu-foot p { margin: 0; }

.cart-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ship { padding: 1rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--ivory); }
.ship p { margin: 0 0 .6rem; font-size: .84rem; }
.ship strong { font-weight: 500; }
.ship-bar { height: 2px; background: #E2DDD4; position: relative; overflow: hidden; }
.ship-bar span { position: absolute; inset: 0 auto 0 0; background: var(--gold); transition: width .8s var(--ease-out); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 1.5rem; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); animation: fadeIn .45s var(--ease); }
.cart-item img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ivory); }
.ci-top { display: flex; justify-content: space-between; gap: .5rem; }
.ci-name { margin: 0; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.25; }
.ci-var { margin: .2rem 0 0; font-size: .78rem; color: var(--muted); }
.ci-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; gap: .5rem; }
.ci-price { font-variant-numeric: tabular-nums; font-size: .92rem; }
.ci-remove { color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; align-self: flex-start; margin-right: -6px; }
.ci-remove svg { width: 15px; height: 15px; }
.ci-remove:hover { color: var(--ink); }
.ci-move { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; margin-top: .5rem; }
.ci-move:hover { color: var(--gold); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.stepper button { width: 32px; height: 100%; display: grid; place-items: center; font-size: 1rem; transition: color .2s; }
.stepper button:hover:not(:disabled) { color: var(--gold); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.stepper.lg { height: 54px; }
.stepper.lg button { width: 44px; }
.cart-empty { flex: 1; display: grid; place-content: center; text-align: center; gap: .6rem; padding: 2rem; }
.cart-empty svg { width: 42px; height: 42px; margin: 0 auto .6rem; color: var(--gold); stroke-width: 1; }
.cart-empty p { margin: 0; }
.cart-empty .big { font-family: var(--f-display); font-size: 1.7rem; }
.cart-empty .btn { margin-top: 1.2rem; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.1rem 1.5rem 1.3rem; display: grid; gap: .85rem; background: var(--white); max-height: 64vh; overflow-y: auto; box-shadow: 0 -20px 30px -30px rgba(0,0,0,.2); }
.cart-form { display: grid; gap: .6rem; }
.field-f { position: relative; }
.field-f input, .field-f select, .field-f textarea { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 1.15rem .85rem .45rem; font-size: .92rem; outline: none; border-radius: 0; transition: border-color .25s; appearance: none; }
.field-f textarea { resize: none; min-height: 52px; }
.field-f label { position: absolute; left: .85rem; top: .95rem; font-size: .86rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field-f input:focus, .field-f select:focus, .field-f textarea:focus { border-color: var(--ink); }
.field-f input:focus + label, .field-f input:not(:placeholder-shown) + label,
.field-f textarea:focus + label, .field-f textarea:not(:placeholder-shown) + label,
.field-f select + label { top: .38rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.field-f select { cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .7rem center / 14px no-repeat; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 380px) { .form-row { grid-template-columns: 1fr; } }
.sum { display: grid; gap: .35rem; font-size: .9rem; }
.sum div { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.sum .total { font-family: var(--f-display); font-size: 1.35rem; padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.sum .ref { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.fine { font-size: .74rem; color: var(--muted); margin: 0; text-align: center; }
.sent-note { background: #EEF6F1; border: 1px solid #CFE6D9; padding: .85rem 1rem; font-size: .85rem; display: grid; gap: .5rem; }
.sent-note p { margin: 0; }
.link-btn { text-decoration: underline; text-underline-offset: 3px; font-size: .8rem; justify-self: start; }

/* Search */
.search { position: fixed; inset: 0; z-index: 85; background: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.search.open { opacity: 1; visibility: visible; }
.search-inner { padding-block: 1.5rem 4rem; transform: translateY(-14px); transition: transform .5s var(--ease-out); }
.search.open .search-inner { transform: none; }
.search-bar { display: flex; align-items: center; gap: .9rem; border-bottom: 1px solid var(--ink); padding-bottom: .6rem; }
.search-bar > svg { width: 24px; height: 24px; flex: none; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: var(--f-display); font-size: clamp(1.4rem, 3.5vw, 2.4rem); padding: .4rem 0; }
.search-bar input::placeholder { color: #C9C4BA; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-suggest { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1.4rem; font-size: .8rem; }
.search-suggest span { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .66rem; margin-right: .4rem; }
.search-suggest button { border: 1px solid var(--line); padding: .45rem .85rem; transition: border-color .2s; }
.search-suggest button:hover { border-color: var(--ink); }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 2rem; }
@media (min-width: 760px) { .search-results { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .search-results { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sr-item { text-align: left; display: grid; gap: .5rem; animation: fadeIn .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.sr-item img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--ivory); transition: opacity .3s; }
.sr-item:hover img, .sr-item.kb img { opacity: .85; }
.sr-item.kb { outline: 1.5px solid var(--gold); outline-offset: 4px; }
.sr-item p { margin: 0; font-size: .86rem; line-height: 1.3; }
.sr-item mark { background: var(--gold-soft); color: inherit; }
.sr-item span { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.sr-head { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.sr-none { grid-column: 1 / -1; font-family: var(--f-display); font-size: 1.4rem; margin: 1rem 0; }

/* Product modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.modal.open { visibility: visible; pointer-events: auto; }
.modal-panel { background: var(--white); width: 100%; height: 100%; overflow-y: auto; display: grid; position: relative; opacity: 0; transform: translateY(30px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease-out); padding-bottom: env(safe-area-inset-bottom, 0px); overscroll-behavior: contain; }
.modal.open .modal-panel { opacity: 1; transform: none; }
@media (min-width: 960px) {
  .modal { padding: 28px; }
  .modal-panel { width: min(1180px, 100%); height: auto; max-height: calc(100vh - 56px); grid-template-columns: 1.1fr 1fr; overflow: hidden; }
}
.pm-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); z-index: 5; background: var(--white); border-radius: 50%; }
.pm-gallery { position: relative; background: var(--ivory); min-width: 0; }
.pm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.pm-track::-webkit-scrollbar { display: none; }
.pm-slide { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; cursor: zoom-in; position: relative; }
.pm-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pm-slide.zoom img { transform: scale(2); }
.pm-slide.zoom { cursor: zoom-out; }
@media (min-width: 960px) { .pm-gallery { display: flex; flex-direction: column; max-height: calc(100vh - 56px); } .pm-track { flex: 1; min-height: 0; aspect-ratio: auto; } }
.pm-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.pm-dots button { width: 26px; height: 18px; display: grid; align-items: center; }
.pm-dots button::before { content: ""; height: 1.5px; background: rgba(17,17,17,.25); transition: background .3s; }
.pm-dots button[aria-current="true"]::before { background: var(--ink); }
.pm-arrows { position: absolute; top: 50%; left: 12px; right: 12px; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; z-index: 2; }
.pm-arrows .round { pointer-events: auto; opacity: 0; transition: opacity .3s, background .3s, color .3s, border-color .3s; }
.pm-gallery:hover .pm-arrows .round { opacity: 1; }
@media (hover: none) { .pm-arrows { display: none; } }
.pm-info { padding: 1.8rem var(--gutter-r) 2.4rem var(--gutter); display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
@media (min-width: 960px) { .pm-info { padding: 3.4rem 3.4rem 2.6rem; overflow-y: auto; max-height: calc(100vh - 56px); } }
.pm-crumbs { display: flex; gap: .5rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pm-crumbs button:hover { color: var(--ink); }
.pm-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.05; margin: 0; text-wrap: balance; }
.pm-price { display: flex; align-items: baseline; gap: .8rem; font-size: 1.3rem; font-variant-numeric: tabular-nums; margin: 0; }
.pm-price s { font-size: .95rem; color: var(--muted); }
.stock-line { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; margin: 0; }
.stock-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46,125,91,.12); }
.stock-line.low::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(180,101,44,.12); }
.stock-line.out { color: var(--muted); }
.stock-line.out::before { background: var(--muted); box-shadow: none; }
.pm-desc { margin: 0; color: var(--ink-2); max-width: 54ch; font-weight: 300; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.opt-label { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.opt-picked { font-size: .86rem; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt { min-width: 52px; height: 46px; padding: 0 1rem; border: 1px solid var(--line); font-size: .9rem; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s, color .2s; position: relative; }
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt:disabled { color: #C9C4BA; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.opt .left { position: absolute; top: -7px; right: -6px; background: var(--warn); color: #fff; font-size: .55rem; padding: 1px 4px; letter-spacing: .04em; }
.opt-error { color: var(--warn); font-size: .82rem; margin: .5rem 0 0; min-height: 1.2em; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.pm-actions { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; }
.pm-actions .btn-wa { grid-column: 1 / -1; }
.pm-actions .heart { position: static; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 0; }
.pm-actions .heart:hover { border-color: var(--ink); background: var(--white); }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.2rem; font-weight: 300; transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding-bottom: 1.1rem; font-size: .88rem; color: var(--ink-2); }
.acc-body dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.4rem; margin: 0; }
.acc-body dt { color: var(--muted); }
.acc-body dd { margin: 0; }
.acc-body table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.acc-body th, .acc-body td { text-align: left; padding: .4rem .6rem .4rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.acc-body th { color: var(--muted); font-size: .76rem; }
.tbl { overflow-x: auto; }
.pm-share { display: flex; gap: 1.2rem; align-items: center; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pm-share button:hover { color: var(--ink); }
.pm-related { grid-column: 1 / -1; padding: 2.4rem var(--gutter-r) 2.6rem var(--gutter); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .pm-related { display: none; } }
.pm-related h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; margin: 0 0 1.2rem; }
.pm-rel-inline h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; margin: .4rem 0 1rem; }
.pm-rel-inline { display: none; }
@media (min-width: 960px) { .pm-rel-inline { display: block; } }
.rel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rel-row button { text-align: left; display: grid; gap: .35rem; }
.rel-row img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--ivory); transition: opacity .3s; }
.rel-row button:hover img { opacity: .85; }
.rel-row p { margin: 0; font-size: .8rem; line-height: 1.25; }
.rel-row span { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Fly to cart */
.fly { position: fixed; z-index: 120; pointer-events: none; object-fit: cover; transition: transform .8s cubic-bezier(.5,-.2,.6,1), opacity .8s; box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 130; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: all .45s var(--ease); background: var(--ink); color: #fff; padding: .85rem 1.2rem; font-size: .86rem; display: flex; gap: 1.2rem; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast img { width: 34px; height: 42px; object-fit: cover; }
.toast button { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; white-space: nowrap; color: #E7D6B8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.pre { opacity: 1; transform: none; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 959px) {
  :root { --head-h: 60px; }
  .section { padding-block: 3.2rem; }
  .head-row { gap: .25rem; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn svg { width: 20px; height: 20px; }
  .head-actions { margin-right: -8px; }
  .menu-btn { margin-left: -8px; }
  .brand-name { font-size: 1.12rem; letter-spacing: .24em; }
  .brand-sub { font-size: .48rem; margin-top: .35rem; }

  .hero { padding-block: 0 2.6rem; }
  .hero-grid { gap: 1.8rem; }
  .hero-stage { order: -1; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); }
  .hero-frame { aspect-ratio: 4 / 4.6; }
  .hero-slide, .hero-slide.active, .hero-slide.leaving { clip-path: none; opacity: 0; transition: opacity .9s var(--ease); }
  .hero-slide.active { opacity: 1; }
  .hero-slide img, .hero-slide.active img { transform: none; }
  .hero-tag { display: none; }
  .hero-nav { position: absolute; left: 0; right: 0; bottom: 18px; justify-content: center; margin: 0; z-index: 3; }
  .hero-nav button { width: 22px; }
  .hero-copy { padding: 0; text-align: left; }
  .hero-copy .eyebrow { margin-bottom: .7rem; }
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3.4rem); line-height: 1.02; }
  .hero-lede { font-size: .98rem; margin: 1rem 0 1.6rem; max-width: 34ch; }
  .hero-cta { gap: 1.2rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-cta .btn-text { display: none; }

  .sec-title { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .sec-head { margin-bottom: 1.4rem; }
  .sec-head > div { min-width: 0; max-width: 100%; }
  .tabs { gap: 1.3rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; max-width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { font-size: 1.3rem; white-space: nowrap; flex: none; }
  .cat-rail, .prod-rail { scroll-padding-inline: var(--gutter) var(--gutter-r); }
  .cat-name { font-size: 1.18rem; }

  .filterbar { gap: .6rem; padding-block: .7rem; }
  .chips { gap: 1.2rem; }
  .tools { width: 100%; }
  .tool-btn { flex: 1; justify-content: center; }
  .tool-select { flex: 1; }
  .tool-select select { width: 100%; }
  .grid { gap: 28px 10px; padding-top: 1.4rem; }
  .card-body { padding-top: .75rem; }
  .card-cat { font-size: .56rem; }
  .card-price { font-size: .88rem; }
  .badge { top: 8px; left: 8px; font-size: .52rem; padding: .26rem .45rem; }
  .heart { top: 4px; right: 4px; }

  .story-visual { display: none; }
  .steps li { grid-template-columns: 40px 1fr; padding: 1.1rem 0; }
  .foot-top { gap: 2rem; }
  .foot-base { margin-top: 2.4rem; flex-direction: column; gap: .4rem; }

  .wa-float { width: 50px; height: 50px; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 23px; height: 23px; }
  .drawer-head { min-height: 60px; padding: .7rem 1.2rem; }
  .cart-items { padding: 0 1.2rem; }
  .cart-foot { padding: 1rem 1.2rem 1.2rem; }
  .search-inner { padding-block: 1rem 3rem; }
}

/* ---------- E-commerce mobile patterns ---------- */
.cat-strip, .tabbar, .fp-head, .fp-apply { display: none; }
.tabbar .tb-pip { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gold); color: #fff; font-size: .58rem; font-style: normal; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.tabbar .tb-pip.dark { background: var(--ink); }

@media (max-width: 959px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  #wishBtn, #cartBtn { display: none; }
  .wa-float { display: none; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* category strip under the header */
  .cat-strip { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter-r) 0 var(--gutter); border-top: 1px solid var(--line); background: var(--white); }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-strip button { flex: none; height: 44px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); position: relative; white-space: nowrap; }
  .cat-strip button[aria-current="true"] { color: var(--ink); }
  .cat-strip button[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); }

  /* bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .tabbar a, .tabbar button { position: relative; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
  .tabbar svg { width: 21px; height: 21px; stroke-width: 1.3; }
  .tabbar .on, .tabbar a:active, .tabbar button:active { color: var(--ink); }
  .tabbar #tbWa { color: var(--wa); }

  /* hero: image, then a compact statement */
  .hero-lede { display: none; }
  .hero-copy .eyebrow { font-size: .62rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-cta { margin-top: 1.4rem; }
  .hero-cta .btn { width: 100%; }

  /* collections as round thumbnails, like large retail apps */
  #collections .sec-title { display: none; }
  #collections .eyebrow { margin-bottom: 0; }
  #collections .sec-head { margin-bottom: 1rem; }
  #collections.section { padding-block: 2.2rem 1rem; }
  .cat-rail { grid-auto-columns: 82px; gap: 14px; }
  .cat-img { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
  .cat-img::after, .cat-go, .cat-desc, .cat-count { display: none; }
  .cat-meta { justify-content: center; padding-top: .55rem; }
  .cat-name { font-family: var(--f-body); font-size: .7rem; letter-spacing: .04em; text-align: center; line-height: 1.3; white-space: normal; }

  /* shop */
  .shop.section { padding-top: 1.6rem; }
  .shop .chips { display: none; }
  .filterbar { top: calc(env(safe-area-inset-top, 0px) + var(--sticky-h, 104px)); }
  .filter-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: var(--white); max-height: 82vh; overflow-y: auto; padding: 0 var(--gutter-r) calc(1.4rem + env(safe-area-inset-bottom, 0px)) var(--gutter); border: 0; box-shadow: 0 -20px 40px -20px rgba(0,0,0,.25); animation: sheetUp .45s var(--ease-out); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .fp-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--white); padding: .8rem 0; border-bottom: 1px solid var(--line); margin-bottom: .4rem; z-index: 1; }
  .fp-head p { margin: 0; font-family: var(--f-display); font-size: 1.4rem; }
  .fp-apply { display: inline-flex; width: 100%; margin-top: 1rem; }

  /* how-to: tighter */
  .story.section { padding-block: 2.6rem; }
  .steps { margin-top: 1.2rem; }
  .step-n { font-size: 1.2rem; }
  .steps h3 { font-size: .95rem; }
  .steps p { font-size: .88rem; }

  /* footer: compact */
  .site-footer { padding-top: 2.6rem; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .foot-col:last-child { display: none; }
  .foot-brand .btn-wa { display: none; }
}
