/* ====== Детальград — витрина (графит + оранжевый акцент) ====== */
:root {
  --graphite: #2A2E33;
  --graphite-2: #3A3F45;
  --ink: #1E2125;
  --grey: #6B7075;
  --grey-2: #C9CDD2;
  --line: #E3E5E8;
  --band: #EEF0F2;
  --bg: #FFFFFF;
  --accent: #FF7A1A;
  --accent-d: #E8650A;
  --green: #15803d;
  --r: 12px;
  --r-sm: 8px;
  --shadow-lg: 0 16px 40px rgba(20, 24, 28, .16);
  --wrap: 1200px;
  --tabbar: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink);
  font: 16px/1.5 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--tabbar);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 20px; font-weight: 800; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--grey); font-weight: 500; }
.small { font-size: 13px; }
.center { text-align: center; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.link { color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.linkbtn { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- кнопки / поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s; }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: #1c1f23; }
.btn--accent { background: var(--accent); color: var(--ink); font-weight: 800; }
.btn--accent:hover { background: var(--accent-d); }
.btn--accent:disabled { opacity: .6; cursor: wait; }
.btn--line { border: 1px solid var(--grey-2); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--lg { min-height: 50px; font-size: 16px; padding: 0 22px; }
.btn--block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--band); }
.input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #D6D9DD; border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.input:focus { outline: none; border-color: var(--ink); }
.input--sm { min-height: 38px; font-size: 14px; font-weight: 600; }
textarea.input { padding: 12px 14px; resize: vertical; }
select.input { appearance: none; padding-right: 34px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E2125' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; }
.input.is-invalid { border-color: #d92d20; background-color: #fff6f5; }
.demo-strip { background: #FFF3E8; color: #8A3B06; text-align: center; font-size: 13px; font-weight: 700; padding: 5px 12px; }

/* ---------- шапка ---------- */
.hdr { background: var(--graphite); color: #fff; position: sticky; top: 0; z-index: 40; }
.hdr__in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { font-family: "Russo One", "Arial Black", sans-serif; font-size: 22px; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.brand span { color: var(--accent); }
.hdr__nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; color: var(--grey-2); }
.hdr__nav a:hover { color: #fff; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.hdr__phone { color: var(--grey-2); }
.hdr__phone:hover { color: #fff; }
.hdr__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-sm); color: #fff; position: relative; font-weight: 700; }
.hdr__btn:hover { background: var(--graphite-2); }
.badge-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.08); } }

/* ---------- полоса подбора ---------- */
.band { background: var(--band); padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.band__title { font-size: 32px; font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
.band--compact { padding: 16px 0 14px; }
.band--compact .band__title { display: none; }
.band--compact .band__hint { display: none; }
.finder { position: relative; display: grid; grid-template-columns: 190px 190px minmax(0, 1fr) 140px; height: 58px; background: #fff; border: 1px solid #D6D9DD; border-radius: var(--r); }
.finder:focus-within { border-color: var(--ink); }
.finder__cell { display: flex; align-items: center; border-right: 1px solid var(--line); min-width: 0; }
.finder__cell select, .finder__cell input { width: 100%; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 0 18px; outline: none; }
.finder__cell select { appearance: none; font-weight: 700; cursor: pointer; padding-right: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236B7075' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.finder__cell select:disabled { color: var(--grey); cursor: not-allowed; font-weight: 600; }
.finder__cell--sel:first-child select { border-radius: var(--r) 0 0 var(--r); }
.finder__cell--q { border-right: 0; }
.finder__cell input::placeholder { color: var(--grey); }
.finder__go { background: var(--accent); color: var(--ink); font-weight: 800; font-size: 16px; border-radius: 0 calc(var(--r) - 1px) calc(var(--r) - 1px) 0; }
.finder__go:hover { background: var(--accent-d); }
.band__hint { margin: 14px 0 0; font-size: 14px; color: #4A4F55; }
.band__hint a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; }
.suggest a, .suggest button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.is-hl, .suggest button:hover { background: var(--band); }
.sg__main { flex: 1; min-width: 0; }
.sg__name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg__meta { font-size: 13px; color: var(--grey); }
.sg__price { font-weight: 800; white-space: nowrap; }
.suggest .sg__all { justify-content: center; font-weight: 800; border-bottom: 0; }

/* ---------- секции главной ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 32px 0 14px; }
.sec-head h2 .muted { font-size: 16px; font-weight: 600; }
.chips-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 99px; background: var(--band); font-size: 14.5px; font-weight: 700; }
.pill small { color: var(--grey); font-weight: 600; }
.pill:hover { background: #E2E5E8; }
.pill svg { width: 20px; height: 20px; fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 140px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: transparent; box-shadow: 0 8px 24px rgba(20, 24, 28, .10); transform: translateY(-2px); }
.cat__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--band); display: grid; place-items: center; margin-bottom: 12px; transition: background .15s; }
.cat__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.cat:hover .cat__ico { background: #FFF1E6; }
.cat:hover .cat__ico svg { stroke: #D9560A; }
.cat b { font-size: 15px; line-height: 1.25; }
.cat small { color: var(--grey); font-size: 13px; font-weight: 600; margin-top: auto; padding-top: 4px; }
.cat--used { background: var(--band); border-color: var(--band); }
.cat--used .cat__ico { background: #fff; }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 48px; }
.info__item { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.info__item b { font-size: 16px; }
.info__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--band); display: grid; place-items: center; margin-bottom: 8px; }
.info__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info__item p { margin: 0 0 6px; color: var(--grey); font-size: 14.5px; }

/* ---------- список товаров (без фото) ---------- */
.table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.table:empty { display: none; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 170px 110px 140px; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #F0F1F3; }
.row:last-child { border-bottom: 0; }
.row:hover { background: #FAFAFB; }
.row--photo { grid-template-columns: 48px minmax(0, 1fr) 170px 110px 140px; }
.row__img { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--band); cursor: pointer; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.brand-tag { font-weight: 700; color: var(--ink-2, #3A3F45); }
.sku { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.row__name { font-weight: 700; font-size: 15.5px; cursor: pointer; }
.row__name:hover { text-decoration: underline; }
.fits { color: var(--grey); font-size: 13px; }
.fits--ok { color: var(--green); font-weight: 700; }
.price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.row__price { text-align: right; }
.row__buy { display: flex; justify-content: flex-end; }
.row__buy .btn { width: 100%; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.avail--in { color: var(--green); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--green { background: #22a052; }
.dot--grey { background: #A9AEB4; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11.5px; font-weight: 800; }
.badge--used { background: var(--graphite); color: #fff; }
.badge--analog { background: #FFF3E8; color: #8A3B06; }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--graphite); border-radius: var(--r-sm); height: 40px; width: 100%; }
.stepper button { width: 40px; height: 100%; font-size: 18px; font-weight: 700; }
.stepper button:hover { background: var(--band); }
.stepper span { font-weight: 800; }
.skeleton { background: linear-gradient(90deg, #eef0f2 25%, #f7f8f9 50%, #eef0f2 75%); background-size: 200% 100%; animation: sk 1.2s infinite; height: 72px; border-bottom: 1px solid #fff; }
.skeleton--row { height: 72px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- каталог ---------- */
#viewCatalog { min-height: 60vh; padding-bottom: 36px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.cat-head h2 { font-size: 24px; }
.back { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.back:hover { border-color: var(--ink); }
.carbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--band); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 12px; font-size: 14.5px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--grey); margin: 18px 0 6px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; background: #fff; }
.filters__close { display: none; }
.fgroup { display: flex; flex-direction: column; gap: 8px; }
.fgroup__title { font-weight: 800; font-size: 14px; }
.fgroup .seg { display: flex; }
.fgroup .seg button { flex: 1; }
.flist { display: flex; flex-direction: column; }
.flist button { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding: 6px 10px; border-radius: 6px; font-size: 14px; font-weight: 600; text-align: left; }
.flist button:hover { background: var(--band); }
.flist button.is-active { background: var(--graphite); color: #fff; }
.flist small { color: var(--grey); font-weight: 600; }
.flist button.is-active small { color: var(--grey-2); }
.flist button.is-open:not(.is-active) { background: var(--band); }
.flist__subs { display: flex; flex-direction: column; margin: 2px 0 6px 10px; padding-left: 8px; border-left: 2px solid var(--accent, #FF7A1A); }
.flist__subs button { min-height: 32px; padding: 5px 10px; font-size: 13.5px; font-weight: 500; color: var(--ink, #1E2227); }
.flist__subs button.is-active { background: var(--graphite); color: #fff; font-weight: 600; }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 40px; height: 24px; border-radius: 12px; background: #CDD1D6; position: relative; transition: background .15s; flex: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .switch__ui { background: var(--graphite); }
.switch input:checked + .switch__ui::after { left: 19px; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.filters-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--band); font-size: 13.5px; font-weight: 700; }
.chip:hover { background: #E2E5E8; }
.chip .i { width: 14px; height: 14px; }
.sort { margin-left: auto; }
.sort .input { width: auto; }
.seg { display: inline-flex; background: var(--band); border-radius: var(--r-sm); padding: 3px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.seg button.is-active { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.results { min-width: 0; }
.results .row { grid-template-columns: minmax(0, 1fr) 150px 100px 130px; }
.results .row--photo { grid-template-columns: 48px minmax(0, 1fr) 150px 100px 130px; }
.hdr__cat { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-sm); background: var(--graphite-2); color: #fff; font-weight: 700; }
.hdr__cat:hover, .hdr__cat[aria-expanded="true"] { background: #4A5057; }
.hdr__nav { align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mega__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; padding-top: 18px; padding-bottom: 22px; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 700; }
.mega a:hover { background: var(--band); }
.mega a svg { width: 22px; height: 22px; fill: none; stroke: var(--graphite); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mega a small { margin-left: auto; color: var(--grey); font-weight: 600; }
.analogs { margin-top: 28px; }
.analogs h2 { margin-bottom: 12px; }
.analogs h2 .muted { font-size: 15px; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 22px 0; }
.pager button { min-width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: 700; }
.pager button.is-active { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.empty { text-align: center; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 20px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--grey); max-width: 460px; margin: 8px auto 18px; }

/* ---------- подвал ---------- */
.ftr { background: var(--graphite); color: var(--grey-2); padding: 36px 0 20px; font-size: 14.5px; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.ftr__in > div { display: flex; flex-direction: column; gap: 8px; }
.ftr__in a:hover { color: #fff; }
.ftr .brand { font-size: 20px; }
.ftr p { margin: 4px 0 0; }
.ftr__title { color: #fff; font-weight: 800; margin-bottom: 4px; }
.ftr__phone { color: #fff; font-weight: 800; font-size: 17px; }
.ftr__copy { border-top: 1px solid var(--graphite-2); margin-top: 28px; padding-top: 16px; font-size: 12.5px; color: #A9AEB4; }
.tabbar { display: none; }

/* ---------- корзина ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20,24,28,.5); z-index: 70; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 80; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sumline { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.sumline b { font-size: 22px; }
.citem { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem__img { display: none; }
.citem__name { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.citem__meta { color: var(--grey); font-size: 12.5px; }
.citem__del { color: var(--grey); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; margin-top: 2px; min-height: 30px; }
.citem__del .i { width: 15px; height: 15px; }
.citem__del:hover { color: #d92d20; }
.citem__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.citem .stepper { height: 34px; width: 108px; }
.citem .stepper button { width: 34px; }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--grey); }
.cart-empty .i { width: 40px; height: 40px; margin-bottom: 8px; }

/* ---------- модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(20,24,28,.55); display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.modal__box { background: #fff; border-radius: 16px; padding: 26px; width: 100%; max-width: 520px; position: relative; margin: auto; box-shadow: var(--shadow-lg); }
.modal__box--wide { max-width: 780px; }
.modal__box--narrow { max-width: 400px; }
.modal__x { position: absolute; top: 10px; right: 10px; }
.modal h2 { padding-right: 40px; font-size: 22px; }
.form { display: grid; gap: 14px; }
.form > p { margin: -6px 0 0; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 14px; }
.chips-select { display: flex; gap: 6px; flex-wrap: wrap; }
.chips-select button { height: 38px; padding: 0 14px; border-radius: 99px; background: var(--band); font-weight: 700; font-size: 14px; }
.chips-select button.is-active { background: var(--graphite); color: #fff; }
.chips-select + .input { margin-top: 8px; }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rcard input { position: absolute; opacity: 0; }
.rcard span { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; cursor: pointer; height: 100%; }
.rcard b { font-size: 14.5px; }
.rcard small { color: var(--grey); font-size: 12.5px; }
.rcard input:checked + span { border-color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite); background: var(--band); }
.rcard input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.more summary { cursor: pointer; font-weight: 700; min-height: 30px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.more .input { margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #4A4F55; }
.check input { width: 18px; height: 18px; accent-color: var(--graphite); flex: none; margin-top: 2px; }
.check a { text-decoration: underline; }
.form__error { background: #fff1f0; color: #b42318; border-radius: var(--r-sm); padding: 10px 12px; font-weight: 700; font-size: 14px; }
.order-mini { background: var(--band); border-radius: var(--r-sm); padding: 10px 14px; display: grid; gap: 6px; font-size: 13.5px; max-height: 140px; overflow-y: auto; }
.order-mini div { display: flex; justify-content: space-between; gap: 12px; }
.order-mini b { white-space: nowrap; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--band); color: var(--green); display: grid; place-items: center; margin: 4px auto 14px; }
.success-ico .i { width: 32px; height: 32px; stroke-width: 2.4; }
#successModal p { margin: 8px 0 20px; }
.prose p { font-size: 14px; margin: 10px 0; }
.prose b { color: var(--ink); }

/* карточка детали */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pd--nophoto { grid-template-columns: 1fr; }
.pd__main { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; background: var(--band); }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pd__thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.pd__thumbs img.is-active { border-color: var(--graphite); }
.pd__info { display: flex; flex-direction: column; gap: 12px; }
.pd__info h2 { font-size: 22px; padding-right: 40px; }
.pd__sku { font-size: 14.5px; color: #4A4F55; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.copy { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; min-height: 30px; text-decoration: underline; }
.copy .i { width: 15px; height: 15px; }
.pd__specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.pd__specs dt { color: var(--grey); }
.pd__specs dd { margin: 0; font-weight: 600; }
.pd__desc { margin: 0; color: #4A4F55; font-size: 14.5px; }
.pd__buy { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 12px; background: var(--band); border-radius: var(--r); padding: 14px 16px; }
.pd__buy .price { font-size: 24px; }
.pd__analogs { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.pd__analogs h3 { font-size: 17px; margin-bottom: 4px; }
.arow { display: grid; grid-template-columns: 1fr auto auto 140px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.arow__name { display: flex; flex-direction: column; font-size: 14px; }
.arow__name span { color: var(--grey); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar)); transform: translateX(-50%); background: var(--graphite); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; font-size: 14.5px; z-index: 100; box-shadow: var(--shadow-lg); white-space: nowrap; }
.toast a { color: var(--accent); text-decoration: underline; margin-left: 6px; }

/* ====================== адаптив ====================== */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .results .row, .results .row--photo { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "avail price" "buy buy"; gap: 8px 12px; }
  .results .row__img { display: none; }
  .results .row__main { grid-area: main; } .results .row__avail { grid-area: avail; } .results .row__price { grid-area: price; } .results .row__buy { grid-area: buy; }
}
@media (max-width: 960px) {
  .hdr__nav a { display: none; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 85; border-radius: 0; border: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); }
  .filters.is-open { transform: none; }
  .filters__close { display: inline-flex; align-self: flex-end; }
  .filters-open { display: inline-flex; }
  .toolbar { flex-wrap: wrap; }
  .chips { order: 3; flex-basis: 100%; }
  .chips:empty { display: none; }
  .mega__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder { grid-template-columns: 160px 160px minmax(0, 1fr) 110px; }
  .row, .row--photo { grid-template-columns: minmax(0, 1fr) 130px 100px 130px; }
  .row--photo .row__img { display: none; }
}
@media (max-width: 760px) {
  :root { --tabbar: calc(60px + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 16px; }
  .hdr__in { height: 56px; gap: 12px; }
  .brand { font-size: 19px; }
  .hdr__phone { display: none; }
  .hdr__btn { display: none; }
  .band { padding: 20px 0 18px; }
  .band--compact { padding: 12px 0; }
  .band__title { font-size: 24px; margin-bottom: 14px; }
  .finder { grid-template-columns: 1fr 1fr; height: auto; border-radius: var(--r); }
  .finder__cell { height: 50px; border-bottom: 1px solid var(--line); }
  .finder__cell--sel:nth-child(2) { border-right: 0; }
  .finder__cell--q { grid-column: 1 / -1; }
  .finder__go { grid-column: 1 / -1; height: 50px; border-radius: 0 0 calc(var(--r) - 1px) calc(var(--r) - 1px); }
  .band--compact .finder__cell--sel { display: none; }
  .band--compact .finder { grid-template-columns: 1fr auto; }
  .band--compact .finder__cell--q { grid-column: 1; border-bottom: 0; }
  .band--compact .finder__go { grid-column: 2; height: 50px; padding: 0 18px; border-radius: 0 calc(var(--r) - 1px) calc(var(--r) - 1px) 0; }
  .info { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 12px; min-height: 124px; }
  .cat__ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
  .cat__ico svg { width: 24px; height: 24px; }
  .ftr__in { grid-template-columns: 1fr; gap: 20px; }

  .row, .row--photo { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "avail price" "buy buy"; gap: 8px 12px; padding: 14px 16px; }
  .row__img { display: none; }
  .row__main { grid-area: main; }
  .row__avail { grid-area: avail; }
  .row__price { grid-area: price; }
  .row__buy { grid-area: buy; }

  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; color: var(--grey); font-size: 11.5px; font-weight: 700; position: relative; }
  .tabbar .i { width: 24px; height: 24px; }
  .tabbar .is-active { color: var(--ink); }
  .tabbar .badge-n { position: absolute; top: 6px; left: calc(50% + 6px); }

  .modal { padding: 0; align-items: flex-end; }
  .modal__box { border-radius: 16px 16px 0 0; max-width: none; padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; margin: 0; }
  .pd { grid-template-columns: 1fr; gap: 14px; }
  .pd__buy { grid-template-columns: 1fr 150px; }
  .arow { grid-template-columns: 1fr auto; }
  .arow .avail { grid-column: 1; }
  .arow > .btn, .arow > .stepper { grid-column: 1 / -1; width: 100%; }
  .radio-cards { grid-template-columns: 1fr; }
  .rcard span { flex-direction: row; justify-content: space-between; align-items: center; }
  .toolbar__right { width: 100%; justify-content: space-between; }
}

/* ---------- страница товара (/p/...) ---------- */
a.row__name { display: block; color: inherit; }
.finder--solo { grid-template-columns: minmax(0, 1fr) 140px; }
.finder--solo .finder__cell--q input { border-radius: var(--r) 0 0 var(--r); }
.pp { padding-bottom: 48px; }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 8px; }
.pp__main { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pp__title { font-size: 30px; font-weight: 800; line-height: 1.2; }
.pp__specs { width: 100%; max-width: 640px; border-top: 1px solid var(--line); padding-top: 14px; }
.pp__photos { display: flex; gap: 10px; flex-wrap: wrap; }
.pp__photos img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--r-sm); background: var(--band); }
.pp__buy { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; position: sticky; top: 84px; }
.pp__price { font-size: 30px; }
.pp__vin { white-space: normal; font-size: 13.5px; margin-top: 4px; }
@media (max-width: 760px) {
  .finder--solo { grid-template-columns: 1fr auto; }
  .finder--solo .finder__cell--q { grid-column: 1; border-bottom: 0; }
  .finder--solo .finder__go { grid-column: 2; padding: 0 18px; border-radius: 0 calc(var(--r) - 1px) calc(var(--r) - 1px) 0; }
  .pp__grid { grid-template-columns: 1fr; gap: 18px; }
  .pp__title { font-size: 22px; }
  .pp__buy { position: static; }
}

/* ---------- подкатегории и меню каталога ---------- */
.subchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.subchip { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.subchip small { color: var(--grey); font-weight: 600; }
.subchip:hover { border-color: var(--ink); }
.subchip.is-active { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.subchip.is-active small { color: var(--grey-2); }
.mega__in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; align-items: start; max-height: calc(100vh - 140px); overflow-y: auto; }
.mega__col { display: flex; flex-direction: column; }
.mega .mega__cat { padding: 6px 0; font-weight: 800; font-size: 15px; gap: 10px; }
.mega .mega__cat:hover { background: none; color: #C2410C; }
.mega .mega__sub { padding: 3px 0 3px 32px; font-weight: 500; font-size: 14px; color: #4A4F55; border-radius: 0; }
.mega .mega__sub:hover { background: none; color: var(--ink); text-decoration: underline; }
.mega .mega__sub small { margin-left: 6px; }
@media (max-width: 960px) { .mega__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mega__in { grid-template-columns: 1fr; } }

/* =====================================================================
   Тема «Поиск в центре»: светлая тонкая шапка, логотип и поиск по центру
   ===================================================================== */
body { background: #fff; }
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 56px; }
.top__brand { color: var(--ink); font-size: 19px; transition: opacity .15s; }
body.is-home .top__brand { display: none; }
.top__nav { display: flex; align-items: center; gap: 4px; }
.top__link { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #3A3F45; }
.top__link:hover, .top__link[aria-expanded="true"] { background: var(--band); color: var(--ink); }
.top__link .i { width: 16px; height: 16px; }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.top__phone { color: var(--ink); }
.top__phone:hover { color: var(--accent-d); }
.top__cart { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.top__cart:hover { border-color: var(--ink); }
.top__cart .i { width: 18px; height: 18px; }

.hero { padding: 64px 0 40px; background: #fff; transition: padding .2s; }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { font-family: "Russo One", "Arial Black", sans-serif; font-size: clamp(36px, 6vw, 56px); letter-spacing: .01em; color: var(--ink); line-height: 1; }
.hero__logo span, .top__brand span { color: var(--accent); }
.hero__tag { margin: 14px 0 26px; font-size: 15px; font-weight: 500; color: var(--grey); letter-spacing: 0; }
.hero__tag a { color: #2563C9; }
.sbar { position: relative; width: 100%; max-width: 680px; display: flex; align-items: center; height: 58px; padding: 5px 5px 5px 22px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; transition: box-shadow .15s; }
.sbar:focus-within { box-shadow: 0 0 0 5px rgba(255, 122, 26, .18); }
.sbar__q { flex: 1; min-width: 0; height: 100%; display: flex; }
.sbar__q input { width: 100%; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.sbar__q input::placeholder { color: var(--grey); }
.sbar__q input::-webkit-search-cancel-button { display: none; }
.sbar__go { height: 100%; padding: 0 28px; border-radius: 99px; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 15px; }
.sbar__go:hover { background: var(--accent-d); }
.sbar .suggest { text-align: left; top: calc(100% + 8px); border-radius: 18px; }
.hero__row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.hero__vin { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero__vin:hover { color: var(--accent-d); }
.carbox { position: relative; }
.carchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--band); font-size: 14px; font-weight: 600; color: #3A3F45; }
.carchip:hover { background: #E3E6E9; }
.carchip .i { width: 18px; height: 18px; }
.carchip.is-set { color: var(--ink); }
.carchip b { font-weight: 800; }
.carpop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 280px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 55; display: grid; gap: 8px; text-align: left; }
.carpop[hidden] { display: none; }
.carpop__title { font-weight: 800; font-size: 15px; }
.carpop__hint { font-size: 12.5px; color: var(--grey); margin: 2px 0 0; }

/* компактный режим (каталог): без логотипа и подписи */
.hero.band--compact { padding: 18px 0 16px; border-bottom: 1px solid var(--line); background: #FAFAFB; }
.hero.band--compact .hero__logo, .hero.band--compact .hero__tag { display: none; }
.hero.band--compact .hero__row { margin-top: 10px; }
.hero.band--compact .hero__vin { display: none; }
.hero.band--compact .sbar { height: 52px; max-width: 760px; }

/* колонки главной */
.hcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 8px 0 8px; }
.hcols[hidden] { display: none; }
.hcol { border-top: 3px solid var(--ink); padding-top: 14px; min-width: 0; }
.hcol--accent { border-top-color: var(--accent); }
.hcol h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.hline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; color: #3A3F45; border-bottom: 1px dashed transparent; }
.hline span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hline b { flex: none; color: var(--ink); font-weight: 800; }
.hline:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hline--more span { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hcol .skeleton--row { height: 150px; }

/* плитки каталога — легче, в тон новой теме */
.cat { border-radius: 12px; min-height: 124px; }
.sec-head { margin-top: 44px; }

@media (max-width: 960px) {
  .top__nav .top__link:not(#catalogBtn) { display: none; }
  .hcols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .top__in { height: 52px; gap: 10px; }
  body.is-home .top__brand { display: none; }
  .top__phone { display: none; }
  .top__cart { display: none; }
  .hero { padding: 32px 0 24px; }
  .hero__tag { font-size: 13.5px; margin: 10px 0 18px; }
  .sbar { height: 52px; padding-left: 16px; }
  .sbar__go { padding: 0 18px; }
  .hcols { grid-template-columns: 1fr; gap: 20px; }
  .hero.band--compact { padding: 12px 0; }
}

/* блок поиска под тёмной шапкой */
.hero { padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.hero__title { margin: 0 0 22px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.hero__title a { color: var(--accent-d); }
.hero.band--compact .hero__title { display: none; }
@media (max-width: 760px) {
  .hero { padding: 24px 0 20px; }
  .hero__title { font-size: 21px; margin-bottom: 16px; }
}

.radio-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* ---------- страница «Доставка и оплата» */
.doc { max-width: 860px; padding-top: 24px; padding-bottom: 56px; }
.doc h1 { font-size: 30px; margin: 4px 0 14px; }
.doc h2 { font-size: 21px; margin: 0 0 10px; }
.doc section { padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.doc p { margin: 0 0 10px; line-height: 1.6; color: #2F343A; }
.doc a:not(.btn) { color: var(--accent-d); text-decoration: underline; text-underline-offset: 3px; }
.doc__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.doc__toc a { padding: 6px 14px; border-radius: 99px; background: var(--band); font-size: 14px; font-weight: 700; color: var(--ink) !important; text-decoration: none !important; }
.doc__steps { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; line-height: 1.55; }
.doc__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.doc__cards > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.doc__cards p { margin: 4px 0 0; font-size: 14px; color: var(--grey); }
.doc__cta { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { margin: 10px 0 0; font-size: 13px; color: var(--grey); text-align: center; }
.form-note a { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .doc h1 { font-size: 24px; } .doc__cards { grid-template-columns: 1fr; } }

/* ---------- подбор по VIN внутри каталога и карточки */
.vinstrip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #FFF4EB; border-top: 1px solid #FFE0C7; border-bottom: 1px solid #FFE0C7; }
.vinstrip div { display: grid; gap: 2px; }
.vinstrip b { font-size: 15.5px; }
.vinstrip span { font-size: 14px; color: #5A4A3D; }
.vinstrip .btn { flex: none; }
.vinbox { display: grid; gap: 6px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FFF4EB; border: 1px solid #FFE0C7; }
.vinbox b { font-size: 15px; }
.vinbox span { font-size: 13.5px; color: #5A4A3D; }
.vinbox .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .vinstrip { flex-direction: column; align-items: stretch; } }

/* ---------- подбор шин */
.tirebox { margin: 28px 0 8px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(135deg, #22262B 0%, #2F353C 100%); color: #fff; position: relative; overflow: hidden; }
.tirebox::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .05); pointer-events: none; }
.tirebox__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tirebox__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; }
.tirebox__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tirebox h2 { font-size: 22px; color: #fff; margin: 0; }
.tirebox p { margin: 2px 0 0; color: #C9CDD2; font-size: 14px; }
.tirebox p b { color: #fff; }
.tirebox__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr) auto; gap: 10px; align-items: end; position: relative; z-index: 1; }
.tirebox__form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #C9CDD2; }
.tirebox__form .input { height: 48px; background-color: #fff; color: var(--ink); border-color: transparent; }
.tirebox__form .btn { height: 48px; padding: 0 22px; white-space: nowrap; }
.tirebox__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; position: relative; z-index: 1; }
.tirebox__sizes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: #C9CDD2; }
.tirebox__sizes a { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; }
.tirebox__sizes a:hover { background: rgba(255, 255, 255, .2); }
.tirebox__vin { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tsel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tsel .input { padding-left: 10px; padding-right: 22px; font-size: 14px; background-position: right 6px center; }
@media (max-width: 960px) { .tirebox__form { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tirebox__form label:nth-child(4) { grid-column: 1 / 3; } }
@media (max-width: 560px) {
  .tirebox { padding: 18px 16px; margin-top: 18px; }
  .tirebox h2 { font-size: 19px; }
  .tirebox__form label:nth-child(4) { grid-column: 1 / -1; }
  .tirebox__form .btn { grid-column: 1 / -1; }
}
/* шины — упрощённая заявка */
.tirebox__form { grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr) auto; }
.tirebox__season { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #C9CDD2; }
.seasons { display: flex; height: 48px; padding: 4px; gap: 4px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.seasons button { padding: 0 14px; border-radius: 7px; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.seasons button:hover { background: rgba(255, 255, 255, .12); }
.seasons button.is-active { background: #fff; color: var(--ink); }
.tirebox__sizes button { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: 13px; }
.tirebox__sizes button:hover { background: rgba(255, 255, 255, .2); }
.tirebox__err { color: #FFB4A8; margin: 0; }
@media (max-width: 960px) {
  .tirebox__form { grid-template-columns: 1fr 1fr; }
  .tirebox__size { grid-column: 1 / -1; }
  .tirebox__form label:nth-child(4) { grid-column: auto; }
  .tirebox__form .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tirebox__form { grid-template-columns: 1fr; }
  .seasons button { flex: 1; }
}
.tireorder { display: grid; gap: 8px; }
.tireorder p { margin: 0; font-size: 13.5px; color: var(--grey); }
.tireorder .input { height: 48px; }
.tireorder__msg { color: #B42318; font-size: 13.5px; }
.tireorder__ok { color: var(--green) !important; font-weight: 700; font-size: 14.5px !important; }

/* ---------- машина по VIN */
.vincar { max-width: 460px; }
.vincar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 32px; }
.vincar__head h2 { margin: 0; font-size: 20px; }
.vincar__head .mono { font-size: 13px; letter-spacing: .04em; }
.vincar__ico { width: 44px; height: 44px; border-radius: 12px; background: #FFF1E6; display: grid; place-items: center; flex: none; }
.vincar__ico .i { width: 24px; height: 24px; stroke: #D9560A; }
.vincar__car { font-size: 22px; font-weight: 800; line-height: 1.25; }
.vincar__car span { font-size: 16px; font-weight: 600; color: var(--grey); }
.vincar__note { margin: 4px 0 14px; font-size: 14px; }
.vincar__warn { margin: 0 0 14px; color: #B42318; font-weight: 600; }
.vincar__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.vincar .btn--block + .btn--block { margin-top: 8px; }
.vincar__hint { margin: 10px 0 0; font-size: 12.5px; text-align: center; }
.vincar__load { display: flex; align-items: center; gap: 10px; padding: 18px 0; color: var(--grey); font-weight: 600; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
