/* ---- tokens ---- */
:root {
  color-scheme: light;
  /* Sampled from the GenZ Covers banner: lime #CDE90F on near-black, white
     canvas. Lime is a FILL colour only — as text on white it measures 1.4:1,
     so --accent-text is a darkened lime that clears 4.5:1. */
  --page: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f4ef;
  --ink: #0b0b0b;
  --ink-2: #4f5147;
  --ink-3: #8a8c80;
  --line: rgba(11, 11, 11, 0.14);
  --accent: #cde90f;
  --accent-ink: #0b0b0b;
  --accent-text: #6b7d00;
  --accent-soft: #f2fbc2;
  --brand-dark: #0b0b0b;
  --sale: #d02f4b;
  --good: #3f8f12;
  --shadow: 0 1px 2px rgba(11,11,11,.05), 0 8px 24px rgba(11,11,11,.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

/* Scrollbars: slim, rounded, and only as loud as they need to be. Firefox
   takes the two-property form; WebKit/Blink needs the pseudo-elements. */
* { scrollbar-width: thin; scrollbar-color: rgba(11, 11, 11, .22) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(11, 11, 11, .20);
  border-radius: 999px;
  /* The border fakes padding, so the thumb reads as a slim pill. */
  border: 2px solid transparent;
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(11, 11, 11, .38); background-clip: content-box; }
*::-webkit-scrollbar-corner { background: transparent; }
/* On the dark header the same thumb would vanish. */
.site-header *::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .3); background-clip: content-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---- buttons ---- */
.btn {
  /* Anchors styled as buttons would otherwise inherit the underline. */
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, opacity .15s ease;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-wa {
  background: #25d366; border-color: #25d366; color: #05331a; font-weight: 700;
}
.btn-wa:hover { background: #1fbe5a; border-color: #1fbe5a; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { color: var(--sale); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* The banner is black with lime marks; the header carries that, and the
     content below stays on the white canvas. */
  background: var(--brand-dark);
  border-bottom: 1px solid var(--brand-dark);
  color: #fff;
}
.site-header .brand { color: #fff; }
.site-header .brand-mark { background: var(--accent); color: var(--brand-dark); }
.site-header .btn {
  background: transparent; border-color: rgba(255,255,255,.28); color: #fff;
}
.site-header .btn:hover { background: rgba(255,255,255,.12); }
.site-header .btn-wa { background: #25d366; border-color: #25d366; color: #05331a; }
.site-header .header-search input {
  background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.2); color: #fff;
}
.site-header .header-search input::placeholder { color: rgba(255,255,255,.6); }
.site-header .header-search input:focus {
  background: rgba(255,255,255,.16); border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.site-header-inner {
  max-width: min(1760px, 95vw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; color: inherit; flex: none;
  /* Keeps the header the same height whether or not a logo is set. */
  min-height: 42px;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #ff8fb1));
  display: grid; place-items: center; color: #fff; font-size: 14px;
}
.brand-logo {
  /* Default: a wide wordmark. `contain` so nothing is cropped — `cover` would
     slice the shop's name off a banner-shaped logo. */
  height: 42px; width: auto; max-width: 210px; object-fit: contain;
  display: block; flex: none;
}
/* A roughly square logo is an icon, not a wordmark, so it gets avatar
   treatment and keeps the shop name beside it. */
.brand-logo.is-icon {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--line);
}

/* ---- latest-products slider ---- */
.slider { padding-top: 10px; padding-bottom: 4px; }
.slider-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.slider-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.slider-nav { display: flex; gap: 6px; }
.slider-nav .icon-btn { width: 30px; height: 30px; font-size: 16px; }
.slider-nav .icon-btn:disabled { opacity: .35; cursor: not-allowed; }

/* Scroll-snap rather than transforms: swipe works natively on a phone and
   keyboard scrolling still behaves. */
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: var(--radius);
}
.slider-track::-webkit-scrollbar { display: none; }

.slide {
  text-decoration: none;
  scroll-snap-align: start;
  /* The image grows with the panel instead of staying a 220px stamp beside
     an otherwise blank 1400px row. */
  display: grid; grid-template-columns: clamp(220px, 26%, 380px) 1fr; gap: 26px; align-items: center;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: border-color .15s ease;
}
.slide:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.slide-media { aspect-ratio: 1/1; border-radius: 13px; overflow: hidden; background: var(--surface-2); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-new {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  background: var(--accent); color: var(--accent-ink); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.slide-name { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.slide-desc { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.slide-fits { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* One column on a phone, two once there is room: the product on the left and
   the shop's promises on the right, so the panel is filled by content rather
   than by stretching one column across it. */
.slide-body { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .slide-body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .slide-side {
    border-left: 1px solid var(--line);
    padding-left: 28px;
    align-self: stretch;
  }
  .slide-perks { margin-top: 0; }
}

.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.slider-dot {
  width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background .15s ease, width .15s ease;
}
.slider-dot.is-on { background: var(--accent); width: 20px; }

@media (max-width: 720px) {
  .slide { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .slide-media { max-width: 240px; margin: 0 auto; }
  .slide-name { font-size: 19px; }
}

.header-search { flex: 1; max-width: 420px; margin: 0 auto; position: relative; }

.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; max-height: 70vh; overflow-y: auto;
  /* The header is dark; the panel belongs to the page below it. */
  color: var(--ink);
}
.search-hit {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 11px; align-items: center;
  padding: 9px 12px; cursor: pointer; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line);
}
.search-hit:last-child { border-bottom: none; }
.search-hit:hover, .search-hit.is-active { background: var(--surface-2); }
.search-hit img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.search-hit-name { font-size: 13.5px; font-weight: 620; line-height: 1.3; }
.search-hit-name mark { background: var(--accent); color: var(--accent-ink); border-radius: 3px; padding: 0 1px; }
.search-hit-fits { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.search-hit-price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.search-empty { padding: 16px 14px; font-size: 13px; color: var(--ink-2); text-align: center; }
.search-more {
  display: block; width: 100%; padding: 10px; border: none; background: var(--surface-2);
  font: inherit; font-size: 12.5px; font-weight: 650; color: var(--accent-text); cursor: pointer;
}
.search-more:hover { filter: brightness(.97); }
.header-search input {
  width: 100%; font: inherit; font-size: 14px; padding: 9px 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink);
}
.header-search input:focus {
  outline: none; background: var(--surface); border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.header-wa { flex: none; background: #25d366; border-color: #25d366; color: #05331a; font-weight: 700; }
.header-wa:hover { background: #1fbe5a; border-color: #1fbe5a; }

.cart-btn { position: relative; flex: none; }
.cart-count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--sale); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-grid; place-items: center;
}

/* ---- layout ---- */
.wrap {
  /* Was a fixed 1180px, which left huge margins on a wide monitor. Scales
     with the viewport but stops before product rows get absurdly wide. */
  max-width: min(1760px, 95vw);
  margin: 0 auto; padding: 0 24px;
}
.hero { padding: 56px 0 30px; text-align: center; }
.hero h1 {
  margin: 0 0 12px; font-size: clamp(30px, 5.4vw, 48px);
  letter-spacing: -0.03em; line-height: 1.08; font-weight: 800;
}
.hero p { margin: 0 auto; max-width: 560px; color: var(--ink-2); font-size: 16px; }
.hero-accent { color: var(--accent-text); }

/* ---- shop layout: left nav + grid ---- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; }
.shop-main { min-width: 0; }

.sidebar {
  position: sticky; top: 78px; align-self: start;
  max-height: calc(100vh - 100px); overflow-y: auto;
  padding-right: 8px;
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sidebar-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.sidebar .sidebar-close { display: none; }

.model-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-family {
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 11px 10px 4px;
}
.nav-family:first-child { padding-top: 2px; }
.nav-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; padding: 7px 10px; border-radius: 9px;
  border: 1px solid transparent; background: transparent; cursor: pointer;
  font-size: 13.5px; font-weight: 550; color: var(--ink-2);
  transition: background .12s ease, color .12s ease;
}
.nav-item:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 650; }
.nav-item-count { font-size: 11.5px; font-variant-numeric: tabular-nums; opacity: .72; }
.nav-item.is-empty { opacity: .42; }
.nav-toggle {
  margin-top: 10px; padding: 7px 10px; width: 100%; text-align: left;
  border: none; background: none; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--accent-text);
  border-radius: 9px;
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-item.is-all { font-weight: 700; color: var(--ink); margin-bottom: 4px; }

.side-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-title {
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 9px;
}
.side-check {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px;
  border-radius: 9px; cursor: pointer; font-size: 13.5px; font-weight: 550; color: var(--ink-2);
}
.side-check:hover { background: var(--surface-2); color: var(--ink); }
.side-check input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.side-count { margin-left: auto; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.side-select {
  width: 100%; font: inherit; font-size: 13.5px; padding: 8px 10px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.side-select:focus { outline: none; border-color: var(--accent); }

.side-help {
  margin-top: 22px; padding: 16px; border-radius: 13px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.side-help-title { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.side-help p { margin: 0 0 11px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.side-perks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.side-perks li { position: relative; padding-left: 19px; font-size: 12.5px; color: var(--ink-2); }
.side-perks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--good); font-size: 11px; font-weight: 800;
}

.shop-toolbar { display: flex; align-items: center; gap: 12px; padding: 18px 0 2px; min-height: 46px; }
.sidebar-open { display: none; }
.sidebar-scrim { position: fixed; inset: 0; background: rgba(8,8,12,.5); z-index: 59; }

/* ---- model strip (phones) ---- */
.model-strip {
  position: sticky; top: 0; z-index: 45;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.model-strip-inner { display: flex; align-items: center; gap: 8px; padding: 9px 14px; }
.model-strip .chips { flex: 1; min-width: 0; }
.model-strip .chip {
  background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .16); color: #fff;
  padding: 7px 13px; font-size: 13px;
}
.model-strip .chip:hover { border-color: var(--accent); }
.model-strip .chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.model-strip .chip-count { opacity: .6; margin-left: 5px; font-size: 11.5px; }
.model-strip .chip-more {
  flex: none; background: transparent; border-color: rgba(255, 255, 255, .28); font-weight: 650;
}

/* ---- model filter (legacy chip styles, still used elsewhere) ---- */
.filter-bar {
  position: sticky; top: 61px; z-index: 40;
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(10px);
  padding: 14px 0; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.filter-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.filter-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.filter-count { font-size: 13px; color: var(--ink-2); }
/* Horizontal scroll keeps ~30 models usable on a phone without a dropdown. */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chips::-webkit-scrollbar { height: 5px; }
.chips::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.chip {
  flex: none; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip-group-label {
  flex: none; align-self: center; padding: 0 4px 0 10px;
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em; border-left: 1px solid var(--line);
}
.chip-group-label:first-child { border-left: none; padding-left: 0; }

/* ---- product grid ---- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; padding: 22px 0 60px;
}
.card {
  text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; cursor: pointer;
  text-align: left; padding: 0; font: inherit; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); outline: none;
}
.card-media { position: relative; aspect-ratio: 1/1; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
/* 1.04 was too slight to read as a response to the pointer at all. */
.card:hover .card-media img,
.card:focus-within .card-media img { transform: scale(1.12); }
/* A touch screen has no hover, and leaving the transform mid-tap looks like
   a stuck animation. */
@media (hover: none) {
  .card:hover .card-media img, .card:focus-within .card-media img { transform: none; }
}
.card.is-sold-out .card-media img { opacity: .4; filter: grayscale(.7); }
.card-soldout {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(12,12,16,.82); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
}

.card-flag {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .01em;
}
.card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-name {
  font-size: 14.5px; font-weight: 650; line-height: 1.32; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-fits { font-size: 12px; color: var(--ink-3); }
.prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price-now { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.price-was { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.price-off { font-size: 12px; font-weight: 800; color: var(--accent-text); }

.empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.empty-title { font-size: 17px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }

/* ---- modal / drawer shell ---- */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 8, 12, .55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.sheet {
  background: var(--surface); border-radius: 20px; width: min(660px, 100%);
  max-height: min(88vh, 780px); overflow: auto; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.sheet-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.sheet-body { padding: 20px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center;
  font-size: 15px; line-height: 1; flex: none;
}
.icon-btn:hover { background: var(--surface-2); }

/* right-hand drawer variant for the basket */
.overlay.drawer { justify-content: flex-end; padding: 0; }
.overlay.drawer .sheet {
  width: min(430px, 100%); max-height: 100vh; height: 100vh;
  border-radius: 0; border-right: none; display: flex; flex-direction: column;
}
.overlay.drawer .sheet-body { flex: 1; overflow: auto; }

/* ---- product detail ---- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-img { border-radius: 14px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1/1; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.detail-desc { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--page); font-size: 15px; width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.qty { display: flex; align-items: center; gap: 10px; }
.qty input { width: 68px; text-align: center; }

/* ---- basket ---- */
.line {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.line-name { font-size: 14px; font-weight: 620; line-height: 1.3; }
.line-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.line-right { text-align: right; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.line-qty {
  width: 62px; padding: 5px 7px; text-align: center;
  border-radius: 9px; border: 1px solid var(--line);
  background: var(--page); color: var(--ink); font: inherit; font-size: 13px;
}
.line-total { font-size: 14px; font-weight: 700; white-space: nowrap; }
.totals {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 15px 0 4px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em;
}
.saved { color: var(--good); font-size: 13px; font-weight: 650; text-align: right; padding-bottom: 10px; }
.points-box {
  margin: 10px 0 4px; padding: 11px 13px; border-radius: 11px;
  background: var(--accent-soft); border: 1px solid var(--accent);
}
.points-row { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; font-weight: 650; }
.points-row input { accent-color: var(--brand-dark); width: 16px; height: 16px; flex: none; }
.points-hint { font-size: 12px; color: var(--ink-2); margin-top: 5px; }
.points-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px; font-weight: 650; color: var(--accent-text); padding: 10px 0 0;
}
.done-points { margin: 10px 0 4px; background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-size: 13px; }

.cart-preorder {
  margin: 4px 0 10px; font-size: 12.5px; font-weight: 600;
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink);
}
.sheet-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface); }

/* ---- status banners ---- */
.note { padding: 11px 14px; border-radius: 11px; font-size: 13.5px; border: 1px solid var(--line); background: var(--surface-2); }
.note.is-error { color: var(--sale); background: color-mix(in srgb, var(--sale) 12%, var(--surface)); border-color: color-mix(in srgb, var(--sale) 35%, transparent); }
.note.is-success { color: var(--good); background: color-mix(in srgb, var(--good) 12%, var(--surface)); border-color: color-mix(in srgb, var(--good) 35%, transparent); }

/* ---- order confirmation ---- */
.done { text-align: center; padding: 26px 10px; }
.done-mark {
  width: 58px; height: 58px; border-radius: 999px; margin: 0 auto 16px;
  background: color-mix(in srgb, var(--good) 15%, transparent);
  color: var(--good); display: grid; place-items: center; font-size: 27px;
}
.done h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.done p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 6px; }
.done-ref {
  display: inline-block; margin: 12px 0 18px; padding: 9px 16px;
  background: var(--surface-2); border-radius: 11px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; font-weight: 650;
}

.site-foot {
  background: var(--brand-dark); color: rgba(255,255,255,.62);
  padding: 30px 0 38px; font-size: 13px; text-align: center; margin-top: 40px;
}

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card { height: 300px; border-radius: var(--radius); }

@media (max-width: 760px) {
  /* The search drops to its own row rather than squeezing the brand out. */
  .site-header-inner { flex-wrap: wrap; row-gap: 10px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .header-wa-text { display: none; }
}

@media (max-width: 900px) {
  .model-strip[hidden] { display: block !important; }
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .sidebar-open { display: inline-flex; }
  .sidebar .sidebar-close { display: grid; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
    width: min(290px, 86vw); max-height: none; margin: 0;
    background: var(--surface); border-right: 1px solid var(--line);
    padding: 16px 12px; overflow-y: auto;
    transform: translateX(-102%); transition: transform .22s ease;
  }
  .sidebar.is-open { transform: translateX(0); }
}

@media (max-width: 720px) {
  .hero { padding: 34px 0 20px; }
  .detail { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding-top: 16px; }
  .overlay { padding: 0; align-items: flex-end; }
  .sheet { max-height: 92vh; border-radius: 20px 20px 0 0; width: 100%; }
  .filter-bar { top: 57px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Fills the lower half of a slide whose product carries little detail, so a
   sparse catalogue still reads as a designed panel rather than a gap. */
.slide-perks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.slide-perks li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.slide-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-text);
  font-weight: 800;
}
.slide-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
}
.slide:hover .slide-cta { text-decoration: underline; }

/* ---- delivery zone picker ---- */
.delivery-box { margin: 14px 0; }
.delivery-title, .lp-delivery-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-3); margin-bottom: 8px;
}
.delivery-options { display: grid; gap: 7px; }
.delivery-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px;
  cursor: pointer; font-size: 14px; background: var(--surface);
  transition: border-color .15s ease, background .15s ease;
}
.delivery-option:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
/* The chosen zone changes the total, so it has to be unmistakable. */
.delivery-option.is-on,
.delivery-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.delivery-option input { width: 17px; height: 17px; cursor: pointer; accent-color: var(--accent-text); }
.delivery-option-label { flex: 1; }
.delivery-option-fee { font-weight: 700; }
.delivery-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }

.lp-delivery { margin: 16px 0; }
.lp-lines { display: grid; gap: 5px; margin-top: 12px; }
.lp-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); }

/* Earned by sales in the last 30 days, never set by hand. */
.card-hot {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--brand-dark); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em;
  padding: 4px 9px; border-radius: 999px;
}

/* How many people are on this page right now. Only ever a real count. */
.pd-viewers {
  display: flex; align-items: center; gap: 7px;
  margin: 10px 0 0; font-size: 13px; color: var(--ink-2);
}
.pd-viewers-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #1b7a3d;
  box-shadow: 0 0 0 0 rgba(27, 122, 61, .6);
  animation: pd-pulse 2s infinite;
}
@keyframes pd-pulse {
  70% { box-shadow: 0 0 0 7px rgba(27, 122, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 122, 61, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-viewers-dot { animation: none; }
}
