/* CarCoreData: магазин данных для ремонта. Одна светлая тема, системный шрифт, спокойные переходы. */
[hidden] { display:none !important; }
:root {
  --bg:#ffffff; --soft:#f5f7fa; --soft2:#eef2f7; --ink:#0e1726; --muted:#5b6678; --line:#e3e8ef; --line2:#d3dbe6;
  --blue:#0a6ae6; --blue-d:#0857c2; --blue-soft:#e8f1fe; --ok:#12a150; --ok-soft:#e7f6ee; --bad:#d93d42; --dark:#0e1726;
  --wire1:#e5484d; --wire2:#0a7cff; --wire3:#f5a524; --wire4:#12a150; --wire5:#1f2937; --surface2:#eef3fa;
  --r:12px; --shadow:0 18px 44px rgba(14, 23, 38, .10); --shadow-s:0 4px 14px rgba(14, 23, 38, .06);
  --ease:cubic-bezier(.2, .7, .2, 1);
  color-scheme:light;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
html, body { overflow-x:clip; }
body { font:16px/1.55 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color:var(--ink); background:var(--bg); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; height:auto; }
button, input, textarea, select { font:inherit; color:inherit; }
svg { fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.wrap { max-width:1200px; margin:0 auto; padding:0 24px; }
.sr, .skip:not(:focus) { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip:focus { position:fixed; left:12px; top:12px; z-index:100; background:#fff; padding:10px 14px; border-radius:8px; box-shadow:var(--shadow); }
:focus-visible { outline:2px solid var(--blue); outline-offset:2px; border-radius:6px; }

/* кнопки, ссылки, поля */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:11px 20px; border:1px solid var(--blue); border-radius:10px; background:var(--blue); color:#fff; font-weight:650; font-size:15px; line-height:1.2; cursor:pointer; white-space:nowrap; text-align:center; transition:background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { background:var(--blue-d); border-color:var(--blue-d); }
.btn.big { min-height:52px; padding:14px 26px; font-size:16px; }
.btn.sm { min-height:36px; padding:7px 14px; font-size:14px; }
.btn.wide { width:100%; }
.btn.ghost { background:#fff; color:var(--ink); border-color:var(--line2); }
.btn.ghost:hover { border-color:var(--ink); background:#fff; }
.btn.dark { background:var(--dark); border-color:var(--dark); }
.btn.dark:hover { background:#24324a; border-color:#24324a; }
.btn.white { background:#fff; border-color:#fff; color:var(--blue-d); }
.btn.white:hover { background:#f0f5ff; }
.btn.added { background:var(--ok); border-color:var(--ok); }
.btn:disabled { opacity:.6; cursor:default; }
[aria-busy="true"] { opacity:.6; pointer-events:none; }
.link { color:var(--blue); font-weight:600; }
.link:hover { text-decoration:underline; text-underline-offset:3px; }
.link.arrow::after { content:" →"; }
.linkbtn { background:none; border:0; padding:0; font:inherit; color:var(--blue); font-weight:600; cursor:pointer; }
.field { display:block; width:100%; border:1px solid var(--line2); border-radius:10px; padding:11px 14px; background:#fff; margin-bottom:12px; transition:border-color .2s ease; }
.field:focus { border-color:var(--blue); outline:none; box-shadow:0 0 0 3px var(--blue-soft); }
.icon-btn { display:inline-grid; place-items:center; position:relative; width:42px; height:42px; border:0; border-radius:10px; background:none; color:var(--ink); cursor:pointer; transition:background-color .2s ease; }
.icon-btn:hover { background:var(--soft); }
.icon-btn svg { width:23px; height:23px; }

/* полоса сверху */
.buy-terms { margin:10px 0 0; font-size:13px; line-height:1.45; color:var(--muted); }
.drawer .buy-terms { text-align:center; }
.legal .facts { display:grid; grid-template-columns:max-content 1fr; gap:8px 20px; margin:12px 0 18px; }
.legal .facts dt { color:var(--muted); }
.legal .facts dd { margin:0; font-weight:600; }
@media (max-width:560px) { .legal .facts { grid-template-columns:1fr; gap:2px; } .legal .facts dd { margin-bottom:8px; } }
.annc { background:var(--soft); color:var(--muted); font-size:13px; border-bottom:1px solid var(--line); }
.annc .wrap { display:flex; justify-content:center; gap:28px; min-height:32px; align-items:center; }
.annc-i { display:inline-flex; align-items:center; gap:7px; }
.annc-i::before { content:""; width:15px; height:15px; background:var(--blue); -webkit-mask:var(--ic) center / contain no-repeat; mask:var(--ic) center / contain no-repeat; flex:none; }

/* значки-маски для списков */
.ic-mail { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ic-chat { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ic-lock { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ic-bolt { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.ic-truck { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h12v9H2zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.ic-globe { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
.ic-device { --ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='15' height='11' rx='1.5'/%3E%3Cpath d='M6 19h7'/%3E%3Crect x='17' y='9' width='5' height='11' rx='1'/%3E%3C/svg%3E"); }

/* шапка */
.hdr { position:sticky; top:0; z-index:40; background:rgba(255, 255, 255, .96); backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line); transition:box-shadow .3s ease; }
.hdr.scrolled { box-shadow:0 6px 24px rgba(14, 23, 38, .07); }
.hdr .wrap { display:flex; align-items:center; gap:20px; height:72px; }
.logo { flex:none; }
.logo img { height:40px; width:auto; }
.mainnav { display:flex; gap:4px; margin-left:12px; flex:1; }
.mainnav a { padding:8px 12px; border-radius:8px; font-size:15px; color:var(--muted); transition:color .2s ease, background-color .2s ease; }
.mainnav a:hover { color:var(--ink); background:var(--soft); }
.mainnav a.on { color:var(--ink); font-weight:650; }
.tools { display:flex; align-items:center; gap:4px; margin-left:auto; }
.burger { display:none; }
.cart-count { position:absolute; top:3px; right:2px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--blue); color:#fff; font-size:11px; font-weight:700; line-height:18px; text-align:center; }

/* выбор языка и валюты */
.loc-btn { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 12px; margin-right:6px; border:1px solid var(--line2); border-radius:999px; background:#fff; cursor:pointer; font-size:14px; font-weight:600; transition:border-color .2s ease; }
.loc-btn:hover { border-color:var(--ink); }
.flag { width:20px; height:15px; border-radius:2px; box-shadow:0 0 0 1px rgba(14, 23, 38, .12); object-fit:cover; flex:none; }
.loc-sep { width:1px; height:16px; background:var(--line2); }
.loc-cur { color:var(--muted); font-weight:600; }
.loc { position:fixed; z-index:61; left:50%; top:50%; width:min(640px, calc(100vw - 32px)); max-height:min(720px, calc(100vh - 48px)); display:flex; flex-direction:column; background:#fff; border-radius:16px; box-shadow:0 30px 80px rgba(14, 23, 38, .25); transform:translate(-50%, -50%); }
.loc.anim { animation:ccd-pop .22s var(--ease) both; }
.loc-head, .drawer-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 16px 12px 24px; border-bottom:1px solid var(--line); }
.loc-head h2, .drawer-head h2 { font-size:18px; letter-spacing:-.2px; }
.loc-body { overflow-y:auto; padding:8px 24px 22px; overscroll-behavior:contain; }
.loc-sub { font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:16px 0 10px; }
.loc-search { margin-bottom:10px; }
.loc-langs { display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; }
.loc-langs a { display:flex; align-items:center; gap:10px; padding:7px 10px; border-radius:8px; font-size:15px; border:1px solid transparent; transition:background-color .15s ease; }
.loc-langs a:hover { background:var(--soft); }
.loc-langs a.on { border-color:var(--blue); background:var(--blue-soft); font-weight:650; }
.loc-curs { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.loc-curs button { display:flex; flex-direction:column; align-items:flex-start; gap:1px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; text-align:left; transition:border-color .15s ease, background-color .15s ease; }
.loc-curs button:hover { border-color:var(--ink); }
.loc-curs button.on { border-color:var(--blue); background:var(--blue-soft); }
.loc-curs b { font-size:14px; }
.loc-curs small { font-size:12px; color:var(--muted); line-height:1.3; }
.loc-note { margin-top:16px; font-size:13px; color:var(--muted); background:var(--soft); border-radius:10px; padding:12px 14px; }
.scrim { position:fixed; inset:0; z-index:55; background:rgba(14, 23, 38, .45); animation:ccd-fade .2s ease both; }

/* меню на телефоне */
.mnav { position:fixed; z-index:39; left:0; right:0; top:var(--hdr-bottom, 108px); bottom:0; background:#fff; overflow-y:auto; animation:ccd-fade .18s ease both; }
.mnav-in { padding:8px 24px 32px; }
.mnav-links { display:flex; flex-direction:column; }
.mnav-links a { padding:15px 0; font-size:18px; border-bottom:1px solid var(--line); }
.mnav-links a.on { font-weight:650; }
.mnav-loc { margin-top:20px; }

/* общие блоки */
section { padding:72px 0; }
section.tight { padding:32px 0 56px; }
section.tight-top { padding-top:24px; }
section.soft, .soft { background:var(--soft); }
.head { text-align:center; max-width:680px; margin:0 auto 36px; }
.head-left { text-align:left; margin-left:0; }
.head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; text-align:left; max-width:none; }
h1 { font-size:46px; line-height:1.08; letter-spacing:-1px; margin-bottom:16px; }
h2 { font-size:32px; line-height:1.15; letter-spacing:-.5px; margin-bottom:8px; }
.head p, .lead, .pagehead p { color:var(--muted); font-size:17px; }
.lead { font-size:19px; margin-bottom:28px; max-width:560px; }
.eyebrow { display:inline-block; font-size:13px; font-weight:700; color:var(--blue); text-transform:uppercase; letter-spacing:.07em; margin-bottom:14px; }
.more { text-align:center; margin-top:28px; }
.pagehead { padding:28px 0 8px; }
.pagehead h1 { font-size:40px; margin-bottom:8px; }
.crumb { list-style:none; display:flex; flex-wrap:wrap; gap:6px; font-size:14px; color:var(--muted); margin:0 0 18px; }
.product-page .crumb, .wrap > .crumb { padding-top:18px; }
.hero-cta.center { justify-content:center; margin-top:24px; }
.crumb li + li::before { content:"›"; margin-right:6px; color:var(--line2); }
.crumb a:hover { color:var(--ink); }

/* первый экран */
.hero { padding:56px 0 48px; background:linear-gradient(180deg, #f6f9fd 0%, #fff 100%); }
.hero-in { display:grid; grid-template-columns:1fr 1.08fr; gap:48px; align-items:center; }
.hero-in > * { min-width:0; }
.hero h1 { font-size:52px; }
.hero-cta { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.ticks { list-style:none; display:flex; flex-wrap:wrap; gap:8px 20px; font-size:14px; color:var(--muted); }
.ticks li::before, .incl li::before { content:""; display:inline-block; width:16px; height:16px; margin-right:7px; vertical-align:-3px; background:var(--ok); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Устройства на одном столе: монитор сзади, ноутбук слева спереди, телефон справа спереди.
   Низ ноутбука и телефона на одной линии (стол), подставка монитора чуть выше: она дальше.
   Снимок экрана снизу, фотореальная рамка сверху (окно экрана прозрачное, проценты замерены по
   исходнику mockup/img/dev2/frames.json). Снимок под язык: img/<язык>/screen_*.webp. */
.devices { position:relative; width:100%; aspect-ratio:100 / 62; }
.dev { position:absolute; filter:drop-shadow(0 18px 22px rgba(14, 30, 60, .18)); }
.dev .frm { position:relative; z-index:1; display:block; width:100%; height:auto; pointer-events:none; user-select:none; }
.dev .scr { position:absolute; z-index:0; display:block; object-fit:cover; object-position:left top; background:#fff; }
.dv-mon { left:19%; top:0; width:74%; }
.dv-mon .scr { left:1.09%; top:1.67%; width:97.82%; height:75.68%; }
.dv-lap { left:0; bottom:4%; width:60%; z-index:2; }
.dv-lap .scr { left:9.3%; top:3.97%; width:81.34%; height:86.66%; }
.dv-pho { right:3%; bottom:4%; width:15.5%; z-index:3; }
.dv-pho .scr { left:4.02%; top:1.71%; width:92.09%; height:96.58%; }
.desk { position:absolute; z-index:0; left:-2%; right:-2%; bottom:1%; height:7%; border-radius:50%; background:radial-gradient(closest-side, rgba(14, 30, 60, .16), transparent); }

/* доверие */
.band-trust { padding:28px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.trust { list-style:none; display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.trust li { display:flex; gap:14px; align-items:flex-start; }
.trust-ic { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--blue-soft); color:var(--blue); }
.trust-ic svg { width:22px; height:22px; }
.trust h3 { font-size:15px; margin-bottom:2px; }
.trust p { font-size:14px; color:var(--muted); line-height:1.45; }

/* витрина */
.pgrid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
.card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:box-shadow .3s ease, border-color .3s ease; }
.card:hover { box-shadow:var(--shadow); border-color:var(--line2); }
.card-img { position:relative; display:block; background:var(--soft); }
.card-img img { width:100%; aspect-ratio:4 / 3; object-fit:cover; transition:transform .6s var(--ease); }
.card:hover .card-img img { transform:scale(1.02); }
.badge { position:absolute; left:12px; top:12px; padding:4px 10px; border-radius:999px; background:#fff; font-size:12px; font-weight:700; box-shadow:var(--shadow-s); }
/* Одна широкая карточка: слева сверху на главной картинке лого, метка справа. */
.pgrid.one .badge { left:auto; right:12px; }
.card-body { display:flex; flex-direction:column; gap:6px; padding:18px 18px 20px; flex:1; }
.card-vendor { font-size:12px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); }
.card h3 { font-size:19px; line-height:1.25; }
.card h3 a:hover { color:var(--blue); }
.card p { font-size:14px; color:var(--muted); }
.card-price { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:6px 0 10px; }
.card-price b { font-size:22px; }
.approx { font-size:13px; color:var(--muted); }
.card-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:auto; }
.pgrid.one { grid-template-columns:1fr; }
.pgrid.one .card { flex-direction:row; }
.pgrid.one .card-img { flex:0 0 54%; }
.pgrid.one .card-img img { height:100%; min-height:340px; aspect-ratio:auto; }
.pgrid.one .card-body { justify-content:center; gap:10px; padding:32px 36px; }
.pgrid.one .card h3 { font-size:26px; }
.pgrid.one .card p { font-size:16px; }
.pgrid.one .card-price b { font-size:30px; }
.pgrid.one .card-actions { margin-top:8px; max-width:440px; }
@media (max-width:820px) {
  .pgrid.one .card { flex-direction:column; }
  .pgrid.one .card-img img { min-height:0; aspect-ratio:4 / 3; }
  .pgrid.one .card-body { padding:18px 18px 20px; }
  .pgrid.one .card h3 { font-size:21px; }
  .pgrid.one .card p { font-size:14px; }
  .pgrid.one .card-price b { font-size:24px; }
}
.card-req { justify-content:center; align-items:flex-start; gap:10px; padding:28px; border-style:dashed; border-color:var(--line2); background:var(--soft); }
.card-req:hover { box-shadow:none; }
.req-ic { display:grid; place-items:center; width:48px; height:48px; border-radius:12px; background:#fff; color:var(--blue); }
.req-ic svg { width:24px; height:24px; }
.card-req .btn { margin-top:8px; }
.cat-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:12px 0 18px; margin-bottom:8px; border-bottom:1px solid var(--line); font-size:14px; color:var(--muted); }
.cat-count { font-weight:650; color:var(--ink); }

/* шаги */
.steps { list-style:none; display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; counter-reset:s; }
.step { position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; padding:26px 24px 24px; }
.step-n { position:absolute; right:20px; top:18px; font-size:44px; font-weight:800; line-height:1; color:var(--soft2); }
.step-ic { display:grid; place-items:center; width:46px; height:46px; border-radius:12px; background:var(--blue-soft); color:var(--blue); margin-bottom:16px; }
.step-ic svg { width:23px; height:23px; }
.step h3 { font-size:18px; margin-bottom:6px; }
.step p { color:var(--muted); font-size:15px; }

/* вопросы */
.faq { max-width:820px; margin:0 auto; display:grid; gap:10px; }
details { background:#fff; border:1px solid var(--line); border-radius:12px; padding:0 20px; }
summary { cursor:pointer; font-weight:650; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 0; }
summary::-webkit-details-marker { display:none; }
summary::after { content:""; flex:none; width:12px; height:12px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:translateY(-3px) rotate(45deg); transition:transform .25s var(--ease); }
details[open] summary::after { transform:translateY(2px) rotate(225deg); }
details p { color:var(--muted); font-size:15px; padding-bottom:16px; }
details p + p { margin-top:-8px; }
details .incl { margin:0 0 16px; }
.faq-note { max-width:820px; margin:22px auto 0; color:var(--muted); font-size:15px; text-align:center; }

/* плашка */
.cta { background:var(--blue); color:#fff; border-radius:18px; padding:40px 44px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.cta h3 { font-size:28px; letter-spacing:-.4px; line-height:1.2; }
.cta p { opacity:.88; margin-top:4px; }

/* страница товара */
.promo { background:var(--blue); color:#fff; }
.promo-in { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:54px; padding-top:8px; padding-bottom:8px; }
.promo-t { font-size:15px; line-height:1.35; }
.promo-n { font-weight:700; }
.promo-s { opacity:.9; }
.product { display:grid; grid-template-columns:minmax(0, 1.12fr) minmax(0, 1fr); gap:48px; padding:0 0 56px; align-items:start; }
.gallery { position:sticky; top:96px; }
.gallery .main { border-radius:14px; overflow:hidden; border:1px solid var(--line); background:#fff; }
.gallery .main img { width:100%; aspect-ratio:4 / 3; object-fit:cover; transition:opacity .25s ease; }
.gallery .main img.fit { object-fit:contain; background:#fff; }
.gallery .main img.swap { opacity:0; }
.thumbs { display:grid; grid-template-columns:repeat(6, 1fr); gap:8px; margin-top:10px; }
.thumb { padding:0; border:2px solid transparent; border-radius:10px; overflow:hidden; background:var(--soft); cursor:pointer; transition:border-color .2s ease; }
.thumb img { aspect-ratio:1 / 1; object-fit:cover; object-position:55% 40%; width:100%; }
.thumb.on { border-color:var(--blue); }
.thumb:hover { border-color:var(--line2); }
.thumb.on:hover { border-color:var(--blue); }
.vendor { font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:6px; }
.buybox h1 { font-size:36px; margin-bottom:8px; }
.buybox .sub { color:var(--muted); margin-bottom:14px; }
.hl { list-style:none; display:grid; gap:7px; margin-bottom:22px; font-size:15px; }
.hl li { display:flex; gap:10px; align-items:flex-start; }
.hl li::before { content:""; flex:none; width:18px; height:18px; margin-top:2px; background:var(--blue); -webkit-mask:var(--ic) center / contain no-repeat; mask:var(--ic) center / contain no-repeat; }
.opt-l { font-size:14px; font-weight:650; margin-bottom:8px; }
.opt-card { display:flex; align-items:center; gap:12px; padding:14px 16px; border:2px solid var(--line2); border-radius:12px; cursor:pointer; }
.opt-card.on { border-color:var(--blue); background:var(--blue-soft); }
.opt-card input { accent-color:var(--blue); width:18px; height:18px; }
.opt-t { font-weight:650; flex:1; }
.opt-p { font-weight:700; }
.pricebox { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:22px 0 4px; }
.price { font-size:40px; font-weight:800; letter-spacing:-1px; line-height:1; }
.pricebox .approx { font-size:15px; }
.vat { font-size:14px; color:var(--muted); margin-bottom:18px; }
.buy-actions { display:grid; gap:10px; }
.payicons { list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 0; }
.payicons img { width:38px; height:24px; }
.box { border:1px solid var(--line); border-radius:12px; padding:16px; background:var(--soft); font-size:14px; color:var(--muted); display:grid; gap:7px; margin:22px 0; }
.box b { color:var(--ink); }
.acc-list { display:grid; gap:8px; }
.incl { list-style:none; display:grid; gap:9px; }
.incl li { padding-left:24px; text-indent:-24px; }
.incl.small { font-size:14px; color:var(--muted); gap:7px; margin:14px 0 18px; }
.stickybuy { position:fixed; z-index:35; left:0; right:0; bottom:0; background:rgba(255, 255, 255, .97); border-top:1px solid var(--line); box-shadow:0 -8px 24px rgba(14, 23, 38, .08); animation:ccd-up .25s var(--ease) both; }
.stickybuy-in { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:68px; }
.sb-t { display:flex; flex-direction:column; line-height:1.3; min-width:0; }
.sb-n { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sb-p { font-weight:700; color:var(--muted); }
.has-sticky .chat-fab { bottom:84px; }
.has-sticky .ftr { padding-bottom:68px; }

/* что внутри, снимки, марки, языки, условия */
.grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.tile { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; }
.ico { width:42px; height:42px; border-radius:10px; display:grid; place-items:center; background:var(--blue-soft); color:var(--blue); margin-bottom:14px; }
.ico svg { width:22px; height:22px; }
.tile h4 { font-size:16px; margin-bottom:6px; }
.tile p { font-size:14px; color:var(--muted); }
.shots { display:grid; grid-template-columns:repeat(2, 1fr); gap:20px; }
.shot { display:block; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:border-color .2s ease, box-shadow .3s ease; }
.shot:hover { border-color:var(--line2); box-shadow:var(--shadow); }
.shot.wide { grid-column:1 / -1; }
.shot img { width:100%; aspect-ratio:1600 / 750; object-fit:contain; background:#fff; border-bottom:1px solid var(--line); }
.shot div { padding:14px 18px 16px; }
.shot h4 { font-size:17px; margin-bottom:4px; }
.shot p { color:var(--muted); font-size:14px; }
.makes { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; padding:22px 0; }
.makes .wrap { display:flex; gap:12px 26px; flex-wrap:wrap; align-items:center; justify-content:center; color:var(--muted); font-weight:700; font-size:15px; }
.mk { display:contents; }
.makes .lbl { font-weight:500; font-size:13px; width:100%; text-align:center; margin-bottom:4px; }
.mq { width:100%; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-track { display:flex; width:max-content; animation:ccd-marquee 60s linear infinite; }
.mq:hover .mq-track { animation-play-state:paused; }
.mq-set { display:flex; gap:40px; padding-right:40px; white-space:nowrap; }
.langs { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.langs span { background:#fff; border:1px solid var(--line); border-radius:20px; padding:6px 14px; font-size:14px; }
.terms { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.terms img { width:100%; height:100%; max-height:440px; object-fit:cover; border-radius:16px; }
.terms .incl { margin:18px 0 0; }
.terms-more { display:flex; gap:18px; flex-wrap:wrap; margin-top:20px; }
.device img { width:100%; max-width:980px; margin:0 auto; border-radius:16px; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.split h2 { font-size:26px; margin-bottom:12px; }
.split p { color:var(--muted); margin-bottom:8px; }

/* корзина: выезжает справа; страница корзины */
.drawer { position:fixed; z-index:60; top:0; right:0; bottom:0; width:min(420px, 100vw); display:flex; flex-direction:column; background:#fff; box-shadow:-20px 0 60px rgba(14, 23, 38, .18); }
.drawer.anim { animation:ccd-slide .28s var(--ease) both; }
.drawer-body { flex:1; overflow-y:auto; padding:8px 24px; }
.drawer-empty { flex:1; padding:32px 24px; text-align:center; color:var(--muted); }
.drawer-empty .btn { margin-top:16px; }
.drawer-foot { padding:16px 24px 20px; border-top:1px solid var(--line); background:#fff; }
.drawer-cartlink { display:block; text-align:center; margin-top:10px; font-size:14px; }
.drawer-foot .payicons { justify-content:center; }
.line { display:grid; grid-template-columns:72px 1fr auto; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.line:last-child { border-bottom:0; }
.line img { width:72px; height:54px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.line-t { font-weight:650; line-height:1.3; }
.line-t a:hover { color:var(--blue); }
.line-m { font-size:13px; color:var(--muted); }
.line-p { text-align:right; font-weight:700; white-space:nowrap; }
.line-x { display:block; margin-top:4px; margin-left:auto; background:none; border:0; padding:0; font-size:13px; color:var(--muted); cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.line-x:hover { color:var(--bad); }
.sum { display:flex; justify-content:space-between; align-items:baseline; font-size:17px; }
.sum b { font-size:24px; }
.sum-approx { text-align:right; font-size:13px; color:var(--muted); min-height:18px; }
.fine { font-size:12.5px; color:var(--muted); margin:8px 0 12px; line-height:1.45; }
.cartpage { display:grid; grid-template-columns:minmax(0, 1fr) 380px; gap:40px; align-items:start; }
.cart-lines .line { grid-template-columns:110px 1fr auto; }
.cart-lines .line img { width:110px; height:82px; }
.cart-empty { padding:24px 0; color:var(--muted); }
.cart-empty .btn { margin-top:14px; }
.cartpage .back { display:inline-block; margin-top:18px; }
.cart-sum { background:var(--soft); border:1px solid var(--line); border-radius:14px; padding:22px; position:sticky; top:96px; }
.cart-sum h2 { font-size:19px; margin-bottom:14px; }
.cart-sum .fine { margin-top:12px; }
.cart-sum .fine .link { font-weight:600; }

/* кабинет */
.acc { max-width:860px; }
.acc-login { max-width:460px; margin:0 auto; }
.acc-login h1, .acc-head h1 { font-size:34px; margin-bottom:6px; }
.acc-login > p { color:var(--muted); margin-bottom:18px; }
.acc-code { font-size:24px; letter-spacing:6px; text-align:center; font-weight:700; }
.acc-small { margin-top:14px; font-size:14px; color:var(--muted); }
.acc-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; margin-bottom:18px; }
.acc-card h4 { font-size:17px; margin-bottom:10px; }
.acc-card p { color:var(--muted); margin-bottom:6px; }
.acc-card .btn { margin-top:10px; }
.acc-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.acc-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.acc-status { display:inline-block; padding:4px 12px; border-radius:999px; font-weight:700; font-size:14px; margin-bottom:8px; }
.acc-status.on { background:var(--ok-soft); color:var(--ok); }
.acc-status.off { background:#fdecec; color:var(--bad); }
.acc-orders { width:100%; border-collapse:collapse; font-size:14px; }
.acc-orders th { text-align:left; color:var(--muted); font-weight:600; padding:6px 0; border-bottom:1px solid var(--line); }
.acc-orders td { padding:8px 0; border-bottom:1px solid var(--line); }
.pill { white-space:nowrap; border:1px solid var(--line2); border-radius:8px; padding:6px 12px; font-size:14px; background:#fff; cursor:pointer; }

/* контакты и формы */
.contact { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.ccard { background:#fff; border:1px solid var(--line); border-radius:14px; padding:28px; }
.ccard h4 { font-size:18px; margin-bottom:8px; }
.ccard p { color:var(--muted); }
.cform label { display:block; font-size:14px; font-weight:600; margin:4px 0 6px; }
.cform > p { margin-bottom:14px; }
.cform .field.bad { border-color:var(--bad); }
.form-note { margin-top:10px; font-size:14px; min-height:20px; }
.form-note:empty { min-height:0; margin:0; }
.form-note.ok { color:var(--ok); font-weight:600; }
.form-note.err { color:var(--bad); }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* правовые страницы, спасибо */
.legal { max-width:780px; }
.legal h1 { font-size:40px; margin-bottom:6px; }
.legal .upd { color:var(--muted); font-size:14px; margin-bottom:22px; }
.legal h2 { font-size:21px; letter-spacing:-.2px; margin:30px 0 8px; }
.legal p { margin-bottom:6px; }
.legal ul { margin:6px 0 10px 22px; }
.legal li { margin-bottom:4px; }
.thanks { max-width:620px; text-align:center; padding-top:40px; padding-bottom:40px; }
.thanks h1 { font-size:38px; }
.thanks p { color:var(--muted); font-size:17px; margin-top:10px; }
.ok-mark { width:64px; height:64px; margin:0 auto 18px; border-radius:50%; display:grid; place-items:center; background:var(--ok); color:#fff; font-size:32px; font-weight:800; }

/* подвал */
.ftr { margin-top:24px; background:var(--soft); border-top:1px solid var(--line); font-size:14px; color:var(--muted); }
.ftr-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; padding-top:48px; padding-bottom:28px; }
.ftr-brand img { height:34px; width:auto; margin-bottom:14px; }
.ftr-brand p { max-width:320px; margin-bottom:8px; }
.ftr-brand a:hover, .ftr-col a:hover { color:var(--ink); }
.ftr-col h5 { font-size:13px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink); margin-bottom:12px; }
.ftr-col div { display:flex; flex-direction:column; gap:9px; }
.ftr-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:20px; padding-bottom:20px; border-top:1px solid var(--line); }
.ftr-bottom .payicons { margin:0; }
.ftr-legal { padding-bottom:26px; font-size:13px; }

/* чат поддержки */
.chat-fab { position:fixed; right:20px; bottom:20px; z-index:30; display:flex; align-items:center; gap:8px; height:52px; padding:0 20px 0 16px; border:0; border-radius:999px; background:var(--blue); color:#fff; font-weight:700; font-size:15px; box-shadow:0 10px 30px rgba(10, 80, 200, .3); cursor:pointer; transition:background-color .2s ease, bottom .25s var(--ease); }
.chat-fab:hover { background:var(--blue-d); }
.chat-fab svg { width:22px; height:22px; }
.chat-fab .dot { position:absolute; top:6px; right:8px; width:12px; height:12px; border-radius:50%; background:var(--bad); border:2px solid #fff; }
.chat { position:fixed; right:20px; bottom:20px; z-index:50; width:380px; height:580px; max-height:calc(100vh - 40px); display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 24px 70px rgba(14, 23, 38, .22); overflow:hidden; }
.chat.anim { animation:ccd-pop .22s var(--ease) both; }
.chat-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 12px 12px 16px; border-bottom:1px solid var(--line); background:#fff; }
.chat-who { display:flex; align-items:center; gap:12px; min-width:0; }
.cw-n { font-weight:700; font-size:15px; line-height:1.3; }
.cw-s { font-size:13px; color:var(--muted); line-height:1.3; }
.cw-s.on { color:var(--ok); font-weight:600; }
.chat-ava { position:relative; flex:none; width:40px; height:40px; }
.ava-i { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--blue); color:#fff; font-size:15px; font-weight:700; letter-spacing:.02em; }
.cw-r { font-size:12.5px; color:var(--muted); line-height:1.3; }
.chat-hours { margin:2px 4px 0; font-size:12.5px; color:var(--muted); text-align:center; }
.ftr-hours, .faq-hours { color:var(--muted); font-size:14px; }
mark.tbd { background:#fff3b0; color:#7a5200; padding:0 4px; border-radius:4px; font-weight:700; }
.chat-dot { position:absolute; right:0; bottom:0; width:12px; height:12px; border-radius:50%; background:#aab4c3; border:2px solid #fff; }
.chat-dot.on { background:#22c55e; }
.chat-x { display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:8px; background:none; color:var(--muted); cursor:pointer; }
.chat-x:hover { background:var(--soft); color:var(--ink); }
.chat-x svg { width:20px; height:20px; }
.chat-log { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:8px; background:var(--soft); overscroll-behavior:contain; }
.msg { max-width:84%; padding:9px 12px; border-radius:14px; font-size:14px; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
.msg.them { align-self:flex-start; background:#fff; border:1px solid var(--line); border-bottom-left-radius:4px; }
.msg.me { align-self:flex-end; background:var(--blue); color:#fff; border-bottom-right-radius:4px; }
.msg.in { animation:ccd-fade .25s ease both; }
.msg.pending { opacity:.6; }
.msg.failed { background:var(--bad); cursor:pointer; }
.msg.file { padding:4px; background:#fff; border:1px solid var(--line); color:var(--ink); }
.msg.file.failed { border-color:var(--bad); }
.msg.file img { display:block; max-width:220px; max-height:220px; border-radius:10px; object-fit:cover; }
.msg.file a { display:block; }
.file-chip { display:flex; align-items:center; gap:10px; padding:8px 10px; font-size:13px; }
.file-chip i { flex:none; display:grid; place-items:center; width:36px; height:36px; border-radius:8px; background:#fdecec; color:var(--bad); font-style:normal; font-size:11px; font-weight:800; }
.file-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:170px; }
.typing { align-self:flex-start; display:flex; gap:4px; padding:12px 14px; background:#fff; border:1px solid var(--line); border-radius:14px; border-bottom-left-radius:4px; }
.typing i { width:7px; height:7px; border-radius:50%; background:#9aa6b8; animation:ccd-dot 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay:.15s; }
.typing i:nth-child(3) { animation-delay:.3s; }
.chat-form { padding:10px; border-top:1px solid var(--line); display:grid; gap:8px; background:#fff; }
.chat-form .field { margin:0; padding:9px 12px; font-size:14px; }
.chat-file { display:flex; align-items:center; gap:10px; padding:6px 8px; border:1px solid var(--line); border-radius:10px; background:var(--soft); font-size:13px; }
.chat-file-thumb { flex:none; width:40px; height:40px; border-radius:6px; overflow:hidden; display:grid; place-items:center; background:#fdecec; color:var(--bad); font-size:11px; font-weight:800; }
.chat-file-thumb img { width:100%; height:100%; object-fit:cover; }
.chat-file-name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-file-x { display:grid; place-items:center; width:30px; height:30px; border:0; border-radius:6px; background:none; color:var(--muted); cursor:pointer; }
.chat-file-x svg { width:16px; height:16px; }
.chat-row { display:flex; gap:6px; align-items:flex-end; }
.chat-row textarea { flex:1; resize:none; min-height:44px; max-height:120px; }
.chat-attach { position:relative; flex:none; display:grid; place-items:center; width:40px; height:44px; border-radius:10px; color:var(--muted); cursor:pointer; transition:background-color .2s ease, color .2s ease; }
.chat-attach:hover { background:var(--soft); color:var(--ink); }
.chat-attach svg { width:22px; height:22px; }
.chat-attach input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.chat-send { flex:none; width:46px; min-height:44px; padding:0; }
.chat-send svg { width:20px; height:20px; }
.chat-note { font-size:12px; color:var(--muted); }
.chat.drag .chat-log { outline:2px dashed var(--blue); outline-offset:-8px; }

/* движение: коротко и спокойно; «меньше движения» в системе = без анимаций */
@keyframes ccd-fade { from { opacity:0; } to { opacity:1; } }
@keyframes ccd-pop { from { opacity:0; transform:translate(-50%, -48%) scale(.98); } to { opacity:1; transform:translate(-50%, -50%); } }
@keyframes ccd-slide { from { transform:translateX(100%); } to { transform:none; } }
@keyframes ccd-up { from { transform:translateY(100%); } to { transform:none; } }
@keyframes ccd-marquee { to { transform:translateX(-50%); } }
@keyframes ccd-dot { 0%, 60%, 100% { opacity:.35; transform:none; } 30% { opacity:1; transform:translateY(-3px); } }
.chat.anim { animation-name:ccd-chat; }
@keyframes ccd-chat { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
details:not(.langsw)::details-content { block-size:0; overflow:hidden; transition:block-size .3s var(--ease), content-visibility .3s allow-discrete; }
details[open]::details-content { block-size:auto; }
:root { interpolate-size:allow-keywords; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* планшет */
@media (max-width:1080px) {
  .mainnav a { padding:8px 9px; font-size:14px; }
  .hero h1 { font-size:44px; }
  .trust { grid-template-columns:repeat(2, 1fr); }
  .grid { grid-template-columns:repeat(2, 1fr); }
  .ftr-grid { grid-template-columns:1fr 1fr 1fr; }
  .ftr-brand { grid-column:1 / -1; }
}
@media (max-width:960px) {
  .hdr .wrap { height:64px; gap:8px; }
  .burger { display:inline-grid; margin-left:-8px; }
  .mainnav, .hide-m { display:none; }
  .logo { position:absolute; left:50%; transform:translateX(-50%); }
  .logo img { height:30px; }
  .hdr .wrap { position:relative; }
  .hero { padding:32px 0 40px; }
  .hero-in { grid-template-columns:1fr; gap:36px; }
  .hero-visual { max-width:640px; width:100%; margin:0 auto; }
  .product, .contact, .terms, .split, .cartpage { grid-template-columns:1fr; }
  .gallery { position:static; }
  .pgrid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns:1fr; }
  .shots { grid-template-columns:1fr; }
  .acc-grid { grid-template-columns:1fr; }
  .cart-sum { position:static; }
  .loc-langs, .loc-curs { grid-template-columns:repeat(2, 1fr); }
  .head-row { flex-direction:column; align-items:flex-start; }
}
/* телефон */
@media (max-width:640px) {
  .wrap { padding:0 16px; }
  section { padding:48px 0; }
  section.tight { padding:20px 0 40px; }
  h1, .hero h1 { font-size:32px; letter-spacing:-.6px; }
  h2 { font-size:26px; }
  .pagehead h1, .legal h1 { font-size:30px; }
  .buybox h1 { font-size:28px; }
  .lead { font-size:17px; }
  .annc .wrap { gap:16px; font-size:12px; }
  .annc-i { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; display:block; }
  .annc-i::before { display:inline-block; vertical-align:-3px; margin-right:6px; }
  .hide-s { display:none !important; }
  .hero-cta .btn { flex:1; padding-left:14px; padding-right:14px; }
  .ticks { flex-direction:column; gap:6px; }
  .trust { grid-template-columns:1fr; gap:16px; }
  .pgrid { grid-template-columns:1fr; }
  .grid { grid-template-columns:1fr 1fr; gap:10px; }
  .tile { padding:16px; }
  .cta { padding:28px 22px; }
  .cta h3 { font-size:23px; }
  .cta .btn { width:100%; }
  .thumbs { gap:6px; }
  .product { gap:24px; padding-bottom:32px; }
  .price { font-size:34px; }
  .ftr-grid { grid-template-columns:1fr 1fr; gap:24px; padding-top:36px; }
  .ftr-bottom { flex-direction:column; align-items:flex-start; }
  .loc { left:0; right:0; top:auto; bottom:0; width:100%; max-height:88vh; border-radius:18px 18px 0 0; transform:none; }
  .loc.anim { animation:ccd-up .25s var(--ease) both; }
  .loc-body { padding:4px 16px 24px; }
  .chat { left:8px; right:8px; bottom:8px; width:auto; height:calc(100% - 16px); max-height:none; }
  .chat-fab { right:14px; bottom:14px; width:54px; height:54px; padding:0; justify-content:center; font-size:0; gap:0; }
  .chat-fab svg { width:24px; height:24px; }
  .has-sticky .chat-fab { bottom:80px; }
  .chat-form .field { font-size:16px; }
  .cart-lines .line { grid-template-columns:76px 1fr auto; }
  .cart-lines .line img { width:76px; height:57px; }
  .promo-s { font-size:13px; }
  .split h2 { font-size:22px; }
}
@media (max-width:380px) {
  .loc-btn { padding:0 9px; }
  .card-actions { grid-template-columns:1fr; }
}
