/* ---- 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;

  /* Depth: three steps, so a card, a sticky bar and a sheet are visibly
     different layers instead of all carrying the same drop shadow. */
  --shadow-sm: 0 1px 2px rgba(11,11,11,.06);
  --shadow-md: 0 2px 6px rgba(11,11,11,.06), 0 10px 28px rgba(11,11,11,.09);
  --shadow-lg: 0 -2px 10px rgba(11,11,11,.06), 0 -12px 40px rgba(11,11,11,.10);

  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Height of the sticky chrome, so sticky offsets stop being magic numbers
     that drift apart (the strip used to sit at 61px and the bar at 57px). */
  --header-h: 60px;
  --strip-h: 48px;
}

* { 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; }
/* The model list is links (each model has its own page); they look like the buttons they were. */
:where(a.nav-item, a.chip) { text-decoration: none; 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; }
/* The bag stands in for the word on a phone, where the row is shared with the
   shop's name; on a desktop the word is clearer and there is room for it. */
.cart-icon { display: 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); position: relative; }

/* ---- the front page arriving ----
   Only ever applied by motion.js (.motion), and only when the visitor has
   not asked for less movement — so a browser that never runs it, or one
   that runs it with motion turned down, shows a finished hero rather than
   an invisible one waiting for an animation that is not coming.

   One sequence, on load, and then the page is still. The headline's words
   rise out of their own line, the lime stroke draws itself under the word
   the shop is about ("your"), and the sentence below and the picker follow
   it up. Transforms and opacity only: nothing here makes the browser lay
   the page out again mid-animation. */
.hero.motion h1 .word {
  display: inline-block; overflow: hidden; vertical-align: top;
  /* Room for the tails of y and p, which the clip would otherwise shave. */
  padding-bottom: .12em; margin-bottom: -.12em;
}
.hero.motion h1 .word-in {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
.hero.motion.is-in h1 .word-in {
  animation: word-rise .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes word-rise { from { transform: translateY(105%); } to { transform: none; } }

/* Drawn left to right, like a pen, once the words have landed. */
.hero.motion .hero-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em;
  height: .1em; border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
}
.hero.motion.is-in .hero-accent::after {
  animation: accent-draw .55s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: .52s;
}
@keyframes accent-draw { to { transform: scaleX(1); } }

.hero.motion .hero-eyebrow,
.hero.motion > p,
.hero.motion .picker { opacity: 0; }
.hero.motion.is-in .hero-eyebrow { animation: hero-rise .6s ease-out both; }
.hero.motion.is-in > p { animation: hero-rise .6s ease-out .34s both; }
/* The picker is hidden until the model list loads, so this runs when it
   appears rather than against an empty box. */
.hero.motion.is-in .picker { animation: hero-rise .6s cubic-bezier(.22, 1, .36, 1) .46s both; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Covers landing in the grid — on first load and on every change of filter,
   so switching model reads as the shop answering rather than the page
   flickering. Short, and only the first dozen are staggered: beyond that a
   shopper is scrolling, not watching. */
.grid .card { animation: card-in .42s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.grid .card:nth-child(1) { animation-delay: 0ms; }
.grid .card:nth-child(2) { animation-delay: 35ms; }
.grid .card:nth-child(3) { animation-delay: 70ms; }
.grid .card:nth-child(4) { animation-delay: 105ms; }
.grid .card:nth-child(5) { animation-delay: 140ms; }
.grid .card:nth-child(6) { animation-delay: 175ms; }
.grid .card:nth-child(7) { animation-delay: 210ms; }
.grid .card:nth-child(8) { animation-delay: 245ms; }
.grid .card:nth-child(9) { animation-delay: 280ms; }
.grid .card:nth-child(10) { animation-delay: 315ms; }
.grid .card:nth-child(11) { animation-delay: 350ms; }
.grid .card:nth-child(12) { animation-delay: 385ms; }

/* The fit bar is an answer to something the shopper just did, so it arrives
   rather than appearing. */
.fit-bar { animation: fit-drop .34s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes fit-drop {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grid .card, .fit-bar { animation: none; }
}

/* ---- 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-price { display: flex; align-items: center; gap: 6px; }
.side-price .side-select { min-width: 0; flex: 1; }
.side-price-dash { color: var(--ink-3); }
.side-price-clear {
  margin-top: 6px; padding: 4px 2px; border: 0; background: none; font: inherit;
  font-size: 12.5px; color: var(--ink-2); text-decoration: underline; cursor: pointer;
}
.side-price-clear[hidden] { display: none; }

.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; }
.side-models-title, .sidebar-foot, .on-phone { display: none; }
.sidebar-scrim { position: fixed; inset: 0; background: rgba(8,8,12,.5); z-index: 59; }

/* ---- model strip (phones) ----
   Pinned directly under the header rather than at top: 0, where it slid
   beneath the header and the chips disappeared as you scrolled.

   It used to be a second black bar under a black header: two dark slabs that
   read as one heavy block, with chips chopped off mid-word at the right edge
   so the row looked broken rather than scrollable. Now it sits on the page's
   own paper with a hairline under it — the header stays the only dark bar —
   and the chips fade out as they run off the edge, which is what tells you
   there are more. */
.model-strip {
  position: sticky; top: var(--header-h); z-index: 45;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.model-strip-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0 8px 14px; min-height: var(--strip-h);
}
.model-strip .chips {
  flex: 1; min-width: 0;
  padding: 2px 0;
  /* The scrollbar was a grey line sitting under the chips on a phone, where
     nothing points at it anyway — the fade does that job. */
  scrollbar-width: none;
  /* Chips run under the Filters button and fade rather than being cut. */
  mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  scroll-padding-inline: 14px;
}
.model-strip .chips::-webkit-scrollbar { display: none; }
.model-strip .chip {
  background: var(--surface-2); border-color: transparent; color: var(--ink-2);
  padding: 8px 14px; font-size: 13.5px;
}
.model-strip .chip:hover { background: var(--accent-soft); color: var(--ink); }
.model-strip .chip.is-active {
  background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
}
.model-strip .chip-count {
  margin-left: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--ink-3);
}
.model-strip .chip.is-active .chip-count { color: var(--accent); }
/* Pinned past the fade, with a rule to say it is not one of the chips. */
.model-strip .chip-more {
  flex: none; margin-right: 14px; padding-left: 14px;
  background: transparent; border-color: transparent; color: var(--ink);
  font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
  border-left: 1px solid var(--line); border-radius: 0;
}
.model-strip .chip-more:hover { background: transparent; color: var(--accent-text); }
.strip-more-icon { flex: none; }

/* ---- the fit bar ----
   The same sticky slot as the model strip, directly under the header. Lime,
   because this is the shop keeping a promise rather than another control:
   everything below it fits the phone it names. */
.fit-bar {
  position: sticky; top: var(--header-h); z-index: 46;
  background: var(--accent); color: var(--accent-ink);
  border-bottom: 1px solid rgba(11, 11, 11, .14);
}
.fit-bar-inner {
  max-width: min(1760px, 95vw); margin: 0 auto;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 24px; min-height: var(--strip-h);
  font-size: 14px; font-weight: 600;
}
.fit-tick { font-size: 13px; }
.fit-text strong { font-weight: 800; }
.fit-change {
  margin-left: auto; flex: none;
  background: transparent; border: 0; cursor: pointer;
  color: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 2px; border-bottom: 2px solid rgba(11, 11, 11, .4);
}
.fit-change:hover { border-bottom-color: var(--accent-ink); }
.fit-change:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

/* ---- the model picker ----
   One question, a search for the three dozen models that cannot all fit on
   screen, and the handful worth offering outright. */
.picker {
  max-width: 560px; margin: 26px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 20px 18px;
  box-shadow: var(--shadow-md);
}
.picker-q { margin: 0 0 3px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.picker-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-3); }
.picker-sub:empty { display: none; }
.picker-field {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--ink); border-radius: 12px;
  padding: 0 13px; margin-bottom: 13px;
}
.picker-field:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.picker-icon { color: var(--ink-3); font-size: 15px; }
.picker-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 11px 0; font-size: 15px;
}
.picker-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.picker-tile {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 56px; padding: 9px 8px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--page); color: inherit; text-align: center;
  font-size: 13px; font-weight: 650; line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.picker-tile:hover { border-color: var(--accent); background: var(--accent-soft); }
.picker-tile:active { transform: translateY(1px); }
.picker-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* The phone we believe they are holding — offered, never assumed. */
.picker-tile.is-mine { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.picker-tile.is-mine:hover { background: #1b1b1b; border-color: #1b1b1b; }
.picker-mine-note {
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.picker-tile-count { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.picker-tile.is-mine .picker-tile-count { color: rgba(255, 255, 255, .62); }
/* ---- saying the model instead of typing it ----
   Phones only: on a desktop the whole model list is already on screen, so a
   microphone there would be decoration. Shown by the media query below, and
   only once voice.js confirms the browser can listen. */
.picker-mic {
  display: none;
  position: relative;                 /* the listening ring hangs off this */
  flex: none; width: 38px; height: 38px; margin-right: -6px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.picker-mic:hover { background: var(--accent-soft); }
.picker-mic:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.picker-mic.is-listening { background: var(--accent); color: var(--accent-ink); }
.picker-mic.is-listening::after {
  content: ""; position: absolute; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--accent); animation: mic-ring 1.4s ease-out infinite;
}
@keyframes mic-ring {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(1.75); opacity: 0; }
}
/* A pulsing ring is a nice touch and a problem for anyone who asked the
   system to stop moving things. The colour alone still says "listening". */
@media (prefers-reduced-motion: reduce) {
  .picker-mic.is-listening::after { animation: none; display: none; }
}
.picker-voice { margin: 0 0 11px; font-size: 13px; color: var(--ink-2); }
.picker-voice.is-live { color: var(--accent-text); font-weight: 650; }
.picker-voice.is-bad { color: var(--sale); }

.picker-none { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); }
.picker-all {
  display: block; width: 100%; margin-top: 12px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--accent-text); font-size: 13.5px; font-weight: 700;
  padding: 8px 0;
}
.picker-all:hover { text-decoration: underline; }
.picker-all:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- "Watch demos on your iPhone 15" ----
   One card per clip, not per cover: a cover filmed three ways is three
   things worth watching. Scrolls sideways on a phone, which is where most
   of these are watched. */
.mdemos { margin-top: 26px; }
/* "Watch demos on your iPhone 15" is a long title and the count and the
   link beside it are not: let them drop to their own line rather than
   squeezing the heading into two words a line. */
.mdemos-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 12px; }
.mdemos-title { flex: 1 1 auto; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.mdemos-count {
  font-size: 12px; font-weight: 700; color: var(--accent-text);
  white-space: nowrap;
}
/* Pushed to the end of the line, so it reads as "and the rest are here". */
.mdemos-all {
  margin-left: auto; font-size: 13px; font-weight: 700;
  color: var(--accent-text); text-decoration: none; white-space: nowrap;
}
.mdemos-all:hover { text-decoration: underline; }
.mdemos-row {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.mdemos-row::-webkit-scrollbar { display: none; }
.mdemo {
  flex: 0 0 auto; width: 132px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 6px;
  padding: 0; border: 0; background: none; cursor: pointer;
  text-align: left; font: inherit; color: inherit;
}
.mdemo-media {
  position: relative; display: block;
  aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden;
  background: var(--surface-2);
}
.mdemo-media img { width: 100%; height: 100%; object-fit: cover; }
.mdemo-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11, 11, 11, .62); color: #fff;
  display: grid; place-items: center; font-size: 12px;
  backdrop-filter: blur(3px);
  transition: transform .15s ease, background .15s ease;
}
.mdemo:hover .mdemo-play { background: var(--accent); color: var(--accent-ink); transform: translate(-50%, -50%) scale(1.08); }
.mdemo:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 14px; }
.mdemo-name {
  font-size: 12.5px; font-weight: 650; line-height: 1.28;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mdemo-note { font-size: 11px; color: var(--ink-3); }
/* The ones actually shot on the phone they told us they have. */
.mdemo-note.is-theirs { color: var(--accent-text); font-weight: 700; }

/* ---- 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); }
/* All covers | ⏳ Pre-order */
.shop-views { scroll-margin-top: 200px; display: flex; gap: 4px; padding: 4px; margin: 2px 0 10px; border-radius: 999px; background: var(--surface-2, rgba(127,127,127,.1)); width: fit-content; max-width: 100%; }
.shop-view {
  border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center;
}
.shop-view span { font-size: 11.5px; color: var(--ink-3); }
.shop-view.is-active { background: var(--accent); color: var(--accent-ink); }
.shop-view.is-active span { color: inherit; opacity: .75; }
.pre-intro {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  padding: 12px 14px; margin-bottom: 12px; border-radius: 12px;
  border: 1px dashed var(--accent); font-size: 13.5px; color: var(--ink-2);
}
.pre-intro strong { color: var(--ink); }
.chip.chip-pre:not(.is-active) { border-style: dashed; }
.card-pre {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(12,12,16,.82); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 9px; border-radius: 999px; letter-spacing: .02em;
}
.theme-links { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: none; }
.theme-links::-webkit-scrollbar { display: none; }
.theme-link {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.theme-link span { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.theme-link:hover { border-color: var(--accent); }
.theme-link.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.theme-link.is-active span { color: inherit; opacity: .7; }
/* 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 { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--line) 62%, transparent); }
.card:hover, .card:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); outline: none;
}
.card-media {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  /* White, not grey: a cover photographed on white used to sit in a visible
     grey box that read as a loading state. */
  background: var(--surface);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.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: .45; filter: grayscale(.7); }
/* A centred pill had to wrap "Sold out · back soon" onto four lines inside a
   150px card, which looked like a rendering fault. A full-width bar across the
   foot of the picture always fits on one line. */
.card-soldout {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(12,12,16,.86); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 7px 10px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.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: 11px 12px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-name {
  font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* The spacer sits here, not on .prices. Pushing the price down on its own
   left a hole above it on any cover with no reviews yet, so a row of cards
   had prices at different heights. Now the price-and-stars block is the
   bottom of every card and the slack is always in the same place. */
/* The suggestions, split by whether the chosen phone can actually have
   them. The heading carries the answer's colour, as the line on each card
   does, so the split is readable before a single cover is. */
.similar-groups { display: flex; flex-direction: column; gap: 6px; }
.similar-group {
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  margin: 14px 0 10px; color: var(--ink-2);
}
.similar-groups > .similar-group:first-child { margin-top: 2px; }
.similar-group.is-stock { color: #36790f; }
.similar-group.is-soldout { color: var(--sale); }
.card-fits { font-size: 11.5px; color: var(--ink-3); margin-bottom: auto; }
/* Once a phone is chosen on a product page, this line stops listing which
   phones a suggestion fits and answers whether it can be had for that one.
   An answer carries its own colour; the muted grey of a fits list reads as
   small print, which "Sold out for your phone" must not. */
/* --good is a fill colour: at 11.5px on white it measures 4.08:1, under the
   4.5:1 small text needs, the same trap --accent-text was darkened for. */
.card-fits.is-stock { color: #36790f; font-weight: 650; }
.card-fits.is-preorder { color: var(--ink-2); font-weight: 650; }
.card-fits.is-soldout { color: var(--sale); font-weight: 650; }
/* Price on its own line, big enough to scan down a column of cards. The
   discount sits beside it as a tag rather than a third baseline-aligned
   number, which used to make three different type sizes fight on one row. */
.prices { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding-top: 3px; }
.price-now { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-was { font-size: 12.5px; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-off {
  font-size: 11px; font-weight: 800; color: var(--accent-text);
  background: var(--accent-soft); padding: 2px 6px; border-radius: 6px; white-space: nowrap;
}

/* Rating: the stars used to run straight into the number — "★★★★★4.5 (4)".
   It is also lifted above the price, because a cover with no reviews yet has
   one row fewer: with the stars last, the price landed at a different height
   on every other card down the column. Price last = price always level. */
.card-rating { order: 1; display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-3); }
.prices { order: 2; }
.card-rating .rv-stars-static { letter-spacing: .5px; color: #f0a500; font-size: 12px; }
.card-rating-text { font-variant-numeric: tabular-nums; }

.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 */
/* Pinned to the top, not centred. Centring is what turned "a little too
   tall" into "the header is off the screen": the overrun was split between
   top and bottom. Aligned to the top, anything that does not fit falls off
   the bottom, where the drawer already scrolls. */
.overlay.drawer { justify-content: flex-end; align-items: flex-start; padding: 0; }
.overlay.drawer .sheet {
  width: min(430px, 100%); max-height: 100vh; height: 100vh;
  /* iPhone counts 100vh as the window with the address bar hidden, which is
     taller than what is on screen while it is showing. The drawer was then
     taller than the room it had, and since the overlay centres what it
     holds, the overrun was split top and bottom — taking the header and the
     first line of the cover's name up off the top of the screen, sliced
     through the middle of the letters. Reported as the checkout cutting off
     the title; it was never the title, it was the whole drawer sitting too
     high. dvh is the height actually visible, and changes as the address bar
     comes and goes; vh stays ahead of it for anything that does not know it. */
  max-height: 100dvh; height: 100dvh;
  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-text); font-size: 13px; }

.cart-preorder {
  margin: 4px 0 10px; font-size: 12.5px; font-weight: 600;
  /* --accent-text, not --accent-ink: on the pale tint, a shop with a dark
     accent would otherwise print white on near-white. */
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text);
}

/* What a customer needs to know before committing — quiet, but above the
   form rather than under the totals where it would never be read. */
.co-terms {
  margin: 0 0 16px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
}
.co-terms-title {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 9px;
}
.co-terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-terms-list li {
  position: relative; padding-left: 16px;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
}
.co-terms-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.co-terms-list strong { color: var(--ink); font-weight: 650; }
.sheet-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface); }

/* quantity stepper, recap and the details step */
.line { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; }
.line img { width: 64px; height: 64px; }
.line-right { gap: 10px; }
.line-remove {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-decoration: underline;
}
.line-remove:hover { color: var(--sale); }
.stepper {
  display: inline-flex; align-items: center; margin-top: 9px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.stepper button {
  width: 36px; height: 34px; border: 0; background: none; cursor: pointer;
  font-size: 19px; line-height: 1; color: var(--ink); border-radius: 999px;
}
.stepper button:hover:not(:disabled) { background: var(--surface-2); }
.stepper button:disabled { color: var(--ink-3); opacity: .45; cursor: default; }
.stepper-n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-hint { font-size: 12.5px; color: var(--ink-3); text-align: right; margin-top: -2px; padding-bottom: 8px; }
.co-recap {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 11px 14px; margin-bottom: 18px; border-radius: 12px; background: var(--surface-2);
  font-size: 14px; font-weight: 650;
}
/* min-width: 0 so a long cover name wraps inside the box instead of pushing
   "Add more" out of it. */
.co-recap-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* Not clamped. This line is the shopper's only statement of what they are
   about to pay for — Buy now goes straight past the basket — and the shop's
   names run long ("Old-Fashioned Kt Cat Style Mirror Protective Case for
   Apple iPhone 16/17/18 Pro Max, Trendy Brand Popular on Social Media"),
   so two lines cut the model out of the middle of the name. A tall recap is
   a smaller price than not knowing which cover is being bought. */
.co-recap-name { font-weight: 650; line-height: 1.32; overflow-wrap: anywhere; }
.co-recap-meta { font-size: 12.5px; font-weight: 550; color: var(--ink-2); display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
/* The phone, changeable without leaving the checkout. 16px or iOS zooms the
   whole page the moment it is touched, which on this step means zooming the
   form the shopper is part way through filling in. */
.co-recap-model {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  max-width: 100%;
}
.co-recap .btn { text-decoration: underline; padding: 4px 6px; white-space: nowrap; flex: none; align-self: flex-start; }
.co-form .field input, .co-form .field textarea { font-size: 16px; padding: 13px 14px; }
.co-form .field input.is-bad, .co-form .field textarea.is-bad {
  border-color: var(--sale); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sale) 16%, transparent);
}
.field > .co-err { font-size: 12.5px; font-weight: 600; color: var(--sale); }
.co-more {
  display: block; border: 0; background: none; padding: 2px 0 6px; margin-bottom: 8px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 650; color: var(--accent-text);
}
.co-form .delivery-box { margin: 4px 0 16px; }
.co-coupon { margin: 0 0 12px; }
.co-coupon-row { display: flex; gap: 8px; }
.co-coupon-row input {
  flex: 1; min-width: 0; text-transform: uppercase; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--page);
}
.co-coupon-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.co-coupon-row .btn { flex: none; }
.co-coupon-note { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--good); }
.co-coupon-note.is-bad { color: var(--sale); }
.cart-back { margin-right: -4px; font-size: 20px; }
.sheet-head .cart-back + .sheet-title { margin-right: auto; }
.cart-next { padding: 15px 18px; font-size: 16px; font-weight: 750; }
.cart-cod { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
#cart-summary .note.is-error { margin-top: 10px; }

/* ---- 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;
}
.done-track { display: block; margin: -10px 0 16px; color: var(--accent-text); font-weight: 700; font-size: 14px; }

.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;
}

/* ---- glitter on the black ----
   The dark fields — the header, the footer, the tile for the phone we think
   you are holding — carry a scatter of specks that breathe in and out. Two
   layers drifting at different speeds, which is what keeps it from reading
   as a fixed pattern, with a few in the shop's lime so the sparkle belongs
   to this shop rather than being generic.

   Painted behind the content, never over it: specks on top of the words or
   the logo would be dirt, not glitter. Backgrounds only — no extra elements
   and nothing for the browser to lay out again. */
.site-header, .site-foot, .picker-tile.is-mine { position: relative; }
.site-header::after, .site-foot::after, .picker-tile.is-mine::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.7px 1.7px at 8% 26%, rgba(255, 255, 255, .95), transparent 62%),
    radial-gradient(1.3px 1.3px at 23% 68%, rgba(255, 255, 255, .7), transparent 62%),
    radial-gradient(2px 2px at 34% 18%, var(--accent), transparent 60%),
    radial-gradient(1.2px 1.2px at 46% 78%, rgba(255, 255, 255, .8), transparent 62%),
    radial-gradient(1.6px 1.6px at 57% 36%, rgba(255, 255, 255, .9), transparent 62%),
    radial-gradient(1.2px 1.2px at 68% 62%, var(--accent), transparent 60%),
    radial-gradient(1.8px 1.8px at 79% 22%, rgba(255, 255, 255, .85), transparent 62%),
    radial-gradient(1.3px 1.3px at 88% 72%, rgba(255, 255, 255, .7), transparent 62%),
    radial-gradient(1.5px 1.5px at 95% 42%, rgba(255, 255, 255, .8), transparent 62%),
    radial-gradient(1.2px 1.2px at 15% 88%, var(--accent), transparent 60%),
    radial-gradient(1.4px 1.4px at 63% 8%, rgba(255, 255, 255, .75), transparent 62%),
    radial-gradient(1.1px 1.1px at 40% 50%, rgba(255, 255, 255, .6), transparent 62%);
  animation: glitter 6s ease-in-out infinite alternate;
}
/* A second scatter, offset and slower, so the two never twinkle in step. */
.site-header::before, .site-foot::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.2px 1.2px at 18% 44%, rgba(255, 255, 255, .7), transparent 62%),
    radial-gradient(1.5px 1.5px at 30% 86%, rgba(255, 255, 255, .55), transparent 62%),
    radial-gradient(1.1px 1.1px at 52% 24%, rgba(255, 255, 255, .8), transparent 62%),
    radial-gradient(1.6px 1.6px at 73% 84%, rgba(255, 255, 255, .6), transparent 62%),
    radial-gradient(1.2px 1.2px at 84% 46%, var(--accent), transparent 60%),
    radial-gradient(1.4px 1.4px at 6% 62%, rgba(255, 255, 255, .7), transparent 62%);
  animation: glitter-slow 9s ease-in-out infinite alternate;
}
/* Content sits above both scatters. */
.site-header-inner, .site-foot .wrap { position: relative; z-index: 1; }
.picker-tile.is-mine > * { position: relative; z-index: 1; }

/* The smaller black things — the chosen model chip, the chat bubble and the
   nudge beside it, the chat panel's own head. Five specks rather than
   eighteen: the field scatter on a 66px pill reads as dirt, not sparkle.
   `border-radius: inherit` keeps the specks inside the pill instead of
   showing up in the corners it does not have.
   The chat's rules live here with the rest of the glitter rather than in
   chat.css, so there is one place to tune all of it. */
.model-strip .chip.is-active,
.chat-launcher,
.chat-prompt-icon,
.chat-head { position: relative; }
.model-strip .chip.is-active::after,
.chat-launcher::after,
.chat-prompt-icon::after,
.chat-head::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 30%, rgba(255, 255, 255, .95), transparent 62%),
    radial-gradient(1.6px 1.6px at 44% 72%, var(--accent), transparent 60%),
    radial-gradient(1.2px 1.2px at 67% 26%, rgba(255, 255, 255, .85), transparent 62%),
    radial-gradient(1.5px 1.5px at 86% 62%, rgba(255, 255, 255, .8), transparent 62%),
    radial-gradient(1.1px 1.1px at 32% 52%, rgba(255, 255, 255, .6), transparent 62%);
  animation: glitter-small 4.5s ease-in-out infinite alternate;
}
/* The chip's and the bubble's own contents, back on top. */
.model-strip .chip.is-active > *,
.chat-launcher > *,
.chat-head > * { position: relative; z-index: 1; }
@keyframes glitter-small {
  from { opacity: .25; }
  to { opacity: 1; }
}
@keyframes glitter {
  from { opacity: .3; transform: translateY(0); }
  to { opacity: .95; transform: translateY(-2px); }
}
@keyframes glitter-slow {
  from { opacity: .7; transform: translateY(0); }
  to { opacity: .2; transform: translateY(2px); }
}
/* Still sparkles; it just stops breathing. */
@media (prefers-reduced-motion: reduce) {
  .site-header::after, .site-foot::after, .picker-tile.is-mine::after,
  .site-header::before, .site-foot::before,
  .model-strip .chip.is-active::after, .chat-launcher::after,
  .chat-prompt-icon::after, .chat-head::after { animation: none; opacity: .55; }
}

/* Quieter than the links above it: a notice, not an invitation. */
.foot-legal {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px; color: rgba(255, 255, 255, .45);
}

.foot-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.foot-icon {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.1); transition: transform .15s, background .15s;
}
.foot-icon:hover, .foot-icon:focus-visible { transform: translateY(-2px); }
.foot-icon.is-messenger:hover { background: #0866ff; }
.foot-icon.is-instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.foot-icon.is-youtube:hover { background: #ff0000; }

.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); }

/* ---- phones: the header is two rows ----
   It once wrapped onto four (brand + Contact us, then Basket, then search,
   then the model chips), which ate 460px of an 844px screen. Squeezing all
   three onto one row fixed that but left search a stub between the shop's
   name and the word "Basket" — too narrow to read what you had typed.
   So: name and basket share the top row, the basket as a bag rather than a
   word, and search gets a full row to itself. Two rows, not four, and the
   search is finally usable. "Contact us" still lives in the footer and the
   chat bubble.
   The sticky model strip and fit bar measure the header rather than assume
   it (syncHeaderHeight in app.js), so the taller header cannot leave them
   overlapping it. */
@media (max-width: 760px) {
  /* Three columns so the name sits truly centred — the basket on the right
     is balanced by an empty column of its own width, which flexbox with
     margin-left:auto could not do without pushing the name off centre.
     Only the shop's own header: the admin reuses this class for a header
     made of a tab bar and buttons, and forcing that into three columns
     squeezed the tabs into a 252px middle column on a 375px screen.
     :has(.header-search) is what tells the two apart — only the storefront
     header carries the search box. */
  .site-header-inner:has(.header-search) {
    display: grid; grid-template-columns: 44px 1fr 44px;
    align-items: center; gap: 9px 10px; padding: 9px 14px;
  }
  /* Rows named outright: left to place itself, the basket landed on a third
     row below the full-width search instead of beside the name. */
  .brand { grid-row: 1; grid-column: 2; justify-self: center; font-size: 16px; gap: 9px; min-height: 0; }
  /* Centring the mark and the name together centres the PAIR, which leaves
     the name itself sitting right of centre by half the mark's width. The
     name is what you read, so it is what should be centred: the mark comes
     out of the flow and hangs off its left, leaving the name to centre on
     its own. Only when no logo has been uploaded — with a logo there may be
     no name beside it to centre, so that falls back to centring the pair. */
  .site-header-inner:has(.header-search) .brand:has(#brand-logo[hidden]) { position: relative; }
  .site-header-inner:has(.header-search) .brand:has(#brand-logo[hidden]) .brand-mark {
    position: absolute; right: 100%; margin-right: 9px;
  }
  .brand-logo { height: 36px; max-width: 140px; }
  .brand-logo.is-icon { width: 38px; height: 38px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
  /* The shop name is the logo's job once space is tight. */
  .brand-logo:not([hidden]) + #brand-text { display: none; }

  /* Second row, the full width of the header. */
  .header-search { grid-row: 2; grid-column: 1 / -1; min-width: 0; max-width: none; margin: 0; }
  .header-search input { font-size: 16px; padding: 10px 14px; }
  .header-contact { display: none; }
  .header-wa-text { display: none; }

  /* A square tap target on the end of the first row. 44px is the smallest
     thing a thumb hits reliably. */
  .cart-btn {
    grid-row: 1; grid-column: 3; flex: none;
    width: 44px; height: 44px; padding: 0; gap: 0;
    border-radius: 12px;
  }
  .cart-label { display: none; }
  .cart-icon { display: block; }
  /* Clear of the bag rather than sitting on it. */
  .cart-count { position: absolute; top: -5px; right: -5px; }
}

/* Very narrow phones: the search placeholder is the first thing to give. */
@media (max-width: 400px) {
  .header-search input::placeholder { font-size: 14px; }
  .cart-btn { padding: 8px 11px; }
}

@media (max-width: 900px) {
  .model-strip[hidden] { display: block !important; }
  /* With a phone chosen, the fit bar holds this slot and the strip would be a
     second row saying the same thing. Must come after the rule above: same
     specificity, so source order decides which wins. */
  .model-strip.is-off { display: none !important; }
  .fit-bar-inner { padding: 7px 14px; }
  .picker { margin-top: 20px; padding: 17px 15px 15px; }
  .picker-q { font-size: 17.5px; }
  /* The microphone exists on phones and nowhere else. */
  .picker-mic { display: flex; }

  /* Room at the very end of the page for the floating chat button, which
     sits bottom-right over whatever is there. Without it the footer's last
     link lands underneath the button and cannot be tapped. */
  .site-foot { padding-bottom: 96px; }
  .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); }
  /* The drawer is the screen's height and scrolls inside. Without the
     stretch, newer browsers honour the desktop "align-self: start" and the
     drawer grows to its whole content, which then cannot be scrolled. */
  .sidebar {
    align-self: stretch; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding-bottom: 0; width: min(330px, 90vw);
  }
  .sidebar > * { flex-shrink: 0;
  }
  /* Filters first: the model strip already sits at the top of the page. */
  .sidebar > .sidebar-head { order: 0; position: sticky; top: -16px; z-index: 2; background: var(--surface); margin: -16px -12px 4px; padding: 14px 12px 10px; border-bottom: 1px solid var(--line); }
  .sidebar > .side-block { order: 1; margin-top: 14px; padding-top: 14px; }
  .sidebar > .model-nav + .side-block { border-top: 0; margin-top: 0; }
  .sidebar > .side-models-title { order: 2; display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
  .sidebar > .model-nav { order: 3; }
  .sidebar > .side-help { order: 4; }
  .sidebar > .sidebar-foot {
    order: 5; display: block; position: sticky; bottom: 0; margin: 18px -12px 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .on-desk { display: none; }
  .on-phone { display: inline; }
  /* Finger-sized rows, and 16px text so phones don't zoom into the boxes. */
  .side-check { padding: 12px 10px; font-size: 15px; }
  .side-check input { width: 20px; height: 20px; }
  .side-select { font-size: 16px; padding: 10px 12px; min-height: 44px; }
  .nav-item { padding: 11px 10px; font-size: 15px; }
  .side-price-clear { padding: 8px 2px; font-size: 14px; }
}

@media (max-width: 720px) {
  /* The hero was a full screen of words before the first cover. It keeps the
     promise but gives the covers the fold. */
  .hero { padding: 18px 0 10px; text-align: left; }
  .hero h1 { font-size: 25px; line-height: 1.15; margin-bottom: 6px; }
  .hero p { font-size: 14px; max-width: none; margin: 0; color: var(--ink-2); }
  /* The chat nudge is a helper, not a headline — it was taller than the
     promise above it. `body` beats chat.css, which is linked after. */
  body .hero .chat-prompt { margin: 12px 0 0; padding: 10px 12px; max-width: none; }
  body .hero .chat-prompt .chat-prompt-text { font-size: 12.5px; }
  body .hero .chat-prompt .chat-prompt-text strong { font-size: 13.5px; }
  .wrap { padding: 0 14px; }

  .detail { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; padding-bottom: 40px; }
  /* Two cards to a row leaves ~165px: "৳863 ৳1150 25% off" only fits on one
     line if the old price and the tag give a little back. */
  .price-now { font-size: 16px; }
  .price-was { font-size: 11.5px; }
  .price-off { font-size: 10px; padding: 2px 5px; }
  .overlay { padding: 0; align-items: flex-end; }
  .sheet { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; }
  .filter-bar { top: calc(var(--header-h) + var(--strip-h)); }
}
@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; }
}

/* "Looks like you're on an iPhone 15" — a suggestion under the hero. */
.device-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding: 12px 16px;
  background: var(--accent-soft); border-radius: 12px;
  font-size: 14.5px;
}
.device-hint-btn {
  border: 0; cursor: pointer; font: inherit; font-weight: 700;
  background: var(--accent); color: var(--accent-ink);
  padding: 7px 14px; border-radius: 999px;
}
.device-hint-btn:hover { filter: brightness(.95); }
.device-hint-no {
  border: 0; background: none; cursor: pointer; font: inherit;
  color: var(--ink-3); text-decoration: underline; font-size: 13px;
}

/* ---- demo video rails in the empty side bands of wide screens ---- */
.demo-rail {
  position: fixed; top: 96px; z-index: 30;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.demo-rail[hidden] { display: none; }
/* Out of the way while the page's own full-width blocks are alongside it.
   Kept in the layout rather than removed, so it can still be measured
   against them — and so scrolling past does not reload the video. */
.demo-rail.is-away { visibility: hidden; pointer-events: none; }
.demo-rail-title { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.demo-rail-title-bn { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.demo-rail-frame { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; }
.demo-rail-frame.is-wide { aspect-ratio: 16 / 9; }
.demo-rail-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-rail-caption { display: flex; flex-direction: column; gap: 3px; }
.demo-rail-name {
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.demo-rail-name:hover { text-decoration: underline; }
.demo-rail-meta { font-size: 12.5px; color: var(--ink-2); }
.demo-rail-go { margin-top: 4px; align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--accent-text); text-decoration: none; }
.demo-rail-go:hover { text-decoration: underline; }
.demo-rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.demo-rail-count { font-size: 12px; color: var(--ink-3); }
.demo-rail-next {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.demo-rail-next:hover { border-color: var(--ink); }

/* ---- phone demos: the video as the first slide of the top picture ---- */
.has-video { aspect-ratio: 4 / 5 !important; }
.pdm-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pdm-track::-webkit-scrollbar { display: none; }
.pdm-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; }
.pdm-slide[hidden] { display: none; }
.pdm-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdm-video { background: #000; overflow: hidden; }
/* A vertical Short, centred and cropped to the frame. */
.pdm-video iframe {
  position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 9 / 16;
  transform: translateY(-50%); border: 0; pointer-events: none;
}
.pdm-tap { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.pdm-poster { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.pdm-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(11, 11, 11, .72); color: #fff; font-size: 26px; padding-left: 5px;
}
.pdm-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.pdm-dots[hidden] { display: none; }
.pdm-full {
  position: absolute; right: 10px; top: 10px; z-index: 2; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  background: rgba(11, 11, 11, .7); color: #fff;
}
.pdm-full[hidden] { display: none; }

/* ---- "See it in hand" reel on the shop ---- */
.reel { padding-top: 6px; padding-bottom: 6px; }
.reel[hidden] { display: none; }
.reel-head { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
/* At the end of the line: "and the rest are here". */
.reel-all { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.reel-all:hover { text-decoration: underline; }
/* Not uppercased and not letter-spaced: Bangla has no capitals, and spacing
   its letters apart breaks the joins that make a word one word. */
.reel-head-bn { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.reel-row { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.reel-row::-webkit-scrollbar { display: none; }
.reel-bubble { flex: none; width: 84px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: center; }
.reel-ring {
  display: block; width: 76px; height: 76px; margin: 0 auto 6px; padding: 3px; border-radius: 999px;
  background: conic-gradient(from 210deg, var(--accent), #0b0b0b, var(--accent));
}
.reel-ring img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; display: block; border: 3px solid var(--page); background: var(--surface-2); }
.reel-label {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 11.5px; font-weight: 600; line-height: 1.25;
}
.reel-viewer {
  position: fixed; inset: 0; z-index: 120; background: #000; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.reel-viewer[hidden] { display: none; }
.reel-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; z-index: 2; }
.reel-count { font-size: 13px; font-weight: 700; opacity: .8; }
.reel-close { width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 16px; cursor: pointer; }
.reel-stage { width: min(100vw, calc((100dvh - 150px) * 9 / 16)); aspect-ratio: 9 / 16; background: #111; }
.reel-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-info {
  width: min(100vw, 520px); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
}
.reel-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.reel-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-price { font-size: 12.5px; opacity: .75; }
.reel-order { flex: none; }
.reel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px;
}
.reel-prev { left: 14px; }
.reel-next { right: 14px; }
@media (max-width: 560px) {
  .reel-nav { display: none; }   /* phones swipe instead */
  .reel-stage { width: 100vw; }
}

/* While a demo loads: the photo (or a note) shows instead of a black box. */
.pdm-video iframe, .reel-stage iframe { transition: opacity .35s ease; }
iframe.is-pending { opacity: 0; }
.pdm-under { position: absolute; inset: 0; opacity: 1; }
.pdm-video.is-loading::after, .reel-stage.is-loading::after {
  content: "Loading video…"; position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(11, 11, 11, .65);
  padding: 5px 11px; border-radius: 999px; pointer-events: none; white-space: nowrap;
}
.reel-stage { position: relative; }
.reel-stage.is-loading::after { bottom: 50%; transform: translate(-50%, 50%); }

/* Demo in the top picture, on any screen: clickable dots, arrows for a
   mouse, and a Drive preview shown whole (it has its own play button). */
.pdm-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.pdm-dots button.is-on { background: #fff; width: 18px; }
.pdm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(11, 11, 11, .55); color: #fff; font-size: 22px; line-height: 1;
}
.pdm-arrow[hidden] { display: none; }
.pdm-arrow.is-prev { left: 10px; }
.pdm-arrow.is-next { right: 10px; }
@media (hover: none) { .pdm-arrow { display: none; } }  /* touch screens swipe */
.pdm-video.is-drive iframe { inset: 0; top: 0; height: 100%; aspect-ratio: auto; transform: none; pointer-events: auto; }

/* The demo button whose video is showing in the top picture. */
.pd-demo.is-playing, .lp-demos .btn.is-playing { border-color: var(--ink); background: var(--accent-soft); }

/* Under the phone field at checkout. */
.co-callnote { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }

/* ---- pre-order bKash advance (preorder-advance.js) ---- */
.pa-box, .pa-after {
  margin: 10px 0; padding: 13px 14px; border-radius: 12px; text-align: left;
  border: 1px solid color-mix(in srgb, #e2136e 35%, transparent);
  background: color-mix(in srgb, #e2136e 7%, var(--surface));
}
.pa-title { font-weight: 800; font-size: 14px; margin-bottom: 6px; color: #b3105a; }
.pa-text { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.done .pa-text, .done .pa-step { font-size: 13px; }
.pa-messenger { display: inline-block; font-size: 13px; font-weight: 700; color: #0866ff; text-decoration: none; margin-top: 4px; }
.pa-messenger:hover { text-decoration: underline; }
.pa-step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; margin: 10px 0; font-size: 13.5px; line-height: 1.45; }
.pa-num { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #e2136e; color: #fff; }
.pa-number { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0; }
.pa-number strong { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 17px; letter-spacing: .02em; }
.pa-small { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.pa-upload { display: inline-flex; margin: 6px 0 4px; cursor: pointer; }
.pa-upload.is-busy { opacity: .6; pointer-events: none; }
.pa-status { font-size: 12.5px; font-weight: 600; margin: 4px 0; color: var(--ink-2); }
.pa-status.is-ok { color: var(--good); }
.pa-status.is-error { color: var(--sale); }
.pa-refund { margin: 8px 0 0; font-size: 12px; }
/* The deadline for sending the advance. Carries more weight than the body of
   the box without shouting — it is the one line that costs the customer their
   order if they skip it. */
.pa-deadline {
  margin: 9px 0 0; padding: 8px 10px; border-radius: 9px;
  background: color-mix(in srgb, #e2136e 11%, transparent);
  font-size: 12.5px; font-weight: 700; line-height: 1.4; color: #b3105a;
}
/* Every line of the advance is said in Bangla too. Poppins has no Bangla, so
   name the fonts the phones actually ship with; Bangla also needs more room
   between lines than Latin at the same size. */
.pa-bn {
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Bangla Sangam MN", "Nirmala UI", "Kalpurush", sans-serif;
  line-height: 1.65;
}
.pa-deadline .pa-bn { margin-top: 3px; }
.pa-title.pa-bn { margin-top: -3px; }
.pa-step .pa-bn, .pa-after .pa-refund.pa-bn { margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
/* The tick that says they know the advance is theirs to send. Big enough to
   hit with a thumb, and it turns red when it is the one thing missing. */
.pa-agree {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start;
  margin: 10px 0 2px; padding: 9px 10px; border-radius: 9px; cursor: pointer;
  border: 1px solid color-mix(in srgb, #e2136e 30%, transparent);
  background: var(--surface);
}
.pa-agree input { width: 20px; height: 20px; margin: 0; accent-color: #e2136e; flex: none; }
.pa-agree-text { font-size: 12.5px; font-weight: 650; line-height: 1.45; color: var(--ink); }
.pa-agree-text .pa-bn { display: block; margin-top: 3px; font-weight: 600; color: var(--ink-2); }
.pa-agree.is-missing { border-color: #e2136e; background: color-mix(in srgb, #e2136e 10%, var(--surface)); }

/* "Can't find your cover?" — the way to the request page */
.request-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 26px 0 6px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); text-decoration: none;
}
.request-strip strong { display: block; font-size: 15.5px; }
.request-strip span { font-size: 13.5px; color: var(--ink-2); }
.request-strip .btn { flex: none; }
.search-request { display: block; padding: 0 14px 14px; text-align: center; font-size: 13px; font-weight: 650; color: var(--accent-text); }
.foot-phone { display: block; margin-bottom: 10px; color: inherit; font-weight: 650; text-decoration: none; }
.foot-phone:hover { text-decoration: underline; }
.foot-request { display: block; margin-top: 10px; color: var(--accent); font-weight: 650; text-decoration: none; }
.foot-request:hover { text-decoration: underline; }

/* share a cover */
.share-btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-weight: 650; }
.card-share {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.card-share:hover { background: #fff; color: var(--accent-text); }
/* On a phone the share button sat on top of every single cover in the grid,
   competing with the product for the one thing the shopper is looking at.
   Sharing still lives on the product page, where someone has actually decided
   they like the cover. */
@media (max-width: 760px) { .grid .card-share { display: none; } }
.share-menu {
  position: absolute; z-index: 300; min-width: 170px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.share-menu a, .share-menu button {
  display: block; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer;
}
.share-menu a:hover, .share-menu button:hover { background: var(--surface-2); }

/* Search: "All covers for iPhone 15 Pro Max →" when a model is typed. */
.search-hit.search-model { display: block; font-weight: 700; color: var(--accent-text); border-bottom: 1px solid var(--line); }

/* ---- phones: the page always fits the screen ----
   iPhones zoom in on any box whose text is under 16px when it is tapped,
   and the zoomed page then slides sideways. Every box is 16px on phones
   (the !important beats each page's own smaller sizes). */
@media (max-width: 900px), (hover: none) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
    font-size: 16px !important;
  }
}
/* Nothing wider than the screen can make the page scroll sideways. "clip"
   rather than "hidden" keeps the sticky header and strip working. */
html, body { max-width: 100%; overflow-x: clip; }

.card-soon { background: #1d5fb8; }
/* "Fits your iPhone 15": green, because it is the one badge that says yes
   rather than wait (new stock soon) or hurry (selling fast). */
.card-mine { background: #137a43; }

/* Bottom badges in one wrapping row: never on top of each other. */
.card-tags {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; pointer-events: none;
}
.card-tags .card-hot, .card-tags .card-pre { position: static; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags .card-pre { margin-left: auto; }

/* ======================================================================
   Ki Kinben (kikinben.genzcovers.com)
   ----------------------------------------------------------------------
   The same shop, wearing kikinbenbd.com's clothes: purple instead of lime,
   a white header instead of the black one, Poppins for anything that
   carries weight and Space Grotesk for the running text. `data-shop="kk"`
   is put on <body> by renderPage in server.js, from `skin` in brand.js —
   so a brand gets this look by asking for it, not by its hostname.

   Nothing structural changes. Every rule below is a repaint of a box the
   other two shops already have, which is what keeps one storefront
   serving three brands.
   ====================================================================== */

/* Self-hosted so the page owes nothing to a third party; only the latin
   subset, which is all this shop's text needs. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/poppins-800.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/space-grotesk-400.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/space-grotesk-500.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/space-grotesk-700.woff2) format('woff2'); }

body[data-shop="kk"] {
  /* #7135f5 is the purple measured off kikinbenbd.com's own buttons and
     prices; the rest are mixes of it, so a different accent set in the
     admin still produces a coherent page. */
  --accent: #7135f5;
  --accent-ink: #ffffff;
  --accent-text: #5a22d6;
  --accent-soft: #efe9fe;
  --ink: #111111;
  --ink-2: #4b4b4b;
  --ink-3: #8b8b93;
  --surface-2: #f5f3fb;
  --line: rgba(17, 17, 17, 0.12);
  --sale: #e8102a;
  --radius: 14px;
  --radius-sm: 10px;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}
body[data-shop="kk"] h1, body[data-shop="kk"] h2, body[data-shop="kk"] h3,
body[data-shop="kk"] .btn, body[data-shop="kk"] .brand,
body[data-shop="kk"] .price-now, body[data-shop="kk"] .slider-title,
body[data-shop="kk"] .sheet-title, body[data-shop="kk"] .card-name {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
}

/* ---- the header turns white ----
   The shared rules paint it with --brand-dark and put white text on it, so
   every one of them has to be answered rather than just the background. */
body[data-shop="kk"] .site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17,17,17,.04);
}
body[data-shop="kk"] .site-header .brand { color: var(--ink); }
body[data-shop="kk"] .site-header .brand-mark { background: var(--accent); color: #fff; }
body[data-shop="kk"] .site-header .btn {
  background: #fff; border-color: var(--line); color: var(--ink);
}
body[data-shop="kk"] .site-header .btn:hover { background: var(--surface-2); border-color: var(--accent); }
/* The basket is the one thing in the header meant to be noticed. */
body[data-shop="kk"] .site-header .cart-btn {
  border-color: var(--accent); color: var(--accent-text); font-weight: 700;
}
body[data-shop="kk"] .site-header .cart-btn:hover { background: var(--accent-soft); }
body[data-shop="kk"] .site-header .header-search input {
  background: var(--surface-2); border-color: var(--line); color: var(--ink);
}
body[data-shop="kk"] .site-header .header-search input::placeholder { color: var(--ink-3); }
body[data-shop="kk"] .site-header .header-search input:focus {
  background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
/* The scrollbar rule for the dark header would draw a white thumb on white. */
body[data-shop="kk"] .site-header *::-webkit-scrollbar-thumb {
  background: rgba(17,17,17,.2); background-clip: content-box;
}
/* The model strip sits directly under the header and shared the black. */
body[data-shop="kk"] .model-strip {
  background: #ffffff; border-bottom: 1px solid var(--line);
}
body[data-shop="kk"] .model-strip .chip { background: var(--surface-2); border-color: transparent; color: var(--ink-2); }
body[data-shop="kk"] .model-strip .chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---- buttons: kikinbenbd's outlined "Add To Cart" ---- */
body[data-shop="kk"] .btn { border-radius: 10px; font-weight: 600; }
body[data-shop="kk"] .btn-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent);
}
body[data-shop="kk"] .btn-primary:hover { filter: brightness(1.06); }

/* ---- hero ---- */
body[data-shop="kk"] .hero h1 { letter-spacing: -0.03em; }
body[data-shop="kk"] .hero-accent { color: var(--accent); }

/* ---- cards ---- */
body[data-shop="kk"] .card { border-radius: var(--radius); }
body[data-shop="kk"] .card:hover, body[data-shop="kk"] .card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 2px 6px rgba(17,17,17,.05), 0 12px 30px color-mix(in srgb, var(--accent) 14%, transparent);
}
/* kikinbenbd puts the discount in a red rectangle at the top-left, not a
   lime pill — it is the loudest thing on that page and the thing shoppers
   there are used to looking for. */
body[data-shop="kk"] .card-flag {
  background: var(--sale); color: #fff; border-radius: 6px;
  font-size: 11px; font-weight: 700; padding: 4px 8px;
}
body[data-shop="kk"] .price-now { color: var(--accent); font-weight: 700; }
body[data-shop="kk"] .price-off {
  color: var(--accent-text); background: var(--accent-soft); font-weight: 700;
}
body[data-shop="kk"] .nav-item.is-active,
body[data-shop="kk"] .chip.is-active,
body[data-shop="kk"] .shop-view.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
body[data-shop="kk"] .shop-view.is-active span { color: rgba(255,255,255,.8); }
body[data-shop="kk"] .slider-dot.is-on { background: var(--accent); }

/* ---- trust strip ----
   The four promises that run across kikinbenbd.com under the offers. It is
   in every shop's markup but only shown where the skin asks for it. */
.trust-strip { display: none; }
body[data-shop="kk"] .trust-strip {
  display: block; background: #eef5fd; margin-top: 26px; padding: 26px 0;
}
body[data-shop="kk"] .trust-strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 26px; line-height: 1; flex: none; }
.trust-title { font-family: Poppins, sans-serif; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.trust-note { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  body[data-shop="kk"] .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---- footer ---- */
body[data-shop="kk"] .site-foot { background: #15101f; color: rgba(255,255,255,.66); }

/* The small line above the headline ("PROTECT — STYLE — UPGRADE"). Empty for
   a brand that sets no eyebrow, and an empty box would add a gap. */
.hero-eyebrow {
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink-3); margin-bottom: 14px; text-transform: uppercase;
}
.hero-eyebrow:empty { display: none; }

/* ---- customers' own photos, on the shop ----
   Used on the front page and on a cover's own page. The strongest thing
   either page can show is the cover in somebody's actual hand, so these are
   not hidden behind a link in the footer.

   Scrolls sideways on a phone like the demo rail above it; photos keep
   their own proportions, because a cover held in a hand is portrait and
   cropping it square throws away the part worth seeing. */
.shots { margin-top: 26px; }
.shots-head { display: flex; align-items: baseline; gap: 10px; }
.shots-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.shots-more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.shots-more:hover { text-decoration: underline; }
.shots-sub { margin: 4px 0 12px; font-size: 13px; color: var(--ink-3); }
.shots-sub:empty { display: none; }
.shots-row {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none;
}
.shots-row::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto; width: 132px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface); margin: 0;
}
.shot img { width: 100%; height: 168px; object-fit: cover; display: block; }
.shot figcaption { padding: 7px 9px 8px; font-size: 11.5px; color: var(--ink-2); line-height: 1.3; }
/* The invitation to send one, which is where the next photos come from. */
.shots-cta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 11px 14px;
  border: 1px dashed var(--line); border-radius: 14px;
  text-decoration: none; color: inherit; font-size: 13.5px;
}
.shots-cta:hover { border-color: var(--accent); background: var(--accent-soft); }
.shots-cta strong { margin-left: auto; color: var(--accent-text); white-space: nowrap; }
@media (max-width: 420px) {
  .shots-cta strong { margin-left: 0; }
}

/* A customer's photo is a link to the cover it shows. The link carries no
   colour or underline of its own: the picture is the thing being tapped. */
.shot-link { display: block; color: inherit; text-decoration: none; }
.shot-link:hover img { filter: brightness(1.04); }
