/* ============ MUHAMMAD OTOMOTIV — STYLES ============ */
:root {
  --red: #E10600;
  --red-dark: #B00500;
  --red-soft: #FFE9E8;
  --black: #0A0A0A;
  --ink: #141414;
  --ink-2: #1E1E1E;
  --white: #FFFFFF;
  --paper: #F5F5F3;
  --line: #E6E6E2;
  --line-dark: #2A2A2A;
  --muted: #74746F;
  --muted-dark: #9A9A95;
  --green: #12A150;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.18);
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--white); color: var(--ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }
.hidden { display: none !important; }
::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(225,6,0,.35); }
.btn-red:hover { background: var(--red-dark); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: #2a2a2a; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--red); color: #fff; }
.btn-ghost { border: 2px solid currentColor; }
.btn-ghost:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--paper); }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.badge:empty, .badge[data-n="0"] { display: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; font-weight: 600; }
.textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--black); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.input.err { border-color: var(--red); background: #fff8f8; }
.err-msg { color: var(--red); font-size: 12.5px; font-weight: 700; min-height: 0; }
.phone-row { display: flex; gap: 8px; }
.phone-row .select { width: 110px; flex: none; }
.pass-wrap { position: relative; }
.pass-wrap .input { padding-right: 52px; }
.pass-eye { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.pass-eye:hover { background: var(--paper); color: var(--black); }
.strength { display: flex; gap: 5px; margin-top: 2px; }
.strength i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.strength.s1 i:nth-child(-n+1) { background: var(--red); }
.strength.s2 i:nth-child(-n+2) { background: #F59E0B; }
.strength.s3 i:nth-child(-n+3) { background: #84CC16; }
.strength.s4 i { background: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; user-select: none; }
.check input { appearance: none; width: 20px; height: 20px; border: 2px solid #bbb; border-radius: 6px; flex: none; margin-top: 1px; display: grid; place-items: center; transition: .2s; cursor: pointer; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px,-1px); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s; }
.radio-card:hover { border-color: #bbb; }
.radio-card input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #bbb; flex: none; cursor: pointer; }
.radio-card input:checked { border: 6px solid var(--red); }
.radio-card:has(input:checked) { border-color: var(--black); background: var(--paper); }
.radio-card b { display: block; }
.radio-card small { color: var(--muted); }
.radio-card .rc-price { margin-left: auto; font-weight: 800; }

/* ============ AUTH ============ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-left { background: var(--black); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-left::before { content: ""; position: absolute; right: -260px; top: -260px; width: 560px; height: 560px; border: 70px solid var(--red); border-radius: 50%; opacity: .95; }
.auth-left::after { content: ''; position: absolute; left: -40px; bottom: 120px; width: 120%; height: 14px; background: repeating-linear-gradient(90deg, var(--red) 0 80px, transparent 80px 110px); transform: rotate(-8deg); opacity: .8; }
.auth-left > * { position: relative; z-index: 1; }
.auth-slide-num { font-family: var(--display); font-size: 13px; letter-spacing: .2em; color: var(--muted-dark); }
.auth-title { font-family: var(--display); font-size: clamp(38px, 5vw, 76px); line-height: .98; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; margin: 30px 0 22px; }
.auth-sub { color: #bdbdb8; max-width: 440px; font-size: 16px; }
.auth-stats { display: flex; gap: 40px; margin-top: 40px; }
.auth-stats b { display: block; font-family: var(--display); font-size: 34px; }
.auth-stats span { color: var(--muted-dark); font-size: 13px; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-box { width: 100%; max-width: 440px; animation: fadeUp .5s ease both; }
.auth-tabs { display: flex; background: var(--paper); border-radius: 999px; padding: 5px; margin-bottom: 30px; }
.auth-tabs button { flex: 1; height: 44px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); transition: .25s; }
.auth-tabs button.on { background: var(--black); color: #fff; }
.auth-box h2 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; margin-bottom: 6px; text-transform: uppercase; }
.auth-box > p { color: var(--muted); margin-bottom: 26px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }
.auth-foot a { color: var(--red); font-weight: 800; cursor: pointer; }

/* ============ LOGO ============ */
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { width: 44px; height: 44px; background: var(--red); border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 22px; position: relative; overflow: hidden; }
.logo-mark::after { content: ''; position: absolute; width: 140%; height: 7px; background: var(--black); transform: rotate(-35deg); bottom: 9px; left: -20%; opacity: .9; }
.logo-text { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-size: 17px; text-transform: uppercase; }
.logo-text small { display: block; font-size: 10.5px; letter-spacing: .38em; color: var(--red); font-weight: 700; margin-top: 4px; }
.on-dark .logo-text, .logo.light .logo-text { color: #fff; }

/* ============ HEADER ============ */
.topbar { background: var(--black); color: #c9c9c4; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar-left { display: flex; gap: 22px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar-left span::before { content: '●'; color: var(--red); margin-right: 8px; font-size: 8px; vertical-align: 2px; }
.topbar-right { display: flex; gap: 20px; flex: none; }
.topbar a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 18px; height: 78px; }
.cat-btn { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; background: var(--black); color: #fff; border-radius: 12px; font-weight: 800; font-size: 14px; flex: none; transition: background .2s; }
.cat-btn:hover, .cat-btn.on { background: var(--red); }
.burger { width: 18px; height: 12px; position: relative; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5px; } .burger i:nth-child(3) { top: 10px; }
.cat-btn.on .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.cat-btn.on .burger i:nth-child(2) { opacity: 0; }
.cat-btn.on .burger i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.search { flex: 1; position: relative; min-width: 0; }
.search form { display: flex; height: 48px; border: 2px solid var(--black); border-radius: 12px; overflow: hidden; background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-weight: 600; }
.search button[type=submit] { width: 56px; background: var(--black); color: #fff; display: grid; place-items: center; transition: background .2s; }
.search button[type=submit]:hover { background: var(--red); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; border: 1px solid var(--line); }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.active { background: var(--paper); }
.suggest .s-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; }
.suggest .s-ico svg { width: 24px; height: 24px; }
.suggest .s-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.suggest .s-meta { font-size: 12px; color: var(--muted); }
.suggest .s-price { margin-left: auto; font-weight: 800; white-space: nowrap; }
.suggest .s-all { justify-content: center; font-weight: 800; color: var(--red); border: 0; }
.suggest .s-empty { padding: 18px; color: var(--muted); text-align: center; }
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.garage-chip { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--paper); font-size: 13px; font-weight: 700; max-width: 210px; transition: .2s; }
.garage-chip:hover { background: var(--red-soft); }
.garage-chip svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.garage-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-btn { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; position: relative; margin-left: 6px; transition: background .2s; }
.cart-btn:hover { background: var(--red-dark); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .badge { border-color: var(--red); background: var(--black); top: -6px; right: -6px; }
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: center; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: #444; transition: .2s; }
.nav a:hover { background: var(--paper); color: var(--black); }
.nav a.on { background: var(--black); color: #fff; }
.nav a.hot { color: var(--red); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 40; animation: fadeDown .25s ease; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 24px; padding-bottom: 28px; }
.mega a { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; transition: .2s; }
.mega a:hover { background: var(--paper); }
.mega a:hover .m-ico { background: var(--red); }
.mega .m-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; transition: .2s; }
.mega .m-ico svg { width: 30px; height: 30px; }
.mega b { display: block; font-size: 14.5px; }
.mega small { color: var(--muted); font-size: 12.5px; }

/* ============ HERO (slides) ============ */
.hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.slides { position: relative; height: 610px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .wrap { height: 100%; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; }
.slide-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.slide-kicker::before { content: ''; width: 36px; height: 2px; background: var(--red); }
.slide h1 { font-family: var(--display); font-size: clamp(36px, 5.2vw, 74px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; margin: 20px 0 22px; font-weight: 800; }
.slide p { color: #bdbdb8; font-size: 17px; max-width: 480px; margin-bottom: 32px; }
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.slide.on .anim { animation: fadeUp .7s ease both; }
.slide.on .anim:nth-child(2) { animation-delay: .08s; }
.slide.on .anim:nth-child(3) { animation-delay: .16s; }
.slide.on .anim:nth-child(4) { animation-delay: .24s; }
.slide-visual { position: relative; height: 420px; display: grid; place-items: center; }
.slide-visual .ring { position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 48px solid var(--red); }
.slide-visual .ring.ring2 { width: 520px; height: 520px; border: 1px solid #333; }
.slide-visual .big-ico { width: 230px; height: 230px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.slide.on .big-ico { animation: floaty 5s ease-in-out infinite, zoomIn .8s ease both; }
.slide-visual .tag { position: absolute; z-index: 2; background: #fff; color: var(--black); border-radius: 14px; padding: 12px 16px; font-weight: 800; box-shadow: var(--shadow-lg); font-size: 14px; }
.slide-visual .tag small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.slide-visual .tag.t1 { top: 40px; right: 10px; }
.slide-visual .tag.t2 { bottom: 50px; left: 0; background: var(--red); color: #fff; }
.slide-visual .tag.t2 small { color: #ffd1cf; }
.slide-bignum { position: absolute; right: 24px; bottom: -40px; font-family: var(--display); font-size: 260px; font-weight: 900; color: rgba(255,255,255,.035); line-height: 1; pointer-events: none; }
.hero-ctrl { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 5; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 20px; }
.slide-count { font-family: var(--display); font-size: 14px; letter-spacing: .1em; }
.slide-count b { color: var(--red); font-size: 22px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 4px; border-radius: 2px; background: #3a3a3a; overflow: hidden; position: relative; }
.dots button.on::after { content: ''; position: absolute; inset: 0; background: var(--red); animation: progress 6s linear both; }
.hero-arrows { margin-left: auto; display: flex; gap: 8px; }
.hero-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #3a3a3a; display: grid; place-items: center; transition: .2s; }
.hero-arrows button:hover { background: var(--red); border-color: var(--red); }

/* ============ SECTIONS (presentation-like) ============ */
.section { padding: 90px 0; }
.section.dark { background: var(--black); color: #fff; }
.section.paper { background: var(--paper); }
.sec-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 42px; flex-wrap: wrap; }
.sec-num { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--red); padding-bottom: 10px; }
.sec-title { font-family: var(--display); font-size: clamp(28px, 3.6vw, 50px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; font-weight: 800; }
.sec-sub { color: var(--muted); max-width: 520px; margin-top: 12px; font-size: 16px; }
.dark .sec-sub { color: var(--muted-dark); }
.sec-line { flex: 1; height: 2px; background: var(--line); margin-bottom: 14px; min-width: 40px; }
.dark .sec-line { background: var(--line-dark); }
.sec-link { font-weight: 800; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; padding-bottom: 8px; transition: color .2s, gap .2s; }
.sec-link:hover { color: var(--red); gap: 12px; }

/* Car picker */
.picker { background: var(--red); color: #fff; border-radius: 26px; padding: 40px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.picker::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(0,0,0,.12); }
.picker h3 { font-family: var(--display); font-size: 30px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.picker p { opacity: .85; margin-top: 10px; }
.picker-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; position: relative; z-index: 1; }
.picker-form .select { border: 0; height: 56px; }
.picker-form .btn { height: 56px; }
.picker-saved { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.picker-saved button { text-decoration: underline; font-weight: 800; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.cat-card { position: relative; border-radius: 22px; padding: 26px; min-height: 210px; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .3s, background .3s, color .3s; }
.cat-card:hover { transform: translateY(-6px); background: var(--black); color: #fff; }
.cat-card .c-num { font-family: var(--display); font-size: 12px; color: var(--muted); }
.cat-card:hover .c-num { color: var(--red); }
.cat-card .c-ico { position: absolute; right: -14px; top: 22px; width: 130px; height: 130px; color: var(--black); opacity: .12; transition: .4s; }
.cat-card:hover .c-ico { color: var(--red); opacity: 1; transform: rotate(-10deg) scale(1.05); }
.cat-card h3 { font-family: var(--display); font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; position: relative; }
.cat-card p { font-size: 13px; color: var(--muted); margin-top: 6px; position: relative; }
.cat-card:hover p { color: var(--muted-dark); }
.cat-card .c-count { font-weight: 800; font-size: 13px; margin-top: 14px; position: relative; display: flex; align-items: center; gap: 6px; }
.cat-card.feature { grid-column: span 2; background: var(--black); color: #fff; }
.cat-card.feature .c-ico { color: var(--red); opacity: 1; width: 190px; height: 190px; right: 10px; top: 10px; }
.cat-card.feature p { color: var(--muted-dark); }
.cat-card.feature:hover { background: var(--red); }
.cat-card.feature:hover .c-ico { color: #fff; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { aspect-ratio: 1 / .82; background: radial-gradient(circle at 70% 30%, #2a2a2a, var(--black) 70%); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.card-img::before { content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 22px solid var(--red); right: -60px; bottom: -70px; opacity: .9; transition: .4s; }
.card:hover .card-img::before { transform: scale(1.15); }
.card-img .ico { width: 46%; height: 46%; position: relative; z-index: 1; transition: transform .4s; }
.card:hover .card-img .ico { transform: scale(1.08) rotate(-4deg); }
.card-brand { position: absolute; left: 14px; bottom: 12px; font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #bbb; z-index: 1; }
.labels { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.label { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.label.sale { background: var(--red); color: #fff; }
.label.new { background: #fff; color: var(--black); }
.label.hit { background: #FACC15; color: var(--black); }
.fav-btn { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; z-index: 3; transition: transform .2s; color: var(--black); }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn.on { color: var(--red); }
.fav-btn.on svg { fill: var(--red); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-weight: 800; font-size: 15px; line-height: 1.3; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.card-title:hover { color: var(--red); }
.rating { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.rating .stars { color: #F59E0B; letter-spacing: 1px; }
.rating span { color: var(--muted); font-weight: 600; }
.stock { font-size: 12.5px; font-weight: 700; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.stock.low { color: #D97706; } .stock.low::before { background: #D97706; }
.stock.in { color: var(--green); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price s { display: block; font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.add-btn { height: 44px; padding: 0 16px; border-radius: 12px; background: var(--black); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: .2s; flex: none; }
.add-btn:hover { background: var(--red); }
.add-btn.in-cart { background: var(--green); }
.add-btn svg { width: 18px; height: 18px; }
.compat-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--green); background: #E7F7EE; padding: 3px 8px; border-radius: 6px; margin-top: 8px; align-self: flex-start; }
.compat-tag.no { color: #999; background: var(--paper); }

/* list view */
.grid.list { grid-template-columns: 1fr; }
.grid.list .card { flex-direction: row; }
.grid.list .card-img { width: 230px; aspect-ratio: auto; flex: none; }
.grid.list .card-body { padding: 22px; }
.grid.list .card-title { font-size: 18px; -webkit-line-clamp: 1; min-height: 0; }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; padding-bottom: 6px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: .2s; }
.carousel-nav button:hover { background: var(--black); color: #fff; border-color: var(--black); }
.dark .carousel-nav button { border-color: var(--line-dark); }
.dark .carousel-nav button:hover { background: var(--red); border-color: var(--red); }

/* Makes */
.makes-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.make-card { border: 1px solid var(--line-dark); border-radius: 18px; padding: 24px 16px; text-align: center; transition: .25s; position: relative; overflow: hidden; }
.make-card:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); }
.make-card .mk-logo { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid #444; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; transition: .25s; }
.make-card:hover .mk-logo { background: #fff; color: var(--red); border-color: #fff; }
.make-card b { display: block; font-size: 15px; }
.make-card small { color: var(--muted-dark); font-size: 12px; }
.make-card:hover small { color: #ffd1cf; }
.section:not(.dark) .make-card { border-color: var(--line); }
.section:not(.dark) .make-card .mk-logo { border-color: #ddd; }
.section:not(.dark) .make-card:hover { color: #fff; }

/* Brands marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; color: #c8c8c4; white-space: nowrap; transition: color .2s; }
.marquee a:hover { color: var(--red); }

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: 22px; overflow: hidden; }
.why-item { background: var(--black); padding: 36px 28px; }
.why-item b { font-family: var(--display); font-size: 52px; line-height: 1; color: #fff; display: block; letter-spacing: -.03em; }
.why-item b em { color: var(--red); font-style: normal; }
.why-item h4 { margin: 18px 0 6px; font-size: 16px; }
.why-item p { color: var(--muted-dark); font-size: 14px; }

/* Promo banners */
.promos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.promo { border-radius: 26px; padding: 44px; min-height: 300px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.promo.p1 { background: var(--red); color: #fff; }
.promo.p2 { background: var(--black); color: #fff; }
.promo h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; max-width: 420px; position: relative; z-index: 1; }
.promo p { opacity: .85; margin-top: 12px; max-width: 360px; position: relative; z-index: 1; }
.promo .btn { align-self: flex-start; margin-top: 24px; position: relative; z-index: 1; }
.promo .p-ico { position: absolute; right: -30px; bottom: -40px; width: 280px; height: 280px; opacity: .2; }
.promo-code { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.2); border: 2px dashed rgba(255,255,255,.6); padding: 8px 14px; border-radius: 10px; font-family: var(--display); font-size: 18px; margin-top: 16px; cursor: pointer; position: relative; z-index: 1; align-self: flex-start; }
.promo-code:hover { background: rgba(0,0,0,.35); }

/* Newsletter */
.cta { background: var(--black); color: #fff; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: 'M'; position: absolute; right: 30px; top: -70px; font-family: var(--display); font-size: 380px; font-weight: 900; color: rgba(225,6,0,.12); line-height: 1; }
.cta h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 42px); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.cta form { display: flex; gap: 10px; position: relative; z-index: 1; }
.cta .input { border-color: #333; background: #161616; color: #fff; }
.cta .input:focus { border-color: var(--red); }

/* ============ PAGE / BREADCRUMBS ============ */
.page-head { background: var(--black); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid var(--red); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 58px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; margin-top: 16px; }
.page-head p { color: var(--muted-dark); margin-top: 12px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted-dark); flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs.light { color: var(--muted); }
.crumbs.light a:hover { color: var(--red); }

/* ============ CATALOG ============ */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 40px 0 90px; align-items: start; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.f-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.f-group:first-child { padding-top: 0; }
.f-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-weight: 800; display: flex; justify-content: space-between; }
.f-list { display: flex; flex-direction: column; gap: 9px; max-height: 260px; overflow-y: auto; }
.f-list .check { font-size: 14px; font-weight: 600; }
.f-list .check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.f-price { display: flex; gap: 8px; }
.f-price .input { height: 44px; font-size: 14px; padding: 0 12px; }
.f-reset { width: 100%; margin-top: 18px; }
.filters-head { display: none; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { font-weight: 700; color: var(--muted); margin-right: auto; }
.toolbar .count b { color: var(--black); }
.toolbar .select { height: 44px; width: auto; font-size: 14px; }
.view-toggle { display: flex; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.view-toggle button { width: 42px; height: 40px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.on { background: var(--black); color: #fff; }
.filter-toggle { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 700; }
.chip button { width: 18px; height: 18px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 11px; line-height: 1; }
.chip.car { background: var(--red-soft); color: var(--red); }
.chip.car button { background: var(--red); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pager button { min-width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--line); font-weight: 800; transition: .2s; }
.pager button:hover { border-color: var(--black); }
.pager button.on { background: var(--black); color: #fff; border-color: var(--black); }
.empty { text-align: center; padding: 70px 20px; }
.empty .e-ico { width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--red); }
.empty .e-ico svg { width: 56px; height: 56px; }
.empty h3 { font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.empty p { color: var(--muted); margin: 8px 0 22px; }

/* ============ PRODUCT ============ */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; padding: 30px 0 60px; }
.gallery-main { aspect-ratio: 1 / .9; background: radial-gradient(circle at 70% 25%, #2b2b2b, var(--black) 70%); border-radius: 26px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.gallery-main::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 50px solid var(--red); right: -140px; bottom: -160px; }
.gallery-main .ico { width: 52%; height: 52%; position: relative; z-index: 1; transition: transform .5s; }
.gallery-main .g-brand { position: absolute; left: 26px; bottom: 22px; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: #aaa; font-size: 13px; z-index: 1; }
.gallery-main .labels { left: 20px; top: 20px; }
.gallery-main .label { font-size: 13px; padding: 6px 12px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1; background: var(--black); color: #fff; border-radius: 16px; display: grid; place-items: center; border: 3px solid transparent; transition: .2s; }
.thumbs button.on { border-color: var(--red); }
.thumbs button svg { width: 50%; height: 50%; }
.pd-info .crumbs { margin-bottom: 18px; }
.pd-brand { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.pd-info h1 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; margin: 10px 0 14px; }
.pd-meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pd-price-box { background: var(--paper); border-radius: 22px; padding: 26px; margin: 24px 0; }
.pd-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price b { font-family: var(--display); font-size: 40px; letter-spacing: -.03em; }
.pd-price s { color: var(--muted); font-size: 18px; font-weight: 600; }
.pd-price .save { background: var(--red); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.pd-buy { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; height: 50px; background: #fff; }
.qty button { width: 46px; height: 100%; font-size: 20px; font-weight: 700; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { color: var(--red); }
.qty input { width: 44px; text-align: center; border: 0; outline: 0; font-weight: 800; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; } .qty.sm button { width: 34px; font-size: 16px; } .qty.sm input { width: 32px; font-size: 14px; }
.pd-fav { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: .2s; }
.pd-fav:hover { border-color: var(--red); color: var(--red); }
.pd-fav.on { background: var(--red); border-color: var(--red); color: #fff; }
.pd-fav.on svg { fill: #fff; }
.pd-fav svg { width: 22px; height: 22px; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perk { border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 13px; }
.perk b { display: block; font-size: 14px; margin-bottom: 2px; }
.perk svg { width: 24px; height: 24px; color: var(--red); margin-bottom: 8px; }
.pd-compat-check { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-weight: 700; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.pd-compat-check.ok { background: #E7F7EE; color: var(--green); }
.pd-compat-check.bad { background: var(--red-soft); color: var(--red); }
.pd-compat-check.none { background: var(--paper); color: var(--muted); }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 14px 18px; font-weight: 800; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: .2s; }
.tabs button.on { color: var(--black); border-color: var(--red); }
.tab-pane { display: none; animation: fadeUp .35s ease; }
.tab-pane.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.spec-table td { padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { font-weight: 700; }
.compat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.compat-list a { padding: 10px 16px; border-radius: 12px; background: var(--paper); font-weight: 700; transition: .2s; }
.compat-list a:hover { background: var(--black); color: #fff; }
.reviews { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.review-head small { color: var(--muted); display: block; font-size: 12px; }
.review-form { background: var(--paper); padding: 24px; border-radius: 20px; position: sticky; top: 150px; }
.review-form h4 { font-family: var(--display); text-transform: uppercase; margin-bottom: 14px; }
.star-input { display: flex; gap: 4px; margin-bottom: 14px; }
.star-input button { font-size: 30px; color: #ccc; line-height: 1; transition: .15s; }
.star-input button.on { color: #F59E0B; }
.rating-big { display: flex; gap: 20px; align-items: center; margin-bottom: 10px; }
.rating-big b { font-family: var(--display); font-size: 56px; letter-spacing: -.03em; line-height: 1; }

/* ============ CART DRAWER ============ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; backdrop-filter: blur(3px); }
.overlay.on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--display); text-transform: uppercase; font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.free-ship { background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.free-ship .bar { height: 6px; background: #ddd; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--red); border-radius: 3px; transition: width .4s; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.li-img { width: 76px; height: 76px; border-radius: 14px; background: var(--black); color: #fff; display: grid; place-items: center; position: relative; overflow: hidden; }
.li-img::after { content: ''; position: absolute; width: 50px; height: 50px; border: 8px solid var(--red); border-radius: 50%; right: -18px; bottom: -18px; }
.li-img svg { width: 56%; height: 56%; position: relative; z-index: 1; }
.li-name { font-weight: 800; font-size: 14px; line-height: 1.3; display: block; }
.li-name:hover { color: var(--red); }
.li-meta { font-size: 12px; color: var(--muted); margin: 3px 0 8px; }
.li-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.li-right b { font-family: var(--display); font-size: 15px; white-space: nowrap; }
.li-remove { color: var(--muted); font-size: 12px; font-weight: 700; }
.li-remove:hover { color: var(--red); }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.sum-row span { color: var(--muted); }
.sum-row b { font-weight: 800; }
.sum-row.total { font-size: 18px; padding-top: 14px; margin-top: 8px; border-top: 2px solid var(--black); }
.sum-row.total b { font-family: var(--display); font-size: 24px; }
.sum-row.disc b { color: var(--red); }

/* ============ CART / CHECKOUT PAGE ============ */
.cart-page { display: grid; grid-template-columns: 1fr 400px; gap: 34px; padding: 40px 0 90px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { font-family: var(--display); text-transform: uppercase; font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.panel h3 .step { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.summary { position: sticky; top: 150px; background: var(--black); color: #fff; border: 0; }
.summary .sum-row span { color: var(--muted-dark); }
.summary .sum-row.total { border-color: #333; }
.promo-row { display: flex; gap: 8px; margin: 18px 0; }
.promo-row .input { height: 48px; background: #161616; border-color: #333; color: #fff; text-transform: uppercase; }
.promo-row .input:focus { border-color: var(--red); }
.promo-ok { color: #4ADE80; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; margin-top: -8px; margin-bottom: 12px; }
.promo-ok button { color: #aaa; text-decoration: underline; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.success { text-align: center; padding: 80px 20px 100px; max-width: 640px; margin: 0 auto; }
.success-ico { width: 120px; height: 120px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 28px; animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.success-ico svg { width: 56px; height: 56px; }
.success h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; letter-spacing: -.03em; line-height: 1.05; }
.success p { color: var(--muted); margin: 14px 0 30px; font-size: 16px; }
.order-num { display: inline-block; font-family: var(--display); background: var(--paper); padding: 10px 18px; border-radius: 12px; margin-bottom: 26px; font-size: 18px; }

/* ============ PROFILE ============ */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 40px 0 90px; align-items: start; }
.p-side { background: var(--black); color: #fff; border-radius: 22px; padding: 26px; position: sticky; top: 150px; }
.p-user { display: flex; gap: 14px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid #2a2a2a; margin-bottom: 14px; }
.p-user .avatar { width: 56px; height: 56px; background: var(--red); font-family: var(--display); font-size: 20px; }
.p-user b { display: block; font-size: 16px; }
.p-user small { color: var(--muted-dark); }
.p-menu button, .p-menu a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; font-weight: 700; text-align: left; color: #ccc; transition: .2s; }
.p-menu button:hover, .p-menu a:hover { background: #1c1c1c; color: #fff; }
.p-menu button.on { background: #fff; color: var(--black); }
.p-menu .logout { color: var(--red); margin-top: 10px; }
.p-menu em { margin-left: auto; font-style: normal; background: var(--red); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 10px; }
.order-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 14px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.order-top b { font-family: var(--display); }
.order-top small { color: var(--muted); display: block; }
.status { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.status.new { background: #FEF3C7; color: #B45309; }
.status.ship { background: #DBEAFE; color: #1D4ED8; }
.status.done { background: #E7F7EE; color: var(--green); }
.status.cancel { background: var(--paper); color: var(--muted); }
.order-items { display: flex; gap: 8px; flex-wrap: wrap; }
.order-items .li-img { width: 56px; height: 56px; border-radius: 12px; }
.order-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; gap: 10px; }
.order-bottom b { font-family: var(--display); font-size: 18px; }
.track { display: flex; margin: 14px 0 4px; }
.track div { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); position: relative; padding-top: 22px; }
.track div::before { content: ''; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #ddd; transform: translateX(-50%); z-index: 1; }
.track div::after { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: #ddd; }
.track div:first-child::after { display: none; }
.track div.on { color: var(--black); }
.track div.on::before, .track div.on::after { background: var(--red); }

/* ============ INFO PAGES ============ */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: var(--paper); border-radius: 22px; padding: 30px; }
.info-card .i-num { font-family: var(--display); color: var(--red); font-size: 40px; font-weight: 800; line-height: 1; }
.info-card h3 { margin: 16px 0 8px; font-size: 18px; }
.info-card p { color: var(--muted); }
.prose { max-width: 760px; font-size: 16.5px; color: #333; }
.prose p { margin-bottom: 16px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.map { border-radius: 22px; background: var(--black); min-height: 340px; position: relative; overflow: hidden; background-image: linear-gradient(#1f1f1f 1px, transparent 1px), linear-gradient(90deg, #1f1f1f 1px, transparent 1px); background-size: 40px 40px; }
.map .pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%,-100%); width: 54px; height: 54px; background: var(--red); border-radius: 50% 50% 50% 0; rotate: -45deg; box-shadow: 0 0 0 14px rgba(225,6,0,.2); animation: pulse 2s infinite; }
.map .pin::after { content: ''; position: absolute; inset: 17px; border-radius: 50%; background: #fff; }
.map .road { position: absolute; background: #2c2c2c; }
.map .addr { position: absolute; left: 20px; bottom: 20px; right: 20px; background: #fff; border-radius: 14px; padding: 14px 18px; font-weight: 700; }

/* ============ FOOTER ============ */
.footer { background: var(--black); color: #bdbdb8; padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer-big { font-family: var(--display); font-weight: 900; font-size: clamp(50px, 11vw, 170px); line-height: .85; letter-spacing: -.05em; color: #161616; text-transform: uppercase; margin-top: 50px; white-space: nowrap; user-select: none; }
.footer-big span { color: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--red); }
.footer p { font-size: 14px; margin: 18px 0; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; transition: .2s; font-weight: 800; font-size: 13px; color: #fff; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #222; padding-top: 22px; margin-top: 30px; font-size: 13px; gap: 20px; flex-wrap: wrap; }

/* Mobile bottom nav */
.mnav { display: none; }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--black); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); animation: toastIn .35s cubic-bezier(.2,1.4,.4,1) both; pointer-events: auto; max-width: 92vw; }
.toast i { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-style: normal; flex: none; font-size: 13px; }
.toast.ok i { background: var(--green); }
.toast a { color: var(--red); text-decoration: underline; margin-left: 6px; }
.toast.out { animation: toastOut .3s ease both; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); animation: fade .2s; }
.modal-box { background: #fff; border-radius: 24px; padding: 32px; width: 100%; max-width: 460px; animation: pop .35s cubic-bezier(.2,1.4,.4,1); position: relative; }
.modal-box h3 { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin-bottom: 8px; }
.modal-box p { color: var(--muted); margin-bottom: 22px; }
.modal-close { position: absolute; right: 14px; top: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.7) rotate(-15deg); } }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes progress { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(225,6,0,.5); } 50% { box-shadow: 0 0 0 22px rgba(225,6,0,0); } }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.shake { animation: shake .4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-track { grid-auto-columns: calc((100% - 36px) / 3); }
  .makes-grid { grid-template-columns: repeat(4, 1fr); }
  .garage-chip { display: none; }
  .mega .wrap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-left { padding: 32px 24px 40px; min-height: 360px; }
  .auth-left::before { width: 320px; height: 320px; border-width: 40px; right: -120px; top: -80px; }
  .auth-stats { gap: 24px; margin-top: 24px; }
  .auth-stats b { font-size: 26px; }
  .slides { height: 620px; }
  .slide .wrap { grid-template-columns: 1fr; align-content: center; gap: 0; padding-top: 30px; padding-bottom: 90px; }
  .slide-visual { position: absolute; right: -80px; top: 40px; height: 300px; width: 300px; opacity: .35; }
  .slide-visual .tag { display: none; }
  .slide-visual .ring { width: 280px; height: 280px; border-width: 30px; }
  .slide-visual .ring.ring2 { width: 360px; height: 360px; }
  .slide-visual .big-ico { width: 150px; height: 150px; }
  .slide > .wrap > div:first-child { position: relative; z-index: 2; }
  .picker { grid-template-columns: 1fr; padding: 30px 24px; gap: 22px; }
  .picker-form { grid-template-columns: 1fr 1fr; }
  .picker-form .btn { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .promos, .cta, .contacts-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
  .cta form { flex-direction: column; }
  .info-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); max-height: none; background: #fff; z-index: 110; padding: 0 20px 30px; transform: translateX(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); top: 0; }
  .filters.on { transform: none; box-shadow: var(--shadow-lg); }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; position: sticky; top: 0; background: #fff; z-index: 1; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
  .filters-head h3 { font-family: var(--display); text-transform: uppercase; }
  .filter-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .reviews { grid-template-columns: 1fr; }
  .review-form { position: static; }
  .cart-page, .profile { grid-template-columns: 1fr; }
  .summary, .p-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-main .cat-btn span { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  body { padding-bottom: 70px; }
  .topbar { display: none; }
  .header-main { height: 64px; gap: 10px; flex-wrap: wrap; }
  .logo-text { font-size: 14px; }
  .logo-text small { font-size: 9px; letter-spacing: .3em; }
  .logo-mark { width: 38px; height: 38px; font-size: 18px; }
  .header-main .cat-btn, .header-actions .hide-m { display: none; }
  .header-actions { margin-left: auto; }
  .cart-btn { height: 42px; padding: 0 12px; }
  .cart-btn .sum { display: none; }
  .search { order: 5; flex-basis: 100%; margin-bottom: 10px; }
  .search form { height: 44px; }
  .header-main { height: auto; padding-top: 10px; }
  .nav .wrap { height: 44px; }
  .section { padding: 60px 0; }
  .slides { height: 560px; }
  .slide p { font-size: 15px; }
  .slide-bignum { font-size: 160px; }
  .hero-arrows { display: none; }
  .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .carousel-track { grid-auto-columns: 70%; gap: 10px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 13.5px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .price { font-size: 17px; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-img { width: auto; aspect-ratio: 1/.7; }
  .makes-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .make-card { padding: 16px 8px; }
  .cat-grid { gap: 10px; }
  .cat-card { min-height: 170px; padding: 18px; }
  .cat-card.feature { grid-column: span 2; }
  .cat-card .c-ico { width: 90px; height: 90px; }
  .cat-card h3 { font-size: 15px; }
  .why-item { padding: 26px 18px; }
  .why-item b { font-size: 38px; }
  .promo { padding: 30px 24px; min-height: 260px; }
  .picker-form { grid-template-columns: 1fr; }
  .pd-perks { grid-template-columns: 1fr; }
  .pd-price b { font-size: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mega .wrap { grid-template-columns: 1fr; }
  .mnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 66px; background: #fff; border-top: 1px solid var(--line); z-index: 80; padding-bottom: env(safe-area-inset-bottom); }
  .mnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--muted); position: relative; }
  .mnav a.on { color: var(--red); }
  .mnav svg { width: 22px; height: 22px; }
  .mnav .badge { top: 6px; right: calc(50% - 22px); }
  .toasts { bottom: 84px; }
  .line-item { grid-template-columns: 64px 1fr; }
  .line-item .li-img { width: 64px; height: 64px; }
  .line-item .li-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .auth-title { margin: 20px 0 14px; }
}

/* layout safety: let grid children shrink */
.catalog > *, .cart-page > *, .profile > *, .pd > *, .grid > *, .reviews > * { min-width: 0; }

/* compact auth on phones/tablets */
@media (max-width: 960px) {
  .auth { grid-template-rows: auto 1fr; }
  .auth-left { min-height: 0; padding: 22px 20px 28px; gap: 18px; justify-content: flex-start; }
  .auth-left::before { width: 220px; height: 220px; border-width: 30px; right: -90px; top: -90px; }
  .auth-left::after { display: none; }
  .auth-left > div:last-child { display: none; }
  .auth-title { font-size: 34px; margin: 12px 0 10px; }
  .auth-sub { font-size: 14px; }
  .auth-stats { display: none; }
  .auth-right { align-items: flex-start; padding-top: 28px; }
}
@media (max-width: 720px) { .f-list { max-height: none; } }

/* ===== Language switcher (TR / EN / RU) ===== */
.lang { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.lang button { height: 30px; min-width: 38px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); transition: .2s; }
.lang button:hover { color: var(--black); }
.lang button.on { background: var(--red); color: #fff; }
.lang.dark { background: #1c1c1c; }
.lang.dark button { color: #aaa; }
.lang.dark button:hover { color: #fff; }
.lang.dark button.on { color: #fff; }
.lang.sm button { height: 24px; min-width: 32px; font-size: 11px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lang.m-only { display: none; }
@media (max-width: 720px) { .lang.m-only { display: inline-flex; } }
/* hide Google Translate's own bar */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ===== Real product photos + WhatsApp ===== */
:root { --wa: #25D366; --wa-dark: #1DA851; }
.card-img { background: #fff; border-bottom: 1px solid var(--line); }
.card-img::before { width: 120px; height: 120px; border-width: 14px; right: -50px; bottom: -50px; z-index: 0; }
.card-img img { position: relative; z-index: 1; width: 88%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-brand { color: var(--black); background: rgba(255,255,255,.9); padding: 3px 8px; border-radius: 6px; z-index: 2; }
.card-cars { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price.ask { font-family: var(--body); font-size: 13.5px; font-weight: 800; color: var(--red); letter-spacing: 0; }
.card-foot { align-items: center; }
.wa-mini { width: 44px; height: 44px; border-radius: 12px; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; margin-left: auto; transition: .2s; }
.wa-mini:hover { background: var(--wa-dark); }
.wa-mini svg { width: 22px; height: 22px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa svg { width: 20px; height: 20px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; z-index: 85; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.promo .p-ico { color: #fff; }
.s-ico { background: #fff !important; border: 1px solid var(--line); overflow: hidden; }
.s-ico img, .li-img img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.li-img { background: #fff; border: 1px solid var(--line); }
.li-img::after { display: none; }
.gallery-main.photo { background: #fff; border: 1px solid var(--line); }
.gallery-main.photo::before { width: 220px; height: 220px; border-width: 26px; right: -90px; bottom: -90px; }
.gallery-main img { position: relative; z-index: 1; width: 92%; height: 92%; object-fit: contain; }
.gallery-main.photo img { mix-blend-mode: multiply; }
.thumbs { grid-template-columns: repeat(4, 1fr); }
.thumbs button { background: #fff; border: 3px solid var(--line); overflow: hidden; padding: 4px; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pd-price-note { color: var(--muted); font-size: 14px; margin-top: 6px; }
.tip-box { background: var(--red-soft); border-left: 4px solid var(--red); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 16px 0; }
.tip-box b { display: block; color: var(--red); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.feat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.feat-pills span { background: var(--paper); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
@media (max-width: 720px) {
  .wa-float { bottom: 84px; right: 14px; width: 54px; height: 54px; }
  .card-foot { flex-direction: row; flex-wrap: wrap; }
  .card-foot .price { flex-basis: 100%; }
  .card-foot .add-btn { flex: 1; }
}
.pager { flex-wrap: wrap; }
@media (max-width: 720px) { .pager button { min-width: 40px; height: 40px; } }

/* ===== Admin panel ===== */
.admin-fab { position: fixed; left: 20px; bottom: 22px; z-index: 86; background: var(--black); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow-lg); }
.admin-fab:hover { background: var(--red); }
.admin { padding: 30px 0 90px; background: var(--paper); min-height: 70vh; }
.adm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-top h1 { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.adm-top span { color: var(--muted); }
.adm-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.adm-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; position: sticky; top: 140px; max-height: calc(100vh - 160px); display: flex; flex-direction: column; gap: 10px; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-filters button { padding: 6px 10px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 700; }
.adm-filters button.on { background: var(--black); color: #fff; }
.adm-filters em { font-style: normal; opacity: .6; margin-left: 2px; }
.adm-list { overflow-y: auto; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.adm-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: .15s; }
.adm-item:hover { border-color: #bbb; }
.adm-item.on { border-color: var(--red); background: var(--red-soft); }
.adm-item.is-done .adm-name { text-decoration: line-through; color: var(--muted); }
.adm-name { font-weight: 800; }
.adm-meta { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.adm-check { font-size: 13px; font-weight: 700; }
.adm-empty { color: var(--muted); padding: 10px; }
.adm-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.adm-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.adm-head h2 { font-family: var(--display); font-size: 22px; }
.adm-head small { color: var(--muted); }
.adm-test { color: var(--red); }
.adm-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 16px; }
.adm-info .full { grid-column: 1 / -1; }
.adm-info span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.adm-items { width: 100%; border-collapse: collapse; font-size: 13.5px; display: block; overflow-x: auto; }
.adm-items th, .adm-items td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-items td:nth-child(2) { white-space: normal; min-width: 220px; }
.adm-items th { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.adm-total td { font-weight: 800; border-bottom: 0; }
.adm-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.adm-netlify p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.adm-netlify h3 { font-size: 16px; }
.adm-token { display: flex; gap: 8px; }
@media (max-width: 960px) {
  .adm-grid { grid-template-columns: 1fr; }
  .adm-side { position: static; max-height: 60vh; }
  .adm-info { grid-template-columns: 1fr; }
  .admin-fab { bottom: 84px; left: 14px; }
}

/* ===== Admin panel: раскладка как в наброске, стиль сайта ===== */
.admin.c1 { padding: 24px 20px 90px; background: var(--paper); min-height: 70vh; }
.c1-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.c1-title h1 { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.c1-title span { color: var(--muted); }
.c1-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.c1-tabs a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 14px; transition: .15s; }
.c1-tabs a:hover { border-color: var(--black); }
.c1-tabs a.on { background: var(--black); color: #fff; border-color: var(--black); }
.c1-tabs em { font-style: normal; color: var(--red); margin-left: 4px; }
.c1-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.c1-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 140px; }
.c1-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.c1-box h4 { font-family: var(--display); text-transform: uppercase; font-size: 14px; margin-bottom: 10px; }
.c1-search { margin-bottom: 8px; }
.c1-search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--paper); }
.c1-search input:focus { outline: 2px solid var(--red); border-color: transparent; }
.c1-list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.c1-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.c1-row input { accent-color: var(--red); width: 16px; height: 16px; }
.c1-row:hover { background: var(--paper); }
.c1-row.on { background: var(--red-soft); color: var(--red); }
.c1-store { cursor: default; background: var(--paper); }
.c1-link { display: inline-block; margin-top: 8px; color: var(--red); font-weight: 700; font-size: 13px; }
.c1-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.c1-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.c1-bar .btn svg { width: 16px; height: 16px; }
.c1-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.c1-table { border-collapse: collapse; width: 100%; white-space: nowrap; font-size: 13.5px; }
.c1-table th { background: var(--black); color: #fff; padding: 11px 10px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.c1-table td { border-bottom: 1px solid var(--line); padding: 10px; cursor: pointer; }
.c1-table td input { accent-color: var(--red); width: 17px; height: 17px; }
.c1-table td.wide { white-space: normal; min-width: 240px; font-weight: 600; }
.c1-table td.num { text-align: right; }
.c1-table tbody tr:hover td { background: var(--paper); }
.c1-table tbody tr.on td { background: var(--red-soft); }
.c1-table tbody tr.done td { color: var(--muted); }
.c1-table tbody tr.done td.wide { text-decoration: line-through; }
.c1-table tfoot td { font-weight: 800; padding: 12px 10px; }
.c1 .adm-main { gap: 16px; }
@media (max-width: 960px) {
  .admin.c1 { padding: 16px 16px 90px; }
  .c1-grid { grid-template-columns: 1fr; }
  .c1-side { position: static; }
  .c1-list { max-height: 160px; }
}

/* ===== Legal pages ===== */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 150px; }
.legal-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 700; background: var(--paper); }
.legal-nav a.on { background: var(--black); color: #fff; }
.legal-text h3 { font-family: var(--display); font-size: 18px; text-transform: uppercase; margin: 28px 0 10px; }
.legal-text ul, .legal-text ol { padding-left: 22px; margin-bottom: 14px; }
.legal-text li { margin-bottom: 6px; }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; gap: 20px; } .legal-nav { position: static; } }

/* админка: поля цены и остатка */
.adm-num { width: 96px; height: 38px; padding: 0 10px; }
.order-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--red-soft, #fff0ef); font-size: 13.5px; font-weight: 600; }
