/* ============================================================
   PAGE HEAD — shared banner for shop / product / 404
   ============================================================ */
.pagehead {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.pagehead__title { margin-bottom: var(--s4); }
.pagehead__lede { max-width: 52ch; }

.crumbs {
  display: flex; align-items: center; gap: var(--s3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}
/* 18px of link is nothing to hit on glass — the type stays small, the
   target does not. */
.crumbs a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  transition: color var(--fast) var(--ease);
}
.crumbs a:hover { color: var(--amber-text); }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ============================================================
   SHOP
   ============================================================ */
.shop {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-block: var(--s12) var(--section-y);
}

/* Sticky alone pins the panel but lets it run past the viewport, so a tall
   filter list can only be reached by scrolling the whole results column to
   the bottom. Capping the height and giving it its own overflow makes the
   sidebar scroll independently of the grid. */
.filters {
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 98px - var(--s8));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: var(--s3);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.filters::-webkit-scrollbar { width: 8px; }
.filters::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
.filters::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.filters__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
}

.fgroup {
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--line-soft);
}
.fgroup__title {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  padding: var(--s4) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--s2);
  transition: color var(--fast) var(--ease);
}
.fgroup__title::-webkit-details-marker { display: none; }
.fgroup__title:hover { color: var(--ink); }

/* the caret — rotates when the group opens */
.fgroup__title::after {
  content: '';
  margin-left: auto;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--d-ui) var(--ease);
}
.fgroup[open] > .fgroup__title { color: var(--ink); }
.fgroup[open] > .fgroup__title::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

/* how many of this group's options are active */
.fgroup__n {
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: var(--on-amber);
  background: var(--amber);
  padding: 1px 5px;
  border-radius: 8px;
}
.fgroup__n:empty { display: none; }

.fgroup > .fopts,
.fgroup > .frange { padding-bottom: var(--s6); }

.fopts { display: flex; flex-wrap: wrap; gap: var(--s2); }

.fopt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 7px 10px;
  min-height: 34px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: border-color var(--fast) var(--ease),
              color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.fopt:hover { border-color: var(--ink-3); color: var(--ink); }
.fopt[aria-pressed='true'] {
  background: var(--amber);
  border-color: var(--amber-line);
  color: var(--on-amber);
  font-weight: 700;
}
.fopt__n { opacity: 0.55; font-size: 0.625rem; }

/* filters stacked vertically read better as a list for scale */
.fopts--list { flex-direction: column; align-items: stretch; gap: 1px; }
.fopts--list .fopt { justify-content: space-between; border: 0; border-bottom: 1px solid var(--line-soft); padding-inline: 0; }
.fopts--list .fopt:hover { color: var(--amber-text); }
.fopts--list .fopt[aria-pressed='true'] {
  background: none; color: var(--amber-text);
  border-bottom-color: var(--amber-line);
}

.frange { display: grid; gap: var(--s3); }
.frange input[type='range'] { width: 100%; accent-color: var(--amber-line); height: 24px; }
.frange__out {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.searchbox { position: relative; margin-bottom: var(--s6); }
.searchbox input {
  width: 100%;
  min-height: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  padding: 0 var(--s4) 0 38px;
  transition: border-color var(--fast) var(--ease);
}
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox input:focus { border-color: var(--amber-line); outline: none; }
.searchbox svg {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink-3);
  pointer-events: none;
}

.shop__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); flex-wrap: wrap;
  padding-bottom: var(--s6);
}
.shop__count {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.shop__count b { color: var(--ink); font-weight: 500; }

.sortsel {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 44px;
  padding: 0 var(--s4);
}
.sortsel:focus { border-color: var(--amber-line); outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.08em;
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 6px 8px 6px 10px;
  min-height: 32px;
  color: var(--ink-2);
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip svg { width: 12px; height: 12px; }

.empty {
  padding: var(--s24) 0;
  text-align: center;
  border-block: 1px solid var(--line-soft);
}
.empty h3 { margin-bottom: var(--s3); }
.empty p { margin-inline: auto; color: var(--ink-2); }

.filters-toggle { display: none; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  padding-block: var(--s12) var(--section-y);
}

.gallery { position: sticky; top: 98px; }

.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--plate);
  margin-bottom: var(--s3);
}
.gallery__main { isolation: isolate; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.gallery__scale {
  position: absolute; top: var(--s4); left: var(--s4);
  font-family: var(--mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  mix-blend-mode: difference;
  pointer-events: none;
}

.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
.thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--plate);
  border: 1px solid transparent;
  transition: border-color var(--fast) var(--ease), opacity var(--fast) var(--ease);
  opacity: 0.72;
  padding: 0;
}
.thumb { isolation: isolate; }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb:hover { opacity: 0.92; }
.thumb[aria-current='true'] { opacity: 1; border-color: var(--amber-line); }

.pinfo__brand {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: var(--s4);
}
.pinfo__title {
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--s6);
}

.pinfo__price {
  display: flex; align-items: baseline; gap: var(--s4);
  flex-wrap: wrap;
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
}
.pinfo__was {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink-3);
  text-decoration-thickness: 1px;
}
.pinfo__offer {
  margin: 0 0 var(--s6);
  font-size: 0.875rem; color: var(--ink-2);
}
.pinfo__offer b {
  display: inline-block; padding: 3px 8px; margin-right: 2px;
  background: var(--blue); color: var(--on-blue);
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px;
}
.pinfo__save {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-amber);
  background: var(--amber);
  padding: 4px 8px;
}
.pinfo__amount {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.pinfo__tax {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.stockline {
  display: flex; align-items: center; gap: var(--s3);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s6);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }

.buybar { display: flex; gap: var(--s3); margin-bottom: var(--s6); flex-wrap: wrap; }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  flex: none;
}
.qty button {
  width: 46px; height: 48px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: color var(--fast) var(--ease);
}
.qty button:hover { color: var(--amber-text); }
.qty output {
  min-width: 40px; text-align: center;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
}

.buybar .btn--primary { flex: 1 1 190px; justify-content: center; }

.specs { border-top: 1px solid var(--line); margin-bottom: var(--s8); }
.spec {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line-soft);
}
.spec dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pblock { margin-bottom: var(--s8); }
.pblock h2 {
  font-size: 1.0625rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s4);
}
.pblock p { color: var(--ink-2); font-size: 0.9375rem; }

.hlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.hlist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.hlist li::before {
  content: attr(data-n);
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--amber-text);
  padding-top: 5px;
}

.shipnote {
  border: 1px solid var(--line);
  padding: var(--s4);
  display: grid;
  gap: var(--s2);
}
.shipnote p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: none;
}
.shipnote b { color: var(--ink-2); font-weight: 500; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim {
  position: fixed; inset: 0;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-pop) var(--ease);
  z-index: var(--z-scrim);
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100vw);
  background: var(--void);
  border-left: 1px solid var(--line);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--d-modal) var(--ease);
}
.drawer.is-open { transform: none; }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s6);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__title {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.drawer__body { flex: 1; overflow-y: auto; padding: var(--s6); }

.drawer__empty { padding-block: var(--s16); text-align: center; }
.drawer__empty p { color: var(--ink-3); margin-inline: auto; font-size: 0.9375rem; }

.citem {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: var(--s4);
  padding-bottom: var(--s6);
  margin-bottom: var(--s6);
  border-bottom: 1px solid var(--line-soft);
}
.citem:last-child { border-bottom: 0; margin-bottom: 0; }
.citem__img { aspect-ratio: 1/1; overflow: hidden; background: var(--plate); }
.citem__img { isolation: isolate; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.citem__name {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 var(--s2);
}
.citem__meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 var(--s3);
}
.citem__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.citem__price { font-size: 0.8125rem; }

.qty--sm { border: 1px solid var(--line); }
/* 32px was a miss-and-swear target in the cart drawer. The control still
   reads small; it is the hit area that grew. */
.qty--sm button { width: 40px; height: 44px; }
.qty--sm output { min-width: 28px; font-size: 0.75rem; }
.qty--sm svg { width: 11px; height: 11px; }

.citem__remove {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  /* small type, full-size target */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: var(--s2) 0;
  transition: color var(--fast) var(--ease);
}
.citem__remove:hover { color: var(--amber-text); }

.drawer__foot {
  flex: none;
  padding: var(--s6);
  border-top: 1px solid var(--line);
}
.sumrow {
  display: flex; justify-content: space-between; gap: var(--s3);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-bottom: var(--s3);
}
.sumrow--total {
  color: var(--ink);
  font-size: 1rem;
  padding-block: var(--s4);
  margin-bottom: var(--s4);
  border-top: 1px solid var(--line-soft);
}
.sumrow--total span:last-child { font-weight: 700; }

/* ============================================================
   MOBILE STICKY CTA — call + WhatsApp, walk-in driven business
   ============================================================ */
.mobile-bar { display: none; }

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--s24);
}
.notfound__code {
  font-family: var(--mono);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--amber-text);
  margin-bottom: var(--s6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .shop { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 100vw);
    background: var(--void);
    border-left: 1px solid var(--line);
    z-index: var(--z-drawer);
    padding: var(--s6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--d-pop) var(--ease);
    top: 0;
  }
  .filters.is-open { transform: none; }
  .filters-toggle { display: inline-flex; }

  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

@media (max-width: 620px) {
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .spec { grid-template-columns: 104px minmax(0, 1fr); gap: var(--s3); }
  /* Slides in from the right, as it does on desktop — but not edge to edge.
     Leaving a strip of the page showing is what keeps it reading as a panel
     over the shop rather than a new screen you have been taken to, and it
     gives an obvious place to tap to dismiss.

     86vw caps it on the narrowest phones; 340px stops it becoming a wide
     empty column on a large one. */
  .drawer {
    width: min(340px, 86vw);
  }

  /* thumb-zone actions for a walk-in business */
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--void) 96%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    min-height: 54px;
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--s2);
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .mobile-bar a:first-child { border-right: 1px solid var(--line); }

  /* Call and WhatsApp were running to the very edges of the screen, which
     reads as cramped and puts the tap target under the phone's own edge
     gestures. Inset the row and let the divider stop short of the sides. */
  .mobile-bar { padding-inline: var(--s3); }
  .mobile-bar a { padding-inline: var(--s3); }

  /* Lift the two actions off the bottom edge. env(safe-area-inset-bottom) on
     the bar already clears the home indicator on a notched phone; this is the
     visual breathing room on top of it, so the labels are not sitting on the
     very lip of the screen. */
  .mobile-bar { padding-block-end: calc(var(--s3) + env(safe-area-inset-bottom)); }

  /* the fixed bar got taller, so the page has to clear more of it */
  .footer { padding-bottom: calc(var(--s8) + 72px); }
  .mobile-bar a svg { width: 15px; height: 15px; color: var(--amber-text); }

  /* keep the last section clear of the fixed bar */
  .footer { padding-bottom: calc(var(--s8) + 54px); }
}

/* ============================================================
   CHECKOUT
   Two columns: the form reads as a numbered sequence, the summary
   stays in view. Collapses to one column with the summary last.
   ============================================================ */
.co {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: var(--s24);
}

/* ---- numbered sections ---- */
.cosec {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--s4);
  padding-block: var(--s8);
  border-top: 1px solid var(--line-soft);
}
.cosec:first-child { border-top: 0; padding-top: 0; }

.cosec__n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--amber-text);
  margin: 0;
  padding-top: 4px;
}
.cosec__t {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s2);
}
.cosec__hint {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin: 0 0 var(--s5, 1.25rem);
  max-width: 46ch;
}

/* ---- fields ---- */
.frow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.fld--wide { grid-column: 1 / -1; }

.fld { display: block; }
.fld > span {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s2);
}
.fld > span b { color: var(--amber-text); font-weight: 400; }
.fld > span i { font-style: normal; text-transform: none; letter-spacing: 0.06em; opacity: 0.7; }

/* 0.7rem of vertical padding put the field border 11px off the text and made
   these 43px tall — a hair under the 44px a thumb needs, and visibly tight
   next to the 24px breathing room in the cards around them. */
.fld input, .fld select, .fld textarea,
.frow input, .frow select {
  width: 100%;
  min-height: 48px;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.9375rem;
  padding: var(--s3) var(--s4);
  transition: border-color var(--fast) var(--ease);
}
.fld textarea { resize: vertical; line-height: 1.55; padding-block: var(--s4); }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--amber-line);
  outline: none;
}
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); opacity: 0.6; }

/* +91 prefix sits inside the field so it reads as one control.

   Selector has to out-specify `.fld > span`, which is the field LABEL style
   and matched this wrapper too — it is also a span and also a direct child.
   At equal specificity the label's `display: block` won on source order, so
   the prefix sat on its own line above the input rather than beside it, and
   the label's bottom margin pushed a gap under the field. */
.fld > span.fld__prefix {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
}
.fld__prefix i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.8125rem;
  display: flex; align-items: center;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  color: var(--ink-3);
  background: rgba(245, 245, 245, 0.03);
}
.fld__prefix input { border-radius: 0 2px 2px 0; }

.fld__err {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: #ff7a6b;
  margin-top: var(--s2);
  min-height: 0;
}
.is-bad input, .is-bad select, .is-bad textarea { border-color: #ff7a6b; }

/* ---- radio cards ---- */
.choices { display: grid; gap: var(--s4); }
/* Generous padding matters more here than elsewhere: when one of these is
   selected the border turns amber, and a tight inset makes the accent read
   as crowding the text rather than framing it. */
.choice {
  display: flex; gap: var(--s4);
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.choice:hover { border-color: var(--ink-3); }
.choice:has(input:checked) {
  border-color: var(--amber-line);
  background: rgba(255, 212, 0, 0.05);
}
.choice input {
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--amber-line);
  flex: none;
}
.choice__body { display: block; }
.choice__t { display: block; font-weight: 500; font-size: 0.9375rem; }
.choice__d {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: var(--s2);
  max-width: 52ch;
  line-height: 1.55;
}
.choice.is-off { opacity: 0.45; }
.choice.is-off:hover { border-color: var(--line); }

/* ---- checkbox rows ---- */
/* A 13px checkbox is a hard thing to hit on glass. Bigger box, and the row
   itself gets vertical padding so the whole label is a comfortable target
   rather than just the tick. */
.check {
  display: flex; align-items: flex-start; gap: var(--s4);
  margin-top: var(--s4);
  padding-block: var(--s2);
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--amber-line);
  flex: none;
}
.check .fld__err { flex-basis: 100%; margin-top: 0; }
.fld__err:empty { display: none; }

/* ---- pill radios ---- */
.pills { border: 0; padding: 0; margin: var(--s4) 0 0; display: flex; gap: var(--s2); align-items: center; }
.pills legend {
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); padding: 0; margin-right: var(--s3);
  float: left;
}
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill-opt span {
  display: inline-block;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink-2);
}
.pill-opt input:checked + span {
  border-color: var(--amber-line); color: var(--amber-text);
  background: rgba(255, 212, 0, 0.07);
}
.pill-opt input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---- summary ---- */
.co__side { position: sticky; top: 98px; }
.sumcard {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: var(--s6);
  background: rgba(245, 245, 245, 0.02);
}
.sumcard__t {
  font-family: var(--mono);
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s5, 1.25rem);
}

.sumline {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: var(--s4);
  align-items: center;
  padding-bottom: var(--s4);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--line-soft);
}
.sumline__img {
  width: 52px; height: 52px; object-fit: cover;
  background: var(--plate); border-radius: 2px;
  mix-blend-mode: multiply;
}
.sumline__name { font-size: 0.8125rem; margin: 0; line-height: 1.3; }
.sumline__meta {
  font-family: var(--mono); font-size: 0.625rem;
  color: var(--ink-3); margin: 3px 0 0; letter-spacing: 0.06em;
}
.sumline__price { font-size: 0.8125rem; }
.sumline__offer {
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.06em;
  color: var(--amber-text); margin: 3px 0 0;
}

/* discount code — sits between the lines and the totals it changes */
.codebox { margin: 0 0 var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line-soft); }
.codebox__l {
  display: block;
  font-family: var(--mono); font-size: 0.625rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--s2);
}
.codebox__row { display: flex; gap: var(--s2); }
.codebox__row input {
  flex: 1; min-width: 0; min-height: 44px;
  padding: 0 var(--s3);
  background: var(--void); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  font: 500 0.8125rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.codebox__row input:focus { outline: none; border-color: var(--blue-ink); }
.codebox__row input:disabled { color: var(--amber-text); border-color: var(--line-soft); }
.codebox__row input::placeholder { color: var(--ink-3); opacity: 0.6; text-transform: none; letter-spacing: 0.02em; }
.codebox__row .btn { min-height: 44px; flex-shrink: 0; }
.codebox__msg { font-size: 0.75rem; line-height: 1.45; margin: var(--s2) 0 0; color: var(--ink-3); min-height: 0; }
.codebox__msg:empty { display: none; }
.codebox__msg.is-ok { color: #6fd08c; }
.codebox__msg.is-bad { color: #ff7a6b; }

.sumlines { margin: 0 0 var(--s4); }
.sumrow2 {
  display: flex; justify-content: space-between; gap: var(--s3);
  font-size: 0.8125rem;
  color: var(--ink-3);
  padding-block: 5px;
}
.sumrow2 dt, .sumrow2 dd { margin: 0; }
.sumrow2--total {
  color: var(--ink);
  font-size: 1.0625rem;
  padding-top: var(--s4);
  margin-top: var(--s3);
  border-top: 1px solid var(--line);
}
.sumrow2--total dd { font-weight: 700; }

.freeship {
  font-family: var(--mono); font-size: 0.625rem;
  letter-spacing: 0.06em; color: var(--amber-text);
  margin: 0 0 var(--s4);
}
.secure {
  font-size: 0.75rem; color: var(--ink-3);
  margin: var(--s3) 0 0; text-align: center; line-height: 1.5;
}

.errbox {
  margin-top: var(--s4);
  border: 1px solid rgba(255, 122, 107, 0.35);
  background: rgba(255, 122, 107, 0.08);
  border-radius: 3px;
  padding: var(--s4);
  font-size: 0.8125rem;
  color: #ffb3a9;
}
.errbox strong { display: block; margin-bottom: var(--s2); color: #ff9d90; }
.errbox p { margin: 0 0 var(--s2); max-width: none; }
.errbox p:last-child { margin-bottom: 0; }

/* ============================================================
   RECOMMENDED — two picks, deliberately not a third product grid
   ============================================================ */
.recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
.rec {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: var(--s4);
  align-items: center;
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.rec:hover { border-color: var(--ink-3); background: rgba(245, 245, 245, 0.025); }

.rec__shot {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--plate);
  border: 1px solid var(--plate-edge);
  border-radius: 2px;
  overflow: hidden;
}
.rec__shot img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.rec__body { min-width: 0; }
.rec__brand {
  font-family: var(--mono); font-size: 0.5625rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-text); margin: 0 0 var(--s2);
}
.rec__name {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 1rem; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: var(--s2);
}
.rec__name:hover { color: var(--amber-text); }
.rec__spec {
  font-family: var(--mono); font-size: 0.6875rem;
  color: var(--ink-3); margin: 0 0 var(--s3);
}
.rec__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap;
}
.rec__price { font-size: 1rem; }
.rec__add { min-height: 44px; white-space: nowrap; }

@media (max-width: 900px) {
  .recs { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .rec { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); padding: var(--s3); }
  .rec__name { font-size: 0.9375rem; }
}

/* ============================================================
   PAGER — catalogue pagination
   ============================================================ */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
  padding-block: var(--s8);
  border-top: 1px solid var(--line);
  margin-top: -1px;                 /* sit on the grid's own hairline */
}
.pager__status {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.pager__row { display: flex; align-items: center; gap: var(--s2); }

.pager__btn {
  min-width: 40px;
  min-height: 40px;
  padding-inline: var(--s3);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: color var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.pager__btn:hover:not([disabled]) { color: var(--ink); border-color: var(--ink-3); }
.pager__btn.is-current {
  color: var(--on-amber);
  background: var(--amber);
  border-color: var(--amber-line);
}
.pager__btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.pager__gap { color: var(--ink-3); padding-inline: var(--s1); font-family: var(--mono); }

@media (max-width: 620px) {
  .pager { justify-content: center; text-align: center; }
  .pager__row { flex-wrap: wrap; justify-content: center; }
  /* tighter targets so the row wraps less often, still 40px tall for thumbs */
  .pager__btn { min-width: 36px; padding-inline: var(--s2); font-size: 0.6875rem; }
}

/* ============================================================
   ORDER — confirmation and lookup
   ============================================================ */

.ordstat {
  font-family: var(--display);
  font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 var(--s2);
  color: var(--amber-text);
}
.ordstat.is-delivered { color: #6fd08c; }
.ordstat.is-cancelled { color: #ff7a6b; }

.ordtrack { list-style: none; margin: var(--s6) 0 0; padding: 0; }
.ordtrack__i {
  display: flex; align-items: baseline; gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-3);
}
.ordtrack__i::before {
  content: ''; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--ink-3);
  transform: translateY(-1px);
}
.ordtrack__i.is-done { color: var(--ink); }
.ordtrack__i.is-done::before { background: var(--amber); border-color: var(--amber-line); }
.ordtrack__s {
  font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  flex: 1;
}
.ordtrack__at { font-size: 0.6875rem; color: var(--ink-3); }

.ord-lookup { max-width: 30rem; padding-block: var(--s8) var(--s24); }
.ord-lookup__form {
  display: flex; align-items: flex-end; gap: var(--s3); flex-wrap: wrap;
}
.ord-lookup__form .fld { flex: 1 1 16rem; }
.ord-lookup__form input { text-transform: uppercase; }
.ord-lookup__note {
  margin-top: var(--s6);
  font-size: 0.8125rem; color: var(--ink-3); line-height: 1.6;
}

@media (max-width: 980px) {
  .co { grid-template-columns: 1fr; }
  .co__side { position: static; order: -1; }
}
@media (max-width: 620px) {
  .frow { grid-template-columns: 1fr; }
  .cosec { grid-template-columns: 1fr; gap: var(--s2); }
  .cosec__n { padding-top: 0; }
}

/* ==========================================================================
   Account — sign in / create account tabs, and the order history rows.
   Built from the same tokens as the rest of the site: hairline cells, mono
   metadata, one amber accent. No new visual language, on purpose.
   ========================================================================== */

.acc-tabs {
  display: flex;
  gap: var(--s6);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s6);
}

.acc-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 var(--s3);
  font: inherit;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.acc-tab:hover { color: var(--ink); }

.acc-tab.is-on {
  color: var(--amber-text);
  border-bottom-color: var(--amber-line);
}

/* One order in the history list. A block rather than a table: at three or
   four fields it reads better on a phone, which is where most of these get
   looked at. */
.ordrow {
  display: block;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line-soft);
}

.ordrow:last-child { border-bottom: 0; }

.ordrow__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
}

.ordrow__id {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.ordrow__id:hover {
  color: var(--amber-text);
  border-bottom-color: var(--amber-line);
}

.ordrow__total {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink);
  white-space: nowrap;
}

.ordrow__meta,
.ordrow__status {
  margin: var(--s2) 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.ordrow__status { color: var(--ink-2); }

/* The account page is a single readable column — no order-summary rail, so it
   must not borrow .co, whose second 380px track would sit empty. */
.acct {
  max-width: 54rem;
  padding-bottom: var(--s24);
}

/* ==========================================================================
   Mobile finishing pass — 2026-08-20

   Three measured defects, not a restyle. The visual language is unchanged:
   same hairline cells, same mono metadata, same single amber accent.
   ========================================================================== */

/* 1 — iOS zooms the whole page when a focused input is under 16px.

   Every field on the checkout was 15px or 13.3px, so each tap during checkout
   jumped and magnified the page and the customer had to pinch back out. On the
   one page where money changes hands. 16px is the documented threshold; this
   is the only reason these are 1rem rather than the 0.9375rem the desktop
   uses, and it is why the rule is scoped to small screens.  */
@media (max-width: 620px) {
  .fld input, .fld select, .fld textarea,
  .frow input, .frow select,
  .searchbox input, .sortsel {
    font-size: 1rem;
  }
}

/* 2 — touch targets.

   44px is the documented minimum for a reliable thumb tap. The filter rows
   were 34px, the chips 32px, the price slider 24px. These grow only on
   touch-sized viewports; the desktop keeps its tighter rhythm, because a
   mouse does not need the same margin for error. */
@media (max-width: 620px) {
  .fopt { min-height: 44px; padding-block: 10px; }
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .fgroup__title { min-height: 44px; }
  .frange input[type='range'] { height: 44px; }

  /* Footer and breadcrumb links sat at 19px — legible, but a coin-toss to
     hit. Padding rather than font-size, so the type scale is untouched. */
  .footer a, .crumbs a { display: inline-block; padding-block: 12px; }
}

/* 3 — the metadata floor.

   Mono metadata carries a lot of this design and is meant to be small, but
   the smallest tier had drifted to 9px ("Last 1" on a card) and 10px, which
   is past legible on a phone in daylight. 11px is the floor now; the type
   scale above it is unchanged, so the hierarchy reads exactly as before. */
.card__flag { font-size: 0.6875rem; }
.card__brand { font-size: 0.6875rem; }
.card__stock { font-size: 0.6875rem; }
.fopt__n { font-size: 0.6875rem; }

/* Second pass on the same floor. These sit outside the card, so the first
   sweep missed them: a filter group heading, the footer column headings, and
   — worst of it — a 9px "Remove" control in the cart drawer, which is a
   destructive action nobody should have to aim at.

   The wordmark's "RC Cars" and the cart badge are deliberately left at 10px.
   They are lockup details rather than things to read or hit, and lifting them
   would change the logo's proportions. */
.fgroup__title { font-size: 0.6875rem; }
.citem__meta { font-size: 0.6875rem; }
.citem__remove { font-size: 0.6875rem; }
.footer h4 { font-size: 0.6875rem; }

@media (max-width: 620px) {
  /* The pager sat at 40px — close enough to look fine and far enough to miss.
     Numbers get a square target rather than a wider one, so the row keeps its
     rhythm. */
  .pager a, .pager button, .pager__n { min-height: 44px; min-width: 44px; }
  .citem__remove { min-height: 44px; }
}

/* Product page, same floor. The spec labels matter more than most metadata on
   this site — scale, drivetrain and motor are what an enthusiast actually
   compares between two cars — and they were the smallest readable thing on
   the page at 10px. The recommendation brand line was 9px. */
.spec dt { font-size: 0.6875rem; }
.rec__brand { font-size: 0.6875rem; }

@media (max-width: 620px) {
  /* The recommendation cards were tappable only across the title's own two
     lines. The whole tile is the affordance, so give the link the tile. */
  .rec__body a, a.rec { display: block; min-height: 44px; }
}

/* Checkout labels.

   These were 10px — the same size as a decorative caption — on the page where
   someone types their delivery address and pays. A field label is not
   metadata; it is an instruction, and it is read under pressure on a phone in
   a shop. 12px for the labels and the fieldset legends, which is a step above
   the 11px metadata floor precisely because they do more work.

   The order summary's per-line detail stays metadata and takes the floor. */
.fld > span,
.frow > label > span,
.co legend { font-size: 0.75rem; }

.sumline__meta { font-size: 0.6875rem; }

/* Homepage, brought to the same 11px metadata floor as the rest of the site.
   These carry real content — a stat label, a price, an address line — not
   decoration, and at 10px they were the smallest readable thing on the page.
   The wordmark's "RC Cars" and the cart badge stay at 10px as lockup details,
   same exception as everywhere else. */
.stat__k,
.terrain__count,
.terrain__n,
.hero__dim-label,
.visit dt { font-size: 0.6875rem; }

/* The phone and email links in the Visit section were 20-21px tall on a
   phone. For a shop that sells by people walking in or calling, those are the
   two most important targets on the site, and they were the smallest.

   Padding rather than font-size, so the visit block keeps its typographic
   rhythm — the target grows, the type does not move. */
@media (max-width: 620px) {
  /* :not(.btn) — a button is already 48px tall, and inline-block here beat
     its inline-flex and dropped the icon onto a line of its own */
  a[href^="tel:"]:not(.btn), a[href^="mailto:"]:not(.btn), a[href*="wa.me"]:not(.btn) {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
  }

  /* The thumb bar's Call and WhatsApp are tel: and wa.me links too, and the
     rule above stacked each icon over its label. They are 54px flex rows. */
  .mobile-bar a[href] {
    display: inline-flex;
    line-height: 1.2;
  }
}

/* ==========================================================================
   PRODUCT PAGE — three columns
   2026-10-19. Structure follows the F4 recipe: reference on the left, the
   photographs down the middle, the one action on the right. The skin stays
   MRC's — dark ground, amber accent, mono metadata, hairlines. No jewellery
   palette, no serif italic; the system is borrowed, the identity is not.
   ========================================================================== */

.pdp--three {
  display: grid;
  /* The middle column is the widest because the car is the argument. The
     side columns are deliberately narrow — a short measure is what makes
     sparse columns read as composed rather than unfinished. */
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.25fr) minmax(0, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: var(--s12) var(--section-y);
}

/* Both side columns drop down the page so they sit against the photographs
   rather than against the top edge of the first one. */
.pdp--three .pinfo,
.pdp--three .pbuy { padding-top: clamp(1rem, 6vw, 5rem); }

/* Sticky so the price and the button stay reachable through a long stack. */
.pdp--three .pbuy {
  position: sticky;
  top: 108px;
}

/* The name, price and details stay beside the photos too (2026-11-01).
   Three-column layout only. If the open folds make it taller than the
   window, it scrolls on its own instead of running off the bottom. */
@media (min-width: 1101px) {
  .pdp--three .pinfo {
    position: sticky;
    top: 108px;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
}

/* ---- the stack ---- */

.pdp__shots { display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); }

.shot {
  margin: 0;
  background: var(--plate);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* same treatment the cards use, so a car looks identical in both places */
  mix-blend-mode: multiply;
}

/* ---- folds ---- */

.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }

.fold__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  padding-block: var(--s3);
  cursor: pointer;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color var(--d-ui) var(--ease);
}
.fold__sum::-webkit-details-marker { display: none; }
.fold__sum:hover { color: var(--ink); }
.fold[open] .fold__sum { color: var(--ink); }

/* a + that becomes a - , drawn rather than typed so it lines up exactly */
.fold__sign { position: relative; width: 11px; height: 11px; flex: none; }
.fold__sign::before,
.fold__sign::after {
  content: '';
  position: absolute; inset-inline: 0; top: 5px;
  height: 1px;
  background: var(--amber);
  transition: transform var(--d-ui) var(--ease);
}
.fold__sign::after { transform: rotate(90deg); }
.fold[open] .fold__sign::after { transform: rotate(0deg); }

.fold__body { padding-bottom: var(--s6); }
/* Details / Specification / Shipping open with a short slide (2026-11-01).
   Browsers without ::details-content or interpolate-size just snap open. */
.fold { interpolate-size: allow-keywords; }
.fold::details-content {
  block-size: 0; opacity: 0; overflow: clip;
  transition: block-size var(--d-ui) var(--ease), opacity var(--d-ui) var(--ease),
              content-visibility var(--d-ui) allow-discrete;
}
.fold[open]::details-content { block-size: auto; opacity: 1; }
.fold__body > div > p { margin: 0 0 var(--s4); color: var(--ink-2); }
.fold__body .specs { margin: 0; }

/* ---- buy column ---- */

.pbuy__note {
  margin-top: var(--s4);
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* ---- tablet: the buy column drops under the reading column ---- */
@media (max-width: 1100px) {
  .pdp--three { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .pdp--three .pbuy { grid-column: 1; grid-row: 2; position: static; padding-top: 0; }
  .pdp--three .pdp__shots { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---- phone: one column, photographs first ---- */
@media (max-width: 900px) {
  .pdp--three { grid-template-columns: 1fr; gap: var(--s6); }
  .pdp--three .pinfo,
  .pdp--three .pbuy { padding-top: 0; }
  .pdp--three .pdp__shots,
  .pdp--three .pinfo,
  .pdp--three .pbuy { grid-column: 1; grid-row: auto; }
  /* the only reorder: the car goes above its own name */
  .pdp--three .pdp__shots { order: -1; }

  /* The photographs run down the page, one under another, edge to edge
     (2026-11-11, like smithllery.com). The buy bar below stays on screen. */
  .pdp__shots { display: grid; gap: var(--s2); margin-inline: calc(-1 * var(--gutter)); }
  .shot { border-inline: 0; }
}

/* ---- the fixed buy bar (phones): name and price on the left, the button on the right ---- */
.buyfix { display: none; }
@media (max-width: 900px) {
  .buyfix {
    display: flex; align-items: center; gap: var(--s4);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
    background: var(--void);
    border-top: 1px solid var(--line);
  }
  .buyfix__t { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
  .buyfix__name {
    font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .buyfix__price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
  .buyfix .btn { flex: 0 0 auto; min-width: 140px; justify-content: center; padding-inline: var(--s5, 1.25rem); }
  .buyfix .btn[disabled] { opacity: 0.5; }
  /* the page clears the bar */
  body.has-buyfix .footer { padding-bottom: calc(var(--s8) + 88px); }
}

/* ==========================================================================
   POLICY / ABOUT / CONTACT — 2026-10-19
   Reference pages. They are read, not browsed, so the job is a comfortable
   measure and a clear spine — no new visual language.
   ========================================================================== */

.policy {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: var(--section-y);
}

/* The contents list follows you down a long legal page. */
.policy__toc { position: sticky; top: 108px; }
.policy__toc ol {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.policy__toc li { border-bottom: 1px solid var(--line-soft); }
.policy__toc a {
  display: block;
  padding-block: var(--s3);
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--d-ui) var(--ease);
}
.policy__toc a:hover { color: var(--amber-text); }

.policy__sec { padding-block: 0 var(--s12); }
.policy__sec h2 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s4);
  /* scrolled-to headings must clear the fixed header */
  scroll-margin-top: 110px;
}
.policy__sec p { max-width: 62ch; color: var(--ink-2); margin: 0 0 var(--s4); }
.policy__sec strong { color: var(--ink); font-weight: 600; }
.policy__sec .specs { margin-bottom: var(--s6); }

/* ---- about / contact share the numbered-section rhythm ---- */
.contact { padding-bottom: var(--section-y); max-width: 62rem; }
.contact .cosec p { max-width: 58ch; }
.contact__actions {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-block: var(--s4) var(--s4);
}

/* ---- the legal row on light-footer pages ---- */
.footer__legal {
  display: flex; flex-wrap: wrap;
  gap: var(--s2) var(--s5, 1.25rem);
  margin-top: var(--s3);
}
.footer__legal a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--d-ui) var(--ease);
}
.footer__legal a:hover { color: var(--amber-text); }

@media (max-width: 860px) {
  .policy { grid-template-columns: 1fr; }
  .policy__toc { position: static; }
  /* tap targets on the legal row, same floor as everywhere else.
     padding alone landed at 42px — close enough to look fine and far enough
     to miss, so the floor is stated outright. */
  .footer__legal a {
    display: inline-flex; align-items: center;
    min-height: 44px; padding-block: 12px;
  }
}


/* ============================================================
   PRODUCT VIDEO — "Watch it run" (2026-10-31)
   ============================================================ */
.pinfo__watch {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin: var(--s4) 0 var(--s2);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 0.875rem;
}
.pinfo__play {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber);
  position: relative;
}
.pinfo__play::after {
  content: ''; position: absolute; left: 10px; top: 8px;
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--on-amber);
}
.pinfo__watch:hover { background: #000; }

.shot--video { aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; scroll-margin-top: 120px; }
.shot--video iframe { width: 100%; height: 100%; border: 0; display: block; }
.watch__ig { width: 100%; max-width: 420px; height: 600px; border: 0; border-radius: var(--radius); background: #fff; display: block; }
@media (max-width: 900px) {
  .shot--video { align-self: center; }
  .watch__ig { height: 560px; }
}


/* ============================================================
   CATALOGUE — 2026-11-01 (Jason)
   Three big cards a row, twelve a page. The filters live in the slide-in
   panel at every width, so the grid gets the whole page.
   ============================================================ */
.shop { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
.filters {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 100vw);
  max-height: none;
  background: var(--void);
  border-left: 1px solid var(--line);
  z-index: var(--z-drawer);
  padding: var(--s6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--d-pop) var(--ease);
}
.filters.is-open { transform: none; box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.35); }
.filters__head { align-items: center; }
.filters__head .label { margin-right: auto; }
.filters-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s4);
  border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-family: var(--body); font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.filters-toggle:hover { background: var(--ink); color: #fff; }
.filters-toggle svg { width: 16px; height: 16px; }
.filters-toggle__n {
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: var(--ink); color: #fff;
  font-size: 0.6875rem; font-weight: 700;
}

.shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
@media (max-width: 900px) {
  .shop .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
}

/* Above the fold (2026-11-01): heading, one control row, then a full first
   row of cars on a laptop screen. The heading is compact, the tabs share
   the row with count, filters and sort, and catalogue photos sit in a 4:3
   frame (contain, so no car is cropped). */
.pagehead:has(+ .shop) { padding-block: var(--s6) var(--s4); }
.pagehead:has(+ .shop) .crumbs { display: none; }   /* a top-level page: the nav already says where you are */
.pagehead:has(+ .shop) .pagehead__title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0; }
.shop { padding-top: var(--s4); }
.shop__bar { flex-wrap: wrap; gap: var(--s3) var(--s4); padding-bottom: var(--s4); }
.shop .chips:empty { display: none; }
.shop__bar .tabs { margin: 0 auto 0 0; flex: 0 1 auto; min-width: 0; }
.shop__bar .shop__count { margin: 0; }
.shop .card__frame { aspect-ratio: 3 / 2; margin-bottom: var(--s3); }
.shop .card__brand { margin-bottom: var(--s1); }
.shop .card__name { margin-bottom: var(--s1); }
.shop .card__spec { margin-bottom: var(--s3); }
@media (max-width: 900px) {
  .shop__bar .tabs { flex: 1 1 100%; order: -1; }
  .shop__bar .shop__count { margin-right: auto; }
}


/* checkout: shown in place of the pay button when delivery is chosen and
   online payment is not switched on (no cash on delivery, 2026-11-01) */
.paynone {
  margin-top: var(--s4); padding: var(--s6);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.paynone__t { font-weight: 700; margin: 0 0 var(--s2); }
.paynone__d { color: var(--ink-2); margin: 0 0 var(--s4); }
.btn--wa { background: #25d366; border-color: #25d366; color: #fff; font-weight: 700; }
.btn--wa:hover { background: #1fbe5b; border-color: #1fbe5b; }

/* About us opens on Jason's photo: a short heading and no breadcrumb */
.pagehead--tight { padding-block: var(--s6) var(--s4); }
.pagehead--tight .crumbs { display: none; }
.pagehead--tight .pagehead__title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0; }


/* ============================================================
   UPI PAYMENT PANEL — order page, 2026-11-04
   ============================================================ */
.upipay {
  margin-bottom: var(--s8);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
}
.upipay[hidden] { display: none; }
.upipay__t { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 var(--s2); }
.upipay__lede { color: var(--ink-2); margin: 0 0 var(--s6); max-width: 56ch; }
.upipay__grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.upipay__qr {
  width: 100%; max-width: 240px; aspect-ratio: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
}
.upipay__qr svg { width: 100%; height: 100%; display: block; }
.upipay__side { display: grid; gap: var(--s4); }
.upipay__kv { margin: 0; display: grid; gap: var(--s3); }
.upipay__kv > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s3); align-items: baseline; }
.upipay__kv dt { color: var(--ink-3); font-size: 0.8125rem; }
.upipay__kv dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); word-break: break-all; }
.upipay__copy {
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.upipay__copy:hover { border-color: var(--ink); }
.upipay__hint { margin: var(--s6) 0 0; font-size: 0.875rem; color: var(--ink-3); max-width: 62ch; }
/* a phone cannot scan its own screen, so the app button leads there; a
   laptop cannot open upi:// links, so the QR code leads there */
.upipay__apps { display: none; }
.upipay__pick { margin: 0; font-size: 0.8125rem; color: var(--ink-3); }
.upipay__other { font-size: 0.875rem; color: var(--ink-3); text-decoration: underline; text-align: center; }
@media (hover: none) and (pointer: coarse) {
  .upipay__apps { display: grid; gap: var(--s3); }
  .upipay__grid { grid-template-columns: 1fr; }
  .upipay__qr { max-width: 200px; }
}
@media (max-width: 620px) {
  .upipay__grid { grid-template-columns: 1fr; gap: var(--s4); }
}

/* Delhivery tracking line on the order page */
.ordcourier { margin: var(--s3) 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.ordcourier[hidden] { display: none; }
.ordcourier a { font-weight: 700; text-decoration: underline; }

/* "We deliver to this PIN code" line under the checkout PIN field */
.pinnote { display: block; margin-top: 6px; font-size: 0.8125rem; }
.pinnote[hidden] { display: none; }
.pinnote.is-yes { color: #1a7f37; }
.pinnote.is-no { color: #9a6700; }


/* ==========================================================================
   PHONE AUDIT — 2026-11-11
   One block, so what changed for thumbs is in one place. Everything here is
   scoped to small screens; the desktop layout is untouched.
   ========================================================================== */

/* hidden on larger screens: these only exist for phones */
.sumtoggle, .pdp__peek, .shotcount { display: none; }

/* ---- 1. Checkout: the form first, a folded summary, the pay button always in reach ---- */
@media (max-width: 980px) {
  .sumcard { padding: 0; }
  .sumcard__t { display: none; }
  .sumtoggle {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
    width: 100%; min-height: 60px; padding: var(--s3) var(--s5, 1.25rem);
    background: none; border: 0; color: var(--ink);
    font: inherit; font-size: 0.9375rem; font-weight: 600; text-align: left; cursor: pointer;
  }
  .sumtoggle small { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); }
  .sumtoggle__r { display: flex; align-items: center; gap: var(--s3); }
  .sumtoggle__r b { font-size: 1rem; }
  .sumtoggle__r i {
    width: 9px; height: 9px; margin-top: -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 240ms var(--ease);
  }
  .sumcard.is-open .sumtoggle__r i { transform: rotate(-135deg); margin-top: 4px; }
  .sumbody { padding: 0 var(--s5, 1.25rem) var(--s5, 1.25rem); border-top: 1px solid var(--line-soft); padding-top: var(--s5, 1.25rem); }
  .sumcard:not(.is-open) .sumbody { display: none; }
  .sumcard > .secure, .sumcard > .errbox, .sumcard > .freeship { margin-inline: var(--s5, 1.25rem); }
  /* the pay bar already says what happens next */
  .sumcard > .secure { display: none; }
  .sumcard > .errbox { margin-bottom: var(--s4); }

  /* the pay button is the bar: always on screen, total in its label */
  #co-pay {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    width: 100%; margin: 0; border-radius: 0;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    justify-content: center;
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.5);
  }
  #co-pay[hidden] { display: none; }
  body:has(#co-form:not([hidden])) .footer { padding-bottom: calc(var(--s8) + 72px); }
}

/* ---- 2. Product page (phone): name and price first, a photo counter, a lean buy bar ---- */
@media (max-width: 900px) {
  .pdp--three { padding-top: var(--s4); gap: var(--s4); }
  .pdp__peek { display: block; order: -2; }
  .pdp__peek .pinfo__brand { margin: 0 0 4px; }
  .pdp__peek .pinfo__title { font-size: 1.5rem; line-height: 1.2; margin: 0 0 var(--s3); }
  .pdp__peek .pinfo__price { margin: 0; }
  /* the full info column starts at the folds: the name and price are already above */
  .pdp--three .pinfo > .pinfo__brand,
  .pdp--three .pinfo > .pinfo__title,
  .pdp--three .pinfo > .pinfo__price { display: none; }

  .shotcount {
    display: block; position: fixed; left: 14px; z-index: 61;
    bottom: calc(86px + env(safe-area-inset-bottom));
    padding: 6px 12px; border-radius: 999px;
    background: rgba(13, 13, 13, 0.78); color: #fff;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 0.75rem; letter-spacing: 0.08em;
    opacity: 0; transform: translateY(6px); pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  .shotcount.is-on { opacity: 1; transform: none; }

  /* the name now sits above the photos, so the bar is just price and button */
  .buyfix { justify-content: space-between; }
  .buyfix__name { display: none; }
  .buyfix__t { flex: 0 0 auto; }
  .buyfix .btn { flex: 1 1 auto; max-width: 240px; min-width: 150px; }
}

/* ---- 3. Phone text: nothing readable under 12px ---- */
@media (max-width: 760px) {
  .label, .ccard__k, .scaleline__ends span,
  .fgroup__title, .fopt__n, .frange__out, .chip,
  .card__scale, .card__brand, .card__stock, .card__flag,
  .pager__status, .pager__btn,
  .citem__meta, .citem__remove, .footer h4, .spec dt, .rec__brand,
  .sumline__meta, .sumline__offer, .visit dt, .cosec__n,
  .pills legend, .pill-opt span, .fld__err, .pinnote, .fld > span i,
  .crumbs, .crumbs a, .crumbs span, .fopt span, .codebox__l,
  .policy__toc a, .ordtrack__at { font-size: 0.75rem; }
}

/* ---- 4. Phone tap targets: 44px, so a thumb does not miss ---- */
@media (max-width: 760px) {
  .footer .footer__social a[href] { width: 44px; height: 44px; }
  .footer__social { gap: var(--s3); }
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
  .banner__social a { min-height: 44px; }
  .playlist figcaption a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
  .check { min-height: 44px; align-items: center; }
  .pill-opt span { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; }
  .choice input, .check input { width: 22px; height: 22px; }
  .pager__btn { min-height: 44px; min-width: 44px; }
}

/* ---- 5. Phone fields: 16px, so iOS does not zoom in on focus ---- */
@media (max-width: 760px) {
  select, .sortsel, .fld select, .frow select { font-size: 1rem; }
}


/* ==========================================================================
   SEO PAGES — 2026-11-11: guides, the home-page about-the-shop copy, and the
   product text a search engine reads before the page's script runs.
   ========================================================================== */
.guide { max-width: 46rem; padding-bottom: var(--section-y); }
.guide__title { margin: 0 0 var(--s3); }
.guide__meta { margin: 0 0 var(--s6); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-3); }
.guide__lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 var(--s8); }
.guide h2 { font-family: var(--display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); letter-spacing: -0.02em; margin: var(--s12) 0 var(--s3); }
.guide p, .guide li { line-height: 1.7; }
.guide ul, .guide ol { padding-left: 1.25rem; margin: 0 0 var(--s4); }
.guide li { margin-bottom: var(--s2); }
.guide a:not(.btn) { text-decoration: underline; text-decoration-color: var(--amber-line, #c9a400); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.guide a:not(.btn):hover { text-decoration-color: var(--ink); }
.guide__list a { text-decoration: none; }
.guide__table { overflow-x: auto; margin: var(--s4) 0; border: 1px solid var(--line); border-radius: var(--radius, 4px); }
.guide__table table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; }
.guide__table th, .guide__table td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line-soft); }
.guide__table thead th { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--plate); }
.guide__table tbody th { font-weight: 600; white-space: nowrap; }
.guide__table tr:last-child th, .guide__table tr:last-child td { border-bottom: 0; }
.guide__cta { margin: var(--s12) 0 var(--s8); padding: var(--s6); border: 1px solid var(--line); border-radius: 4px; background: var(--plate); }
.guide__cta p { margin: 0 0 var(--s4); }
.guide__cta p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s3); }
.guide__more h2 { margin-top: var(--s8); }
.guide__list { list-style: none; margin: 0 0 var(--s8); padding: 0; border-top: 1px solid var(--line); }
.guide__list li { border-bottom: 1px solid var(--line); margin: 0; }
.guide__list a { display: block; padding: var(--s5, 1.25rem) 0; text-decoration: none; }
.guide__list b { display: block; font-family: var(--display); font-size: 1.25rem; }
.guide__list span { display: block; color: var(--ink-3); margin-top: 4px; }
.guide__list a:hover b { text-decoration: underline; text-underline-offset: 4px; }


/* The plain-text copy of a product that the server puts in the page for search engines.
   It must never be seen: the page's script draws the real product page over it a moment
   later, and until then it would flash as a wall of text. Visually hidden, still in the HTML. */
.ssr-pdp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0;
}
