@import url("kit.css");

body.shop { background: #fff; overflow-x: hidden; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar .inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px calc(12px);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.burger {
  display: none;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
  display: block; width: 18px; height: 2px; background: var(--ink);
}
.navmask {
  position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 24;
}
.navdrawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw);
  background: #fff; z-index: 25; overflow-y: auto;
  padding: calc(12px + var(--safe-t)) 0 calc(16px + var(--safe-b));
  box-shadow: 8px 0 24px rgba(20,20,20,.12);
}
.navdrawer-h {
  padding: 12px 20px 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.navdrawer nav { display: grid; }
.navdrawer nav button {
  display: block; width: 100%; text-align: left;
  min-height: 48px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--line);
  background: #fff; font-size: 15px; font-weight: 700;
}
.navdrawer nav button.on { color: var(--bosch-red); }
body.nav-open { overflow: hidden; }
.search {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 12px;
  border: 1px solid #cfcfcf; background: #fff;
}
.search input {
  flex: 1; border: 0; outline: none; min-width: 0; background: transparent; font-size: 16px;
}
.navcats {
  display: flex; gap: 0; overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 0 12px;
  scrollbar-width: none;
}
.navcats::-webkit-scrollbar { display: none; }
.navcats a, .navcats button {
  flex: 0 0 auto; border: 0; background: transparent;
  height: 44px; padding: 0 14px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.navcats .on { border-bottom-color: var(--bosch-red); color: var(--bosch-red); }

.shortcuts { background: #fff; border-bottom: 1px solid var(--line); }
.shortcuts[hidden] { display: none; }
.shortcuts .row {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px 16px 16px;
  scrollbar-width: thin;
}
.shortcuts .sc {
  flex: 0 0 84px; width: 84px;
  border: 0; background: transparent; padding: 0;
  display: grid; justify-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink);
  text-decoration: none;
}
.shortcuts .ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--plinth);
  display: grid; place-items: center; overflow: hidden;
}
.shortcuts .ring img { width: 78%; height: 78%; object-fit: contain; }

.banner { background: #f7f7f7; border-bottom: 1px solid var(--line); }
.banner iframe { display: block; width: 100%; height: 560px; border: 0; background: #f7f7f7; }

.hero-strip {
  background: var(--plinth);
  border-bottom: 1px solid var(--line);
}
.hero-strip .inner {
  max-width: 1280px; margin: 0 auto;
  padding: 28px 20px 24px;
}
.hero-strip h1 {
  margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; font-weight: 800;
}
.page {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 20px 64px;
}
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit; min-height: 0;
}
.pcard .shot {
  aspect-ratio: 1; background: #f7f7f7;
  display: grid; place-items: center; overflow: hidden;
}
.pcard .shot img { width: 100%; height: 100%; object-fit: contain; }
.pcard .meta { padding: 12px 12px 14px; display: grid; gap: 4px; }
.pcard .add {
  margin-top: 8px; width: 100%; min-height: 40px; font-size: 13px;
}
.pcard a.title-link { color: inherit; text-decoration: none; }
.cart-link {
  position: relative; text-decoration: none;
  min-width: 88px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--ink); background: #fff; font-weight: 800;
}
.cart-link:hover { background: var(--plinth); }
.pcard .cat { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pcard .title {
  font-size: 14px; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.pcard .sku { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pcard .price { font-size: 18px; }
.pcard .was { font-size: 12px; }
.empty { grid-column: 1 / -1; padding: 64px 16px; text-align: center; color: var(--muted); }

.pdp {
  display: grid; gap: 24px;
}
.gallery {
  background: var(--plinth);
  display: grid;
  grid-template-rows: 420px auto;
  min-width: 0;
}
.gallery .main {
  height: 420px;
  position: relative;
  overflow: hidden;
}
.gallery .main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
}
.gallery .navs {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px; pointer-events: none;
}
.gallery .navs button {
  pointer-events: auto;
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  font-size: 22px; line-height: 1;
}
.thumbs {
  display: flex; gap: 8px; padding: 8px 8px 10px;
  min-width: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: #717171 #e8e8e8;
}
.thumbs::-webkit-scrollbar { height: 8px; }
.thumbs::-webkit-scrollbar-track { background: #e8e8e8; }
.thumbs::-webkit-scrollbar-thumb { background: #717171; }
.thumbs button {
  flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); background: #fff;
}
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
table.data {
  width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 14px;
}
table.data th {
  text-align: left; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 800; padding: 8px 8px; border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
table.data td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td.num { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; text-align: right; }
table.data .src { font-weight: 700; }
table.data .ttl { color: var(--muted); font-size: 12px; }
table.data a { color: var(--accent); }
.pay-slot {
  min-height: 280px; margin: 24px 0; padding: 8px 0 28px;
  background: #fff; color: var(--muted);
}
.paybox .err { color: var(--bad); }
.buybox h1 { margin: 8px 0 6px; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
.buybox .price { font-size: 32px; margin: 12px 0 4px; color: var(--bosch-red); }
.buybox .ours { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bosch-red); }
.cartbtn { margin-top: 16px; width: 100%; min-height: 48px; }
.buybox .dl {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.buybox .dl .btn { width: 100%; min-height: 44px; font-size: 13px; }
.buybox .dl .btn[hidden] { display: none; }
.buybox .dl .btn.on { border-color: var(--ink); }
.rawdrop {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}
.rawdrop[hidden] { display: none; }
.rawgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}
.rawitem {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #f6f6f6;
  text-decoration: none;
  color: inherit;
}
.rawitem img { width: 100%; height: 100%; object-fit: contain; }
.rawitem span {
  position: absolute; left: 4px; bottom: 4px;
  min-width: 16px; padding: 0 4px;
  background: #fff; border: 1px solid var(--line);
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}
.rawitem.on { outline: 2px solid var(--bosch-red); outline-offset: -2px; }
.cart-link .n {
  position: absolute; top: -6px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--bosch-red); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.packs { margin: 0 0 32px; }
.packs h2 {
  font-size: 28px; margin: 0 0 16px; letter-spacing: -.03em; font-weight: 800; text-transform: none;
}
.comps h2 {
  font-size: 16px; margin: 0 0 10px; letter-spacing: .04em; text-transform: uppercase;
}
.kgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.kcard {
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: #f7f7f7; border: 1px solid var(--line);
  text-decoration: none; color: inherit; min-height: 180px;
}
.kcard .collage {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 4px; padding: 8px; background: #f7f7f7; min-height: 180px;
}
.kcard .collage img { width: 100%; height: 100%; object-fit: contain; background: #f7f7f7; }
.kcard .meta { padding: 16px 16px 18px; display: grid; align-content: start; gap: 4px; }
.kcard .title { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.kcard .sku { font-size: 12px; color: var(--muted); font-weight: 700; }
.kcard .cat { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kcard .was { font-size: 16px; color: var(--muted); }
.kcard .price { font-size: 28px; color: var(--bosch-red); }
.kcard .off {
  margin-top: 6px;
  display: inline-block;
  padding: 4px 8px;
  background: var(--bosch-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  width: fit-content;
}
.kit-head .off-line {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--bosch-red);
}
.kit-bar .save {
  font-size: 13px;
  font-weight: 800;
  color: var(--bosch-red);
}
.bounce {
  display: inline-block;
  animation: pack-pop 1.15s cubic-bezier(.2,.8,.2,1) infinite;
  transform-origin: left center;
}
@keyframes pack-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
  70% { transform: scale(.98); }
}
.kit-page { padding-bottom: 120px; min-width: 0; overflow-x: clip; }
.kit-head { margin-bottom: 22px; max-width: 820px; }
.kit-head h1 { margin: 8px 0 6px; font-size: 30px; letter-spacing: -.03em; }
.kit-slots { min-width: 0; display: grid; gap: 0; }
.kit-slot {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, 300px); gap: 20px;
  border: 0; border-top: 2px solid var(--ink); background: transparent;
  margin: 0; padding: 18px 0 22px;
  align-items: start; min-width: 0;
}
.kit-role {
  grid-column: 1 / -1;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bosch-red);
}
.kit-main { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
.kit-main .shot { width: 240px; height: 240px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.kit-main .shot img { width: 100%; height: 100%; object-fit: contain; }
.kit-main .meta { min-width: 0; }
.kit-main .now {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bosch-red);
}
.kit-main h2 { margin: 4px 0; font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.kit-main .money { font-size: 22px; font-weight: 800; }
.kit-alts { min-width: 0; }
.alt-label {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px;
}
.kit-rail {
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; overflow-x: hidden; max-height: 280px;
  min-width: 0; min-height: 0;
  padding: 0 2px 0 0;
  -webkit-overflow-scrolling: touch;
}
.rail-item {
  border: 1px solid var(--line); background: #f7f7f7; padding: 8px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px;
  align-items: center; text-align: left;
  min-height: 72px; width: 100%;
}
.rail-item img, .rail-item .ph {
  width: 64px; height: 64px; object-fit: contain; background: #fff;
}
.rail-item .txt { min-width: 0; display: grid; gap: 2px; align-content: center; }
.rail-item .nm {
  font-size: 12px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rail-item .pr { font-size: 13px; font-weight: 800; color: var(--ink); }
.rail-item.on { border-color: var(--bosch-red); background: #fff; }
.swap { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.swap .btn { min-height: 44px; min-width: 44px; padding: 0 12px; }
.kit-bar {
  position: sticky; bottom: 0; z-index: 12;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  margin: 16px -20px 0;
}
.kit-bar .thumbs {
  display: flex; gap: 8px; overflow-x: auto; min-width: 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.kit-bar .thumbs::-webkit-scrollbar { display: none; }
.kit-bar .mini { display: grid; justify-items: center; gap: 2px; min-width: 56px; flex: 0 0 auto; }
.kit-bar .mini img { width: 48px; height: 48px; object-fit: contain; background: #f7f7f7; }
.kit-bar .mini span { font-size: 10px; color: var(--muted); font-weight: 700; }
.kit-bar .sum { min-width: 0; }
.kit-bar .price { font-size: 26px; color: var(--bosch-red); }
.kit-bar .was { font-size: 14px; color: var(--bosch-red); }
.kit-bar .acts { display: flex; gap: 8px; align-items: center; }
.kit-bar .acts .btn { min-height: 44px; white-space: nowrap; }
.specs.fold { border-top: 1px solid var(--line); padding-top: 6px; }
.specs.fold > summary {
  cursor: pointer; font-size: 13px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  list-style: none; padding: 6px 0;
}
.specs.fold > summary::-webkit-details-marker { display: none; }
.specs.fold > summary::after { content: " +"; color: var(--muted); font-weight: 700; }
.specs.fold[open] > summary::after { content: " −"; }
.comps { margin-top: 28px; }
.comps .shops { list-style: none; margin: 0; padding: 0; }
.comps .shops li { border-top: 1px solid var(--line); }
.comps .shops li:last-child { border-bottom: 1px solid var(--line); }
.comp-link, .comp-plain {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 12px;
  align-items: center; min-height: 56px; padding: 8px 0;
  text-decoration: none; color: inherit;
}
.comp-link:hover { background: #fafafa; }
.comps .logo {
  display: flex; align-items: center; justify-content: center;
  width: 120px; height: 36px; background: #fff; overflow: hidden;
}
.comps .logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.comps .logo.txt { font-weight: 800; font-size: 13px; }
.comps .seller { overflow: hidden; font-weight: 700; min-width: 0; }
.comps .seller small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.comps b { font-size: 16px; font-weight: 800; white-space: nowrap; }
.alert {
  background: #fff6e8; border: 1px solid #f0d9a8; padding: 12px 14px; margin: 12px 0;
  font-size: 13px; color: #5c4300;
}
.cart-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-row img { width: 72px; height: 72px; object-fit: contain; background: var(--plinth); }
.qty { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; }
.paybox { margin-top: 20px; display: grid; gap: 10px; max-width: 420px; }
.specs { margin-top: 48px; }
.story > h2, .oview > h2, .highlights > h2, .specs > h2, .docs > h2, .helplinks > h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; text-transform: none;
}
.specs h3 { font-size: 16px; font-weight: 700; margin: 24px 0 0; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; font-size: 13px; }
.oview, .highlights, .docs, .helplinks { margin-top: 48px; }
.oview dl { margin: 0; display: grid; gap: 0; }
.oview dl > div {
  display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.oview dt { color: var(--muted); font-weight: 600; font-size: 13px; }
.oview dd { margin: 0; }
.allinfo {
  display: inline-block; margin-top: 12px; padding: 0;
  border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.specfind { display: grid; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); max-width: 360px; }
.specfind input {
  height: 44px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-weight: 500; color: var(--ink); background: #fff;
}
.hgrid { display: grid; grid-template-columns: 1fr; gap: 28px 24px; align-items: stretch; }
.hitem { min-width: 0; display: flex; flex-direction: column; }
.hitem img {
  width: 100%; height: auto; max-height: none;
  object-fit: contain; display: block; background: transparent;
}
.hitem h3 { margin: 12px 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.hitem p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.docs ul, .helplinks ul { list-style: none; margin: 0; padding: 0; }
.docs li, .helplinks li { border-top: 1px solid var(--line); }
.docs li:last-child, .helplinks li:last-child { border-bottom: 1px solid var(--line); }
.docs a, .helplinks a { display: flex; align-items: center; min-height: 48px; color: inherit; text-decoration: none; font-weight: 700; }
.docs a:hover, .helplinks a:hover { text-decoration: underline; }
.foot {
  border-top: 1px solid var(--line); padding: 24px 20px 32px;
  color: var(--muted); font-size: 13px; text-align: center;
}
.foot .legal { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin-bottom: 10px; }
.foot .legal a { color: var(--ink); text-decoration: none; }
.foot .legal a:hover { text-decoration: underline; }
.foot p { margin: 0; }
.legal-page p { max-width: 62ch; line-height: 1.55; }

@media (min-width: 700px) {
  .burger, .navmask, .navdrawer { display: none !important; }
}
@media (min-width: 800px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .kgrid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pdp { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .hgrid { grid-template-columns: 1fr 1fr; gap: 36px 32px; align-items: stretch; }
  .oview dl { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .gallery { height: auto; min-width: 0; }
  .gallery .main { height: 480px; }
  .gallery { grid-template-rows: 480px auto; }
  .pdp.compact .gallery, .pdp.compact .gallery .main { height: 220px; }
  .pdp.compact .gallery { grid-template-rows: 220px auto; }
  .hero-strip h1 { font-size: 36px; }
  .kit-bar { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 699px) {
  .burger { display: inline-flex; }
  .navcats { display: none; }
  .topbar .inner {
    grid-template-columns: 44px 1fr 72px;
    grid-template-areas:
      "menu brand cart"
      "search search search";
    gap: 8px 10px;
    padding: 8px 12px 10px;
  }
  .burger { grid-area: menu; }
  .brand { grid-area: brand; justify-content: center; }
  .search { grid-area: search; min-width: 0; height: 40px; }
  .cart-link { grid-area: cart; min-width: 72px; width: auto; height: 40px; padding: 0 8px; font-size: 13px; }
  .cart-link::before { content: none; }
  .page { padding: 14px 12px 48px; }
  .page.kit-page { padding-bottom: 48px; }
  .buybox h1 { font-size: 22px; }
  .buybox .price { font-size: 26px; }
  .kcard { grid-template-columns: 1fr; }
  .kit-head { margin-bottom: 12px; }
  .kit-head h1 { font-size: 22px; margin: 6px 0 4px; }
  .kit-slot { grid-template-columns: 1fr; gap: 12px; padding: 16px 0 18px; }
  .kit-main { grid-template-columns: 1fr; gap: 10px; }
  .kit-main .shot {
    width: min(100%, 280px); height: 220px; margin: 0 auto;
    overflow: hidden;
  }
  .kit-main .meta { padding: 0; background: transparent; position: relative; z-index: 1; }
  .kit-main h2 { font-size: 18px; margin: 2px 0 4px; }
  .kit-main .money { font-size: 20px; }
  .kit-main .sku { font-size: 12px; }
  .swap { margin-top: 6px; }
  .kit-rail {
    flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none;
    padding: 2px 0 6px; gap: 8px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .rail-item {
    min-width: 168px; width: 168px; flex: 0 0 168px;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0; padding: 8px;
    scroll-snap-align: start;
  }
  .rail-item img, .rail-item .ph { width: 100%; height: 88px; }
  .rail-item .nm { font-size: 12px; }
  .rail-item .pr { font-size: 14px; }
  .kit-bar {
    position: static; width: auto;
    margin: 8px 0 0; gap: 10px;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
    border-top: 2px solid var(--ink);
  }
  .kit-bar .thumbs { display: none; }
  .kit-bar .sum { display: grid; gap: 2px; }
  .kit-bar .price { font-size: 24px; }
  .kit-bar .acts { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .kit-bar .acts .btn { width: 100%; min-height: 44px; white-space: normal; }
}
