/* DAES ASIA — стили сайта (05.10.2026). Красный / графит / белый. */
:root {
  --red: #d7141a; --red-dark: #a90f14; --red-soft: #fdecec;
  --ink: #16181d; --ink-2: #3a3f4a; --muted: #6b7280; --line: #e6e8ec;
  --bg: #ffffff; --bg-alt: #f5f6f8; --ok: #15803d;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 960px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 40px; }

/* иконки */
.ic, .ic-xs, .ic-lg, .ic-xl { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 20px; height: 20px; }
.ic-xs { width: 14px; height: 14px; }
.ic-lg { width: 36px; height: 36px; stroke-width: 1.4; }
.ic-xl { width: 96px; height: 96px; stroke-width: 1; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; font-weight: 600; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-red.added { background: var(--ok); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* верхняя полоска */
.topbar { background: var(--ink); color: #c9ccd3; font-size: 13px; }
.topbar-in { display: flex; gap: 24px; align-items: center; height: 36px; }
.topbar-phones { margin-left: auto; display: flex; gap: 18px; }
.topbar-phones a { color: #fff; font-weight: 600; }

/* шапка */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 76px; }
/* Фирменный знак (07.10.2026): шестерня с грузовиком + DAES ASIA */
.logo { display: flex; align-items: center; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 3px 6px rgba(215,20,26,.28)); }
.logo-gear { transform-origin: 24px 24px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo-gear, .footer-logo:hover .logo-gear { transform: rotate(45deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 24px; font-weight: 900; letter-spacing: -.2px; color: var(--ink); }
.brand-text b em { font-style: normal; color: var(--red); }
.brand-text small { margin-top: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.brand-text small::before { content: ''; width: 14px; height: 2px; background: var(--red); border-radius: 2px; }
.brand-dark .brand-text b { color: #fff; }
.brand-dark .brand-text small { color: #a8adb7; }
.footer .footer-logo .brand { display: inline-flex; padding: 0; }
.footer .footer-logo .brand-text { display: flex; flex-direction: column; padding: 0; }
.footer .footer-logo .brand-text small { display: flex; padding: 0; }
.footer .footer-logo .brand-text b { display: block; }
.footer-logo { margin-bottom: 14px; }
.search { flex: 1; display: flex; height: 46px; border: 2px solid var(--red); border-radius: 12px; overflow: hidden; }
.search input { flex: 1; border: 0; padding: 0 16px; outline: none; min-width: 0; }
.search button { display: flex; align-items: center; gap: 8px; border: 0; background: var(--red); color: #fff; padding: 0 20px; font-weight: 600; cursor: pointer; }
.cart-link { position: relative; display: flex; align-items: center; gap: 10px; flex: none; }
.cart-link .ic { width: 30px; height: 30px; }
.cart-badge { position: absolute; left: 18px; top: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-label { font-size: 12px; color: var(--muted); line-height: 1.2; }
.cart-label b { color: var(--ink); font-size: 14px; }
.burger { display: none; border: 0; background: none; padding: 6px; cursor: pointer; }

/* меню марок */
.marque-nav { background: var(--ink-2); color: #fff; }
.marque-nav-in { display: flex; align-items: stretch; height: 48px; }
.mn-all { display: flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--red); font-weight: 700; margin-right: 6px; }
.mn-item { position: relative; display: flex; }
.mn-link { display: flex; align-items: center; padding: 0 13px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.mn-link:hover, .mn-item:hover > .mn-link { background: rgba(255,255,255,.1); }
.mn-right { margin-left: auto; }
.mn-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; color: var(--ink); border-radius: 0 0 12px 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 10px; z-index: 60; }
.mn-item:hover .mn-drop, .mn-item:focus-within .mn-drop { display: block; }
.mn-drop-head { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 6px 10px 8px; }
.mn-drop a { display: grid; grid-template-columns: 1fr auto; padding: 8px 10px; border-radius: 8px; }
.mn-drop a:hover { background: var(--red-soft); }
.mn-drop a small { grid-column: 1; color: var(--muted); font-size: 12px; }
.mn-drop a em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg-alt); border-radius: 6px; padding: 2px 8px; }
.mn-drop-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px !important; color: var(--red); font-weight: 600; display: block !important; }

/* хлебные крошки */
.crumbs { background: var(--bg-alt); font-size: 13px; color: var(--muted); }
.crumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--ink); }

/* секции и заголовки */
.section { padding: 36px 0; }
.section-alt { background: var(--bg-alt); }
.h1 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; font-weight: 800; }
.h1-sub { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.h2 { font-size: 22px; margin: 0 0 16px; font-weight: 800; }

/* hero (07.10.2026): грузовик на фоне + витрина своих товаров с фото из 1С */
.hero { position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(90deg, #121418 0%, rgba(18,20,24,.96) 34%, rgba(18,20,24,.72) 58%, rgba(18,20,24,.55) 100%),
    radial-gradient(900px 420px at 80% 110%, rgba(215,20,26,.45), transparent 65%),
    url(/static/img/hero-truck.jpg) right 30% / cover no-repeat, #16181d; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), #ff6b6f 40%, transparent); }
.hero-in { padding: 56px 20px 48px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-art { position: relative; perspective: 1400px; }
.hero-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg); transform-style: preserve-3d; }
.hcard { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .25s, box-shadow .25s;
  animation: hcard-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 90ms); }
.hcard:nth-child(3n+2) { transform: translateY(18px); }
.hcard:hover { transform: translateY(-6px) translateZ(30px); box-shadow: 0 26px 50px rgba(0,0,0,.55); }
.hcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f2f3f5; }
.hcard-name { font-size: 11px; color: var(--muted); padding: 7px 9px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard-price { font-weight: 800; font-size: 15px; padding: 2px 9px 9px; }
@keyframes hcard-in { from { opacity: 0; transform: translateY(24px); } }
.hero-in > * { min-width: 0; }
.hero-badge { position: absolute; left: -10px; top: -26px; z-index: 2; background: var(--red); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(215,20,26,.45); display: flex; flex-direction: column; }
.hero-badge b { font-size: 15px; }
.hero-badge span { font-size: 12px; opacity: .9; }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-board { transform: none; display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x mandatory; }
  .hcard { flex: 0 0 120px; scroll-snap-align: start; }
  .hcard:nth-child(3n+2) { transform: none; }
  .hero-badge { position: static; margin-bottom: 12px; display: inline-flex; }
  .hero-art { display: flex; flex-direction: column-reverse; align-items: flex-start; }
  .hero h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .hcard { animation: none; } }
.hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.hero h1 span { color: #ff6b6f; }
.hero p { color: #c9ccd3; font-size: 17px; max-width: 620px; margin: 0 0 24px; }
.hero-search { display: flex; max-width: 640px; background: #fff; border-radius: 12px; padding: 5px; }
.hero-search input { flex: 1; border: 0; outline: none; padding: 0 14px; color: var(--ink); min-width: 0; }
.hero-facts { display: flex; gap: 40px; margin-top: 30px; }
.hero-facts b { display: block; font-size: 26px; }
.hero-facts span { color: #a8adb7; font-size: 13px; }

/* плитки марок */
.mtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mtile { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.mtile:hover { box-shadow: var(--shadow); border-color: #d5d8de; }
.mtile-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mtile-head .ic-lg { color: var(--red); }
.mtile-head b { display: block; font-size: 18px; }
.mtile-head small { color: var(--muted); }
.mtile-series { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 16px; }
.mtile-series a { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--bg-alt); }
.mtile-series a:hover { background: var(--red); color: #fff; }
.mtile-series em { font-style: normal; opacity: .6; }

/* плитки рядов */
.stiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.stile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: all .15s; }
.stile .ic-lg { color: var(--red); margin-bottom: 6px; }
.stile:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-1px); }
.stile-name { font-weight: 700; font-size: 17px; }
.stile-note { color: var(--muted); font-size: 13px; }
.stile-count { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--red); font-weight: 600; }

/* плитки групп */
.gtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; }
.gtile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .15s; }
.gtile:hover { border-color: var(--red); box-shadow: var(--shadow); }
.gtile-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--red-soft); color: var(--red); margin-bottom: 4px; }
.gtile:hover .gtile-ic { background: var(--red); color: #fff; }
.gtile-name { font-weight: 700; line-height: 1.25; }
.gtile-count { font-size: 13px; color: var(--muted); }

/* чипы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; background: #fff; margin: 0 4px 4px 0; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* каталог: сайдбар + список */
.layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.layout > *, .main, .cart-layout > * { min-width: 0; }
body { overflow-x: hidden; }
.side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 14px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 8px; }
.side-head { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 8px 10px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.side-link .ic { color: var(--muted); width: 18px; height: 18px; }
.side-link em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.side-link:hover { background: var(--bg-alt); }
.side-link.on { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.side-link.on .ic { color: var(--red); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 18px; }
.toolbar-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.toolbar-search .ic { color: var(--muted); }
.toolbar-search input { flex: 1; border: 0; outline: none; min-width: 0; }
.toolbar select { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.toolbar-count { color: var(--muted); font-size: 14px; }

/* карточки товаров */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow); border-color: #d5d8de; }
.pcard-img { position: relative; overflow: hidden; height: 170px; display: grid; place-items: center; background: linear-gradient(180deg, #fafbfc, #f1f3f6); color: #b4bac5; }
.pcard-img .ic-lg { width: 56px; height: 56px; }
.pcard:hover .pcard-img { color: var(--red); }
.pcard-img.has-photo { background: #fff; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pcard-img .pcard-brand, .pcard-img .pcard-nph { z-index: 1; }
.pcard-nph { position: absolute; right: 10px; bottom: 8px; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: rgba(22,24,29,.75); color: #fff; }
.gallery { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.gallery-main { display: block; height: 380px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs button { width: 72px; height: 72px; padding: 3px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.gallery-thumbs button.on { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pcard-brand { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.pcard-body { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-art { font-size: 12px; color: var(--muted); }
.copy { cursor: copy; color: var(--ink); border-bottom: 1px dashed #c3c7cf; }
.copy:hover { color: var(--red); border-color: var(--red); }
.pcard-name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-name:hover { color: var(--red); }
.pcard-fits { display: flex; flex-wrap: wrap; gap: 4px; }
.pcard-fits span { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--bg-alt); color: var(--ink-2); }
.pcard-foot { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.pcard-price { font-size: 20px; font-weight: 800; }
.stock { font-size: 12px; font-weight: 600; }
.stock.in { color: var(--ok); }
.stock.in::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.buy { display: flex; gap: 8px; }
.buy .btn { flex: 1; padding: 0 12px; }
.qty { display: flex; align-items: center; height: 42px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.qty button { width: 30px; height: 100%; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 16px; }
.qty button:hover { background: #e9ebef; }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* пагинация */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0 8px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager a.on { background: var(--red); border-color: var(--red); color: #fff; }
.pager span { border: 0; color: var(--muted); }

/* пусто */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-2); }
.empty .ic-lg { width: 48px; height: 48px; color: #c3c7cf; }
.empty .btn { margin-top: 12px; }

/* карточка товара */
.product { display: grid; grid-template-columns: 380px 1fr; gap: 36px; }
.product-img { height: 340px; border-radius: 16px; background: linear-gradient(180deg, #fafbfc, #eef0f3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--red); border: 1px solid var(--line); }
.product-img span { color: var(--muted); font-size: 14px; }
.specs { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; margin: 18px 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.product-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 14px; background: var(--bg-alt); margin-bottom: 14px; }
.product-price { font-size: 32px; font-weight: 800; }
.desc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.6; color: var(--ink-2); }
.desc p { margin: 0 0 12px; }
.desc ul { margin: 0 0 12px; padding-left: 20px; }
.desc li { margin-bottom: 6px; }
.pgrid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* корзина и оформление */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-list { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.crow { display: grid; grid-template-columns: 1fr auto 120px 120px 32px; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow-name { font-weight: 600; }
.crow-name:hover { color: var(--red); }
.crow-art, .crow-price { font-size: 13px; color: var(--muted); }
.crow-sum { font-weight: 800; text-align: right; }
.crow-del { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.crow-del:hover { color: var(--red); }
.summary { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.summary h3 { margin: 0 0 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: var(--ink-2); }
.sum-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; padding: 14px 0; margin: 8px 0 14px; border-top: 1px solid var(--line); }
.back-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 8px; margin: 0 0 18px; background: #fff; }
.form legend { font-weight: 800; padding: 0 6px; }
.form label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.form label i { color: var(--red); font-style: normal; }
.form input:not([type=radio]), .form textarea { display: block; width: 100%; margin-top: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.form textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--red); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.radios label { margin: 0; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: block; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.radios small { display: block; color: var(--muted); }
.radios input:checked + span { border-color: var(--red); background: var(--red-soft); }
.alert { padding: 12px 16px; border-radius: 10px; background: var(--red-soft); color: var(--red-dark); margin-bottom: 16px; }
.done { text-align: center; padding: 40px 0; }
.done-ic { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 36px; }

/* инфо и преимущества */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perks div, .info-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.perks .ic-lg, .info-card .ic-lg { color: var(--red); }
.perks span { color: var(--muted); font-size: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.info-card h3 { margin: 4px 0 0; }
.info-card p { margin: 0; color: var(--ink-2); }
.info-card a { color: var(--red); font-weight: 600; }

/* подвал */
.footer { background: var(--ink); color: #a8adb7; margin-top: 40px; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding: 40px 20px 24px; }
.footer-logo { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.footer a, .footer span { display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2b2f38; padding: 16px 20px; font-size: 12px; }

/* уведомление */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 100; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* адаптив */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .side-box { min-width: 250px; flex: none; }
  .product { grid-template-columns: 1fr; }
  .product-img { height: 220px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar-in span:not(.topbar-phones) { display: none; }
  .topbar-phones { margin: 0 auto; }
  .header-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .burger { display: block; }
  .logo-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 20px; }
  .header .brand-text small, .cart-label { display: none; }
  .cart-link { margin-left: auto; }
  .search { order: 5; flex-basis: 100%; height: 42px; }
  .search button span { display: none; }
  .marque-nav { display: none; }
  body.nav-open .marque-nav { display: block; }
  .marque-nav-in { flex-direction: column; height: auto; padding: 0; }
  .mn-all, .mn-link { padding: 12px 20px; }
  .mn-right { margin-left: 0; }
  .mn-drop { position: static; display: none !important; }
  .hero-in { padding: 32px 20px; }
  .hero h1 { font-size: 28px; }
  .hero-facts { gap: 20px; }
  .h1 { font-size: 23px; }
  .pgrid, .pgrid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-img { height: 90px; }
  .buy { flex-direction: column; }
  .qty { width: 100%; justify-content: space-between; }
  .crow { grid-template-columns: 1fr auto; }
  .crow-price { display: none; }
  .frow, .radios, .perks, .info-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; gap: 2px; }
  .specs dd { margin-bottom: 10px; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pgrid, .pgrid-4 { grid-template-columns: 1fr; }
}

/* Под заказ и варианты поставки (06.10.2026) */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.stock.order { color: #b45309; }
.stock.order::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d97706; margin-right: 6px; vertical-align: 1px; }
.pcard-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.order-box { align-items: flex-start; }
.offers { margin: 14px 0 18px; }
.offers .h3 { font-size: 17px; margin: 0 0 8px; }
.offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.offer-days { flex: 1; min-width: 120px; font-weight: 600; }
.offer-days span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.offer-price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.offer .buy { margin-left: auto; }
.offers-none { margin: 10px 0 18px; }

/* Фото марок на фоне плиток (06.10.2026): реальные фото без эмблем; в покое приглушены, при наведении — ярко */
.mtile { position: relative; isolation: isolate; }
.mtile-head { min-height: 108px; position: relative; }
.mtile-art { position: absolute; right: 0; top: 0; width: 64%; height: 108px; object-fit: cover; object-position: center 40%;
  z-index: -1; opacity: .45; filter: grayscale(.7) contrast(.95);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%); mask-image: linear-gradient(90deg, transparent 0, #000 55%);
  transition: opacity .35s ease, filter .35s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; transform-origin: 70% 50%; }
.mtile:hover .mtile-art { opacity: 1; filter: none; transform: scale(1.05); }
.mtile-art-svg { object-fit: contain; width: 40%; padding: 10px; -webkit-mask-image: none; mask-image: none; }
.mtile-head b, .mtile-head small { text-shadow: 0 0 8px #fff, 0 0 3px #fff, 0 0 1px #fff; }
.footer-credits { color: inherit; opacity: .7; text-decoration: underline; margin-left: 8px; }
@media (hover: none) { .mtile-art { opacity: .9; filter: none; } }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 16px; }
.credit { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 13px; min-width: 0; }
.credit img { width: 110px; height: 78px; object-fit: cover; border-radius: 8px; flex: none; }
.credit a { color: var(--red); word-break: break-word; }
.analog-nums { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }

/* Кабинет владельца (06.10.2026) */
.owner-nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.owner-nav a { padding: 8px 14px; border-radius: 10px; background: var(--bg-alt); font-weight: 600; }
.owner-nav a.on { background: var(--ink); color: #fff; }
.owner-out { margin-left: auto; }
.owner-login { max-width: 360px; margin: 30px auto; }
.owner-login label, .osup input, .owner label { display: block; }
.owner-login input { width: 100%; height: 44px; margin: 6px 0 14px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.owner-err { color: var(--red); font-weight: 600; }
.owner-ok { color: var(--ok); font-weight: 600; }
.owner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ocard { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.ocard b { font-size: 26px; }
.ocard span { color: var(--muted); font-size: 13px; }
.otable { width: 100%; border-collapse: collapse; font-size: 14px; }
.otable th, .otable td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.otable th { background: var(--bg-alt); }
.otable tr.st-new td { background: #fff7e6; }
.osup input[type=number] { width: 90px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; }
.owner input[name=daily_cap] { width: 110px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.sw input { width: 20px; height: 20px; }
.sw span { display: none; }
.olog { background: #16181d; color: #d7dbe2; padding: 12px; border-radius: 10px; font-size: 12px; overflow-x: auto; white-space: pre-wrap; max-height: 420px; }
.owner-panel { border: 2px dashed #d97706; background: #fffbeb; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.offer-owner { display: block; font-size: 12px; color: #b45309; }
@media (max-width: 640px) { .otable { font-size: 12px; } .otable th, .otable td { padding: 6px; } .owner-out { margin-left: 0; } }

/* Просмотр фото поверх страницы (07.10.2026) */
.gallery-main { cursor: zoom-in; }
.lb-lock, .lb-lock body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 13, 16, .94); display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; }
.lb[hidden] { display: none; }
.lb-stage { grid-column: 2; grid-row: 1; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 0; min-height: 0; padding: 56px 0 8px; box-sizing: border-box; }
.lb-img { max-width: 100%; max-height: calc(100% - 30px); object-fit: contain; border-radius: 6px; background: #fff;
  transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.lb-img.lb-loading { opacity: .35; }
.lb-cap { color: #cfd3da; font-size: 14px; margin-top: 8px; min-height: 20px; }
.lb-close { position: absolute; top: 12px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-nav { width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer; justify-self: center; grid-row: 1; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-nav[hidden] { display: block; visibility: hidden; }
.lb-thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; justify-content: center; padding: 10px 16px 16px; overflow-x: auto; }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { flex: none; width: 66px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 6px;
  overflow: hidden; background: #fff; cursor: pointer; opacity: .55; }
.lb-thumbs button.on { border-color: var(--red); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb-stage { padding: 62px 4px 4px; }
  .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 28px; background: rgba(0, 0, 0, .5); }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}

/* «Рентген» грузовика (07.10.2026, v2 — светлый) */
.xray { display: grid; grid-template-columns: 360px minmax(0, 1fr); margin: 14px 0 24px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: #fff; }
.xray-list { padding: 18px 14px 18px 18px; border-right: 1px solid var(--line); background: #fcfcfd; }
.xray-title { font-weight: 800; font-size: 18px; margin: 0 0 10px 8px; }
.xray-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 16px; font-weight: 500;
  color: var(--ink); line-height: 1.25; transition: background .15s, color .15s; }
.xray-item .ic { width: 22px; height: 22px; color: var(--ink-2); flex: none; }
.xray-item span { flex: 1; min-width: 0; }
.xray-item em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg-alt);
  padding: 2px 8px; border-radius: 999px; }
.xray-item:hover, .xray-item.on { background: var(--red-soft); color: var(--red-dark); }
.xray-item:hover .ic, .xray-item.on .ic { color: var(--red); }
.xray-item:hover em, .xray-item.on em { background: #fff; color: var(--red); }
.xray-stage { position: relative; display: flex; align-items: flex-start; justify-content: center; padding: 64px 16px 8px; min-width: 0;
  background: linear-gradient(180deg, #fff, #f7f8fa); }
.xray-svg { width: 100%; height: auto; max-height: 470px; position: sticky; top: 90px; }
.xray-hint { position: absolute; left: 18px; top: 14px; color: var(--ink-2); font-size: 14px; background: #fff;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.xray-hint b { color: var(--red); }
.x-shadow { fill: rgba(22,24,29,.08); }
.xz { fill: rgba(22,24,29,.03); stroke: #3d4553; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round;
  cursor: pointer; transition: stroke .2s, fill .2s, opacity .2s; }
.xz .x-thin { fill: none; stroke-width: 1.4; }
.xz .x-hair { fill: none; stroke-width: 1; opacity: .55; }
.xz .x-thick { fill: none; stroke-width: 8; }
.xz .x-glass { fill: #cfe3f5; stroke-width: 1.6; }
.xz .x-cab { stroke-width: 2.4; }
.xz .x-box { fill: #fbfbfc; }
.xz .x-stripe { fill: none; opacity: .9; }
.xz .x-wire { fill: none; stroke-width: 1.4; stroke-dasharray: 4 4; }
.xz .x-tire { fill: #2b2f36; stroke: #1b1e23; }
.xz .x-tread { stroke: #565c66; stroke-width: 3; }
.xz .x-rim { fill: #c9ced6; stroke: #6b7280; }
.xz .x-rim2 { fill: none; stroke: #8a929e; }
.xz .x-nut { fill: #4b5260; stroke: none; }
.xz[data-off] { cursor: default; }
.xray.hot .xz:not(.on) { opacity: .42; }
.xz.on { stroke: var(--red); fill: rgba(215,20,26,.16); filter: url(#xglow); opacity: 1; }
.xz.on .x-glass, .xz.on .x-box, .xz.on .x-cab { fill: rgba(215,20,26,.12); }
.xz.on .x-tire { fill: #7a1418; stroke: var(--red); }
.xz.on .x-rim { fill: #f7c5c7; stroke: var(--red); }
@media (max-width: 980px) {
  .xray { grid-template-columns: 1fr; }
  .xray-list { display: none; }
  .xray-stage { flex-direction: column; align-items: flex-start; }
  .xray-hint { position: static; margin-bottom: 6px; }
}

/* Строгая применяемость (07.10.2026) */
.fit-legend { font-size: 14px; color: var(--ink-2); background: #fff8e6; border: 1px solid #f6e2b3; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }
.fit-tag { display: inline-block; font-size: 11px; font-weight: 600; color: #8a5a00; background: #fff3d1; border-radius: 999px; padding: 2px 8px; margin: 4px 0 2px; }
.fit-line b { font-weight: 600; }

/* Запрос по VIN, согласие, антиспам (07.10.2026) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 6px 0 14px; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.consent a { color: var(--red); text-decoration: underline; }
.vin-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vin-help { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; font-size: 14px; }
.vin-help h3 { margin: 0 0 8px; }
.vin-prod { background: var(--red-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.vin-link { color: var(--red); font-weight: 600; text-decoration: underline; }
.mn-vin { color: #ffd2d3 !important; }
.text-page { max-width: 860px; }
.text-page ul { padding-left: 20px; }
@media (max-width: 900px) { .vin-layout { grid-template-columns: 1fr; } }
.form .consent { flex-direction: row !important; }
.form .consent input { width: 18px !important; height: 18px !important; padding: 0 !important; min-height: 0 !important; }
.vin-btn { flex: none; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; font-size: 13px; font-weight: 700;
  color: var(--red); border: 2px solid var(--red); border-radius: 10px; padding: 6px 12px; height: 46px; box-sizing: border-box; }
.vin-btn:hover { background: var(--red); color: #fff; }
@media (max-width: 640px) { .vin-btn { height: 38px; font-size: 11px; padding: 4px 8px; } }

/* Витрина ходовых товаров — слайдер (07.10.2026) */
.hero-slider { position: relative; }
.hero-track { display: grid; perspective: 1400px; }
.hero-track > .hero-board { grid-area: 1 / 1; opacity: 0; pointer-events: none;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg) translateX(60px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.hero-track > .hero-board.on { opacity: 1; pointer-events: auto; transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg); }
.hero-track > .hero-board.out { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg) translateX(-60px); }
.hero-track .hcard { animation: none; }
.hcard-name { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; color: var(--ink-2) !important; font-size: 11.5px !important; line-height: 1.25; min-height: 2.5em; }
.hcard.noimg img { visibility: hidden; }
.hero-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.hero-arrow { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px;
  line-height: 1; cursor: pointer; }
.hero-arrow:hover { background: var(--red); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer;
  transition: width .3s, background .3s; }
.hero-dots button.on { width: 26px; border-radius: 5px; background: var(--red); }
@media (max-width: 980px) {
  .hero-track > .hero-board { transform: translateX(40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; }
  .hero-track > .hero-board.on { transform: none; }
  .hero-track > .hero-board.out { transform: translateX(-40px); }
  .hero-track .hcard { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-track > .hero-board { transition: opacity .2s; } }

/* Покупатель и личный кабинет (07.10.2026) */
.btype { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.form .btype label { flex-direction: row !important; display: block; margin: 0; }
.btype input { position: absolute; opacity: 0; width: 1px !important; height: 1px !important; }
.btype span { display: inline-block; padding: 9px 16px; border: 2px solid var(--line); border-radius: 10px; font-weight: 600; cursor: pointer; }
.btype input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.company-fields[hidden] { display: none; }
.acc-narrow { max-width: 760px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.acc-link { flex: none; display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--ink-2); line-height: 1.1; }
.acc-link .ic { width: 24px; height: 24px; }
.acc-link:hover { color: var(--red); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .acc-link span { display: none; } }

/* Купить в 1 клик (07.10.2026) */
.btn-outline { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.oneclick { margin: 10px 0 14px; }
.oneclick-form { margin-top: 10px; background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }
.oneclick-ok { color: var(--ok); font-weight: 600; }

/* страницы доставка/возврат/о компании (21.10.2026) */
.mt-s { margin-top: 16px; }
.info-list { margin: 10px 0 0 20px; line-height: 1.7; }

/* уведомление о cookie / Метрика (21.10.2026) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #ddd; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 14px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1 1 320px; margin: 0; }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
