/* ==========================================================================
   Second Shift · equipment detail
   The unit dossier: evidence first, persuasion second.
   ========================================================================== */

.crumbs { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.65rem; padding: 0; list-style: none; font-size: var(--fs-12); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.65rem; color: var(--muted); }
.crumbs a { color: var(--ink); }

/* ---------- Top: gallery + summary ----------------------------------- */
.eq-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--s-7);
  margin-top: var(--s-6);
}
.gallery { grid-column: 1 / span 7; min-width: 0; }
.summary { grid-column: 8 / -1; min-width: 0; padding-inline-start: clamp(1rem, 0.5rem + 2vw, 2.75rem); }
@media (max-width: 1199px) { .summary { padding-inline-start: var(--s-3); } }
@media (max-width: 899px) {
  .eq-top { grid-template-columns: minmax(0, 1fr); }
  .gallery, .summary { grid-column: 1 / -1; }
  .summary { padding-inline-start: 0; }
}

.stage {
  position: relative;
  height: clamp(28rem, 48vw, 42rem);
  background: var(--mist);
  overflow: hidden;
}
.stage-track {
  display: flex;
  height: 100%;
  margin: 0; padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.stage-track::-webkit-scrollbar { display: none; }
.stage-track li { flex: 0 0 100%; height: 100%; scroll-snap-align: start; cursor: zoom-in; }
.stage-track img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.stage-track:focus-visible { outline: 2px solid var(--white); outline-offset: -5px; }
@media (max-width: 899px) { .stage { height: auto; aspect-ratio: 4 / 4.5; } }

.eq-tag {
  --tag-rot: -4deg;
  --hole-x: 18px;
  --hole-r: 6px;
  position: absolute;
  top: 2.5rem;
  inset-inline-start: 1.25rem;
  z-index: 2;
}
.eq-tag .tag {
  padding: 0.75rem 1.1rem 0.75rem 2.5rem;
  -webkit-mask: radial-gradient(circle at 18px 50%, transparent 6px, #000 6.5px);
          mask: radial-gradient(circle at 18px 50%, transparent 6px, #000 6.5px);
  box-shadow: 0 16px 28px -16px oklch(0.21 0.022 152 / 0.5);
}
.eq-tag .tag-grade { font-size: 2.25rem; }
.eq-tag .tag-id { font-size: 1rem; }
.eq-tag::after { height: 3.5rem; rotate: 18deg; }
@media (prefers-reduced-motion: no-preference) {
  .eq-tag { animation: tag-drop 1200ms var(--ease-expo) 300ms backwards; }
}
@keyframes tag-drop { from { opacity: 0; rotate: -26deg; translate: 0 -1.5rem; } to { opacity: 1; rotate: var(--tag-rot); translate: 0 0; } }

.stage-tools {
  position: absolute;
  inset-inline-end: 1rem; bottom: 1rem;
  z-index: 2;
  display: flex; gap: 0.5rem;
}
.stage-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.75rem; min-width: 2.75rem;
  justify-content: center;
  padding: 0 0.85rem;
  border-radius: 0;
  background: var(--white);
  font-size: var(--fs-14);
  font-weight: 600;
  transition: background-color var(--d-hover), color var(--d-hover), scale var(--d-press);
}
.stage-btn:hover { background: var(--ink); color: var(--white); }
.stage-btn:active { scale: 0.96; }
.stage-count {
  position: absolute;
  inset-inline-start: 1rem; bottom: 1rem;
  z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  font-size: var(--fs-12);
  font-variant-numeric: tabular-nums;
}
.stage-count [data-photo-now] { font-weight: 750; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.thumbs button {
  position: relative;
  aspect-ratio: 1.4;
  min-height: 2.75rem;
  overflow: hidden;
  background: var(--mist);
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--ease-expo); }
.thumbs button::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--ink);
  transition: box-shadow var(--d-state) var(--ease-out);
}
.thumbs button[aria-pressed="true"]::after { box-shadow: inset 0 0 0 3px var(--ink); }
.thumbs button:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }
@media (hover: hover) { .thumbs button:hover img { scale: 1.04; } }
.gallery-note { max-width: 65ch; margin-top: var(--s-4); font-size: var(--fs-12); line-height: 1.6; }

/* Summary */
.summary-inner {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 0;
}
.eq-meta { font-size: var(--fs-12); color: var(--muted); line-height: 1.5; }
.eq-title {
  margin-top: var(--s-3);
  max-width: 17ch;
  font-size: clamp(2.25rem, 1.3rem + 2.5vw, 3.75rem);
  font-stretch: 100%;
  font-weight: 540;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.eq-idrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); }
.id-copy {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.6rem;
  margin-inline-start: -0.6rem;
  border-radius: var(--r-1);
  font-size: var(--fs-14);
  font-weight: 650;
  transition: background-color var(--d-hover);
}
.id-copy:hover { background: var(--ghost); }
.id-copy .i { width: 1rem; height: 1rem; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.facts div { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.facts div:nth-child(odd) { padding-inline-end: var(--s-4); }
.facts dt { font-size: var(--fs-12); color: var(--muted); font-stretch: 100%; font-weight: 450; }
.facts dd { margin-top: 0.25rem; font-size: var(--fs-18); font-weight: 550; font-variant-numeric: tabular-nums; }

.pricebox { margin-top: var(--s-6); }
.pricebox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.pricebox-head p { font-size: var(--fs-14); }
.bigprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin-top: var(--s-4); }
.bigprice .price-cur { font-size: var(--fs-14); font-weight: 500; }
.bigprice .price-val {
  font-size: clamp(2.6rem, 1.9rem + 2vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricebox-link { display: inline-block; margin-top: var(--s-3); font-size: var(--fs-12); }

.cta-stack { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.cta-stack .btn { min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
.cta-mini {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  margin-inline: -0.5rem;
  border-radius: var(--r-1);
  font-size: var(--fs-14);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--d-hover);
}
.cta-mini:hover { background: var(--ghost); }
.cta-mini[aria-pressed="true"] .i { fill: var(--green-600); stroke: var(--green-600); }

.assure { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.assure li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; font-size: var(--fs-12); line-height: 1.6; color: var(--muted); }
.assure .i { color: var(--green-600); margin-top: 0.1rem; }
/* ---------- In-page nav ----------------------------------------------- */
.eq-nav {
  position: sticky;
  top: var(--header-h);
  z-index: calc(var(--z-sticky) + 1);
  margin-top: var(--section-tight);
  background: var(--white);
  border-block: 1px solid var(--rule);
  transition: top var(--d-state) var(--ease-out);
}
body:has(.site-header[data-hidden]) .eq-nav { top: 0; }
.eq-nav ul { display: flex; gap: clamp(1.5rem, 1rem + 2vw, 3rem); overflow-x: auto; scrollbar-width: none; }
.eq-nav ul::-webkit-scrollbar { display: none; }
.eq-nav a {
  display: block;
  padding-block: 1.25rem 1.15rem;
  border-bottom: 2px solid transparent;
  font-size: var(--fs-14);
  font-weight: 520;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--d-hover), border-color var(--d-state);
}
.eq-nav a:hover { color: var(--ink); }
.eq-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 650; }
.eq-nav a:focus-visible { outline-offset: -4px; }
.eq-page[data-generic] [data-dc70] { display: none; }

/* ---------- Dossier sections ----------------------------------------- */
.eq-sec {
  display: grid;
  grid-template-columns: minmax(11rem, 18rem) minmax(0, 1fr);
  gap: var(--s-5) clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(3.25rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 3.5rem);
}
.eq-sec:last-child { border-bottom: 0; }
.eq-h {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 5rem);
  font-size: var(--fs-28);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
/* explicit track: auto-fit lists inside must not size the column from their max-width */
.eq-sec-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); justify-items: start; min-width: 0; }
.eq-sec-body > p { max-width: 68ch; }
@media (max-width: 899px) {
  .eq-sec { grid-template-columns: 1fr; }
  .eq-h { position: static; }
}

/* Overview */
.engineer-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5) var(--s-6);
  align-items: end;
  width: 100%;
  max-width: 50rem;
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding-inline-end: 11rem;
  background: var(--ghost);
}
.engineer-note blockquote p {
  font-size: var(--fs-22);
  line-height: 1.45;
  font-weight: 460;
  letter-spacing: -0.01em;
  max-width: 44ch;
}
.engineer-note blockquote p::before { content: "\201C"; }
.engineer-note blockquote p::after { content: "\201D"; }
.engineer-note figcaption { max-width: 50ch; font-size: var(--fs-12); line-height: 1.6; }
.stamp {
  position: absolute;
  inset-inline-end: 1.75rem;
  bottom: 1.5rem;
  width: 7.5rem;
  color: var(--tag-ink);
  rotate: -9deg;
  mix-blend-mode: multiply;
  opacity: 0.92;
}
.stamp text { fill: currentColor; font-family: var(--font); font-stretch: var(--wd-condensed); }
.stamp-ring { font-size: 9.6px; font-weight: 700; letter-spacing: 1.5px; }
.stamp-name { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; }
.stamp-date { font-size: 9px; font-weight: 650; letter-spacing: 0.8px; }
@media (max-width: 599px) {
  .engineer-note { padding: var(--s-5); padding-bottom: 7.5rem; }
  .stamp { right: var(--s-5); bottom: var(--s-4); width: 6rem; }
}

/* Inspection */
.report-head { display: grid; gap: var(--s-2); }
.report-score { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.report-score .num {
  font-size: var(--fs-56);
  font-stretch: 100%;
  font-weight: 540;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green-600);
}
.report-score span:last-child { font-size: var(--fs-18); font-weight: 600; }
.checks-list { width: 100%; max-width: 46rem; border-top: 1px solid var(--ink); }
.checks-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5rem, 12rem) 3.25rem;
  gap: var(--s-5);
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.cl-bar { height: 3px; background: var(--mist); }
.cl-bar span { display: block; height: 100%; width: calc(var(--n) / var(--of) * 100%); background: var(--green-600); transform-origin: 0 50%; }
.cl-val { text-align: end; font-weight: 550; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .checks-list li { grid-template-columns: minmax(0, 1fr) 3.25rem; row-gap: 0.4rem; }
  .cl-bar { grid-column: 1 / -1; grid-row: 2; }
}
.note-box {
  display: flex; gap: 0.75rem; align-items: flex-start;
  max-width: 46rem;
  padding: var(--s-4) var(--s-5);
  background: var(--tag-soft);
}
.note-box .i { color: var(--tag-ink); margin-top: 0.15rem; }

/* Life bar inside the dossier: full width of the body column */
.eq-sec .lifebar { width: 100%; margin: 0; }

/* Specs */
.spec { width: 100%; max-width: 50rem; border-top: 1px solid var(--ink); }
.spec div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
  gap: var(--s-5);
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
}
.spec dt { color: var(--muted); font-size: var(--fs-14); }
.spec dd { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .spec div { grid-template-columns: 1fr; gap: 0.15rem; } .spec dt { font-size: var(--fs-14); } }

/* Crate */
.crate-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s-3) var(--s-6); width: 100%; max-width: 50rem; }
.crate-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.crate-list .i { color: var(--green-600); margin-top: 0.15rem; }
.crate-dims {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7);
  width: 100%; max-width: 50rem;
  padding: var(--s-4) var(--s-5);
  background: var(--ghost);
}
.crate-dims dt { font-size: var(--fs-12); color: var(--muted); }
.crate-dims dd { font-size: var(--fs-16); font-weight: 650; }
/* Shipping calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-6) var(--s-7);
  width: 100%;
  max-width: 56rem;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  background: var(--ghost);
}
.calc-inputs { display: grid; gap: var(--s-5); align-content: start; }
.calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc .legend { margin-bottom: 0.4rem; padding: 0; }
.seg-lg { justify-self: start; }
.seg-lg button { min-height: 2.75rem; min-width: 4.25rem; font-size: var(--fs-16); }
.calc-out { display: grid; align-content: start; }
.calc-out div {
  display: flex; justify-content: space-between; gap: var(--s-4);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-16);
}
.calc-out dt { color: var(--muted); }
.calc-out dd { font-weight: 600; text-align: end; }
.calc-out [hidden] { display: none; }
.calc-total { border-bottom: 0 !important; border-top: 1px solid var(--ink); margin-top: 0.4rem; padding-top: 0.9rem !important; }
.calc-total dt { color: var(--ink) !important; font-weight: 650; }
.calc-total dd { font-size: var(--fs-28); font-weight: 560; letter-spacing: -0.02em; line-height: 1.1; }
.calc-transit { border-bottom: 0 !important; }
.calc-note { grid-column: 1 / -1; font-size: var(--fs-14); }
@media (max-width: 699px) { .calc { grid-template-columns: 1fr; } }

.import-docs { display: grid; gap: var(--s-4); max-width: 50rem; }
.import-docs ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0.5rem var(--s-6); padding: 0; list-style: none; }
.import-docs li { position: relative; padding-inline-start: 1.25rem; }
.import-docs li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--green-600);
}
.import-docs > p { font-size: var(--fs-14); }

/* Documents */
.docs {
  width: 100%;
  max-width: 50rem;
  border-top: 1px solid var(--ink);
}
.docs a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto 1.5rem;
  gap: var(--s-4);
  align-items: center;
  min-height: 4.25rem;
  padding: 1rem var(--s-3);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-weight: 500;
  transition: background-color var(--d-hover);
}
.docs a:hover { background: var(--ghost); }
.docs a .i:last-child { color: var(--muted); transition: translate var(--d-state) var(--ease-out), color var(--d-hover); }
.docs a:hover .i:last-child { color: var(--ink); translate: 0 2px; }
.docs .plate { font-size: var(--fs-14); }
@media (max-width: 599px) {
  .docs a { grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; }
  .docs .plate { grid-column: 2; grid-row: 2; }
}

/* Similar */
.similar .section-head { margin-bottom: var(--s-6); }

/* ---------- Mobile buy bar ------------------------------------------- */
.buybar { display: none; }
@media (max-width: 899px) {
  .buybar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: 0.75rem var(--margin) max(0.75rem, env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -12px 28px -18px oklch(0.21 0.022 152 / 0.35);
    translate: 0 110%;
    transition: translate var(--d-state) var(--ease-out);
  }
  .buybar.is-on { translate: 0 0; }
  .buybar-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.4rem; }
  .buybar .price-val { font-size: var(--fs-22); font-weight: 720; }
  .buybar .price-terms { flex-basis: 100%; }
  body[data-page="equipment"] .site-footer { padding-bottom: 6rem; }
}

/* ---------- Reserve dialog ------------------------------------------- */
.rv-form { display: grid; gap: var(--s-4); }
.rv-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: var(--s-4); }
.rv-done { display: grid; gap: var(--s-3); justify-items: start; padding-top: var(--s-6); }
.rv-done:focus { outline: none; }
.rv-tag { --tag-rot: -4deg; margin-bottom: var(--s-3); margin-inline-start: 0.5rem; }
.rv-tag .tag-grade { font-size: 1.6rem; }
.rv-clock { font-weight: 700; font-size: var(--fs-16); }
@media (prefers-reduced-motion: no-preference) {
  .rv-done:not([hidden]) .rv-tag { animation: tag-drop 1100ms var(--ease-expo) both; }
}

/* ---------- Lightbox -------------------------------------------------- */
.lightbox {
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0;
  padding: var(--s-4) var(--margin);
  border: 0;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: var(--s-4); }
.lightbox::backdrop { background: var(--green-900); }
.lb-top { display: flex; justify-content: space-between; align-items: center; }
.lb-stage { display: grid; place-items: center; min-height: 0; gap: var(--s-3); grid-template-rows: minmax(0, 1fr) auto; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { font-size: var(--fs-14); text-align: center; max-width: 60ch; }
.lb-nav { display: flex; justify-content: center; gap: var(--s-3); }
.lightbox .icon-btn { background: transparent; color: var(--on-dark); border-color: var(--rule-dark); }
.lightbox .icon-btn:hover { border-color: var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .lb-stage img.is-swapping { animation: fade 320ms var(--ease-out); }
}

/* Detail scale: tablet columns, phone gallery and compact purchase bar. */
@media (min-width: 900px) and (max-width: 1099px) {
  .gallery { grid-column: 1 / span 6; }
  .summary { grid-column: 7 / -1; }
  .eq-title { font-size: 2.65rem; }
  .stage { height: 38rem; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .stage { max-height: 40rem; aspect-ratio: 1.2; }
  .summary-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); }
  .eq-meta, .eq-title, .eq-idrow { grid-column: 1 / -1; }
  .eq-title { max-width: none; }
  .facts { grid-column: 1; align-self: start; }
  .pricebox { grid-column: 2; grid-row: 4; }
  .cta-stack { grid-column: 2; grid-row: 5; margin-top: var(--s-5); }
  .assure { grid-column: 1; grid-row: 5; align-self: start; margin-top: var(--s-5); }
}
@media (max-width: 599px) {
  .eq-top { margin-top: var(--s-5); gap: var(--s-6); }
  .eq-tag { top: 1.75rem; inset-inline-start: 0.75rem; }
  .eq-tag .tag { padding: 0.6rem 0.8rem 0.6rem 2.25rem; }
  .eq-tag .tag-grade { font-size: 1.75rem; }
  .eq-tag .tag-id { font-size: var(--fs-14); }
  .eq-tag .tag-meta { font-size: 0.65rem; }
  .stage-tools { inset-inline-end: 0.75rem; bottom: 0.75rem; gap: 0.4rem; }
  .stage-btn { padding-inline: 0.6rem; font-size: var(--fs-12); }
  .stage-count { inset-inline-start: 0.75rem; bottom: 0.75rem; padding-inline: 0.6rem; }
  .thumbs { gap: 0.45rem; }
  .eq-title { font-size: clamp(2.35rem, 1.5rem + 4vw, 3rem); }
  .summary-inner { position: static; }
  .facts { margin-top: var(--s-4); }
  .eq-sec { row-gap: var(--s-6); }
  .eq-h { font-size: 1.75rem; }
  .engineer-note blockquote p { font-size: var(--fs-18); }
  .note-box { padding: var(--s-4); }
  .docs a { gap: var(--s-3); padding-inline: 0; font-size: var(--fs-14); }
  .buybar { gap: var(--s-3); }
  .buybar .btn { padding-inline: 0.85rem; font-size: var(--fs-14); }
  .buybar .price-val { font-size: var(--fs-18); }
  .buybar .price-cur { font-size: var(--fs-12); }
}
@media (max-width: 379px) {
  .stage-tools { inset-inline-start: 0.75rem; justify-content: flex-end; }
  .stage-tools .stage-btn:first-child { font-size: 0.6875rem; gap: 0.3rem; padding-inline: 0.5rem; }
  .stage-tools .stage-btn:first-child .i { width: 1rem; height: 1rem; }
  .stage-count { min-height: 2.75rem; padding-inline: 0.4rem; }
  .thumbs button { aspect-ratio: 1; }
  .pricebox-head { align-items: flex-start; }
  .buybar .btn { padding-inline: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .thumbs img { transition: none; }
  .thumbs button:hover img { scale: 1; }
  .stage-track { scroll-behavior: auto; }
}
