/* Indyacentral.com storefront — warm "bazaar at dusk" palette: indigo ink, marigold, cream paper. */
:root {
  --paper: #fbf6ee;
  --paper-2: #f4ead9;
  --card: #ffffff;
  --ink: #1d1a3a;
  --ink-2: #4b4768;
  --muted: #7a7590;
  --line: #e8dfcf;
  --indigo: #2f2a7a;
  --indigo-2: #4338ca;
  --marigold: #f59e0b;
  --marigold-2: #fbbf24;
  --rose: #e11d48;
  --leaf: #059669;
  --tg: #229ed9;
  --wa: #1fa855;
  --shadow: 0 1px 2px rgba(29, 26, 58, 0.06), 0 8px 24px rgba(29, 26, 58, 0.08);
  --radius: 18px;
  --hero-a: #2f2a7a;
  --hero-b: #6d28d9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12101f; --paper-2: #1a1730; --card: #1f1b38; --ink: #f3efe6; --ink-2: #cdc7e0; --muted: #9a94b5;
    --line: #2e2a4d; --indigo: #a5b4fc; --indigo-2: #818cf8; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --hero-a: #1e1b4b; --hero-b: #4c1d95; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12101f; --paper-2: #1a1730; --card: #1f1b38; --ink: #f3efe6; --ink-2: #cdc7e0; --muted: #9a94b5;
  --line: #2e2a4d; --indigo: #a5b4fc; --indigo-2: #818cf8; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --hero-a: #1e1b4b; --hero-b: #4c1d95; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-family: "Fraunces", serif;
  background: conic-gradient(from 200deg, var(--marigold), var(--rose), var(--indigo-2), var(--marigold)); font-size: 19px;
}
.brand-name { font-family: "Fraunces", serif; font-size: 20px; }
.brand-name span { color: var(--marigold); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.link { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a.link:hover { background: var(--paper-2); }
.cart-btn {
  position: relative; border: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 9px 16px;
  font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.cart-count { background: var(--marigold); color: #1d1a3a; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
@media (max-width: 720px) { .nav a.link { display: none; } .brand-name { font-size: 18px; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; border-radius: 0 0 32px 32px;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(245,158,11,.45), transparent 60%),
              radial-gradient(800px 380px at -10% 110%, rgba(225,29,72,.35), transparent 60%),
              linear-gradient(135deg, var(--hero-a), var(--hero-b));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 22px 22px;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 6.4vw, 64px); margin: 18px 0 12px; max-width: 780px; }
.hero h1 em { font-style: italic; color: var(--marigold-2); }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); max-width: 620px; opacity: .92; margin: 0 0 26px; }
.search {
  display: flex; gap: 8px; background: #fff; border-radius: 16px; padding: 6px; max-width: 620px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 12px; font-size: 16px; color: #1d1a3a; background: transparent; }
.search button { border: 0; border-radius: 12px; background: var(--marigold); color: #1d1a3a; font-weight: 800; padding: 0 20px; cursor: pointer; }
.hero-stats { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; font-size: 14px; opacity: .92; }
.hero-stats b { font-size: 22px; font-family: "Fraunces", serif; display: block; }

/* Sections */
section.block { padding: 40px 0 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); }
.section-head a, .text-btn { color: var(--indigo-2); font-weight: 700; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Shop cards */
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.shop-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-3px); }
.shop-cover { aspect-ratio: 16/9; background: var(--paper-2); position: relative; }
.shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: #1d1a3a; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.closed { background: #1d1a3a; color: #fff; }
.shop-body { padding: 14px 16px 16px; }
.shop-body h3 { font-size: 19px; margin-bottom: 4px; }
.shop-meta { font-size: 14px; color: var(--muted); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.p-img { aspect-ratio: 1/1; background: var(--paper-2); position: relative; cursor: pointer; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-img .tag { position: absolute; left: 8px; top: 8px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.p-img .tag.sample { background: rgba(29,26,58,.75); }
.p-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-title { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; }
.p-shop { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 17px; }
.price s { color: var(--muted); font-size: 13px; }
.add {
  margin-top: auto; border: 1.5px solid var(--indigo-2); color: var(--indigo-2); background: transparent; border-radius: 12px; padding: 8px; font-weight: 800; cursor: pointer;
}
.add:hover { background: var(--indigo-2); color: #fff; }
.add[disabled] { border-color: var(--line); color: var(--muted); background: transparent; cursor: not-allowed; }
.stepper { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: var(--indigo-2); color: #fff; border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: transparent; color: #fff; width: 40px; height: 36px; font-size: 20px; font-weight: 700; cursor: pointer; }
.stepper span { font-weight: 800; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.step .n { font-family: "Fraunces", serif; font-size: 44px; color: var(--marigold); line-height: 1; }
.step h3 { font-size: 19px; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Shop page header */
.shop-hero { padding: 28px 0 8px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.shop-hero img { width: 76px; height: 76px; border-radius: 20px; object-fit: cover; border: 1px solid var(--line); }
.shop-hero h1 { font-size: clamp(26px, 4.5vw, 40px); }
.toolbar { display: flex; gap: 10px; margin: 16px 0; }
.toolbar input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.back { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.more { display: block; margin: 22px auto 0; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; cursor: pointer; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* Sheets (product + cart) */
.scrim { position: fixed; inset: 0; background: rgba(15, 12, 35, .5); z-index: 60; opacity: 0; transition: opacity .2s; }
.scrim.show { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; background: var(--card); box-shadow: 0 -10px 40px rgba(0,0,0,.25); display: flex; flex-direction: column;
  left: 0; right: 0; bottom: 0; max-height: 92vh; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .25s ease;
}
.sheet.show { transform: none; }
@media (min-width: 760px) {
  .sheet { left: auto; top: 0; bottom: 0; width: 460px; max-height: none; border-radius: 0; transform: translateX(100%); }
  .sheet.center { left: 50%; right: auto; top: 50%; bottom: auto; width: min(880px, 92vw); max-height: 88vh; border-radius: 24px; transform: translate(-50%, -46%); opacity: 0; transition: transform .2s, opacity .2s; }
  .sheet.center.show { transform: translate(-50%, -50%); opacity: 1; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 22px; }
.x { border: 0; background: var(--paper-2); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.sheet-body { overflow-y: auto; padding: 16px 18px; flex: 1; }
.sheet-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.pd { display: grid; gap: 18px; }
@media (min-width: 760px) { .pd { grid-template-columns: 1fr 1fr; } }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; background: var(--paper-2); }
.gallery img { flex: none; width: 100%; aspect-ratio: 1/1; object-fit: cover; scroll-snap-align: start; }
.pd h2 { font-size: 26px; margin-bottom: 8px; }
.pd .desc { white-space: pre-line; color: var(--ink-2); font-size: 15px; }
.credit { font-size: 12px; color: var(--muted); margin-top: 6px; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.line .t { font-size: 14px; font-weight: 600; }
.mini-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.mini-stepper button { border: 0; background: none; width: 30px; height: 30px; font-size: 16px; cursor: pointer; }
.sum { display: flex; justify-content: space-between; padding: 4px 0; }
.sum.total { font-weight: 800; font-size: 18px; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; }
.primary {
  width: 100%; border: 0; border-radius: 14px; padding: 15px; font-weight: 800; font-size: 16px; cursor: pointer;
  background: linear-gradient(135deg, var(--indigo-2), #7c3aed); color: #fff; box-shadow: 0 10px 24px rgba(67,56,202,.3);
}
.primary[disabled] { opacity: .6; cursor: wait; }

/* Checkout */
.checkout { display: grid; gap: 22px; padding: 26px 0 40px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.3fr 1fr; align-items: start; } .checkout aside { position: sticky; top: 84px; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel h2 { font-size: 22px; margin-bottom: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); outline: none; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--indigo-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo-2) 20%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-bottom: 14px; }
.seg label { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.seg input { accent-color: var(--indigo-2); }
.seg label:has(input:checked) { border-color: var(--indigo-2); background: color-mix(in srgb, var(--indigo-2) 8%, transparent); }
.seg small { display: block; font-weight: 500; color: var(--muted); }
.error { background: #fee2e2; color: #991b1b; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Confirm screen */
.confirm { max-width: 560px; margin: 36px auto 48px; text-align: center; }
.confirm .big { font-size: 56px; }
.confirm h1 { font-size: clamp(28px, 5vw, 38px); margin: 8px 0; }
.code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 22px; letter-spacing: 3px; background: var(--paper-2); padding: 8px 16px; border-radius: 12px; margin: 10px 0 18px; }
.chat-btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; padding: 15px; border-radius: 14px; margin-bottom: 10px; font-size: 16px; }
.chat-btn.tg { background: var(--tg); }
.chat-btn.wa { background: var(--wa); }
.pulse { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.pulse i { width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Floating mobile cart bar */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--paper); border-radius: 18px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.3); cursor: pointer; border: 0; width: auto; font-weight: 700;
}
@media (min-width: 760px) { .cartbar { display: none !important; } }

/* Policy pages */
.legal { max-width: 820px; margin: 0 auto; padding: 34px 16px 48px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 6px; }
.legal .body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 34px); margin-top: 20px; white-space: pre-line; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal-tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 18px; scrollbar-width: none; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.contact-grid .panel { padding: 16px; }

/* Footer */
footer.site { margin-top: 56px; background: var(--ink); color: color-mix(in srgb, var(--paper) 80%, transparent); padding: 40px 0 calc(90px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { footer.site { padding-bottom: 40px; } }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
footer.site h4 { color: var(--paper); margin: 0 0 10px; font-size: 15px; }
footer.site a { display: block; text-decoration: none; padding: 3px 0; opacity: .85; }
footer.site a:hover { opacity: 1; color: var(--marigold-2); }
footer.site .brand-name { color: var(--paper); }
footer.site .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: 13px; opacity: .7; }

.toast { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; z-index: 80; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.skeleton { background: linear-gradient(90deg, var(--paper-2), var(--line), var(--paper-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 16px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Location */
.loc-pill {
  display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 46vw; border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.loc-pill #loc-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 720px) { .brand-name { display: none; } }
.locate { padding: 6px 2px 4px; }
.locate .big-gps {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border: 1.5px solid var(--indigo-2); background: color-mix(in srgb, var(--indigo-2) 8%, transparent);
  border-radius: 16px; padding: 16px; cursor: pointer; color: var(--ink);
}
.locate .big-gps b { display: block; font-size: 16px; }
.locate .big-gps small { color: var(--muted); }
.locate .gps-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--indigo-2); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.locate form { display: flex; gap: 8px; }
.locate input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: var(--paper); }
.locate form button { border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 800; padding: 0 18px; cursor: pointer; }
.dist { display: inline-block; font-size: 12px; font-weight: 700; color: var(--leaf); }
.notice { background: color-mix(in srgb, var(--marigold) 16%, var(--card)); border: 1px solid color-mix(in srgb, var(--marigold) 40%, transparent); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }

/* ---- 2026-10-08 v2: black sticky header with logo, white footer links ---- */
.top { background: #000 !important; border-bottom: 1px solid #1f1f1f; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.top .wrap { height: 64px; gap: 10px; }
.brand img { height: 40px; width: auto; display: block; }
@media (max-width: 720px) { .brand img { height: 30px; } .top .wrap { height: 58px; } }
.top .nav a.link { color: #e5e5e5; }
.top .nav a.link:hover { background: #1a1a1a; color: #fff; }
.top .cart-btn { background: #fff; color: #000; }
.top .loc-pill { background: #141414; border-color: #333; color: #fff; }
.tg-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--tg); color: #fff; text-decoration: none; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
@media (max-width: 720px) { .tg-label { display: none; } .tg-btn { padding: 8px 9px; } }
footer.site { background: #000; color: #d4d4d4; }
footer.site a, footer.site h4, footer.site .brand-name { color: #fff !important; opacity: 1; }
footer.site a:hover { color: var(--marigold-2) !important; }
footer.site .fine { color: #bdbdbd; opacity: 1; }
.chat-pill { display: inline-flex; align-items: center; gap: 8px; margin: 10px 8px 0 0; padding: 9px 14px; border-radius: 999px; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; }
.chat-pill.tg { background: var(--tg); } .chat-pill.wa { background: var(--wa); }
.chat-pill svg { width: 16px; height: 16px; }
.chat-row { display: flex; flex-wrap: wrap; }

/* Search with camera */
.search .cam { background: transparent; color: #1d1a3a; font-size: 20px; padding: 0 10px; }

/* Rails (horizontal product strips) */
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail-item { flex: none; width: 170px; scroll-snap-align: start; }
.rail-item .p-card { height: 100%; }
.p-img .slot { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.sug-h { font-size: 20px; margin: 22px 0 10px; }
.dist-badge { left: auto; right: 10px; }

/* Product sheet: options, swatches, attributes, buy row, share */
.opt { margin: 14px 0; }
.opt-h { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.opt .req { font-weight: 600; font-size: 11px; color: var(--rose); text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; }
.opt.missing .chip { border-color: var(--rose); }
.wrapchips { flex-wrap: wrap; overflow: visible; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { border: 2px solid var(--line); background: var(--card); border-radius: 12px; padding: 3px; width: 64px; cursor: pointer; text-align: center; }
.sw.on { border-color: var(--indigo-2); }
.sw img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; }
.sw small { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy { display: flex; gap: 10px; align-items: stretch; margin-top: 14px; }
.buy .qty button { width: 40px; height: 100%; font-size: 20px; }
.buy .qty span { min-width: 26px; text-align: center; font-weight: 800; }
.buy .primary { flex: 1; }
.attrs { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.attrs th { text-align: left; color: var(--muted); font-weight: 600; padding: 7px 10px 7px 0; width: 38%; vertical-align: top; }
.attrs td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.attrs th { border-bottom: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.share-h { font-weight: 800; font-size: 14px; margin-right: 4px; }
.sh { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; text-decoration: none; font-size: 16px; }
.sh svg { width: 19px; height: 19px; }
.sh-wa { background: #1fa855; } .sh-fb { background: #1877f2; } .sh-pin { background: #e60023; } .sh-tg { background: #229ed9; } .sh-yt { background: #ff0000; }
.sh-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sh-link { background: var(--paper-2); color: var(--ink); }

/* Combos */
.combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.combo { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.combo-imgs { display: flex; }
.combo-imgs img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); margin-left: -12px; background: var(--paper-2); }
.combo-imgs img:first-child { margin-left: 0; }
.combo-t { font-size: 14px; font-weight: 600; }
.combo-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.combo-f .add { margin: 0; padding: 8px 14px; }

/* ---- v3: photo hero with centred search, shuffle ---- */
.hero { background: #120f24; }
.hero-photos { position: absolute; inset: 0; z-index: 0; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.hero-photo.on { opacity: 1; animation: heroZoom 12s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,30,.55) 0%, rgba(20,14,60,.62) 55%, rgba(10,8,30,.82) 100%), radial-gradient(900px 380px at 50% 40%, rgba(67,56,202,.28), transparent 70%); }
.hero::after { z-index: 1; }
.hero .wrap { z-index: 2; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 64px !important; padding-bottom: 72px !important; }
.hero-center h1 { margin-left: auto; margin-right: auto; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-center p.lead { margin-left: auto; margin-right: auto; }
.hero-center .search { width: 100%; max-width: 680px; margin: 0 auto; }
.hero-center .hero-stats { justify-content: center; }
@media (min-width: 900px) { .hero-center { min-height: 520px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hero-photo, .hero-photo.on { transition: none; animation: none; } }
.sug-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shuffle { border: 1px solid var(--line); background: var(--card); color: var(--indigo-2); font-weight: 800; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px; margin-top: 12px; flex: none; }
.shuffle[disabled] { opacity: .6; cursor: wait; }

/* ---- v4: menu = small symbol + name; lighter hero overlay ---- */
.hero::before { background: linear-gradient(180deg, rgba(10,8,30,.40) 0%, rgba(20,14,60,.48) 55%, rgba(10,8,30,.74) 100%), radial-gradient(900px 380px at 50% 40%, rgba(67,56,202,.22), transparent 70%); }
.ico { width: 18px; height: 18px; flex: none; }
.top-row { display: flex; align-items: center; gap: 10px; }
.loc-pill .ico { width: 16px; height: 16px; color: var(--marigold-2); }
.loc-pill .caret { font-size: 11px; opacity: .8; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.mi {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 10px; border: 0; background: transparent;
  color: #e9e9e9; text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1;
}
.mi:hover { background: #1b1b1b; color: #fff; }
.mi-tg { color: #5cc3f2; }
.mi-cart { color: #fff; }
.cart-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--marigold); color: #1d1a3a; font-size: 11px; font-weight: 800;
  display: inline-grid; place-items: center;
}
.cart-count.zero { background: #3a3a3a; color: #cfcfcf; }
/* Phones: menu becomes a second row — symbol above name */
@media (max-width: 760px) {
  .top .wrap.top-row { height: auto !important; flex-wrap: wrap; padding-top: 8px; padding-bottom: 4px; row-gap: 6px; }
  .top .brand img { height: 28px; }
  .loc-pill { margin-left: auto; max-width: 58vw; }
  .menu { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 0; border-top: 1px solid #1f1f1f; padding-top: 2px; }
  .mi { flex-direction: column; gap: 3px; padding: 6px 4px; font-size: 11px; font-weight: 600; flex: 1; min-width: 0; }
  .mi .ico { width: 20px; height: 20px; }
  .mi .cart-count { position: absolute; top: 2px; left: 50%; margin-left: 6px; }
}

/* ---- v6: old-site slider (grow effect + bar controls) ---- */
.hero-photo { transform: scale(1); transition: opacity .9s ease; will-change: opacity, transform; }
.hero-photo.on { animation: heroGrow 6s linear forwards; }
@keyframes heroGrow { 0%, 15% { transform: scale(1); } 100% { transform: scale(1.15); } }
.hero-bars { position: absolute; z-index: 3; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero-bar { width: 5px; height: 36px; border: 0; padding: 0; border-radius: 3px; background: #fff; opacity: .45; cursor: pointer; transition: opacity .3s, transform .3s; }
.hero-bar.on, .hero-bar:hover { opacity: 1; transform: scale(1.2); }
@media (max-width: 760px) {
  .hero-bars { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .hero-bar { width: 26px; height: 4px; }
}
.brand picture { display: block; }
