/* Ares Market storefront — mobile first, system fonts (no downloads on slow networks). */
:root {
  --ink: #16181d;
  --ink-2: #3b3e45;
  --muted: #6c7079;
  --line: #e7e3dd;
  --line-2: #d8d3cb;
  --bg: #faf8f5;
  --card: #ffffff;
  --soft: #f2efea;
  --brass: #9c7232;
  --ok: #1d7a4c;
  --ok-bg: #e7f4ec;
  --warn: #8a5300;
  --warn-bg: #fff3dc;
  --err: #b42318;
  --err-bg: #fdecea;
  --wa: #128c4a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .05), 0 4px 16px rgba(22, 24, 29, .06);
  --header-h: 60px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2f6fdf; outline-offset: 2px; }
.noscript { padding: 24px; text-align: center; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack > * + * { margin-top: 12px; }

/* ---------- Banners ---------- */
.banner { font-size: .82rem; line-height: 1.4; padding: 8px 16px; text-align: center; }
.banner-demo { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #f1dfb8; }
.banner-demo strong { font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30; background: rgba(250, 248, 245, .96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 4px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { height: 34px; width: auto; }
.wordmark { font-size: 1rem; letter-spacing: .16em; white-space: nowrap; }
@media (max-width: 380px) { .wordmark { font-size: .9rem; letter-spacing: .1em; } .header .icon-btn { width: 40px; } }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 400; color: var(--brass); }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; text-decoration: none;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.lang-btn {
  height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin: 0 2px; white-space: nowrap; flex: none;
}
.lang-btn span { color: var(--muted); font-weight: 500; }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.nav-desktop { display: none; }
.searchbar { padding: 0 0 12px; display: none; }
.searchbar.open { display: block; }
.search-input {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px 0 42px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236c7079' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
  font-size: 16px;
}

/* ---------- Drawer menu ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(22, 24, 29, .45); z-index: 50; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--bg); z-index: 51;
  display: flex; flex-direction: column; padding: 12px 16px calc(16px + var(--safe-b)); overflow-y: auto;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 48px; margin-bottom: 8px; }
.drawer a.navlink {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 600;
}
.drawer .group-title { margin-top: 18px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bottom nav (phones) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: var(--safe-b);
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px;
  text-decoration: none; font-size: .7rem; font-weight: 600; color: var(--muted); background: none; border: 0; position: relative;
}
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav .active { color: var(--ink); }
.bottom-nav .badge-count { top: 4px; right: calc(50% - 22px); }
body.has-bottom-nav main { padding-bottom: calc(76px + var(--safe-b)); }
body.has-sticky-cta main { padding-bottom: calc(96px + var(--safe-b)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent; font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: background .15s, opacity .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7a40; }
.btn-outline { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 12px; min-height: 44px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Home ---------- */
.hero { padding-top: 20px; padding-bottom: 8px; }
.hero-card {
  display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.hero-media { aspect-ratio: 16 / 10; background: var(--soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { padding: 0 20px 22px; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.hero h1 { font-size: 1.85rem; }
.hero p { color: var(--ink-2); margin: 10px 0 18px; }
.section { padding-top: 26px; padding-bottom: 6px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head a { font-weight: 600; font-size: .92rem; text-underline-offset: 3px; }
.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat-tile span { min-width: 0; overflow-wrap: anywhere; }
.cat-tile {
  display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; font-weight: 650;
}
.cat-tile img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.steps { display: grid; gap: 10px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700;
}

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-media { position: relative; aspect-ratio: 1; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-name { font-size: .92rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-weight: 750; font-size: .98rem; margin-top: auto; padding-top: 4px; }
.card-meta { font-size: .76rem; color: var(--muted); }
.swatches { display: flex; gap: 4px; align-items: center; }
.swatch-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.tags { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: .68rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--card); color: var(--ink); }
.tag-sample { background: var(--warn-bg); color: var(--warn); border: 1px dashed #d9a441; }
.tag-promo { background: var(--err); color: #fff; }
.tag-dark { background: var(--ink); color: #fff; }
.stock { font-size: .78rem; font-weight: 650; display: inline-flex; align-items: center; gap: 5px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-ok { color: var(--ok); }
.stock-low { color: var(--warn); }
.stock-out { color: var(--muted); }
.card.is-out .card-media img { opacity: .55; }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; font-size: .85em; margin-left: 6px; }

/* ---------- Shop ---------- */
.shop-head { padding: 18px 0 10px; }
.shop-head h1 { font-size: 1.45rem; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card); text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.chip[aria-current="page"], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .x { font-size: 1.1em; line-height: 1; opacity: .7; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 0; position: sticky; top: var(--header-h); background: var(--bg); z-index: 5; }
.toolbar .count { white-space: nowrap; margin-right: auto; font-size: .88rem; color: var(--muted); }
.select {
  height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); padding: 0 32px 0 12px; font-size: .9rem;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2316181d' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.active-filters .chip { height: 32px; font-size: .8rem; padding: 0 10px; }
.shop-layout { display: block; }
.filters-side { display: none; }
.sheet-bg { position: fixed; inset: 0; background: rgba(22, 24, 29, .45); z-index: 60; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; max-height: 88vh; background: var(--bg); z-index: 61; border-radius: 18px 18px 0 0;
  display: flex; flex-direction: column;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.sheet-body { overflow-y: auto; padding: 4px 18px 18px; }
.sheet-foot { display: flex; gap: 10px; padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--card); }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 { margin-bottom: 10px; font-size: .92rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  min-width: 48px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card);
  font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.opt.is-unavailable { color: #a7a9ae; background: repeating-linear-gradient(135deg, #fff 0 6px, #f5f3ef 6px 12px); text-decoration: line-through; }
.opt .swatch-dot { width: 18px; height: 18px; }
.price-inputs { display: flex; gap: 10px; align-items: center; }
.price-inputs input { width: 100%; }
.input, .textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: var(--card); font-size: 16px;
}
.textarea { min-height: 84px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(22, 24, 29, .1); }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); }
.empty { text-align: center; padding: 40px 16px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h2 { font-size: 1.1rem; margin-bottom: 6px; }
.empty .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* ---------- Product page ---------- */
.crumbs { font-size: .82rem; color: var(--muted); padding: 12px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; gap: 18px; padding: 10px 0 0; }
.gallery { position: relative; margin: 0 -16px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(22, 24, 29, .25); }
.gallery-dots span.on { background: var(--ink); }
.zoom-hint { position: absolute; right: 12px; bottom: 10px; background: rgba(255, 255, 255, .9); border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; pointer-events: none; }
.zoom-hint svg { width: 18px; height: 18px; }
.thumbs { display: none; gap: 8px; margin-top: 10px; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: 1.45rem; margin: 6px 0 4px; }
.pdp-ref { font-size: .82rem; color: var(--muted); }
.pdp-price { font-size: 1.45rem; font-weight: 800; margin: 12px 0 4px; }
.sample-note { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .86rem; font-weight: 600; border: 1px dashed #d9a441; }
.picker { margin-top: 18px; }
.picker-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-weight: 650; font-size: .95rem; }
.picker-label .val { font-weight: 500; color: var(--muted); }
.picker.needs .picker-label { color: var(--err); }
.picker.needs .opts { animation: nudge .3s; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .picker.needs .opts { animation: none; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); height: 48px; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; font-weight: 600; }
.qty button:disabled { color: #c5c6ca; cursor: not-allowed; }
.qty output, .qty input { width: 40px; text-align: center; font-weight: 700; border: 0; background: none; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.buy-actions { display: grid; gap: 10px; margin-top: 14px; }
.msg { font-size: .88rem; margin-top: 10px; padding: 10px 12px; border-radius: 10px; }
.msg-err { background: var(--err-bg); color: var(--err); }
.msg-ok { background: var(--ok-bg); color: var(--ok); }
.msg-warn { background: var(--warn-bg); color: var(--warn); }
.msg-info { background: var(--soft); color: var(--ink-2); }
.info-blocks { margin-top: 22px; border-top: 1px solid var(--line); }
.info-blocks details { border-bottom: 1px solid var(--line); }
.info-blocks summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-weight: 650; cursor: pointer; }
.info-blocks summary::-webkit-details-marker { display: none; }
.info-blocks summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.info-blocks details[open] summary::after { content: '−'; }
.info-blocks .content { padding: 0 0 16px; color: var(--ink-2); white-space: pre-line; font-size: .95rem; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + var(--safe-b)); display: flex; gap: 12px; align-items: center;
}
.sticky-cta .p { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.sticky-cta .p small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.sticky-cta .btn { flex: 1; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #0d0e10; display: flex; flex-direction: column; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px; color: #fff; }
.lb-bar .icon-btn { color: #fff; }
.lb-bar .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lb-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pan-x pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.lb-stage.zoomed { display: block; }
.lb-stage.zoomed img { max-width: none; max-height: none; width: 250%; cursor: zoom-out; }

/* ---------- Cart & checkout ---------- */
.page-head { padding: 18px 0 12px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.line img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.line-top { display: flex; justify-content: space-between; gap: 8px; }
.line-name { font-weight: 650; font-size: .95rem; text-decoration: none; line-height: 1.3; }
.line-opts { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; flex-wrap: wrap; }
.line .qty { height: 40px; }
.line .qty button { width: 38px; height: 38px; }
.line-total { font-weight: 750; text-align: right; }
.line-total small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.remove-btn { color: var(--muted); }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 1.08rem; }
.sum-note { font-size: .84rem; color: var(--warn); background: var(--warn-bg); padding: 8px 10px; border-radius: 8px; margin-top: 8px; }
.cart-layout, .checkout-layout { display: grid; gap: 16px; }
.field { display: block; }
.field + .field { margin-top: 14px; }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .82rem; color: var(--err); margin-top: 5px; font-weight: 600; }
.field.invalid .input, .field.invalid .textarea { border-color: var(--err); background: #fffafa; }
.req { color: var(--err); }
.notice { border-radius: var(--radius); padding: 14px 16px; }
.notice h3 { margin-bottom: 6px; }
.notice ul, .notice ol { margin: 6px 0 0; padding-left: 20px; }
.notice li + li { margin-top: 4px; }
.notice-info { background: var(--card); border: 1px solid var(--line); }
.notice-warn { background: var(--warn-bg); color: #5f3a00; border: 1px solid #f1dfb8; }
.notice-err { background: var(--err-bg); color: var(--err); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.mini-lines li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mini-lines img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--soft); flex: none; }
.mini-lines .grow { flex: 1; min-width: 0; }
.mini-lines .q { color: var(--muted); font-size: .8rem; }
pre.wa-preview { white-space: pre-wrap; word-break: break-word; background: #e7f6ec; border: 1px solid #cbe7d4; border-radius: 12px; padding: 12px; font-family: var(--font); font-size: .86rem; margin: 10px 0 0; max-height: 360px; overflow: auto; }
details.preview summary { cursor: pointer; font-weight: 650; padding: 6px 0; }
.ref-box { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-weight: 700; font-size: .82rem; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.contact-list { list-style: none; padding: 0; margin: 8px 0 0; }
.contact-list li { padding: 4px 0; }

/* ---------- Toast, consent, footer ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + var(--safe-b)); z-index: 90;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: .92rem; max-width: calc(100vw - 24px);
}
.toast a { color: #fff; font-weight: 700; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(70px + var(--safe-b)); z-index: 70; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; font-size: .9rem; }
.consent .row { display: flex; gap: 8px; margin-top: 10px; }
.footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 26px 0 30px; font-size: .88rem; color: var(--muted); }
.footer .cols { display: grid; gap: 18px; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer h3 { color: var(--ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 3px 0; }
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.table th { background: var(--soft); font-weight: 650; }
.prose { white-space: pre-line; color: var(--ink-2); }
.skeleton { background: linear-gradient(90deg, var(--soft), #fff, var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; height: 16px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-card { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .hero-media { order: 2; aspect-ratio: 1; }
  .hero-text { padding: 32px; }
  .hero h1 { font-size: 2.3rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .toast { bottom: 24px; }
  .consent { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}
@media (min-width: 960px) {
  :root { --header-h: 68px; }
  body.has-bottom-nav main, body.has-sticky-cta main { padding-bottom: 0; }
  .bottom-nav, .sticky-cta, .menu-btn { display: none !important; }
  .nav-desktop { display: flex; gap: 4px; margin: 0 auto 0 28px; }
  .nav-desktop a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .nav-desktop a:hover, .nav-desktop a[aria-current="page"] { background: var(--soft); }
  .brand { margin-right: 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
  .filters-side { display: block; position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
  .filter-open-btn { display: none !important; }
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
  .gallery { margin: 0; border-radius: 18px; overflow: hidden; }
  .thumbs { display: flex; }
  .pdp-info { position: sticky; top: calc(var(--header-h) + 16px); }
  .pdp-info h1 { font-size: 1.8rem; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 380px; align-items: start; gap: 28px; }
  .cart-layout aside, .checkout-layout aside { position: sticky; top: calc(var(--header-h) + 16px); }
  .lb-stage img { cursor: zoom-in; }
}
