:root {
  --text: #1b1e24; --text-2: #6b717c; --text-3: #9298a2; --line: #e3e5e9; --bg: #ffffff; --bg-2: #f2f3f5; --bg-3: #e9ebee;
  --primary: #1e55c9; --primary-h: #1848ad; --primary-soft: #e9effb;
  --green: #11804a; --green-soft: #e6f4ec; --red: #d92d34; --red-soft: #fdecec; --amber: #9a6200; --amber-soft: #fff4d6; --hit: #ffd84d;
  --r: 12px; --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-h); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; font-weight: 700; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.i { width: 24px; height: 24px; flex: none; display: block; }
.ico { width: 1.4em; height: 1.4em; flex: none; }
@media (max-width: 700px) { .wrap { padding: 0 14px; } h1 { font-size: 1.5rem; } }

/* ---------- Кнопки и поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 0;
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none; text-align: center; line-height: 1.2; transition: background .12s; }
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-h); color: #fff; }
.btn-soft { background: var(--primary-soft); color: var(--primary); } .btn-soft:hover { background: #dce6f8; }
.btn-gray { background: var(--bg-2); color: var(--text); } .btn-gray:hover { background: var(--bg-3); color: var(--text); }
.btn-green { background: var(--green); color: #fff; } .btn-green:hover { color: #fff; background: #0d6b3d; }
.btn-red { background: var(--red-soft); color: var(--red); } .btn-red:hover { color: var(--red); background: #fadadb; }
.btn-dark { background: var(--text); color: #fff; } .btn-dark:hover { color: #fff; background: #000; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .92rem; border-radius: 9px; }
.btn-lg { min-height: 56px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip:focus-visible, a:focus-visible { outline: 3px solid #9cb8f0; outline-offset: 2px; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .9rem; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.linkbtn .i { width: 18px; height: 18px; }
.linkbtn:hover { color: var(--red); }
label.field { display: block; margin-bottom: 16px; }
label.field > span { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
label.field > small { display: block; color: var(--text-2); margin-top: 4px; font-size: .85rem; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; font: inherit; color: var(--text); background: var(--bg-2); border: 2px solid transparent; border-radius: 10px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
textarea { min-height: 90px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b717c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; cursor: pointer; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--bg-2); font: inherit; font-weight: 500; cursor: pointer; color: var(--text); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; }
.chip:hover { background: var(--bg-3); color: var(--text); }
.chip.on { background: var(--text); color: #fff; }
.chip .n { color: var(--text-3); font-size: .85em; }
.chip.on .n { color: #c4c8cf; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; user-select: none; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); margin: 0; flex: none; }
.check .n { color: var(--text-3); font-size: .88rem; margin-left: auto; }
.scroll-x { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .chips { flex-wrap: nowrap; }

/* ---------- Шапка ---------- */
.topline { background: var(--bg-2); font-size: .85rem; color: var(--text-2); }
.topline .wrap { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topline .i { width: 16px; height: 16px; }
.topline span, .topline a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.topline a:hover { color: var(--text); }
.topline .sp { margin-left: auto; }
.topline .tel { color: var(--text); font-weight: 700; }
.head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; flex-direction: column; color: var(--text); line-height: 1; flex: none; }
.brand b { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.brand small { font-size: .78rem; color: var(--text-2); margin-top: 4px; }
.brand:hover { color: var(--text); }
.catbtn { flex: none; }
.search { flex: 1; display: flex; border: 2px solid var(--primary); border-radius: 12px; overflow: hidden; background: #fff; min-width: 0; }
.search input { flex: 1; border: 0; background: #fff; border-radius: 0; min-height: 46px; min-width: 0; }
.search input:focus { border: 0; }
.search button { border: 0; background: var(--primary); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }
.hicons { display: flex; gap: 4px; flex: none; }
.hicon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 72px; padding: 6px 4px; color: var(--text); font-size: .78rem; border-radius: 10px; }
.hicon:hover { background: var(--bg-2); color: var(--text); }
.hicon .cnt { position: absolute; top: 0; left: calc(50% + 6px); background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
.catmenu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20, 24, 31, .12); }
.catmenu .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 20px; padding-top: 16px; padding-bottom: 20px; min-height: 0; align-items: stretch; }
.catmenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 500; }
.catmenu a:hover { background: var(--bg-2); }
.catmenu .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--primary); }
.m-only { display: none !important; }
.call { align-items: center; gap: 6px; color: var(--primary); font-weight: 600; background: var(--primary-soft); border-radius: 10px; padding: 0 12px; min-height: 40px; }
.call .i { width: 18px; height: 18px; }
.tabbar { display: none; }
@media (max-width: 1000px) {
  .topline, .catbtn, .hicons, .catmenu { display: none !important; }
  .m-only { display: flex !important; }
  .head .wrap { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .brand b { font-size: 1.35rem; }
  .head .call { margin-left: auto; }
  .search { flex-basis: 100%; order: 3; }
  .search input { min-height: 42px; }
  body { padding-bottom: 72px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; color: var(--text-3); font-size: .7rem; font-weight: 500; position: relative; }
  .tabbar a.on { color: var(--primary); }
  .tabbar .cnt { position: absolute; top: 3px; left: calc(50% + 4px); background: var(--red); color: #fff; font-size: .66rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
}

/* ---------- Главная ---------- */
.home-top { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 20px; }
.banner { border-radius: 16px; padding: 28px; position: relative; overflow: hidden; color: var(--text); display: block; }
.banner h2 { font-size: 1.6rem; margin-bottom: 6px; }
.banner p { margin: 0; }
.banner.main { background: #1d3f8f; color: #fff; min-height: 300px; display: flex; flex-direction: column; }
.banner.main p { color: #c9d5f0; max-width: 460px; }
.banner.main .art-side { position: absolute; right: 24px; top: 26px; width: 210px; }
.pickform { margin-top: auto; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; max-width: 640px; position: relative; z-index: 1; padding-top: 22px; }
.pickform select { background-color: #fff; }
.pickform .btn { background: #fff; color: var(--primary); }
.pickform .btn:hover { background: var(--primary-soft); }
.side-banners { display: grid; gap: 16px; }
.banner.small { background: var(--bg-2); min-height: 142px; padding: 22px; }
.banner.small:hover { background: var(--bg-3); color: var(--text); }
.banner.small h3 { font-size: 1.15rem; margin-bottom: 4px; }
.banner.small p { font-size: .92rem; color: var(--text-2); max-width: 62%; }
.banner.small .bart { position: absolute; right: 12px; bottom: 10px; width: 96px; }
.banner.small .go { position: absolute; left: 22px; bottom: 18px; color: var(--primary); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 2px; }
.banner.small .go .i { width: 18px; height: 18px; }
@media (max-width: 1000px) {
  .home-top { grid-template-columns: 1fr; margin-top: 14px; gap: 10px; }
  .banner.main { min-height: 0; padding: 20px 16px; }
  .banner.main .art-side { display: none; }
  .banner h2 { font-size: 1.3rem; }
  .pickform { grid-template-columns: 1fr 1fr; padding-top: 16px; }
  .pickform .btn { grid-column: 1 / -1; }
  .side-banners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .banner.small { padding: 14px; min-height: 112px; }
  .banner.small h3 { font-size: 1rem; }
  .banner.small p { display: none; }
  .banner.small .go { left: 14px; bottom: 12px; }
  .banner.small .bart { width: 60px; right: 8px; bottom: 8px; }
}
.block { margin-top: 36px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.block-head h2 { margin: 0; }
.block-head a { font-weight: 500; white-space: nowrap; }
.cattiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cattile { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); text-align: center; font-size: .92rem; font-weight: 500; line-height: 1.25; }
.cattile .ct { width: 100%; aspect-ratio: 1; border-radius: 16px; background: var(--bg-2); display: grid; place-items: center; color: var(--primary); transition: background .12s; }
.cattile .ct .ico { width: 44%; height: 44%; }
.cattile:hover { color: var(--text); } .cattile:hover .ct { background: var(--bg-3); }
@media (max-width: 1000px) { .cattiles { grid-template-columns: repeat(4, 1fr); gap: 12px 8px; } .cattile { font-size: .8rem; } }
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.about > div { background: var(--bg-2); border-radius: 16px; padding: 24px; }
.about ul { margin: 0; padding: 0; list-style: none; }
.about li { display: flex; gap: 12px; padding: 7px 0; }
.about li .i { color: var(--green); }
.cline { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.cline .i { color: var(--text-2); margin-top: 1px; }
.cline b { display: block; }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr; } .about > div { padding: 18px; } }
footer.foot { margin-top: 48px; background: var(--bg-2); padding: 32px 0 28px; font-size: .92rem; }
footer.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
footer.foot h4 { margin: 0 0 10px; font-size: .95rem; }
footer.foot a, footer.foot .t { display: block; color: var(--text-2); padding: 3px 0; }
footer.foot a:hover { color: var(--text); }
footer.foot .copy { margin-top: 24px; color: var(--text-3); font-size: .82rem; }
@media (max-width: 1000px) { footer.foot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Карточка товара в списке ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 16px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid.g4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .grid, .grid.g4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid, .grid.g4, .grid.g3 { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }
.pc { display: flex; flex-direction: column; min-width: 0; }
.pc .ph { position: relative; display: block; aspect-ratio: 1; background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc .ph .art { width: 84%; height: 84%; margin: 8%; display: block; }
.badge-hit { position: absolute; left: 8px; top: 8px; background: var(--hit); color: #3b2f00; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.badge-sale { position: absolute; left: 8px; bottom: 8px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.cmpbtn { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.92); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.cmpbtn .i { width: 20px; height: 20px; }
.cmpbtn:hover { color: var(--text); }
.cmpbtn.on { background: var(--primary); color: #fff; }
.pc .pr { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc .pr b { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.pc .pr s { color: var(--text-3); font-size: .88rem; }
.pc .nm { color: var(--text); margin-top: 4px; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc .nm:hover { color: var(--primary); }
.pc .ks { color: var(--text-2); font-size: .84rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { font-size: .84rem; margin-top: 6px; }
.av.ok { color: var(--green); } .av.few { color: var(--amber); } .av.no { color: var(--text-3); }
.pc .act { margin-top: auto; padding-top: 10px; }
.pc .act .btn { width: 100%; min-height: 44px; }
.stepper { display: flex; align-items: center; justify-content: space-between; background: var(--primary-soft); border-radius: 10px; min-height: 44px; }
.stepper button { width: 48px; height: 44px; border: 0; background: none; color: var(--primary); cursor: pointer; display: grid; place-items: center; border-radius: 10px; flex: none; }
.stepper button:hover { background: #dce6f8; }
.stepper span { font-weight: 700; color: var(--primary); font-size: .95rem; text-align: center; line-height: 1.1; }
.stepper span small { display: block; font-weight: 500; font-size: .7rem; color: var(--text-2); }
@media (max-width: 700px) { .pc .pr b { font-size: 1.12rem; } .pc .nm { font-size: .88rem; } .pc .ks { display: none; } .stepper button { width: 40px; } }

/* ---------- Каталог ---------- */
.page { padding-top: 20px; padding-bottom: 12px; }
.crumbs { color: var(--text-2); font-size: .88rem; margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--text-2); } .crumbs a:hover { color: var(--text); }
.ptitle { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ptitle h1 { margin: 0; }
.ptitle .cnt { color: var(--text-3); }
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.side { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 4px; }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fgroup:first-of-type { padding-top: 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup h4 { margin: 0 0 8px; font-size: .95rem; }
.fgroup .catlink { display: block; padding: 5px 0; color: var(--text); }
.fgroup .catlink.on { font-weight: 700; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-row input { min-height: 42px; font-size: .95rem; }
.sortbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.sortbar select { width: auto; min-height: 42px; font-size: .95rem; }
.sortbar .fbtn { display: none; }
.sortbar .on-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sortbar .on-chips .chip { min-height: 34px; font-size: .88rem; padding: 0 10px; background: var(--primary-soft); color: var(--primary); }
.sortbar .on-chips .chip .i { width: 16px; height: 16px; }
.empty { text-align: center; padding: 44px 16px; background: var(--bg-2); border-radius: 16px; }
.empty .btn { margin-top: 6px; }
.sheet-head { display: none; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-head h3 { margin: 0; }
.sheet-foot { display: none; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); gap: 10px; }
.sheet-foot .btn { flex: 1; }
.iconbtn { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; color: var(--text); flex: none; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .sortbar .fbtn { display: inline-flex; }
  .side { display: none; position: fixed; inset: 0; z-index: 60; background: #fff; max-height: none; padding: 16px 16px 90px; top: 0; }
  .side.open { display: block; }
  .side .sheet-head, .side .sheet-foot { display: flex; }
}

/* ---------- Страница товара ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.product .gal { position: relative; background: var(--bg-2); border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.product .gal img { width: 100%; height: 100%; object-fit: contain; }
.product .gal .art { width: 78%; }
.product h1 { font-size: 1.55rem; }
.product .brandline { color: var(--text-2); margin-bottom: 14px; font-size: .92rem; }
.kv .row { display: flex; gap: 8px; padding: 7px 0; font-size: .95rem; }
.kv .k { color: var(--text-2); flex: none; max-width: 60%; }
.kv .dots { flex: 1; border-bottom: 1px dotted #c5c9d0; transform: translateY(-6px); min-width: 16px; }
.kv .v { text-align: right; font-weight: 500; }
.buy { border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: sticky; top: 96px; }
.buy .price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.buy .price s { font-size: 1rem; color: var(--text-3); font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.buy .av { margin: 8px 0 14px; font-weight: 500; font-size: .95rem; }
.buy .stepper { min-height: 52px; } .buy .stepper button { height: 52px; width: 56px; }
.buy .row2 { margin-top: 10px; }
.buy .facts { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .9rem; }
.buy .facts div { display: flex; gap: 10px; padding: 7px 0; color: var(--text-2); }
.buy .facts .i { width: 20px; height: 20px; color: var(--text-2); }
.buy .facts b { color: var(--text); font-weight: 600; display: block; }
.desc { max-width: 760px; }
.hint { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-3); color: var(--text-2); font-size: .72rem; font-weight: 700; border: 0; cursor: pointer; margin-left: 4px; vertical-align: 1px; padding: 0; font-family: inherit; }
.hint-text { display: block; background: var(--bg-2); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--text); margin: 6px 0 4px; max-width: 520px; font-weight: 400; }
@media (max-width: 1200px) { .product { grid-template-columns: 1fr 1fr; } .product .buy { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 16px; } .product .buy { grid-column: auto; grid-row: auto; position: static; } .product h1 { font-size: 1.3rem; } }

/* ---------- Сравнение ---------- */
.cmp-wrap { overflow-x: auto; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 620px; }
table.cmp td, table.cmp th { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
table.cmp th { color: var(--text-2); width: 190px; position: sticky; left: 0; background: #fff; z-index: 1; font-size: .92rem; }
table.cmp thead td { border-bottom: 0; width: 240px; }
table.cmp .mini { display: block; width: 100%; max-width: 180px; aspect-ratio: 1; background: var(--bg-2); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
table.cmp .mini .art { width: 84%; margin: 8%; } table.cmp .mini img { width: 100%; height: 100%; object-fit: cover; }
table.cmp .best { color: var(--green); font-weight: 700; }
.summary-list { background: var(--bg-2); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; display: grid; gap: 8px; }
.summary-list div { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.summary-list span { color: var(--text-2); min-width: 220px; }
.cmpfloat { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 35; background: var(--text); color: #fff; border-radius: 14px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2); white-space: nowrap; }
.cmpfloat .btn { min-height: 40px; }
@media (max-width: 1000px) { .cmpfloat { bottom: 82px; } }

/* ---------- Подбор ---------- */
.picker { max-width: 1000px; }
.panel { background: var(--bg-2); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.panel h3 { margin-bottom: 10px; }
.q { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.q > span { font-weight: 600; }
.q small { display: block; font-weight: 400; color: var(--text-2); font-size: .85rem; }
.panel .chip { background: #fff; }
.panel .chip.on { background: var(--text); }
.panel select, .panel input { background-color: #fff; }
@media (max-width: 700px) { .q { grid-template-columns: 1fr; gap: 8px; } }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kind { display: flex; align-items: center; gap: 14px; background: var(--bg-2); border-radius: 14px; padding: 16px; color: var(--text); font-weight: 600; }
.kind:hover { background: var(--bg-3); color: var(--text); }
.kind .ct { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--primary); flex: none; }
.kind small { display: block; color: var(--text-2); font-weight: 400; font-size: .86rem; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } }
.result { border: 2px solid var(--primary); border-radius: 16px; padding: 20px; margin: 18px 0; }
.result h2 { margin-bottom: 10px; font-size: 1.25rem; }
.need { display: flex; flex-wrap: wrap; gap: 8px; }
.need span { background: var(--primary-soft); color: var(--primary); font-weight: 600; border-radius: 8px; padding: 6px 12px; }
.result .note { margin: 12px 0 0; color: var(--text-2); font-size: .92rem; }
.pol { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-size: .92rem; color: var(--text-2); }
.pol svg { width: 96px; flex: none; }
.tierlbl { font-size: .8rem; font-weight: 700; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.pc.best .tierlbl { color: var(--primary); }
.pc.best .ph { box-shadow: inset 0 0 0 2px var(--primary); }
.why { font-size: .84rem; color: var(--text-2); margin-top: 4px; }

/* ---------- Корзина ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.citem { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.citem:first-child { padding-top: 0; }
.citem .ph { background: var(--bg-2); border-radius: 10px; aspect-ratio: 1; overflow: hidden; display: block; }
.citem .ph .art { width: 84%; margin: 8%; } .citem .ph img { width: 100%; height: 100%; object-fit: cover; }
.citem .nm { color: var(--text); font-weight: 500; }
.citem .sub { color: var(--text-2); font-size: .88rem; margin-top: 4px; }
.citem .right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.citem .sum { font-weight: 700; font-size: 1.15rem; }
.citem .stepper { min-width: 140px; }
.order-box { border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: sticky; top: 96px; }
.order-box h2 { font-size: 1.25rem; }
.order-box .tot { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.order-box .tot b { font-size: 1.5rem; }
.order-box .ln { display: flex; justify-content: space-between; color: var(--text-2); padding: 3px 0; font-size: .95rem; }
.notice { border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: .95rem; }
.notice.err { background: var(--red-soft); color: var(--red); }
.notice.info { background: var(--bg-2); color: var(--text); }
.notice.warn { background: var(--amber-soft); color: #5f3d00; }
.notice.ok { background: var(--green-soft); color: var(--green); }
@media (max-width: 1000px) { .cart-grid { grid-template-columns: 1fr; } .order-box { position: static; } }
@media (max-width: 600px) { .citem { grid-template-columns: 76px 1fr; } .citem .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.done { max-width: 560px; margin: 30px auto; text-align: center; }
.done .ok-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.done .ok-circle .i { width: 36px; height: 36px; }
.done .num { font-size: 2.4rem; font-weight: 700; margin: 4px 0 12px; }

/* ---------- Прочее ---------- */
#toasts { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 92vw; pointer-events: none; }
.toast { background: #22262d; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: opacity .3s, transform .3s; }
.toast.err { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(-8px); }
.art { display: block; }
.qrcode-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.qrcode-wrap svg { width: 64px; height: 64px; }
@media (max-width: 1000px) { #toasts { bottom: 86px; } }
@media (max-width: 700px) { .home5 .pc:nth-child(5) { display: none; } }
table.cmp [data-act] .btn, table.cmp [data-act] .stepper { width: 100%; max-width: 240px; }

/* ================= v3: наличие, автомобиль, подбор, допродажи ================= */
:root { --blue-soft: #e8f0ff; --tint: #f2f3f5; --ink: #1b1e24; }
.av { display: flex; align-items: center; gap: 6px; }
.av .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.av.pre { color: var(--primary); }
.promo-line { color: var(--red); font-size: .8rem; font-weight: 600; margin-top: 2px; }
.badge-new { position: absolute; left: 8px; top: 8px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.badges span { position: static; }
.fit { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: 6px; padding: 2px 8px; margin-top: 6px; align-self: flex-start; }
.fit .i { width: 14px; height: 14px; }
.fit.no { color: var(--text-2); background: var(--bg-2); }

/* Мой автомобиль */
.carchip { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; color: var(--text-2); cursor: pointer; padding: 0; }
.carchip b { color: var(--text); font-weight: 600; }
.carchip .i { width: 16px; height: 16px; }
.carchip:hover b { color: var(--primary); }
.carbar { display: none; }
@media (max-width: 1000px) {
  .carbar { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
  .carbar .i { color: var(--primary); }
  .carbar .t { flex: 1; min-width: 0; font-size: .92rem; }
  .carbar .t small { display: block; color: var(--text-2); font-size: .78rem; }
}
.modal-bg { position: fixed; inset: 0; background: rgba(17, 20, 26, .45); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; position: relative; }
.modal h2 { margin-right: 44px; }
.modal .x { position: absolute; right: 14px; top: 14px; }
@media (max-width: 600px) { .modal-bg { align-items: flex-end; padding: 0; } .modal { border-radius: 20px 20px 0 0; max-height: 92vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); } }
.mrow { margin-bottom: 16px; }
.mrow > span { display: block; font-weight: 600; margin-bottom: 8px; }

/* Подбор: витрина разделов */
.pk-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pk-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 176px; border-radius: 18px; padding: 18px; overflow: hidden; color: var(--text); background: var(--tint); }
.pk-tile:hover { color: var(--text); box-shadow: inset 0 0 0 2px var(--ink); }
.pk-tile b { font-size: 1.12rem; line-height: 1.2; display: block; max-width: 70%; }
.pk-tile small { display: block; color: var(--text-2); font-size: .86rem; margin-top: 4px; max-width: 62%; }
.pk-tile .pa { position: absolute; right: -6px; bottom: -4px; width: 120px; }
.pk-tile .go { color: var(--ink); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 2px; position: relative; }
.pk-tile .go .i { width: 18px; height: 18px; }
.pk-tile.wide { grid-column: span 2; }
@media (max-width: 1000px) { .pk-hub { grid-template-columns: 1fr 1fr; gap: 10px; } .pk-tile { min-height: 150px; padding: 14px; } .pk-tile .pa { width: 86px; } .pk-tile.wide { grid-column: span 2; } .pk-tile b { font-size: 1rem; } }
.carcard { display: flex; align-items: center; gap: 16px; border-radius: 18px; padding: 18px 20px; background: var(--text); color: #fff; margin-bottom: 18px; flex-wrap: wrap; }
.carcard .ci { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.carcard .ci .i { width: 28px; height: 28px; }
.carcard .t { flex: 1; min-width: 200px; }
.carcard .t small { display: block; color: #aab1bd; font-size: .85rem; }
.carcard .t b { font-size: 1.2rem; }
.carcard .btn { background: #fff; color: var(--text); }

/* Подбор: страница раздела */
.pk-head { border-radius: 20px; background: var(--tint); padding: 24px; display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 16px; margin-bottom: 18px; }
.pk-head h1 { margin: 0 0 6px; }
.pk-head p { margin: 0; color: var(--text-2); max-width: 560px; }
.pk-head .pa { width: 180px; }
@media (max-width: 700px) { .pk-head { grid-template-columns: 1fr 90px; padding: 18px; } .pk-head .pa { width: 90px; } }
.steps2 { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--bg-2); color: var(--text-2); }
.step.is-done .n { background: var(--green-soft); color: var(--green); }
.step.is-now { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.step.is-now .n { background: var(--ink); color: #fff; }
.step h3 { margin: 6px 0 4px; font-size: 1.05rem; }
.step .sub { color: var(--text-2); font-size: .88rem; margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.opt { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; text-align: left; font: inherit; cursor: pointer; color: var(--text); min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
.opt:hover { border-color: #bfc5cf; }
.opt b { font-size: 1.15rem; line-height: 1.1; }
.opt small { color: var(--text-2); font-size: .78rem; margin-top: 3px; }
.opt.on { border-color: var(--ink); background: var(--tint); }
.opt .sw { width: 34px; height: 34px; border-radius: 50%; margin-bottom: 8px; border: 2px solid rgba(0,0,0,.08); }
.pk-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.pk-side { position: sticky; top: 96px; display: grid; gap: 12px; }
@media (max-width: 1000px) { .pk-layout { grid-template-columns: 1fr; } .pk-side { position: static; } }
.summary-card { background: var(--bg-2); border-radius: 16px; padding: 16px; font-size: .92rem; }
.summary-card h4 { margin: 0 0 8px; font-size: .95rem; }
.summary-card .ln { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.summary-card .ln span:first-child { color: var(--text-2); }
.need2 { background: var(--tint); border-radius: 16px; padding: 16px 18px; margin: 18px 0 14px; }
.need2 h2 { font-size: 1.2rem; margin-bottom: 10px; }
.need2 .need span { background: #fff; color: var(--ink); }
.need2 .note { margin: 10px 0 0; color: var(--text-2); font-size: .9rem; }
.rec { display: grid; grid-template-columns: 220px 1fr; gap: 20px; border: 2px solid var(--ink); border-radius: 18px; padding: 18px; background: #fff; }
.rec .ph { aspect-ratio: 1; background: var(--bg-2); border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.rec .ph .art { width: 84%; } .rec .ph img { width: 100%; height: 100%; object-fit: cover; }
.rec .lbl { display: inline-block; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }
.rec h3 { font-size: 1.2rem; margin-bottom: 8px; }
.rec ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.rec li { display: flex; gap: 8px; font-size: .92rem; }
.rec li .i { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.rec .pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rec .pr b { font-size: 1.6rem; }
.rec .pr s { color: var(--text-3); }
.rec [data-act] { max-width: 300px; }
@media (max-width: 700px) { .rec { grid-template-columns: 1fr; } .rec .ph { max-width: 240px; } }
.alts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.alt { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.alt .ph { aspect-ratio: 1; background: var(--bg-2); border-radius: 10px; overflow: hidden; display: block; }
.alt .ph .art { width: 84%; margin: 8%; } .alt .ph img { width: 100%; height: 100%; object-fit: cover; }
.alt .lbl { font-size: .75rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.alt .nm { color: var(--text); font-size: .9rem; line-height: 1.3; display: block; margin: 2px 0; }
.alt .pr { font-weight: 700; }
.alt .btn, .alt .stepper { min-height: 38px; margin-top: 6px; }
.alt .stepper button { height: 38px; width: 38px; }
@media (max-width: 700px) { .alts { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 8px; }
.ckrow { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; }
.ckrow input { width: 22px; height: 22px; accent-color: var(--ink); }
.ckrow .ph { width: 64px; height: 64px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.ckrow .ph .art { width: 84%; margin: 8%; } .ckrow .ph img { width: 100%; height: 100%; object-fit: cover; }
.ckrow .t small { display: block; color: var(--text-2); font-size: .8rem; }
.ckrow .t b { font-weight: 500; }
.ckrow .p { font-weight: 700; white-space: nowrap; text-align: right; }
.ckrow .p s { display: block; font-weight: 400; color: var(--text-3); font-size: .8rem; }
.ckrow.miss { cursor: default; background: var(--bg-2); border-style: dashed; grid-template-columns: 1fr; color: var(--text-2); }
.settotal { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; background: var(--tint); border-radius: 14px; padding: 14px 16px; }
.settotal b { font-size: 1.3rem; }
.carsvg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.carsvg figure { margin: 0; background: var(--bg-2); border-radius: 14px; padding: 10px; text-align: center; }
.carsvg figcaption { font-size: .85rem; color: var(--text-2); }
.carsvg svg { width: 100%; max-width: 300px; }
.carsvg .hot { cursor: pointer; }
.carsvg .hot .lamp { fill: #fff7cf; stroke: #8a6d00; stroke-width: 2; transition: fill .15s; }
.carsvg .hot:hover .lamp, .carsvg .hot.on .lamp { fill: #ffd84d; }
.carsvg .hot.on .lamp { stroke: var(--text); stroke-width: 3; }
.carsvg .hot text { font-size: 11px; fill: var(--text); font-family: var(--font); font-weight: 600; }
@media (max-width: 600px) { .carsvg { grid-template-columns: 1fr; } }

/* Допродажи */
.addons { margin-top: 18px; }
.addons h3 { margin-bottom: 10px; }
.addon-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.addon-row::-webkit-scrollbar { display: none; }
.addon { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; background: #fff; }
.addon .ph { width: 56px; height: 56px; border-radius: 10px; background: var(--bg-2); overflow: hidden; display: block; }
.addon .ph .art { width: 84%; margin: 8%; } .addon .ph img { width: 100%; height: 100%; object-fit: cover; }
.addon .nm { font-size: .84rem; line-height: 1.25; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon .bt { margin-top: 6px; }
.addon .btn, .addon .stepper { min-height: 34px; font-size: .88rem; padding: 0 10px; }
.addon .stepper button { height: 34px; width: 34px; }
.addon .stepper span { font-size: .85rem; }

/* Корзина v3 */
.cgroup { margin-bottom: 18px; }
.cgroup-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; margin-bottom: 4px; font-weight: 600; }
.cgroup-h.today { background: var(--green-soft); color: var(--green); }
.cgroup-h.pre { background: var(--blue-soft); color: var(--primary); }
.cgroup-h small { font-weight: 400; color: var(--text-2); margin-left: auto; }
.cgroup-h .i { width: 20px; height: 20px; }
.via { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.via label { border: 2px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; cursor: pointer; font-size: .88rem; font-weight: 600; }
.via input { position: absolute; opacity: 0; pointer-events: none; }
.via label:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--text-2); margin: 4px 0 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; accent-color: var(--primary); margin: 0; }
.tgbox { background: var(--blue-soft); border-radius: 16px; padding: 16px; text-align: left; margin: 16px 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tgbox .t { flex: 1; min-width: 200px; }
.tgbox .t small { display: block; color: var(--text-2); }
.added { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(17,20,26,.25); z-index: 70; padding: 16px; }
.added .top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.added .top .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.added .top .ok .i { width: 18px; height: 18px; }
.added .top b { flex: 1; }
.added .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.added .addon-row { grid-auto-columns: minmax(220px, 1fr); }
@media (max-width: 1000px) { .added { bottom: 80px; } }

/* Сравнение v3 */
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 18px; }
.vd { border-radius: 14px; padding: 14px; background: var(--tint); display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; color: var(--text); }
.vd:hover { color: var(--text); box-shadow: inset 0 0 0 2px var(--ink); }
.vd .vi { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.vd .vi .i { width: 20px; height: 20px; }
.vd small { display: block; color: var(--text-2); font-size: .8rem; }
.vd b { font-size: .92rem; line-height: 1.25; display: block; }
table.cmp tr.grp th { position: static; background: var(--bg-2); color: var(--text); font-weight: 700; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }
table.cmp tr.grp td { background: var(--bg-2); }
table.cmp tr.same td { color: var(--text-3); }
.bar { height: 6px; border-radius: 3px; background: var(--bg-3); margin-top: 6px; max-width: 160px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: #9aa7c0; }
td.best .bar i { background: var(--green); }
td.best .bv { color: var(--green); font-weight: 700; }
td.best .bv::after { content: " ✓"; }
.bestcol { box-shadow: inset 0 3px 0 var(--green); }

/* Карта и прочее */
.mapbox { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.mapbox .info { background: var(--bg-2); border-radius: 16px; padding: 22px; }
.mapbox .map { border-radius: 16px; overflow: hidden; background: var(--bg-2); min-height: 360px; position: relative; }
.mapbox iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.mapbox .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 1000px) { .mapbox { grid-template-columns: 1fr; } .mapbox .map, .mapbox iframe { min-height: 300px; } }
.cbform { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; }
.cbform input { background: #fff; }
@media (max-width: 760px) { .cbform { grid-template-columns: 1fr; } }
.legal { max-width: 820px; }
.legal h2 { margin-top: 26px; font-size: 1.2rem; }
.legal p, .legal li { color: var(--text); line-height: 1.6; }
.promo-panel { background: var(--red-soft); color: var(--red); border-radius: 12px; padding: 10px 12px; font-size: .9rem; font-weight: 600; margin: 10px 0 12px; display: flex; gap: 8px; align-items: center; }
.promo-panel .i { width: 18px; height: 18px; }
.pickup { border-radius: 12px; padding: 12px; margin: 10px 0 14px; font-size: .92rem; }
.pickup.today { background: var(--green-soft); }
.pickup.today b { color: var(--green); }
.pickup.pre { background: var(--blue-soft); }
.pickup.pre b { color: var(--primary); }
.pickup.no { background: var(--bg-2); }
.pickup span { display: block; color: var(--text-2); margin-top: 2px; }
.pk-layout > *, .steps2 > *, .cart-grid > *, .layout > *, .product > * { min-width: 0; }

/* ================= v4: ровные карточки, акции, о магазине, карта ================= */
.pc .pr { margin-top: 10px; height: 30px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; align-items: baseline; }
.pc .nm { height: 2.7em; min-height: 0; }
.pc .ks { height: 1.45em; margin-top: 4px; }
.pc .ks.fitline { color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.pc .ks.fitline .i { width: 15px; height: 15px; }
.pc .av { height: 1.45em; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; }
.pc .act { margin-top: auto; padding-top: 10px; }
.pc .promo-line { display: none; }
@media (max-width: 700px) { .pc .pr { height: 26px; } .pc .ks { display: block; font-size: .78rem; } }

/* Лента акции на фото */
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; display: flex; justify-content: center; align-items: center; padding: 0 10px; white-space: nowrap;
  background: linear-gradient(90deg, #c8102e, #ef3b2d); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .01em; overflow: hidden; line-height: 1.2; }
.ribbon span:last-child { font-weight: 500; opacity: .92; white-space: nowrap; }
.ribbon::after { content: ""; position: absolute; top: 0; left: -45%; width: 35%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0% { left: -45%; } 55%, 100% { left: 120%; } }
.pc .badge-sale { top: 8px; bottom: auto; left: auto; right: 52px; }
.pc .badge-sale, .gal .badge-sale { animation: pop 2.8s ease-in-out infinite; }
@keyframes pop { 0%, 86%, 100% { transform: scale(1); } 92% { transform: scale(1.12); } }
@media (max-width: 700px) { .ribbon { font-size: .7rem; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .ribbon::after, .badge-sale, .road .lane, .car-run, .car-run .wheel { animation: none !important; } }

.promo-big { border-radius: 14px; padding: 14px; margin: 10px 0 12px; color: #fff; background: linear-gradient(120deg, #b30d26, #ef3b2d 70%, #ff6a3d); position: relative; overflow: hidden; }
.promo-big::after { content: ""; position: absolute; top: 0; left: -45%; width: 30%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent); animation: shine 4.2s ease-in-out infinite; }
.promo-big .t { font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.promo-big .t b { background: #fff; color: #c8102e; border-radius: 6px; padding: 0 8px; }
.timer { display: flex; gap: 6px; margin-top: 10px; }
.timer div { background: rgba(255,255,255,.16); border-radius: 8px; padding: 4px 8px; text-align: center; min-width: 50px; }
.timer b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.timer small { font-size: .68rem; opacity: .85; }
.promo-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-head h2 { margin: 0; }
.fire { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #c8102e, #ef3b2d); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; position: relative; overflow: hidden; }
.fire::after { content: ""; position: absolute; top: 0; left: -45%; width: 35%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent); animation: shine 3.6s ease-in-out infinite; }

/* О магазине */
.story2 { margin-top: 40px; background: #12203d; color: #fff; border-radius: 22px; overflow: hidden; position: relative; }
.story2 .inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; padding: 34px 34px 24px; position: relative; z-index: 1; }
.story2 .kicker { display: inline-block; color: #9fb4df; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.story2 h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 12px; text-wrap: balance; }
.story2 p { color: #c9d4ea; max-width: 560px; }
.sfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.sfacts div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px; }
.sfacts b { display: block; font-size: 1.45rem; line-height: 1.1; }
.sfacts small { color: #b5c2dd; font-size: .8rem; line-height: 1.25; display: block; margin-top: 4px; }
.quote { margin: 0; background: #fff; color: var(--text); border-radius: 18px; padding: 22px; align-self: start; position: relative; }
.quote .stars { color: #f5a400; letter-spacing: 2px; font-size: 1.05rem; }
.quote blockquote { margin: 8px 0 12px; font-size: 1.1rem; line-height: 1.45; }
.quote figcaption { color: var(--text-2); font-size: .88rem; }
.quote figcaption b { color: var(--text); display: block; }
.quote .src { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.road { position: relative; height: 74px; background: #1b2437; overflow: hidden; }
.road .lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, #e9edf3 0 34px, transparent 34px 68px); opacity: .7; animation: lane 1.1s linear infinite; }
@keyframes lane { from { background-position: 0 0; } to { background-position: -68px 0; } }
.road .edge { position: absolute; left: 0; right: 0; height: 2px; background: #3a4560; }
.road .edge.t { top: 6px; } .road .edge.b { bottom: 6px; }
.car-run { position: absolute; bottom: 16px; width: 120px; left: -140px; animation: drive 11s linear infinite; }
@keyframes drive { 0% { left: -140px; } 100% { left: 100%; } }
.car-run .wheel { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .story2 .inner { grid-template-columns: 1fr; padding: 24px 18px 18px; } .sfacts { grid-template-columns: 1fr 1fr; } .story2 h2 { font-size: 1.5rem; } }

/* Как нас найти? */
.fu { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-2); min-height: 460px; }
.fu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fu-card { position: relative; z-index: 1; margin: 20px; width: 380px; max-width: calc(100% - 40px); background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 12px 40px rgba(17, 20, 26, .18); }
.openstate { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; border-radius: 999px; padding: 4px 12px; }
.openstate i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.openstate.open { background: var(--green-soft); color: var(--green); }
.openstate.open i { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.openstate.closed { background: var(--bg-2); color: var(--text-2); }
.fu-card h3 { font-size: 1.35rem; margin: 12px 0 2px; }
.fu-card .sub { color: var(--text-2); font-size: .92rem; }
.fu-list { margin: 14px 0; border-top: 1px solid var(--line); }
.fu-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.fu-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; color: var(--text); }
.fu-row .ic .i { width: 20px; height: 20px; }
.fu-row small { display: block; color: var(--text-2); font-size: .8rem; line-height: 1.2; }
.fu-row b { font-weight: 600; line-height: 1.3; }
.mapbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mapbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: .92rem; }
.mapbtn:hover { border-color: #b9bfc9; color: var(--text); }
.mapbtn img { width: 22px; height: 22px; border-radius: 5px; }
@media (max-width: 760px) { .fu { min-height: 0; background: none; border-radius: 0; overflow: visible; } .fu iframe { position: static; height: 320px; border-radius: 18px; } .fu-card { margin: -40px 10px 0; width: auto; max-width: none; } }

/* Марки с логотипами */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.brand-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 86px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; color: var(--text); padding: 8px 4px; }
.brand-btn:hover { border-color: #b9bfc9; }
.brand-btn.on { border-color: var(--ink, var(--text)); box-shadow: 0 0 0 1px var(--ink, var(--text)); }
.brand-btn img { max-width: 70px; max-height: 34px; object-fit: contain; }
.brand-btn .ini { width: 40px; height: 34px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--text-2); }
.brand-more { margin-top: 8px; }
.brand-search { margin-bottom: 8px; }
.brand-chosen { display: flex; align-items: center; gap: 12px; }
.brand-chosen img { max-width: 64px; max-height: 32px; }
.carchip img, .carcard img.lg { max-height: 18px; max-width: 40px; }
.carcard img.lg { max-height: 30px; max-width: 64px; background: #fff; border-radius: 8px; padding: 4px; }

/* Подарок в корзине */
.giftbar { border-radius: 14px; padding: 12px 14px; background: #fff7e6; margin-bottom: 14px; }
.giftbar .t { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.giftbar .t .i { color: #b35c00; }
.giftbar .track { height: 8px; border-radius: 4px; background: #fbe3b5; margin-top: 8px; overflow: hidden; }
.giftbar .track i { display: block; height: 100%; background: linear-gradient(90deg, #f5a400, #e86a00); border-radius: 4px; transition: width .4s; }
.giftbar.got { background: var(--green-soft); }
.giftbar.got .t .i { color: var(--green); }

/* Мобильная панель покупки на странице товара */
.mbuy { display: none; }
@media (max-width: 760px) {
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 39; background: #fff; border-top: 1px solid var(--line); padding: 8px 14px; gap: 12px; align-items: center; box-shadow: 0 -6px 18px rgba(17,20,26,.06); }
  .mbuy .p b { display: block; font-size: 1.15rem; line-height: 1.1; }
  .mbuy .p s { color: var(--text-3); font-size: .8rem; }
  .mbuy [data-act] { flex: 1; }
  .mbuy .btn, .mbuy .stepper { width: 100%; min-height: 46px; }
  body.has-mbuy { padding-bottom: 140px; }
}
.buy .facts div > span { min-width: 0; flex: 1; overflow-wrap: anywhere; } .buy { min-width: 0; }

.ribbon span { overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; }
.promo-title { margin: 0; }
.promo-title .fire { font-size: 1.25rem; padding: 6px 18px 6px 14px; font-weight: 700; }
.promo-title .fire .i { width: 22px; height: 22px; }
.car-run { width: 150px; left: -160px; }
@keyframes drive { 0% { left: -160px; } 100% { left: 100%; } }

/* Интерактив в подборе */
.viz { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
@media (max-width: 600px) { .viz { grid-template-columns: 1fr; } .viz > svg, .viz > .vz { max-width: 160px; margin: 0 auto; } }
.tank .liq { transition: fill .5s ease, transform .6s ease; }
.tank .wave { animation: wave 2.4s linear infinite; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-40px); } }
.wsh { width: 100%; max-width: 420px; display: block; margin: 0 auto 12px; }
.wsh .blade { transform-box: view-box; animation: wipe 2.6s ease-in-out infinite; }
.wsh .blade.p { animation-delay: .08s; }
@keyframes wipe { 0%, 100% { transform: rotate(0deg); } 45%, 55% { transform: rotate(-78deg); } }
.batt-viz { display: flex; align-items: center; gap: 14px; margin-top: 12px; background: #fff; border-radius: 12px; padding: 10px 14px; }
.batt-viz svg { width: 120px; flex: none; }
.batt-viz .fill { animation: charge 1.6s ease-out both; transform-box: fill-box; transform-origin: left; }
@keyframes charge { from { transform: scaleX(0); } }
.batt-viz .bolt { animation: blink 1.4s ease-in-out infinite; }
.carsvg .hot.on .lamp { animation: glow 1.4s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 6px #ffd84d) drop-shadow(0 0 12px #ffcf33); } }
@media (prefers-reduced-motion: reduce) { .tank .wave, .wsh .blade, .batt-viz .fill, .batt-viz .bolt, .carsvg .hot.on .lamp { animation: none !important; } }

.wm { display: inline-grid; place-items: center; min-width: 56px; height: 34px; padding: 0 6px; border-radius: 8px; background: var(--text); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .08em; }
.brand-btn .wm { max-width: 80px; overflow: hidden; }
.carchip .wm, .brand-chosen .wm { height: 22px; min-width: 40px; font-size: .62rem; }
.carsvg:not(.picked) .hot .lamp { animation: hint 1.5s ease-in-out infinite; stroke: #1e55c9; stroke-width: 3; }
@keyframes hint { 50% { stroke-opacity: .25; fill: #fff1a8; } }
.carsvg + .opts { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .carsvg .hot .lamp { animation: none !important; } }
.opt b { overflow-wrap: anywhere; }

/* ================= Фирменный стиль: «Гайка» ================= */
:root { --brand: #14306b; --brand-h: #0e2552; --cta: #ffc81e; --cta-h: #f2b705; --cta-ink: #14306b; }
.logo-brand img { height: 40px; width: auto; display: block; }
.logo-brand small { margin-top: 3px; font-size: .72rem; letter-spacing: .02em; }
@media (max-width: 1000px) { .logo-brand img { height: 32px; } .logo-brand small { display: none; } }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-h); color: var(--cta-ink); }
.catbtn.btn-primary { background: var(--brand); color: #fff; }
.catbtn.btn-primary:hover { background: var(--brand-h); color: #fff; }
.search { border-color: var(--brand); }
.search button { background: var(--brand); }
.banner.main { background: var(--brand); }
.pickform .btn { background: var(--cta); color: var(--cta-ink); }
.pickform .btn:hover { background: var(--cta-h); }
.story2 { background: var(--brand); }
.road { background: #0d2250; }
.hicon .cnt, .tabbar .cnt { background: #d92d34; }
.tabbar a.on { color: var(--brand); }
.stepper, .btn-soft { background: #e8edf8; }
.stepper button, .stepper span, .btn-soft { color: var(--brand); }
.chip.on, .opt.on { }
.cattile .ct { color: var(--brand); }
.catmenu .ci { color: var(--brand); }
.carcard { background: var(--brand); }
.carcard .btn { background: var(--cta); color: var(--cta-ink); }
.rec { border-color: var(--brand); }
.rec .lbl { background: var(--brand); }
.badge-hit { background: var(--cta); color: var(--brand); }

/* ===== v9: о магазине ===== */
.about { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.about .kicker { display: inline-block; color: var(--link, #1e55c9); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.about h2 { font-size: 1.9rem; line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.about p { color: var(--text-2, #4a5160); max-width: 600px; margin: 0 0 22px; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-facts > div { background: #f3f6fb; border-radius: 16px; padding: 16px; }
.about-facts .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--cta); display: grid; place-items: center; margin-bottom: 10px; }
.about-facts .ic svg { width: 20px; height: 20px; }
.about-facts b { display: block; font-size: 1.15rem; line-height: 1.2; }
.about-facts small { display: block; color: var(--muted); font-size: .85rem; margin-top: 3px; line-height: 1.3; }
.about-q { margin: 0; background: var(--brand); color: #fff; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.about-q::before { content: '“'; position: absolute; right: 18px; top: -26px; font-size: 9rem; line-height: 1; color: var(--cta); opacity: .25; font-family: Georgia, serif; }
.about-q .stars { color: var(--cta); letter-spacing: 3px; font-size: 1.1rem; }
.about-q blockquote { margin: 12px 0 14px; font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
.about-q figcaption { color: #c9d4ea; font-size: .92rem; }
.about-q figcaption b { color: #fff; }
.about-q .src { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.about-q .mapbtn { min-height: 40px; padding: 0 12px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.about-q .mapbtn:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr; } .about-facts { grid-template-columns: 1fr 1fr; } .about h2 { font-size: 1.5rem; } }

/* ===== v9: «Не нашли нужное?» ===== */
.cb2 { background: #fff6d6; border-radius: 22px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px 28px; align-items: center; }
.cb2-t { display: flex; gap: 14px; align-items: center; }
.cb2-t .ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--cta); display: grid; place-items: center; }
.cb2-t .ic svg { width: 24px; height: 24px; }
.cb2 h3 { margin: 0 0 4px; font-size: 1.2rem; }
.cb2 p { margin: 0; color: var(--text-2, #4a5160); font-size: .93rem; }
.cb2-f { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.cb2-f input { background: #fff; border-color: #f0dd9c; }
.cb2-f .btn { background: var(--brand); color: #fff; }
.cb2-f .btn:hover { background: var(--brand-h); }
.cb2 .consent { grid-column: 2; margin: 0; font-size: .85rem; color: var(--text-2, #4a5160); }
@media (max-width: 900px) { .cb2 { grid-template-columns: 1fr; padding: 18px 16px; } .cb2 .consent { grid-column: 1; } .cb2-f { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hood-svg .hood, .hood-svg .prop, .hs { transition: none !important; }
  .hs i::after, .hood-svg .cool, .catmenu:not(.hidden) .mm, .mm-pane.on { animation: none !important; }
}
.about { grid-template-columns: 1.3fr 1fr; gap: 18px 28px; align-items: center; background: none; padding: 0; }
.about-l { padding: 8px 0; }
.about p { margin: 0; }
.about-q { padding: 22px 24px; }
.about-q .src { margin-top: 0; padding-top: 14px; }
.about-facts { grid-column: 1 / -1; }
.about-facts > div { display: flex; gap: 12px; align-items: center; }
.about-facts .ic { margin: 0; flex: none; }
.hl { min-width: 0; } .hl b { overflow-wrap: anywhere; }
.hood-wrap { overflow: hidden; }
.hl:hover small, .hl.hl-on small { color: var(--text-2, #4a5160); }
@media (max-width: 1000px) { .about-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .about-facts { grid-template-columns: 1fr; } }
.about > .about-l, .about > .about-facts { background: none; border-radius: 0; padding: 0; } .about > .about-l { padding: 8px 0; }
@media (max-width: 1000px) { .about { grid-template-columns: 1fr; } }

/* ===== v10: меню каталога — все разделы сразу ===== */
.catmenu { clip-path: inset(0 -100vmax -100vmax -100vmax); box-shadow: 0 0 0 100vmax rgba(10, 22, 48, .3), 0 18px 40px rgba(10, 22, 48, .16); border-top: 1px solid var(--line); }
.catmenu .wrap { display: block; padding-top: 0; padding-bottom: 0; }
.catmenu:not(.hidden) .mg { animation: mmIn .18s ease-out; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 20px; padding: 22px 0 10px; }
.mg-col { padding: 4px 0 14px; }
.catmenu a.mg-h { display: flex; align-items: center; gap: 12px; padding: 6px; margin: 0 -6px 4px; border-radius: 12px; font-weight: 700; color: var(--text); }
.catmenu a.mg-h:hover { background: #eef3fc; color: var(--brand); }
.mg-h .ci { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #eef3fc; color: var(--brand); display: grid; place-items: center; transition: background .15s, color .15s; }
.mg-h .ci svg { width: 26px; height: 26px; }
.catmenu a.mg-h:hover .ci { background: var(--brand); color: #fff; }
.mg-h small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.catmenu a.mg-l { display: block; padding: 5px 0 5px 56px; border-radius: 0; color: var(--text-2, #4a5160); font-weight: 400; }
.catmenu a.mg-l:hover { background: none; color: var(--link, #1e55c9); }
.mg-foot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 14px 0 18px; }
.catmenu a.mg-b { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f3f6fb; color: var(--text); font-weight: 400; }
.catmenu a.mg-b:hover { background: #e8eef8; }
.mg-b > svg:first-child { width: 24px; height: 24px; color: var(--brand); flex: none; }
.mg-b > svg:last-child { width: 16px; height: 16px; color: var(--muted); margin-left: auto; flex: none; }
.mg-b small { display: block; color: var(--muted); font-size: .84rem; }
.catmenu a.mg-b.promo { background: #fdeef0; }
.catmenu a.mg-b.promo:hover { background: #fbe0e4; }
.mg-b.promo > svg:first-child, .mg-b.promo b { color: #d6203a; }
@media (max-width: 1180px) { .mg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== v10: главный экран ===== */
.hero3 { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.hc { background: var(--brand); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.hc::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border: 26px solid var(--cta); border-radius: 50%; opacity: .12; pointer-events: none; }
.hc-n { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.hc-n span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--cta); color: var(--brand); display: grid; place-items: center; font-size: 1rem; }
.hc-n.dark { color: var(--text); }
.hc p { margin: 0; color: #c9d4ea; }
.hc-form { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.hc-form select { height: 52px; border-radius: 12px; border: 0; padding: 0 14px; font: inherit; font-size: 1.02rem; background-color: #fff; color: var(--text); }
.hc-form select:disabled { opacity: .55; }
.hc-form .btn { min-height: 52px; margin-top: 4px; }
.hc-pop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; position: relative; z-index: 1; }
.hc-pop button { height: 44px; border-radius: 10px; border: 2px solid transparent; background: rgba(255, 255, 255, .95); display: grid; place-items: center; cursor: pointer; padding: 4px; transition: border-color .15s, transform .15s; }
.hc-pop button:hover { transform: translateY(-2px); }
.hc-pop button.on { border-color: var(--cta); }
.hc-pop img { max-width: 100%; max-height: 28px; object-fit: contain; }
.hc-pop .wm { font-size: .6rem; color: var(--brand); font-weight: 800; }
.hc-chosen { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px; }
.hc-chosen img { width: 48px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.hc-chosen > svg { width: 36px; height: 36px; color: var(--cta); }
.hc-chosen b { display: block; font-size: 1.1rem; }
.hc-chosen small { display: flex; align-items: center; gap: 4px; color: #c9d4ea; margin-top: 2px; }
.hc-chosen small svg { width: 16px; height: 16px; color: #3ddc84; }
.hc-change { background: rgba(255, 255, 255, .12); color: #fff; position: relative; z-index: 1; }
.hc-change:hover { background: rgba(255, 255, 255, .2); }
.hb { background: linear-gradient(180deg, #eef3fb, #f7f9fc); border: 1px solid #e3e9f2; border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.hb-stage { position: relative; width: 100%; max-width: 660px; margin: 0 auto; }
.bay-svg { display: block; width: 100%; height: auto; }
.bay-svg .part { transition: filter .2s; }
.bay-svg .liq { animation: liq 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes liq { 50% { transform: scaleY(.86); } }
.bs { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #fff; color: var(--brand); font-weight: 700; font-size: .93rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(10, 22, 48, .28); transition: opacity .3s, transform .35s cubic-bezier(.3, 1.6, .5, 1), background .15s, color .15s; z-index: 1; }
.hero3.go .bs { opacity: 1; transform: translate(-50%, -50%); }
.hero3.go .bs:nth-of-type(2) { transition-delay: .08s; } .hero3.go .bs:nth-of-type(3) { transition-delay: .16s; } .hero3.go .bs:nth-of-type(4) { transition-delay: .24s; }
.hero3.go .bs:nth-of-type(5) { transition-delay: .32s; } .hero3.go .bs:nth-of-type(6) { transition-delay: .4s; } .hero3.go .bs:nth-of-type(7) { transition-delay: .48s; }
.bs i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.bs i svg { width: 18px; height: 18px; }
.bs i::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--cta); animation: hsPulse 2.4s ease-out infinite; }
.bs:nth-of-type(2n) i::after { animation-delay: .8s; } .bs:nth-of-type(3n) i::after { animation-delay: 1.6s; }
@keyframes hsPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.bs:hover, .bs.on { background: var(--cta); color: var(--brand); z-index: 2; }
.hero3.go .bs:hover, .hero3.go .bs.on { transform: translate(-50%, -50%) scale(1.06); transition-delay: 0s; }
.hb-more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: #fff; border: 1px solid #e3e9f2; color: var(--text); font-weight: 600; font-size: .93rem; transition: background .15s, border-color .15s; }
.hb-chip svg { width: 20px; height: 20px; color: var(--brand); }
.hb-chip:hover, .hb-chip.on { background: var(--cta); border-color: var(--cta); color: var(--brand); }
.hb-chip.ghost { background: none; border-color: transparent; color: var(--link, #1e55c9); }
.hb-chip.ghost svg { width: 16px; height: 16px; color: inherit; }
.hb-chip.ghost:hover { background: none; text-decoration: underline; }
@media (max-width: 1000px) { .hero3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hero3 { margin-top: 10px; }
  .hc, .hb { padding: 18px 14px; border-radius: 18px; }
  .hc-n { font-size: 1.15rem; }
  .bs { padding: 0; background: none; box-shadow: none; } .bs span { display: none; }
  .bs i { width: 32px; height: 32px; box-shadow: 0 4px 12px rgba(10, 22, 48, .35); }
  .bs:hover, .bs.on { background: none; }
  .hb-more { display: grid; grid-template-columns: 1fr 1fr; }
  .hb-chip { border-radius: 12px; padding: 10px; font-size: .88rem; }
  .hb-chip.ghost { grid-column: 1 / -1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .bs, .bs i::after, .bay-svg .liq, .catmenu:not(.hidden) .mg { transition: none !important; animation: none !important; } }

/* ===== v10: «О магазине» в рамке ===== */
.about { border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.about-facts { border-top: 1px solid var(--line); padding-top: 20px !important; }
.about-facts > div { background: none; padding: 0; border-radius: 0; }
@media (max-width: 640px) { .about { padding: 18px 14px; border-radius: 18px; } }
@media (min-width: 641px) { .hb-chip.m-only { display: none !important; } }
.hc-form select:disabled { opacity: 1; background-color: rgba(255, 255, 255, .14); color: #aebbd6; }
.hc-recs { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.hc-recs small { color: #c9d4ea; }
.hc-recs a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--text); font-weight: 600; transition: background .15s, transform .15s; }
.hc-recs a:hover { background: var(--cta); transform: translateX(3px); }
.hc-recs a > svg:first-child { width: 26px; height: 26px; color: var(--brand); }
.hc-recs a > svg:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
.hc-call { margin-top: auto; display: flex; align-items: center; gap: 12px; color: #c9d4ea; font-size: .9rem; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); position: relative; z-index: 1; }
.hc-call > svg { width: 22px; height: 22px; color: var(--cta); flex: none; }
.hc-call b { display: block; color: #fff; font-size: 1.05rem; }
.hc-call:hover b { color: var(--cta); }

/* ===== v9: машина с открытым капотом ===== */
.hero-hood { margin-top: 18px; }
.hood-wrap { background: linear-gradient(180deg, #eef3fb 0%, #f7f9fc 70%, #fff 100%); border: 1px solid #e3e9f2; border-radius: 24px; padding: 26px 28px 28px; }
.hood-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 4px; }
.hood-head h2 { margin: 0 0 4px; font-size: 1.75rem; }
.hood-head p { margin: 0; color: var(--muted); }
.hood-car { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 12px; font: inherit; cursor: pointer; text-align: left; color: var(--text); flex: none; transition: border-color .15s; }
.hood-car:hover { border-color: var(--brand); }
.hood-car > svg:first-child { width: 26px; height: 26px; color: var(--brand); }
.hood-car img { max-width: 34px; max-height: 26px; }
.hood-car small { display: block; color: var(--muted); font-size: .78rem; }
.hood-car b { font-size: .95rem; }
.hood-car > svg:last-child { width: 16px; height: 16px; color: var(--muted); }
.hood-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hood-stage { position: relative; }
.hood-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hood-svg .hood { transform-box: view-box; transform-origin: 424px 151px; transition: transform 1.1s cubic-bezier(.34, 1.25, .5, 1) .2s; }
.hood-wrap.go .hood-svg .hood { transform: rotate(-50deg); }
.hood-svg .prop { opacity: 0; transition: opacity .3s ease 1s; }
.hood-wrap.go .hood-svg .prop { opacity: 1; }
.hood-svg .cool { animation: coolLvl 3s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes coolLvl { 50% { transform: scaleY(.8); } }
.hs { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; z-index: 2; transition: opacity .3s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.hood-wrap.go .hs { opacity: 1; transform: translate(-50%, -50%); }
.hood-wrap.go .hs:nth-of-type(1) { transition-delay: 1.1s; } .hood-wrap.go .hs:nth-of-type(2) { transition-delay: 1.18s; } .hood-wrap.go .hs:nth-of-type(3) { transition-delay: 1.26s; } .hood-wrap.go .hs:nth-of-type(4) { transition-delay: 1.34s; }
.hood-wrap.go .hs:nth-of-type(5) { transition-delay: 1.42s; } .hood-wrap.go .hs:nth-of-type(6) { transition-delay: 1.5s; } .hood-wrap.go .hs:nth-of-type(7) { transition-delay: 1.58s; } .hood-wrap.go .hs:nth-of-type(8) { transition-delay: 1.66s; }
.hs i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--brand), 0 6px 16px rgba(20, 48, 107, .3); transition: background .15s, color .15s, transform .15s; }
.hs i svg { width: 22px; height: 22px; }
.hs i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 3px solid var(--cta); animation: hsPulse 2.2s ease-out infinite; pointer-events: none; }
.hs:nth-of-type(2n) i::after { animation-delay: .7s; } .hs:nth-of-type(3n) i::after { animation-delay: 1.4s; }
@keyframes hsPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.hs span { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap; background: var(--brand); color: #fff; font-weight: 700; font-size: .92rem; padding: 6px 11px; border-radius: 9px; box-shadow: 0 6px 16px rgba(20, 48, 107, .25); opacity: 0; transition: opacity .15s, transform .15s; pointer-events: none; }
.hs.r span { left: auto; right: -8px; transform: translate(0, 4px); }
.hs.l span { left: -8px; transform: translate(0, 4px); }
.hs:hover i, .hs.hl-on i { background: var(--cta); color: var(--brand); transform: scale(1.15); }
.hs:hover span, .hs.hl-on span { opacity: 1; transform: translate(-50%, 0); }
.hs.r:hover span, .hs.r.hl-on span, .hs.l:hover span, .hs.l.hl-on span { transform: none; }
.hood-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl { display: grid; grid-template-columns: 44px 1fr 14px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #e3e9f2; color: var(--text); transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.hl .ki { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--ink); display: grid; place-items: center; transition: background .18s, color .18s; }
.hl .ki svg { width: 26px; height: 26px; }
.hl b { display: block; font-size: .98rem; line-height: 1.2; }
.hl small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.25; margin-top: 2px; transition: color .18s; }
.hl > svg { width: 14px; height: 14px; color: var(--muted); transition: transform .18s, color .18s; }
.hl:hover, .hl.hl-on { background: var(--tint); border-color: transparent; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 48, 107, .08); }
.hl:hover .ki, .hl.hl-on .ki { background: var(--ink); color: #fff; }
.hl:hover b, .hl.hl-on b { color: var(--ink); }
.hl:hover > svg, .hl.hl-on > svg { color: var(--ink); transform: translateX(3px); }
@media (max-width: 1000px) { .hood-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hero-hood { margin-top: 10px; }
  .hood-wrap { padding: 16px 12px; border-radius: 18px; }
  .hood-head { flex-direction: column; align-items: stretch; }
  .hood-head h2 { font-size: 1.35rem; }
  .hs i { width: 28px; height: 28px; } .hs i svg { width: 16px; height: 16px; }
  .hs span { display: none; }
  .hood-list { gap: 8px; }
  .hl { grid-template-columns: 38px 1fr; padding: 9px 10px; gap: 8px; }
  .hl .ki { width: 38px; height: 38px; } .hl .ki svg { width: 22px; height: 22px; }
  .hl small, .hl > svg { display: none; }
  .hl b { font-size: .9rem; }
}

.hood-wrap { overflow: hidden; }
.hl { min-width: 0; } .hl b { overflow-wrap: anywhere; }
.hl:hover small, .hl.hl-on small { color: var(--text-2, #4a5160); }
.hood-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.hl { grid-template-columns: 44px 1fr; } .hl > svg { display: none; }
.hl b { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }

/* ===== v12: простое меню каталога ===== */
.catmenu { left: 0; right: 0; background: transparent; border: 0; box-shadow: none; clip-path: none; pointer-events: none; }
.catmenu .wrap { display: block; padding-top: 8px; padding-bottom: 0; }
.cm { pointer-events: auto; width: 680px; max-width: 100%; margin-left: 210px; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(10, 22, 48, .22), 0 0 0 1px rgba(10, 22, 48, .06); padding: 12px; animation: mmIn .16s ease-out; }
.cm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.catmenu a.cm-i { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 1.05rem; }
.cm-i .ci { width: 46px; height: 46px; border-radius: 12px; background: #eef3fc; color: var(--brand); display: grid; place-items: center; transition: background .15s, color .15s; }
.cm-i .ci svg { width: 26px; height: 26px; }
.cm-i .n { color: var(--muted); font-weight: 400; font-size: .9rem; }
.catmenu a.cm-i:hover { background: #eef3fc; color: var(--brand); }
.catmenu a.cm-i:hover .ci { background: var(--brand); color: #fff; }
.cm-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.catmenu a.cm-b { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; background: #f3f6fb; color: var(--brand); font-weight: 700; font-size: 1.02rem; }
.catmenu a.cm-b:hover { background: #e6edf8; }
.cm-b svg { width: 22px; height: 22px; }
.catmenu a.cm-b.promo { background: #fdeef0; color: #d6203a; }
.catmenu a.cm-b.promo:hover { background: #fbe0e4; }
.cm-b em { font-style: normal; background: #d6203a; color: #fff; font-size: .8rem; padding: 2px 8px; border-radius: 99px; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== v12: подбор в каталоге ===== */
.pick-cta { display: flex; align-items: center; gap: 18px; background: var(--brand); color: #fff; border-radius: 20px; padding: 18px 20px; margin: 4px 0 24px; position: relative; overflow: hidden; }
.pick-cta::after { content: ''; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border: 24px solid var(--cta); border-radius: 50%; opacity: .12; pointer-events: none; }
.pc-ic { width: 60px; height: 60px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--cta); display: grid; place-items: center; }
.pc-ic svg { width: 34px; height: 34px; }
.pc-t { flex: 1; min-width: 0; }
.pc-t b { display: block; font-size: 1.3rem; line-height: 1.25; }
.pc-t span { display: block; color: #c9d4ea; margin-top: 3px; }
.btn.pc-go { background: var(--cta); color: var(--cta-ink); min-height: 52px; padding: 0 22px; font-size: 1.05rem; white-space: nowrap; position: relative; z-index: 1; flex: none; }
.btn.pc-go:hover { background: var(--cta-h); }
.pc-go svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .pick-cta { flex-wrap: wrap; padding: 16px; gap: 12px; } .pc-ic { width: 48px; height: 48px; } .pc-t b { font-size: 1.1rem; } .btn.pc-go { width: 100%; justify-content: center; } }

/* ===== v12: главный блок — выровненная правая колонка ===== */
.hood-head { display: block; margin-bottom: 14px; }
.hood-grid { align-items: start; }
.hood-stage { margin-top: 30px; }
.hood-list { grid-template-columns: 1fr 1fr; }
.hood-list .hood-car { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 0; background: var(--brand); color: #fff; }
.hood-list .hood-car:hover { background: var(--brand-h); }
.hood-list .hood-car > svg:first-child { width: 30px; height: 30px; color: var(--cta); }
.hood-list .hood-car img { width: 36px; height: 30px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.hood-list .hood-car small { color: #c9d4ea; }
.hood-list .hood-car b { font-size: 1rem; }
.hood-list .hood-car em { font-style: normal; font-weight: 700; background: var(--cta); color: var(--cta-ink); padding: 8px 14px; border-radius: 10px; font-size: .92rem; }
.hl { grid-template-columns: 44px 1fr; }
@media (max-width: 640px) { .hood-stage { margin-top: 0; } .hood-list .hood-car { grid-template-columns: 30px 1fr auto; } .hl small { display: block !important; } .hl { grid-template-columns: 38px 1fr; } }
.catmenu a.cm-i:hover .ci, .catmenu a.cm-i .ci { opacity: 1; } .catmenu a.cm-i:hover .ci { background: var(--brand) !important; color: #fff !important; }
@media (max-width: 1000px) { .hood-grid { grid-template-columns: 1fr; } .hood-stage { margin-top: 0; } }
@media (max-width: 640px) { .hood-list { grid-template-columns: 1fr; } .hood-list .hood-car b { font-size: .95rem; } .hood-list .hood-car em { padding: 7px 10px; } }

/* ===== v14: «Спокойный маркетплейс» по DESIGN.md ===== */
:root { --bg: #ffffff; --surface: #f4f5f7; --surface-2: #eceef2; --line: #e3e6eb; --text: #15181e; --text-2: #4a5160; --muted: #6a7180;
  --brand: #14306b; --brand-h: #0e2552; --buy: #ffc81e; --buy-h: #f2b705; --buy-ink: #14306b; --cta: #ffc81e; --cta-h: #f2b705; --cta-ink: #14306b;
  --link: #1e55c9; --sale: #e0213f; --ok: #0f7a5c; --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --lift: 0 10px 30px rgba(16, 24, 40, .10); }
body { font-size: 17px; color: var(--text); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

/* Шапка: поиск как у маркетплейса */
.search { border: 2px solid transparent; background: var(--surface); border-radius: 12px; min-height: 52px; transition: border-color .15s; }
.search:focus-within { border-color: var(--brand); background: #fff; }
.search input { background: transparent; font-size: 1.02rem; }
.search button { border-radius: 10px; margin: 4px; background: var(--brand); }

/* Разделы-кружки */
.home2 { padding-top: 18px; }
.cc { display: flex; gap: 8px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin-bottom: 18px; }
.cc::-webkit-scrollbar { display: none; }
.cc-i { flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); text-align: center; }
.cc-i:hover { color: var(--text); }
.cc-c { width: 88px; height: 88px; border-radius: 999px; background: var(--surface); color: var(--brand); display: grid; place-items: center; transition: background .15s, transform .15s; }
.cc-c svg { width: 42px; height: 42px; }
.cc-i:hover .cc-c { background: var(--surface-2); transform: translateY(-2px); }
.cc-i:active .cc-c { transform: scale(.97); }
.cc-t { font-size: .92rem; font-weight: 600; line-height: 1.25; }
.cc-i.sale .cc-c { background: #fde8ec; color: var(--sale); }
.cc-i.sale .cc-t { color: var(--sale); }

/* Баннеры + боковые карточки */
.h2top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-bottom: 8px; }
.bn { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; }
.bn-track { position: relative; height: 100%; min-height: 340px; }
.bn-s { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 40px 72px 52px 48px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.bn-s { background: var(--bg, #eef0f6); }
.bn-s.on { opacity: 1; visibility: visible; }
.bn-s[style] { background: var(--bg); }
.bn-t h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; color: var(--brand); max-width: 14ch; }
.bn-t p { margin: 0 0 24px; color: var(--text-2); font-size: 1.08rem; line-height: 1.5; max-width: 30em; }
.bn-sale { display: inline-block; margin-bottom: 14px; background: var(--sale); color: #fff; font-weight: 700; font-size: .92rem; padding: 5px 12px; border-radius: 999px; }
.btn.bn-go { background: var(--buy); color: var(--buy-ink); min-height: 54px; padding: 0 26px; font-size: 1.05rem; border-radius: 12px; }
.btn.bn-go:hover { background: var(--buy-h); }
.bn-art { display: grid; place-items: center; height: 100%; }
.bn-art svg, .bn-art img { width: min(100%, 300px); height: auto; filter: drop-shadow(0 18px 24px rgba(20, 48, 107, .18)); }
.bn-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(16, 24, 40, .12); }
.bn-nav svg { width: 20px; height: 20px; }
.bn-nav.prev { left: 12px; } .bn-nav.prev svg { transform: rotate(180deg); }
.bn-nav.next { right: 12px; }
.bn-nav:hover { background: var(--surface); }
.bn-dots { position: absolute; left: 48px; bottom: 20px; display: flex; gap: 8px; }
.bn-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(20, 48, 107, .25); cursor: pointer; transition: width .2s, background .2s; }
.bn-dots button.on { width: 28px; background: var(--brand); }
.hs2 { display: flex; flex-direction: column; gap: 16px; }
.hs2-car { display: flex; gap: 14px; align-items: center; text-align: left; font: inherit; color: #fff; background: var(--brand); border: 0; border-radius: var(--r-md); padding: 20px; cursor: pointer; transition: background .15s; }
.hs2-car:hover { background: var(--brand-h); }
.hs2-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: var(--buy); }
.hs2-ic svg { width: 30px; height: 30px; }
.hs2-ic img { width: 40px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.hs2-car small { display: block; color: #c9d4ea; font-size: .88rem; }
.hs2-car b { display: block; font-size: 1.12rem; line-height: 1.25; }
.hs2-car em { display: block; font-style: normal; color: var(--buy); font-weight: 600; font-size: .92rem; margin-top: 4px; }
.hs2-shop { flex: 1; background: var(--surface); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.hs2-shop .openstate { align-self: flex-start; margin-bottom: 8px; background: #fff; }
.hs2-shop b { font-size: 1.2rem; }
.hs2-shop > span:not(.openstate) { color: var(--text-2); }
.hs2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.hs2-row .btn { min-height: 48px; background: #fff; color: var(--brand); border-radius: 12px; font-size: .98rem; }
.hs2-row .btn:hover { background: var(--surface-2); }
.hs2-row svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .h2top { grid-template-columns: 1fr; } .hs2 { flex-direction: row; } .hs2 > * { flex: 1; } }
@media (max-width: 760px) {
  .cc { justify-content: flex-start; gap: 4px; } .cc-i { width: 84px; } .cc-c { width: 68px; height: 68px; } .cc-c svg { width: 32px; height: 32px; } .cc-t { font-size: .84rem; }
  .bn, .bn-track { min-height: 420px; } .bn-s { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 26px 22px 48px; align-content: start; }
  .bn-art { height: 140px; } .bn-art svg, .bn-art img { width: auto; height: 140px; }
  .bn-nav { display: none; } .bn-dots { left: 22px; bottom: 18px; }
  .hs2 { flex-direction: column; }
}

/* Заголовки секций — без пилюль и бликов */
.block-head h2 { font-size: 1.65rem; font-weight: 750; letter-spacing: -.01em; }
.block-head a { font-weight: 600; }

/* Карточка товара в стиле маркетплейса */
.pc { padding: 8px; margin: -8px; border-radius: 20px; transition: box-shadow .15s, background .15s; }
.pc:hover { box-shadow: var(--lift); background: #fff; }
.pc .ph { border-radius: var(--r-md); background: var(--surface); }
.ribbon { display: none !important; }
.pc .pr { margin-top: 12px; height: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; white-space: normal; overflow: visible; background: none; padding: 0; -webkit-mask: none; mask: none; }
.pc .pr::after { display: none; }
.pc .pr b { font-size: 1.4rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pc .pr s { color: var(--muted); font-size: .95rem; }
.pc:has(.pr s) .pr b { color: var(--sale); }
.pc .promo-line { display: block; color: var(--sale); font-size: .86rem; font-weight: 600; margin-top: 2px; }
.pc .nm { font-size: 1rem; line-height: 1.35; }
.badge-sale { background: var(--sale); border-radius: 8px; font-weight: 700; }
.pc .act .btn-primary { background: var(--buy); color: var(--buy-ink); min-height: 48px; border-radius: 12px; font-size: 1rem; }
.pc .act .btn-primary:hover { background: var(--buy-h); }
.pc .act .btn-primary:active, .btn.bn-go:active { transform: scale(.98); }

/* «О магазине» и прочее — тише */
.about .kicker { display: none; }
@media (prefers-reduced-motion: reduce) { .bn-s, .cc-c, .pc, .bn-dots button { transition: none !important; } }
.bn-nav { top: auto; bottom: 14px; transform: none; width: 40px; height: 40px; }
.bn-nav.prev { left: auto; right: 64px; } .bn-nav.next { right: 16px; }
.bn-dots { bottom: 28px; }
.pc .promo-line { display: none; }
.hs2-row .btn { min-width: 0; padding: 0 10px; gap: 6px; }
@media (max-width: 760px) { .bn-nav { display: grid; bottom: 10px; } .bn-dots { bottom: 24px; } }
@media (max-width: 760px) { .cc-i { width: 96px; } .cc-t { font-size: .82rem; } }
