/* ==========================================================================
   Chaal storefront. Clean, white, photo-first: the products do the talking.
   ========================================================================== */

/* Fonts are served from our own domain: no extra connection to Google on a slow phone network. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Only the letters of "Chaal", for the logo: 2 KB instead of 27 KB. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/bodoni-chaal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #fff;
  --soft: #f6f5f2;
  --soft-2: #ecebe7;
  --ink: #111;
  --text: #232323;
  --text-2: #4a4a4a;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --line-2: #d4d4d4;
  --accent: #8a5a2b;
  --star: #f5a100;
  --sale: #d23f31;
  --green: #1f7a46;
  --red: #c62828;
  --wa: #25d366;

  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Bodoni Moda', Didot, 'Times New Roman', serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 3.2vw, 40px);
  --header-h: 76px;
  --tabbar-h: 0px;
  --max: 1400px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; opacity: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding-block: clamp(48px, 6vw, 84px); }
.section-tight, .section + .section { padding-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.8rem; }
.kicker { display: inline-block; font: 500 12.5px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.06rem; color: var(--text-2); max-width: 62ch; }
.show-sm { display: none !important; }
@media (max-width: 1000px) { .hide-md { display: none !important; } }
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .show-sm { display: inline-grid !important; }
}

/* ---------- Buttons & links ---------- */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  --bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid var(--bd);
  border-radius: 2px;
  background: var(--bg);
  color: var(--fg);
  font: 500 13.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-dark:hover:not(:disabled), .btn-primary:hover:not(:disabled) { --bg: #3a3a3a; --bd: #3a3a3a; }
.btn-outline, .btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-outline:hover:not(:disabled), .btn-ghost:hover:not(:disabled) { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-light:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-whatsapp { --bg: #16703c; --fg: #fff; --bd: #16703c; }
.btn-whatsapp:hover { --bg: #115a30; --bd: #115a30; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12.5px; }
.btn-lg { min-height: 54px; }
.btn-block { width: 100%; }
.link-arrow, .link-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 13.5px; text-decoration: underline; text-underline-offset: 4px; color: var(--text); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: inherit; padding: 0; transition: background-color 0.2s; }
.icon-btn:hover { background: var(--soft); }

/* ---------- Brand ---------- */

.wordmark { display: inline-grid; justify-items: center; gap: 3px; line-height: 1; color: var(--ink); }
.wordmark-text { font: 700 2rem/0.9 var(--serif); letter-spacing: 0.01em; }
.wordmark-sub { font: 500 8.5px/1 var(--sans); letter-spacing: 0.52em; margin-right: -0.52em; text-transform: uppercase; color: var(--accent); }

/* ---------- Announcement ---------- */

.announce { background: var(--ink); color: #fff; overflow: hidden; height: 38px; display: flex; align-items: center; font: 500 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.announce-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-group { display: flex; justify-content: space-around; min-width: 100vw; flex-shrink: 0; }
.announce-group span { position: relative; padding: 0 44px; white-space: nowrap; }
.announce-group span::after { content: ''; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: rgb(255 255 255 / 0.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / 0.06); }
.header-inner { max-width: var(--max); margin-inline: auto; height: var(--header-h); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; text-decoration: none; }
.menu-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav > a, .nav-item > a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 28px 0; font: 500 13.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.nav > a::after, .nav-item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease); }
.nav > a:hover::after, .nav > a.active::after, .nav-item:hover > a::after, .nav-item > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-item { position: relative; }
.nav-item > a::before { content: ''; order: 2; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dropdown { position: absolute; left: -24px; top: 100%; min-width: 230px; padding: 10px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px rgb(0 0 0 / 0.08); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.25s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.dropdown a { display: block; padding: 10px 24px; font-size: 15px; text-decoration: none; transition: background-color 0.2s, padding 0.2s; }
.dropdown a:hover { background: var(--soft); padding-left: 30px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.text-link { font: 500 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; margin-right: 12px; }
.text-link:hover { text-decoration: underline; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 11px/18px var(--sans); text-align: center; }
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.search-bar { border-top: 1px solid var(--line); background: #fff; animation: drop 0.25s var(--ease); }
.search-inner { max-width: 760px; margin-inline: auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 12px; }
.search-inner input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; font-size: 1.15rem; background: none; outline: 0; }
.search-inner input::-webkit-search-cancel-button { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1000px) {
  :root { --header-h: 62px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; justify-self: start; margin-left: -8px; }
  .brand { justify-self: center; }
  .wordmark-text { font-size: 1.6rem; }
  .wordmark-sub { font-size: 7.5px; }
  .header-actions { margin-right: -8px; }
}
@media (max-width: 760px) {
  .header-actions [data-open-search] { display: none; }
}

/* ---------- Drawers ---------- */

.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / 0.45); opacity: 0; transition: opacity 0.3s; }
.drawer-backdrop.show { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(420px, 90vw); background: #fff; display: flex; flex-direction: column; visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s; }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer.open { visibility: visible; transform: none; transition: transform 0.4s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 500 14px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.drawer-head .wordmark-text { font-size: 1.6rem; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 4px 20px; display: grid; align-content: start; }
.drawer-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.drawer-left > .btn { margin: 16px 20px calc(16px + env(safe-area-inset-bottom)); width: auto; }

.cart-drawer-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-loading { padding: 40px 24px; color: var(--muted); text-align: center; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: #fff; }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.05rem; }

/* Cart lines (drawer, cart page, checkout summary) */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; animation: fade-in 0.35s var(--ease); }
.line:last-child { border-bottom: 0; }
.line-img { width: 84px; height: 84px; object-fit: cover; background: var(--soft); }
.line-name { display: block; font-weight: 500; line-height: 1.35; text-decoration: none; }
.line-name:hover { text-decoration: underline; }
.line-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.line-problem { font-size: 13px; color: var(--red); font-weight: 500; margin: 0 0 8px; }
.line-price { font-weight: 600; text-align: right; white-space: nowrap; }
.line-remove { display: block; background: none; border: 0; padding: 4px 0 0; margin-top: 6px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 38px; background: #fff; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; border: 0; background: none; font-size: 16px; }
.qty button:hover:not(:disabled) { background: var(--soft); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty input, .qty span { width: 34px; text-align: center; border: 0; background: none; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.free-bar { font-size: 13.5px; color: var(--text-2); }
.free-bar .track { height: 5px; background: var(--soft-2); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.free-bar .fill { height: 100%; background: var(--ink); border-radius: 3px; transition: width 0.8s var(--ease); }
.empty-cart { padding: 64px 28px; text-align: center; }
.empty-cart h3 { font-size: 1.25rem; }
.empty-cart p { color: var(--muted); }

/* ---------- Hero slider ---------- */

.hero { position: relative; background: #111; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: clamp(460px, 76vh, 780px); display: grid; grid-template-columns: 40% 60%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: var(--bg, #111); color: #fff; text-decoration: none; }
.slide-media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active .slide-media img { transform: none; }
.slide-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg, #111) 0%, transparent 34%), linear-gradient(0deg, rgb(0 0 0 / 0.25), transparent 30%); pointer-events: none; }
.slide-text { grid-column: 1 / -1; grid-row: 1; align-self: center; position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; width: min(100%, calc(max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) + 560px)); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: 24px; }
.slide-text small { font: 500 12.5px/1.3 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: #d9c2a0; }
.slide-text strong { font: 500 clamp(2.5rem, 4.6vw, 4.6rem)/1.02 var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.slide-sub { font-size: 1.06rem; line-height: 1.6; color: rgb(255 255 255 / 0.74); max-width: 38ch; }
.slide-text .btn { margin-top: 10px; }
.slide-text > * { transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.slide-text > :nth-child(2) { transition-delay: 0.08s; }
.slide-text > :nth-child(3) { transition-delay: 0.16s; }
.slide-text > :nth-child(4) { transition-delay: 0.24s; }
.js .slide:not(.is-active) .slide-text > * { opacity: 0; transform: translateY(18px); }
.slide-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.92); color: var(--ink); font-size: 28px; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; opacity: 0; transition: opacity 0.3s, background-color 0.2s; }
.slide-arrow.prev { left: 18px; }
.slide-arrow.next { right: 22px; }
.hero:hover .slide-arrow, .slide-arrow:focus-visible { opacity: 1; }
.slide-arrow:hover { background: #fff; }
.slide-dots { position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 26px; z-index: 2; display: flex; gap: 6px; }
.slide-dots button { width: 36px; height: 24px; padding: 10px 0; border: 0; background: rgb(255 255 255 / 0.35); background-clip: content-box; transition: background-color 0.3s; }
.slide-dots button[aria-selected='true'] { background-color: #fff; }
@media (max-width: 760px) {
  /* Phones: the photo on top, the words underneath, so nothing covers the chappals. */
  .slide { display: flex; flex-direction: column; height: auto; }
  .slide-media { flex: none; aspect-ratio: 1; }
  .slide-media::after { background: linear-gradient(0deg, var(--bg, #111) 0%, transparent 26%); }
  .slide-text { align-self: stretch; width: auto; margin-top: -28px; padding: 0 var(--gutter) 62px; gap: 10px; }
  .slide-text strong { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .slide-sub { font-size: 0.95rem; }
  .slide-text .btn { margin-top: 4px; min-height: 46px; }
  .slide-arrow { display: none; }
  .slide-dots { left: var(--gutter); bottom: 20px; }
}

/* ---------- Perks ---------- */

.perks { border-bottom: 1px solid var(--line); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px 16px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { flex-shrink: 0; color: var(--accent); }
.perk strong { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.perk span { display: block; font-size: 14px; color: var(--muted); }
.perk-hot svg, .perk-hot strong { color: var(--green); }
@media (max-width: 900px) {
  .perks-grid { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .perk { justify-content: flex-start; padding: 18px var(--gutter); gap: 12px; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .perk svg { width: 24px; height: 24px; }
  .perk strong { font-size: 12px; letter-spacing: 0.04em; }
  .perk span { font-size: 12.5px; }
}

/* ---------- Section heads ---------- */

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font: 500 clamp(1.5rem, 2.5vw, 2.05rem)/1.15 var(--sans); margin: 0; }
.section-sub { color: var(--muted); margin: 8px 0 0; }
.section-head.center { justify-content: center; text-align: center; }
.view-all { font: 500 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-underline-offset: 6px; white-space: nowrap; padding-bottom: 4px; }
.view-all:hover { color: var(--accent); }

/* ---------- Product cards ---------- */

.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: opacity 0.5s, transform 0.9s var(--ease); }
.card-img.alt { opacity: 0; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; font: 500 11.5px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; background: #fff; color: var(--ink); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-dark { background: var(--ink); color: #fff; }
.card-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; height: 44px; background: #fff; color: var(--ink); font: 500 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.4s var(--ease), background-color 0.2s, color 0.2s; }
@media (hover: hover) {
  .card:hover .card-img { transform: scale(1.04); }
  .card:hover .card-img.alt { opacity: 1; }
  .card:hover .card-cta { opacity: 1; transform: none; }
  .card-cta:hover { background: var(--ink); color: #fff; }
}
@media (hover: none) { .card-cta { display: none; } }
.card.sold-out .card-img { opacity: 0.55; }
.card-body { padding-top: 14px; display: grid; gap: 5px; justify-items: start; }
.card-title { font: 500 15px/1.4 var(--sans); margin: 0; letter-spacing: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .off { color: #dcdcdc; }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-now { font-weight: 600; }
.price-now.sale { color: var(--sale); }
.price-was { color: var(--muted); font-size: 0.9em; }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14); flex-shrink: 0; }

.grid.products { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 40px 24px; }
[data-cols='2'] .grid.products { --cols: 2; }
[data-cols='3'] .grid.products { --cols: 3; }
[data-cols='2'] .card-title { font-size: 17px; }
@media (max-width: 1100px) {
  .grid.products, [data-grid-wrap][data-cols='4'] .grid.products { --cols: 3; }
}
@media (max-width: 760px) {
  .grid.products, [data-grid-wrap][data-cols] .grid.products { --cols: 2; gap: 28px 12px; }
  [data-grid-wrap][data-cols='1'] .grid.products { --cols: 1; }
  .card-title, [data-cols='2'] .card-title { font-size: 14px; }
  .card .price { font-size: 14px; }
}

/* ---------- Rails (horizontal sliders) ---------- */

.rail { position: relative; }
.rail-track { --gap: 24px; --per: 4; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 36%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgb(0 0 0 / 0.08); font-size: 26px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; transition: opacity 0.25s, background-color 0.2s, color 0.2s; }
.rail-btn:hover { background: var(--ink); color: #fff; }
.rail-btn.prev { left: -22px; }
.rail-btn.next { right: -22px; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .rail-track { --per: 3; } }
@media (max-width: 900px), (hover: none) { .rail-btn { display: none; } }
@media (max-width: 760px) {
  .rail-track { --gap: 12px; grid-auto-columns: 44%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* ---------- Home: styles, story, reviews ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; display: block; overflow: hidden; background: var(--soft); color: #fff; text-decoration: none; }
.cat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.6), transparent 50%); }
.cat-text { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.cat-text strong { font: 500 1.45rem/1.15 var(--sans); }
.cat-text span { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.cat:hover .cat-text span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-text { left: 14px; right: 14px; bottom: 14px; gap: 3px; }
  .cat-text strong { font-size: 1.1rem; }
  .cat-text span { font-size: 10.5px; letter-spacing: 0.06em; white-space: nowrap; }
}

.story-banner { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.story-banner picture { display: block; }
.story-banner img { width: 100%; height: clamp(440px, 52vw, 640px); object-fit: cover; }
.story-banner::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 0.45); }
.story-text { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; max-width: 660px; margin-inline: auto; padding: 24px; text-align: center; }
.story-text small { font: 500 13px/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; }
.story-text strong { font: 500 clamp(2rem, 4.2vw, 3.4rem)/1.08 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.story-text p { margin: 0 0 8px; font-size: 1.06rem; opacity: 0.92; }

.reviews-rail .rail-track { --per: 3; }
.reviews-rail .rail-btn { top: 50%; }
.review-card { margin: 0; padding: 30px 28px; background: var(--soft); display: grid; gap: 14px; align-content: start; }
.review-card blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }
.review-card figcaption { display: grid; gap: 2px; font-size: 14px; }
.review-card figcaption strong { font-weight: 600; }
.review-card figcaption span { color: var(--muted); }
.review-card figcaption a { color: var(--accent); font-size: 13px; margin-top: 4px; }
@media (max-width: 1000px) { .reviews-rail .rail-track { --per: 2; } }
@media (max-width: 760px) { .reviews-rail .rail-track { grid-auto-columns: 84%; } }

/* ---------- Home: Wedding Edition spread ---------- */

.lookbook { padding-bottom: 0; }
.lookbook-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: 'main main text text' 'main main a b'; gap: 20px; }
.lb-main { grid-area: main; }
.lb-text { grid-area: text; }
.lb-a { grid-area: a; }
.lb-b { grid-area: b; }
.lb-main, .lb-a, .lb-b { display: block; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; }
.lb-a, .lb-b { align-self: end; }
.lb-main img, .lb-a img, .lb-b img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lb-main:hover img, .lb-a:hover img, .lb-b:hover img { transform: scale(1.04); }
.lb-text { display: grid; align-content: center; justify-items: start; padding: clamp(8px, 3vw, 44px); }
.lb-text h2 { font: 500 clamp(2rem, 3.6vw, 3.2rem)/1.08 var(--sans); letter-spacing: -0.015em; margin-bottom: 16px; }
.lb-text p:not(.kicker) { color: var(--text-2); max-width: 44ch; margin-bottom: 24px; }
@media (max-width: 900px) {
  .lookbook-grid { grid-template-columns: 1fr 1fr; grid-template-areas: 'text text' 'main main' 'a b'; gap: 10px; }
  .lb-text { padding: 0 0 18px; }
}

/* ---------- Home: pay your way ---------- */

.pay-band { background: #111; color: #fff; overflow: hidden; }
.pay-band-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 96px); padding-block: clamp(56px, 7vw, 100px); }
.pay-big { display: grid; justify-items: start; }
.pay-big span { font: 600 clamp(6rem, 14vw, 12.5rem)/0.82 var(--sans); letter-spacing: -0.05em; background: linear-gradient(135deg, #f1d9b5 0%, #c8955c 45%, #8a5a2b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-big small { margin-top: 16px; font: 500 13px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: #d9c2a0; }
.pay-copy .kicker { color: #d9c2a0; }
.pay-copy h2 { color: #fff; font: 500 clamp(1.8rem, 3.2vw, 2.8rem)/1.15 var(--sans); max-width: 22ch; margin-bottom: 16px; }
.pay-copy p:not(.kicker) { color: rgb(255 255 255 / 0.72); max-width: 60ch; margin: 0; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.pay-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px; font-size: 14px; }
@media (max-width: 760px) {
  .pay-band-grid { grid-template-columns: 1fr; gap: 20px; }
  .pay-big { grid-auto-flow: column; align-items: end; justify-content: start; gap: 14px; }
  .pay-big span { font-size: 6.2rem; }
  .pay-big small { margin: 0 0 10px; }
}

/* ---------- Online payment saving notes ---------- */

.save-note { margin: 12px 0 0; padding: 12px 14px; background: #eef7f1; color: #1d5c38; font-size: 13.5px; line-height: 1.5; }
.drawer-foot .save-note { margin: 0; }
.prepaid-note { display: flex; align-items: center; gap: 10px; margin: -12px 0 22px; padding: 10px 14px; background: #eef7f1; color: #1d5c38; font-size: 14px; }
.prepaid-note svg { flex-shrink: 0; }
.pay-promo { margin: 0 0 16px; padding: 14px 16px; background: #eef7f1; border-left: 3px solid var(--green); color: #1d5c38; font-size: 14px; line-height: 1.55; }

/* ---------- Crumbs & page titles ---------- */

.crumb-bar { padding-block: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }
.page-hero { padding: clamp(20px, 3.4vw, 40px) 0 clamp(24px, 3.4vw, 40px); text-align: center; }
.page-hero h1, .shop-head h1 { font: 500 clamp(1.9rem, 3.4vw, 2.8rem)/1.15 var(--sans); margin: 0; }
.page-hero .lead { margin: 14px auto 0; color: var(--muted); }

/* ---------- Shop ---------- */

.shop { padding-bottom: clamp(56px, 7vw, 96px); }
.shop-head { text-align: center; padding: clamp(8px, 2vw, 24px) 0 26px; }
.shop-head .lead { margin: 12px auto 0; color: var(--muted); }
.style-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.style-links a { padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.style-links a:hover, .style-links a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; margin-bottom: 30px; border-block: 1px solid var(--line); }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toolbar-right .muted { font-size: 14px; margin-right: 10px; }
.view-as { display: flex; gap: 2px; margin-right: 10px; }
.view-as button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; background: none; color: #a3a3a3; padding: 0; transition: color 0.2s, border-color 0.2s; }
.view-as button:hover { color: var(--ink); }
.view-as button.active { color: var(--ink); border-color: var(--line-2); }
.toolbar select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-2); border-radius: 0; padding: 9px 38px 9px 14px; font-size: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.fb-toggle { display: none; }
.fb-groups { display: flex; align-items: center; gap: 4px; }
.fb { position: relative; }
.fb summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 14px; user-select: none; }
.fb summary::-webkit-details-marker { display: none; }
.fb summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.fb[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.fb summary:hover { color: var(--accent); }
.fb-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; min-width: 220px; padding: 12px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px rgb(0 0 0 / 0.1); animation: drop 0.2s var(--ease); }
.fb-opt { display: flex; align-items: center; gap: 10px; padding: 8px 6px; font-size: 14px; cursor: pointer; }
.fb-opt:hover { background: var(--soft); }
.fb-opt input { accent-color: var(--ink); margin: 0; }
.fb-sizes { grid-template-columns: repeat(4, 1fr); gap: 6px; min-width: 250px; }
.fb-size { position: relative; }
.fb-size input { position: absolute; opacity: 0; }
.fb-size span { display: grid; place-items: center; height: 42px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: border-color 0.2s; }
.fb-size span:hover { border-color: var(--ink); }
.fb-size input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.fb-size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fb-price { grid-template-columns: 1fr 1fr; gap: 8px; min-width: 270px; }
.fb-price input { width: 100%; padding: 10px; border: 1px solid var(--line-2); font-size: 14px; }
.fb-price .btn { grid-column: 1 / -1; }
.fb-sheet-head, .fb-apply { display: none; }
.clear-link { font-size: 13px; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; }
.empty h2 { font-size: 1.5rem; font-weight: 500; }
.empty p { color: var(--muted); }
@media (max-width: 900px) {
  .fb-toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
  .fb-groups { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: 86vh; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 -12px 40px rgb(0 0 0 / 0.2); visibility: hidden; transform: translateY(100%); transition: transform 0.4s var(--ease), visibility 0s 0.4s; }
  .fb-groups.open { visibility: visible; transform: none; transition: transform 0.4s var(--ease); }
  .fb-sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid var(--line); }
  .fb-sheet-head strong { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
  .fb { border-bottom: 1px solid var(--line); }
  .fb summary { padding: 16px 0; justify-content: space-between; font-size: 15px; }
  .fb-panel { position: static; min-width: 0; padding: 0 0 16px; border: 0; box-shadow: none; animation: none; }
  .fb-sizes { grid-template-columns: repeat(5, 1fr); }
  .fb-apply { display: flex; margin-top: 18px; }
}
@media (max-width: 760px) {
  .style-links { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .style-links::-webkit-scrollbar { display: none; }
  .toolbar { gap: 10px; margin-bottom: 20px; }
  .toolbar-left, .toolbar-right { gap: 6px; }
  .view-as { margin-right: 4px; }
  .toolbar select { padding: 8px 32px 8px 10px; font-size: 13.5px; background-position: right 10px center; max-width: 170px; }
}

/* ---------- Product page ---------- */

.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: 0; transition: opacity 0.4s, transform 0.35s var(--ease); }
.gallery-main img.active { opacity: 1; }
.gallery-main.zoomed { cursor: zoom-out; }
.gallery-main.zoomed img.active { transform: scale(2); }
.gallery-main .badge { top: 16px; left: 16px; }
.gallery-dots { display: none; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 10px) / 5); gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--soft); overflow: hidden; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-selected='true'] { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { min-width: 0; }
.buy-title { font: 500 clamp(1.6rem, 2.6vw, 2.15rem)/1.2 var(--sans); margin: 0 0 10px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.rating-link:hover { text-decoration: underline; }
.buy-tagline { color: var(--muted); margin: 0 0 8px; }
.availability { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.availability .in { color: var(--green); font-weight: 500; }
.availability .out { color: var(--sale); font-weight: 500; }
.buy-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0; margin-bottom: 24px; border-block: 1px solid var(--line); }
.buy-price .price-now { font-size: 1.6rem; font-weight: 600; }
.buy-price .price-was { font-size: 1.1rem; }
.save { padding: 5px 9px; background: var(--sale); color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.option { margin-bottom: 22px; }
.option-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.option-head strong { font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-size: 15px; }
.option-head .link-btn { text-transform: none; letter-spacing: 0; }
.color-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.color-btn:hover { border-color: var(--ink); }
.color-btn[aria-checked='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.color-btn .swatch { width: 20px; height: 20px; }
.size-btn { min-width: 54px; height: 46px; padding: 0 10px; border: 1px solid var(--line-2); background: #fff; font-size: 15px; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.size-btn:hover:not(:disabled) { border-color: var(--ink); }
.size-btn[aria-checked='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-btn:disabled { color: #b5b5b5; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 0.5px), #d6d6d6 calc(50% - 0.5px), #d6d6d6 calc(50% + 0.5px), transparent calc(50% + 0.5px)); }
.size-options.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.stock-note { font-size: 14px; color: var(--green); margin: 10px 0 0; min-height: 1.4em; }
.stock-note.low { color: var(--sale); }
.qty-label { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.buy-actions { display: flex; gap: 12px; margin-bottom: 12px; }
.buy-actions .qty { height: 52px; }
.buy-actions .qty button { width: 42px; }
.buy-actions .qty input { width: 40px; }
.add-btn { flex: 1; min-height: 52px; }
.add-btn.added { --bg: var(--green); --bd: var(--green); }
.buy-now { min-height: 52px; margin-bottom: 8px; }
.wa-order { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; color: #16703c; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.wa-order:hover { text-decoration: underline; }
.assurances { list-style: none; margin: 12px 0 0; padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; color: var(--text-2); }
.assurances li { display: flex; align-items: center; gap: 12px; }
.assurances svg { flex-shrink: 0; color: var(--accent); }

.accordion { border-top: 1px solid var(--line); }
.accordion details, .faq details { border-bottom: 1px solid var(--line); }
.accordion summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.accordion summary::after, .faq summary::after { content: '+'; font-size: 22px; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }
.accordion .prose, .accordion .spec { padding-bottom: 18px; font-size: 15px; }
.accordion details[open] > :not(summary) { animation: fade-in 0.35s var(--ease); }
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.spec li:last-child { border-bottom: 0; }
.spec span { color: var(--muted); }
.spec strong { font-weight: 500; text-align: right; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / 0.06); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy-inner { max-width: var(--max); margin-inline: auto; padding: 10px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sticky-buy-inner > div { min-width: 0; }
.sticky-buy strong { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .price { font-size: 14px; }
.sticky-buy .btn { min-height: 46px; padding: 0 24px; flex-shrink: 0; }

.reviews-section { border-top: 1px solid var(--line); }
.reviews-title { text-align: center; font: 500 clamp(1.5rem, 2.5vw, 2.05rem)/1.2 var(--sans); margin-bottom: 30px; }
.reviews-top { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px clamp(28px, 5vw, 72px); padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.reviews-avg { display: grid; justify-items: center; gap: 6px; text-align: center; }
.reviews-avg .big { font: 500 3rem/1 var(--sans); }
.reviews-avg .muted { font-size: 14px; }
.reviews-bars { display: grid; gap: 8px; width: min(100%, 380px); }
.bar-row { display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 12px; font-size: 13.5px; }
.bar-row span:last-child { text-align: right; color: var(--muted); }
.bar { height: 9px; background: var(--soft-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--star); }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; max-width: 1100px; margin-inline: auto; }
.review { padding: 26px 0; border-bottom: 1px solid var(--line); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-top time { font-size: 13px; color: var(--muted); }
.review-by { font-weight: 600; font-size: 14.5px; margin: 0 0 6px; }
.review p:last-child { margin: 0; color: var(--text-2); }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; margin-inline: calc(var(--gutter) * -1); }
  .gallery-main { cursor: default; }
  .gallery-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
  .gallery-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgb(0 0 0 / 0.22); transition: background-color 0.2s, transform 0.2s; }
  .gallery-dots i.on { background: var(--ink); transform: scale(1.15); }
  .gallery-thumbs { padding-inline: var(--gutter); grid-auto-columns: 64px; gap: 8px; }
  .review-list { grid-template-columns: 1fr; }
}

/* ---------- Modal ---------- */

.modal { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); border: 0; padding: 22px clamp(20px, 4vw, 32px) 28px; background: #fff; color: var(--text); box-shadow: 0 30px 80px rgb(0 0 0 / 0.25); }
.modal::backdrop { background: rgb(0 0 0 / 0.5); }
.modal[open] { animation: pop 0.3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font: 500 1.3rem/1.2 var(--sans); margin: 0; }
.measure-steps { padding-left: 20px; color: var(--text-2); margin: 0 0 22px; }
.measure-steps li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin-bottom: 22px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.size-table caption { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 10px; }
.size-table th, .size-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--soft); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.size-table tbody th { font-weight: 600; }
.size-table tbody tr:hover { background: var(--soft); }
.rating-input { border: 0; padding: 0; margin: 0 0 8px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input legend { width: 100%; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 2rem; line-height: 1; color: #dcdcdc; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }
.rating-input input:focus-visible + label { outline: 2px solid var(--ink); }

/* ---------- Forms ---------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--text); }
.field em { font-size: 12.5px; font-style: normal; font-weight: 400; color: var(--muted); }
.field small { color: var(--muted); font-size: 12.5px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field .err { color: var(--red); font-size: 12.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.notice { padding: 14px 18px; font-size: 14.5px; margin: 20px 0; background: var(--soft); border-left: 3px solid var(--ink); }
.notice.success { background: #eef7f1; border-left-color: var(--green); }
.notice.warn { background: #fff7e6; border-left-color: #d08a00; }
.form-error { margin: 0 0 12px; padding: 12px 14px; font-size: 14px; background: #fdecea; color: var(--red); border-left: 3px solid var(--red); }
.form-error a { color: inherit; }

/* ---------- Cart page & checkout ---------- */

.page-title { font: 500 clamp(1.8rem, 3.2vw, 2.6rem)/1.15 var(--sans); margin: 0 0 26px; }
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 48px; align-items: start; }
.cart-layout > .cart-loading, .cart-layout > .empty { grid-column: 1 / -1; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-lines .line { grid-template-columns: 110px 1fr auto; gap: 20px; padding: 24px 0; }
.cart-lines .line-img { width: 110px; height: 110px; }
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); margin-bottom: 16px; }
.panel h2 { display: flex; align-items: center; gap: 12px; font: 500 1.15rem/1.2 var(--sans); margin: 0 0 20px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--soft); border-color: var(--soft); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 16px 0; font-size: 15px; }
.totals dt { color: var(--text-2); }
.totals dd { margin: 0; text-align: right; font-weight: 500; }
.totals .grand { padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.totals dd.discount { color: var(--green); }
.summary .btn-block + .btn-block { margin-top: 10px; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-lines .line { grid-template-columns: 84px 1fr auto; gap: 14px; }
  .cart-lines .line-img { width: 84px; height: 84px; }
}
.checkout-page { padding-top: clamp(24px, 4vw, 44px); }
.checkout-head { margin-bottom: 24px; }
.checkout-head .page-title { margin: 14px 0 10px; }
.progress { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.progress li { display: inline-flex; align-items: center; gap: 6px; }
.progress li + li::before { content: '›'; margin-right: 4px; color: var(--line-2); font-size: 16px; }
.progress li.done { color: var(--green); }
.progress li.current { color: var(--ink); font-weight: 600; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: start; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.panel > .field + .field, .panel > .field-row + .field, .panel > .field + .field-row, .panel > .field-row + .field-row { margin-top: 16px; }
.pay-options { display: grid; margin-bottom: 16px; border: 1px solid var(--line-2); }
.pay-option { position: relative; display: block; background: #fff; cursor: pointer; transition: background-color 0.2s; }
.pay-option + .pay-option { border-top: 1px solid var(--line-2); }
.pay-option input { position: absolute; opacity: 0; }
.pay-option-head { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 15px; }
.pay-option-head strong { font-weight: 500; }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #9a9a9a; flex-shrink: 0; background: #fff; transition: border 0.15s; }
.pay-option .tag { margin-left: auto; padding: 4px 8px; background: var(--green); color: #fff; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.pay-option .tag-plain { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.pay-option-body { display: none; padding: 0 16px 16px 46px; font-size: 14px; color: var(--text-2); }
.pay-option-body p { margin-bottom: 10px; }
.pay-option:has(input:checked) { background: var(--soft); }
.pay-option:has(input:checked) .radio-dot { border: 6px solid var(--ink); }
.pay-option:has(input:checked) .pay-option-body { display: block; animation: fade-in 0.3s var(--ease); }
.pay-option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.pay-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.pay-details dt { color: var(--muted); }
.pay-details dd { margin: 0; font-weight: 500; word-break: break-all; }
[data-copy] { cursor: copy; }
.summary .lines { max-height: 340px; overflow-y: auto; padding-top: 8px; }
.summary .line { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 10px 0; border-bottom: 0; animation: none; }
.summary .line-img { width: 64px; height: 64px; border: 1px solid var(--line); }
.summary .line-meta { margin-bottom: 0; }
.line-thumb { position: relative; display: block; }
.line-thumb b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #666; color: #fff; font-size: 12px; font-weight: 500; display: grid; place-items: center; }
.discount-row { display: flex; gap: 8px; margin-top: 8px; }
.discount-row input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line-2); background: #fff; letter-spacing: 0.06em; text-transform: uppercase; }
.discount-row input:focus { outline: 0; border-color: var(--ink); }
.discount-row .btn { min-height: 46px; padding: 0 18px; }
.discount-msg { font-size: 13.5px; margin: 10px 0 14px; min-height: 1em; }
.discount-msg.ok { color: var(--green); font-weight: 500; }
.discount-msg.bad { color: var(--red); }
.checkout-trust { list-style: none; padding: 0; margin: 16px 0 12px; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.checkout-trust li { display: flex; align-items: center; gap: 8px; }
.checkout-trust svg { color: var(--green); flex-shrink: 0; }
.cf-turnstile { margin: 8px 0 14px; }
[data-place-order].loading { pointer-events: none; opacity: 0.7; }
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-side { order: -1; }
  .summary { position: static; }
}

/* ---------- Confirmation + tracking ---------- */

.confirm-hero { text-align: center; margin-bottom: 30px; }
.confirm-check { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop-check 0.6s var(--ease) both; }
@keyframes pop-check { from { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); } }
.confirm-hero h1 { font: 500 clamp(2rem, 4vw, 3rem)/1.1 var(--sans); }
.confirm-hero .lead { margin-inline: auto; }
.confirm-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.next-steps { list-style: none; padding: 0; margin: 34px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-steps li { display: flex; gap: 14px; padding: 20px; background: var(--soft); }
.next-steps span { font: 500 1.8rem/1 var(--sans); color: var(--accent); }
.next-steps strong { font-weight: 600; }
.next-steps p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.confirm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 30px; }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-items strong { font-weight: 500; }
.order-items small { display: block; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) { .next-steps, .confirm-grid { grid-template-columns: 1fr; } }
.track-form { grid-template-columns: 1fr 1fr auto; align-items: end; margin: 28px 0; }
@media (max-width: 640px) { .track-form { grid-template-columns: 1fr; } }
.track-result { display: grid; gap: 18px; margin-top: 18px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.track-head h2 { margin: 0; }
.status { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.status-delivered { background: #e8f5ec; border-color: #bfe0c9; color: var(--green); }
.status-cancelled, .status-returned { background: #fdecea; border-color: #f4c7c3; color: var(--red); }
.timeline { list-style: none; margin: 0; padding: 26px 8px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.timeline li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--ink); font-weight: 500; }
.timeline li.done::before { background: var(--ink); }
.timeline .dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); color: #fff; }
.timeline li.done .dot { background: var(--ink); border-color: var(--ink); }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.history time { display: block; color: var(--muted); font-size: 13px; }

/* ---------- Content pages ---------- */

.prose { font-size: 1rem; line-height: 1.75; }
.prose h2 { font: 500 1.45rem/1.25 var(--sans); margin: 1.6em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 1rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; margin: 1.6em 0 0.7em; }
.prose ul { padding-left: 20px; margin: 0 0 1.4em; }
.prose li { margin-bottom: 6px; }
.prose p, .prose li { color: var(--text-2); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; padding-bottom: clamp(48px, 6vw, 80px); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; }
.about-text .btn { margin-top: 12px; }
.about-strip { margin-bottom: 16px; background: var(--soft); }
.about-strip img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.about-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: clamp(56px, 7vw, 96px); }
.about-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .about-photos { gap: 6px; } }
.contact-section { padding-top: clamp(8px, 2vw, 24px); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 38px 24px; text-align: center; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease); }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 34px rgb(0 0 0 / 0.07); }
.contact-card svg { margin-bottom: 10px; color: var(--accent); }
.contact-card h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card.highlight { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-card.highlight h2 { color: #fff; }
.contact-card.highlight p { color: #cfcfcf; }
.contact-card.highlight svg { color: var(--wa); }
.contact-card .link-line { margin-top: 12px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq summary { font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.faq details p { margin: 0; padding-bottom: 20px; max-width: 70ch; color: var(--text-2); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font: 600 13.5px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy-nav a { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.policy-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.credits li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.credits li span:last-child { color: var(--muted); text-align: right; }
.not-found { padding-block: 12vh 16vh; }
.not-found h1 { font: 500 clamp(2.2rem, 5vw, 3.6rem)/1.1 var(--sans); }
.not-found .lead { margin-inline: auto; }

/* ---------- Footer ---------- */

.site-footer { background: #111; color: #b9b9b9; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(48px, 6vw, 76px); }
.footer-about .wordmark { color: #fff; }
.footer-about .wordmark-sub { color: #c9a27a; }
.footer-about p { margin: 18px 0 0; max-width: 36ch; line-height: 1.75; }
.site-footer h3 { font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 8px 0 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #333; border-radius: 50%; color: #ddd; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.socials a:hover { background: #fff; border-color: #fff; color: #111; }
.footer-bottom { border-top: 1px solid #262626; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-block: 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (min-width: 761px) { .footer-bottom-inner { padding-right: calc(var(--gutter) + 64px); } }
.pay-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list span { padding: 4px 9px; border: 1px solid #333; color: #ddd; font-size: 11.5px; letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-about { grid-column: 1 / -1; }
}

/* ---------- Tab bar (phones), WhatsApp, back to top, toast ---------- */

.tabbar { display: none; }
@media (max-width: 760px) {
  :root { --tabbar-h: 60px; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); transition: transform 0.3s var(--ease); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 0; border: 0; background: none; color: #595959; font-size: 11px; letter-spacing: 0.02em; text-decoration: none; }
  .tabbar .active { color: var(--ink); font-weight: 500; }
  .tabbar .cart-count { top: 7px; right: calc(50% - 22px); }
  body.has-sticky-buy .tabbar, .checkout-body .tabbar { transform: translateY(110%); }
  .product-body .wa-float { display: none; }
  .checkout-body { padding-bottom: 0; }
}
.wa-float { position: fixed; right: 20px; bottom: calc(22px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); transition: transform 0.25s var(--ease), bottom 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
body.has-sticky-buy .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
.checkout-body .wa-float { display: none; }
.to-top { position: fixed; right: 27px; bottom: calc(90px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 49; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); font-size: 17px; display: grid; place-items: center; box-shadow: 0 6px 16px rgb(0 0 0 / 0.08); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease), bottom 0.3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
body.has-sticky-buy .to-top { bottom: calc(152px + env(safe-area-inset-bottom)); }
.toast { position: fixed; left: 50%; bottom: calc(28px + var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 12px 30px rgb(0 0 0 / 0.2); opacity: 0; transform: translate(-50%, 16px); transition: opacity 0.3s, transform 0.35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s var(--ease) both vt-out; }
::view-transition-new(root) { animation: 0.35s var(--ease) both vt-in; }
::view-transition-group(product-hero) { animation-duration: 0.5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .announce-track { animation: none; }
}
