.crumbs { font-size: 13px; color: var(--ink-3); padding: 18px 0 14px; display: flex; gap: 8px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.pd {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px; align-items: start; padding-bottom: 20px;
  /* The shell is wide for product rows; a single product's text should not
     stretch across all of it. */
  max-width: 1200px;
}
.pd-media {
  position: relative; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden;
  /* White behind the cover, not grey — a product shot on a white background
     used to sit in a visible box. */
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.03em; line-height: 1.15; }
.pd-desc { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-now { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.pd-was { font-size: 16px; color: var(--ink-3); text-decoration: line-through; }
.pd-save {
  font-size: 13px; font-weight: 700; color: var(--good);
  background: color-mix(in srgb, var(--good) 13%, transparent);
  padding: 4px 10px; border-radius: 999px;
}
.pd-stock { padding: 10px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.pd-stock.is-low { color: #b4700d; background: color-mix(in srgb, #d98b16 15%, transparent); }
.pd-stock.is-gone { color: var(--sale); background: color-mix(in srgb, var(--sale) 13%, transparent); }
/* On the pale tint the readable accent, never --accent-ink: that is the
   colour for text sitting ON the accent fill, so for a shop with a dark
   accent (Ki Kinben's purple) it is white, and white on a near-white tint
   is invisible. */
.pd-stock.is-preorder { color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent); }

.pd-add { font-size: 16px; padding: 14px 20px; margin-top: 4px; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .pd-add { width: 100%; font-weight: 700; }
.pd-actions .pd-add:not(.btn-primary) { border-color: var(--ink); }
.pd-actions.is-gone { grid-template-columns: 1fr; }
.pd-added { margin-top: 10px; }
.pd-added a { color: inherit; font-weight: 700; }
.pd-perks { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

.similar { padding: 26px 0 60px; border-top: 1px solid var(--line); margin-top: 20px; }
.similar-title { font-size: 18px; letter-spacing: -0.02em; margin: 0 0 4px; }

@media (max-width: 820px) {
  .pd { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- phones: the buy buttons follow you down the page ----
   "Add to basket" sat below the picture, the description, the price, the
   model picker and the demos — about two screens down. Sticking the pair to
   the bottom of the viewport keeps the decision one thumb-reach away the
   whole time, which is what every large shop does on a phone now. */
@media (max-width: 760px) {
  .pd-info h1 { font-size: 22px; }
  .pd-desc { font-size: 14.5px; margin-bottom: 14px; }
  .pd-now { font-size: 26px; }
  .pd-price { gap: 9px; margin-bottom: 12px; }
  .pd-stock { padding: 8px 12px; font-size: 13px; margin-bottom: 12px; }
  /* The cover code is for messaging the shop, not for choosing — it drops
     below the price instead of sitting between the name and it. */
  .pd-code { order: 2; font-size: 12.5px; }

  .pd-actions {
    position: sticky; bottom: 0; z-index: 30;
    margin: 14px -14px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .pd-add { font-size: 15.5px; padding: 13px 16px; margin-top: 0; }
  .pd-perks { margin-top: 16px; padding-top: 14px; }
  .similar { padding: 20px 0 40px; }

  /* The chat button is fixed at z-index 90 and would land on top of "Buy
     now". This file only loads on the product page, so lifting it here does
     not move the button anywhere else in the shop. `body` prefix because
     chat.css is linked after this file and sets bottom on the bare class. */
  body .chat-launcher { bottom: 88px; }
}

.pd-video { margin-bottom: 10px; }
.video-sheet { width: min(860px, 100%); }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-foot { padding: 12px 20px; font-size: 13px; }
.video-foot a { color: var(--accent-text); text-decoration: none; }
.video-foot a:hover { text-decoration: underline; }
/* A play marker on cards whose product has a clip. */
.card-play {
  position: absolute; bottom: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 999px;
  background: rgba(12,12,16,.72); color: #fff;
  display: grid; place-items: center; font-size: 12px;
}

/* ---- contact us ---- */
.contact-page { max-width: 720px; margin: 10px auto 60px; }
.contact-title { font-size: 30px; margin: 10px 0 6px; }
.contact-lede { color: var(--muted); margin: 0 0 22px; line-height: 1.55; }
.contact-rows {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.contact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-key { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.contact-val { font-size: 15px; line-height: 1.5; word-break: break-word; }
.contact-val a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }
.contact-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.contact-foot { margin-top: 26px; }

/* Stacked rather than squeezed: a 150px label column leaves nothing for an
   address on a narrow phone. */
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-title { font-size: 25px; }
}

/* ---- reviews ---- */
.reviews { margin-top: 48px; }
.rv-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rv-summary { display: flex; align-items: center; gap: 8px; }
.rv-summary-text { color: var(--muted); font-size: 14px; }
.rv-stars-static { color: #e0a800; letter-spacing: 1px; font-size: 15px; line-height: 1; }

.rv-list { display: grid; gap: 12px; margin-top: 16px; }
.rv-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface);
}
.rv-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-author { font-weight: 650; font-size: 14.5px; }
.rv-when { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.rv-verified {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.rv-body { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.rv-none { color: var(--muted); margin-top: 14px; }

.rv-write { margin-top: 20px; }
.rv-write-toggle {
  cursor: pointer;
  display: inline-block;
  font-weight: 650;
  font-size: 14.5px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  list-style: none;
}
.rv-write-toggle::-webkit-details-marker { display: none; }
.rv-write-toggle:hover { border-color: var(--accent); }
.rv-write[open] .rv-write-toggle { margin-bottom: 14px; }
.rv-form {
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
}
.rv-moderated { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }

.rv-stars { display: flex; gap: 4px; }
.rv-star {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  padding: 0 2px;
  color: var(--muted);
}
.rv-star.is-on { color: #e0a800; }
.rv-star:hover { color: #e0a800; }

/* On a card, under the price. */
.card-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.card-rating-text { color: var(--muted); font-size: 12.5px; }

/* ---- contact form ---- */
.contact-form-title { font-size: 20px; margin: 30px 0 14px; }
.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
}
.contact-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-hint { display: block; margin: -4px 0 12px; font-size: 12.5px; }
/* Off-screen rather than display:none — some bots skip hidden fields but
   fill ones they can "see" in the DOM. */
.contact-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}
@media (max-width: 560px) {
  .contact-two { grid-template-columns: 1fr; gap: 0; }
}

/* Every model's availability at a glance, rather than one at a time through
   the dropdown. */
.pd-availability {
  margin: -4px 0 14px;
  display: grid;
  gap: 5px;
  font-size: 13px;
  line-height: 1.5;
}
.pd-avail-row { display: flex; gap: 8px; align-items: baseline; }
.pd-avail-key {
  flex: none;
  min-width: 86px;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pd-avail-row.is-ready .pd-avail-key { color: #1b7a3d; }
.pd-avail-row.is-low   .pd-avail-key { color: #a06a00; }
.pd-avail-row.is-pre   .pd-avail-key { color: var(--accent-text); }
.pd-avail-row.is-gone  .pd-avail-key { color: var(--ink-3); }
.pd-avail-row.is-gone  { color: var(--ink-3); }
@media (max-width: 560px) {
  .pd-avail-row { flex-direction: column; gap: 1px; }
  .pd-avail-key { min-width: 0; }
}

.pd-guess {
  margin: -4px 0 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5;
}
.pd-guess-fix {
  border: 0; background: none; cursor: pointer; font: inherit;
  color: var(--accent-text); font-weight: 700; text-decoration: underline; padding: 0;
}

/* What the case does, ticked in the admin. */
.pd-features {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px;
}
.pd-features li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.4; }
.pd-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--good) 17%, transparent);
  color: var(--good); font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}

/* One button per demo that applies to the selected phone. */
.pd-demos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pd-demo { flex: 1 1 auto; }
.pd-demo-for { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
/* The demo of the phone just picked, when it could not start by itself.
   Two pulses and it settles: enough to be noticed, not a button that throbs
   at the shopper for as long as they are reading the page. */
.pd-demo.is-nudge {
  border-color: var(--accent);
  animation: demo-nudge 1.1s ease-out 2;
}
@keyframes demo-nudge {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  40% { box-shadow: 0 0 0 4px var(--accent-soft); }
}
/* Whoever asked for less movement is among the most likely to see this, as
   reduced motion is itself one of the things that stops the video playing. */
@media (prefers-reduced-motion: reduce) {
  .pd-demo.is-nudge { animation: none; background: var(--accent-soft); }
}

.demo-hint {
  margin: -2px 0 14px; padding: 9px 12px; border-radius: 10px;
  font-size: 13px; line-height: 1.45; color: var(--ink-2); background: var(--surface-2);
}

.rv-invited { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--good); }

/* The cover's code, for quoting it in Messenger. */
.pd-code { margin: -4px 0 10px; font-size: 13px; color: var(--ink-2); }
.pd-code strong { font-family: ui-monospace, Menlo, monospace; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }

/* ---- "find it for me" request page ---- */
.rq-steps { list-style: none; counter-reset: rq; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.rq-steps li {
  counter-increment: rq; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.rq-steps li::before {
  content: counter(rq); grid-row: span 2; width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink);
}
.rq-steps strong { font-size: 15px; }
.rq-steps li > span { font-size: 13.5px; color: var(--ink-2); }
.rq-h { font-size: 17px; margin: 8px 0 14px; letter-spacing: -0.01em; }
.rq-form .rq-h:not(:first-child) { margin-top: 26px; }
.rq-two { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.rq-qty { margin-top: 0; height: 49px; }
.rq-qty button { height: 47px; width: 42px; }
.rq-photo {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  border: 1.5px dashed var(--line); border-radius: 12px; background: var(--surface-2);
  font-weight: 650; font-size: 14.5px; color: var(--ink);
}
.rq-photo:hover { border-color: var(--accent-text); }
.rq-photo img { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; }
.rq-terms { margin: 18px 0 14px; }
.rq-form .note.is-error { margin-bottom: 12px; }
.rq-page .done { padding-top: 10px; }
.pd-more { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.pd-share { gap: 8px; padding-left: 18px; padding-right: 18px; }

/* A cover's other photos, under the big one. */
.pd-gallery { min-width: 0; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.pd-thumb { flex: 0 0 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-on { border-color: var(--accent, var(--ink)); }

.pd-stock.is-soon { color: #1d5fb8; background: color-mix(in srgb, #2b7de9 13%, transparent); }
.pd-stock.is-ready { color: #1f7a3a; background: color-mix(in srgb, #2e9e50 13%, transparent); }
