:root {
  --bg: #0f0f0f;
  --bg-deep: #07121c;
  --bg-blue: #0b2a44;
  --panel: #1f2326;
  --panel-2: #262b2f;
  --line: rgba(255, 255, 255, .1);
  --text: #ffffff;
  --muted: #a6a7a8;
  --yellow: #ffd400;
  --yellow-2: #ffb800;
  --blue: #1085d2;
  --blue-2: #1e9be9;
  --green: #48fc5a;
  --red: #ed1c24;
  --radius: 6px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --font: 'Figtree', 'Noto Sans Georgian', system-ui, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 700px at 85% 0%, rgba(16, 133, 210, .28), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(11, 42, 68, .9), transparent 70%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 70%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.yellow { color: var(--yellow); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.eyebrow { color: var(--yellow); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; display: block; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 14, 20, .75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header-left, .header-right { display: flex; align-items: center; gap: 14px; }
.header-right { margin-left: auto; flex: none; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: var(--radius);
  display: grid; place-items: center; background: transparent; border: 0;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); }
.icon-btn svg { width: 22px; height: 22px; }
.grid-icon { color: var(--yellow); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .02em; flex: none; white-space: nowrap; }
.logo img { max-height: 46px; width: auto; display: block; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: #111;
  display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 1.05rem; }
.logo-text small { font-size: .7rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.nav-desktop { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: .93rem; min-width: 0; }
.nav-desktop a { white-space: nowrap; padding: 8px 14px; border-radius: 99px; color: #d9dadb; transition: background .15s, color .15s; }
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-desktop a.active { color: #111; background: var(--yellow); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: .88rem; white-space: nowrap;
}
.menu-btn svg { width: 20px; height: 20px; color: var(--yellow); }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--yellow); }
.lang-btn {
  border: 1px solid var(--line); background: transparent; border-radius: var(--radius);
  padding: 6px 10px; font-size: .8rem; font-weight: 700;
}
.lang-btn:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Mega menu ---------- */
.mega {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: rgba(7, 12, 17, .97);
  overflow-y: auto; padding: 32px 0 60px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: .2s ease;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-cols { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.mega-main a {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.35rem; font-weight: 800; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mega-main a:hover, .mega-main a.active { color: var(--yellow); }
.mega-sub { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; }
.mega-sub h4 { color: var(--yellow); font-size: 1rem; margin-bottom: 10px; }
.mega-sub h4 a:hover { text-decoration: underline; }
.mega-sub ul { list-style: none; margin: 0; padding: 0; }
.mega-sub li a { display: block; padding: 3px 0; color: #d6d7d8; font-size: .92rem; }
.mega-sub li a:hover { color: #fff; padding-left: 4px; transition: .15s; }

/* ---------- Search overlay ---------- */
.search-pop {
  position: fixed; inset: 72px 0 auto 0; z-index: 48;
  background: rgba(7, 12, 17, .98); border-bottom: 1px solid var(--line);
  padding: 22px 0 28px; display: none;
}
.search-pop.open { display: block; }
.search-tabs { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.search-tabs button {
  border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 5px 14px; font-size: .85rem;
}
.search-tabs button.active { background: var(--yellow); color: #111; border-color: var(--yellow); font-weight: 700; }
.search-results { display: grid; gap: 6px; max-height: 55vh; overflow-y: auto; }
.search-results a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: var(--radius); background: var(--panel); }
.search-results a:hover { background: var(--panel-2); }
.search-results small { color: var(--muted); }

/* ---------- Buttons / inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--radius);
  padding: 13px 22px; font-weight: 800; font-size: 1rem;
  background: var(--yellow); color: #111;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(255, 212, 0, .3); }
.btn.blue { background: var(--blue-2); color: #fff; }
.btn.blue:hover { box-shadow: 0 6px 22px rgba(30, 155, 233, .35); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); box-shadow: none; }
.btn.sm { padding: 8px 14px; font-size: .88rem; }
.input, .select {
  width: 100%; background: #fff; color: #111; border: 0; border-radius: var(--radius);
  padding: 15px 16px; font-size: 1.05rem; outline: none;
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.select:disabled { opacity: .45; cursor: not-allowed; }
.input.dark, .select.dark { background-color: var(--panel); color: #fff; border: 1px solid var(--line); }
.input.dark::placeholder { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: flex-end;
  padding: 120px 0 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 28, .1) 0%, rgba(7, 18, 28, .55) 55%, var(--bg-deep) 100%),
    radial-gradient(600px 300px at 72% 40%, rgba(255, 212, 0, .2), transparent 70%),
    url('../img/hero.svg') center/cover no-repeat;
}
.hero.has-photo { background: var(--bg-deep); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 18, 28, calc(var(--hero-dim) + .2)) 0%, rgba(7, 18, 28, var(--hero-dim)) 45%, rgba(7, 18, 28, calc(var(--hero-dim) * .4)) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg-deep) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.01em; line-height: .95; text-transform: uppercase; }
.hero h1 .yellow { display: block; }
.hero-search {
  margin-top: 26px; margin-bottom: -40px; position: relative; z-index: 3;
  background: rgba(20, 22, 24, .92); padding: 16px; border-radius: 8px; box-shadow: var(--shadow);
  max-width: 640px;
}
.search-row { display: flex; gap: 0; }
.search-row .input { border-radius: var(--radius) 0 0 var(--radius); }
.search-row .btn { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 22px; background: var(--blue-2); color: #fff; }
.search-row .btn svg { width: 22px; height: 22px; }
.hero-links { display: flex; gap: 18px; margin-top: 12px; font-size: .9rem; flex-wrap: wrap; }
.hero-links a { color: var(--yellow); }
.hero-links a:hover { text-decoration: underline; }

.quick-results { margin-top: 12px; display: grid; gap: 2px; max-height: 360px; overflow-y: auto; }
.quick-group h4 { font-size: 1rem; margin: 12px 0 6px; }
.quick-results a {
  display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; border-radius: 4px; font-size: .9rem;
}
.quick-results a:hover { background: rgba(255, 255, 255, .07); }
.quick-results a span:last-child { color: var(--yellow); font-weight: 700; white-space: nowrap; font-size: .82rem; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: 8px; min-height: 170px;
  background: linear-gradient(160deg, var(--panel-2), #14181b);
  border: 1px solid var(--line); padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s, border-color .2s;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(255, 212, 0, .5); }
.tile .tile-icon { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; color: var(--yellow); opacity: .9; }
.tile small { color: var(--yellow); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.tile b { font-size: 1.25rem; line-height: 1.15; margin-top: 4px; }
.tile .count { color: var(--muted); font-size: .85rem; margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat, radial-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stat { background: var(--panel); border-radius: 8px; padding: 18px; border: 1px solid var(--line); }
.stat b { display: block; font-size: 2rem; color: var(--yellow); line-height: 1; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.card {
  position: relative; background: linear-gradient(180deg, #23282c, #1a1e21);
  border-radius: 8px; border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 212, 0, .55); box-shadow: var(--shadow); }
.card-img {
  aspect-ratio: 1; display: grid; place-items: center; padding: 18px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, .08), transparent 65%);
}
.card-img img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 4px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.card-title .visc { white-space: nowrap; color: var(--yellow); }
.card-cat { font-size: .78rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--yellow); color: #111; text-transform: uppercase; letter-spacing: .03em; }
.badge.blue { background: var(--blue); color: #fff; }
.badge.outline { background: transparent; color: #ddd; border: 1px solid var(--line); text-transform: none; font-weight: 600; letter-spacing: 0; }
.img-fallback { width: 70%; aspect-ratio: 3/4; border-radius: 12px; background: linear-gradient(160deg, var(--yellow), var(--yellow-2)); display: grid; place-items: center; color: #111; font-weight: 900; text-align: center; padding: 10px; font-size: .9rem; }

/* ---------- Catalogue layout ---------- */
.page-head { padding: 48px 0 24px; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--yellow); }
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; }
.side-block { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 14px; }
.side-block h4 { font-size: .95rem; margin-bottom: 10px; }
.cat-tree { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.cat-tree > li { border-bottom: 1px solid var(--line); }
.cat-tree > li:last-child { border-bottom: 0; }
.cat-tree a { display: flex; justify-content: space-between; padding: 7px 2px; color: #d9dadb; }
.cat-tree a:hover { color: #fff; }
.cat-tree a.active { color: var(--yellow); font-weight: 700; }
.cat-tree a small { color: var(--muted); font-weight: 400; }
.cat-tree ul { list-style: none; padding: 0 0 6px 12px; margin: 0; font-size: .86rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 4px 10px; font-size: .8rem; }
.chip.active, .chip:hover { border-color: var(--yellow); color: var(--yellow); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .select { width: auto; padding: 9px 38px 9px 12px; font-size: .9rem; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.pager button.active { background: var(--yellow); color: #111; border-color: var(--yellow); font-weight: 800; }
.pager button:disabled { opacity: .35; cursor: default; }
.filter-toggle { display: none; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); background: var(--panel); border-radius: 8px; }

/* ---------- Product page ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 40px 0 20px; align-items: start; }
.pd h1 { color: var(--yellow); font-size: clamp(2rem, 4.2vw, 3.2rem); font-style: italic; }
.pd h1 .sub { display: block; font-size: 1.15rem; font-style: normal; margin-top: 8px; }
.pd-cat { color: var(--blue-2); font-size: .9rem; display: inline-block; margin-bottom: 12px; }
.pd-cat:hover { text-decoration: underline; }
.pd-lead { color: #d8d9da; max-width: 560px; }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; max-width: 460px; }
.pd-meta p { margin: 0; color: var(--muted); font-size: .85rem; }
.pd-meta b { font-size: 1.2rem; }
.pd-gallery { text-align: center; }
.pd-main-img { aspect-ratio: 1; max-width: 460px; margin: 0 auto; display: grid; place-items: center; }
.pd-main-img img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.packs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.pack {
  width: 74px; height: 74px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  padding: 6px; display: grid; place-items: center; position: relative;
}
.pack img { max-height: 100%; object-fit: contain; }
.pack.active { border-color: var(--blue-2); box-shadow: 0 0 0 2px rgba(30, 155, 233, .35); }
.pack:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #000; padding: 4px 8px; border-radius: 4px; font-size: .75rem; white-space: nowrap; z-index: 5;
}
.pd-info { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 36px; padding: 40px 0 70px; border-top: 1px solid var(--line); margin-top: 30px; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.spec-list li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.spec-list li.approved::before { background: var(--green); }
.spec-legend { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.spec-legend i { display: inline-block; width: 8px; height: 8px; transform: rotate(45deg); margin-right: 6px; border-radius: 2px; }
.analyse { width: 100%; border-collapse: collapse; font-size: .92rem; }
.analyse td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.analyse td:last-child { text-align: right; font-weight: 800; }
.doc-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; margin-bottom: 10px;
  background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
}
.doc-btn:hover { border-color: var(--yellow); }
.doc-btn svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }
.fit-list { display: grid; gap: 6px; font-size: .88rem; }
.fit-list a { padding: 8px 10px; background: var(--panel); border-radius: 4px; border: 1px solid var(--line); }
.fit-list a:hover { border-color: var(--yellow); }

/* ---------- Recommendation ---------- */
.reco-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.reco-tabs button {
  border: 0; background: transparent; padding: 12px 18px; font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.reco-tabs button.active { color: #fff; border-color: var(--yellow); }
.reco-panel { background: rgba(20, 22, 24, .85); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.vtype-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.vtype {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 110px; padding: 14px 8px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: .85rem; font-weight: 700;
}
.vtype svg { width: 40px; height: 40px; color: var(--muted); }
.vtype.active { border-color: var(--yellow); }
.vtype.active svg { color: var(--yellow); }
.selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.select-label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.type-list { margin-top: 22px; display: grid; gap: 6px; }
.type-list a {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 12px 14px; background: var(--panel); border-radius: 6px; border: 1px solid var(--line);
}
.type-list a:hover { border-color: var(--yellow); }
.type-list .years { color: var(--yellow); font-weight: 800; font-size: .85rem; }
.type-list .fuel { color: var(--muted); font-size: .82rem; }

.vehicle-head { padding: 40px 0 20px; }
.vehicle-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.vehicle-head .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.conditions { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 8px; }
.seg { display: inline-flex; background: var(--panel); border-radius: 99px; padding: 4px; border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 7px 16px; border-radius: 99px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.seg button.active { background: var(--yellow); color: #111; }
.cond-label { font-size: .78rem; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

.comp { border: 1px solid var(--line); border-radius: 10px; background: rgba(24, 27, 30, .9); margin-bottom: 14px; overflow: hidden; }
.comp-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; background: rgba(255, 255, 255, .03); cursor: pointer; width: 100%; border: 0; text-align: left;
}
.comp-head h3 { margin: 0; display: flex; align-items: center; gap: 12px; }
.comp-head h3 svg { width: 26px; height: 26px; color: var(--yellow); }
.comp-head .chev { transition: transform .2s; width: 20px; height: 20px; }
.comp.open .comp-head .chev { transform: rotate(180deg); }
.comp-body { display: none; padding: 20px; }
.comp.open .comp-body { display: block; }
.comp-facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 18px; color: #d4d5d6; }
.comp-facts b { color: #fff; }
.comp-req { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.comp-req code { background: var(--panel-2); padding: 2px 6px; border-radius: 4px; color: #e6e6e6; font-family: inherit; font-size: .8rem; margin: 2px; display: inline-block; }
.reco-main { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--panel); border-radius: 8px; padding: 18px; border: 1px solid rgba(255, 212, 0, .35); }
.reco-main .card-img { padding: 6px; }
.reco-main h4 { font-size: 1.4rem; margin: 0 0 6px; color: var(--yellow); font-style: italic; }
.match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.match-tag { font-size: .75rem; padding: 3px 8px; border-radius: 4px; background: rgba(72, 252, 90, .12); color: var(--green); border: 1px solid rgba(72, 252, 90, .3); }
.match-tag.miss { background: rgba(237, 28, 36, .12); color: #ff7b80; border-color: rgba(237, 28, 36, .35); }
.match-tag.soft { background: rgba(16, 133, 210, .14); color: #7cc4f4; border-color: rgba(16, 133, 210, .35); }
.interval { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 4px; }
.interval svg { width: 18px; height: 18px; color: var(--yellow); }
.alts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; }
.alt { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--panel); border-radius: 6px; border: 1px solid var(--line); font-size: .88rem; }
.alt:hover { border-color: var(--yellow); }
.alt img { width: 48px; height: 48px; object-fit: contain; }
.confidence { font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.confidence.full { background: rgba(72, 252, 90, .15); color: var(--green); }
.confidence.partial { background: rgba(255, 212, 0, .15); color: var(--yellow); }
.confidence.none { background: rgba(237, 28, 36, .15); color: #ff7b80; }
.notice { font-size: .82rem; color: var(--muted); background: var(--panel); border-left: 3px solid var(--yellow); padding: 12px 16px; border-radius: 4px; margin-top: 22px; }

/* ---------- Brand pages ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand-grid a { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-weight: 800; text-align: center; }
.brand-grid a:hover { border-color: var(--yellow); color: var(--yellow); }
.brand-grid small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }

/* ---------- Footer ---------- */
.footer { background: rgba(10, 13, 15, .8); border-top: 1px solid var(--line); padding: 56px 0 26px; margin-top: 40px; font-size: .9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer h5 { color: var(--yellow); font-size: 1rem; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 5px 0; }
.footer li a { color: #c9cacb; }
.footer li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; flex-wrap: wrap; gap: 10px; }

.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.fade-in { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .header-inner { gap: 14px; }
  .pd-info { grid-template-columns: 1fr 1fr; }
  .pd-info > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; display: none; }
  .sidebar.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { order: -1; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .mega-cols { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .selects { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; }
  .mega, .search-pop { top: 64px; }
  .logo-text small { display: none; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 0 11px; }
  .lang-btn { padding: 6px 8px; }
  .hero { min-height: 480px; padding-top: 80px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 2px 10px 12px; }
  .card-title { font-size: .9rem; }
  .pd-info { grid-template-columns: 1fr; }
  .reco-main { grid-template-columns: 1fr; text-align: center; }
  .reco-main .match-tags, .reco-main .badges { justify-content: center; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .type-list a { grid-template-columns: 1fr auto; }
  .type-list .fuel { display: none; }
  .reco-panel { padding: 16px; }
  .vtype { width: calc(50% - 5px); }
}

/* ---------- Hero video (YouTube background) ---------- */
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg-deep); }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; border: 0;
}

/* ---------- Motorsport ---------- */
.ms-hero { min-height: min(82vh, 760px); align-items: center; padding: 120px 0 80px; }
.ms-hero h1 { max-width: 900px; }
.ms-sub { font-size: 1.15rem; font-weight: 600; color: #e6e7e8; max-width: 620px; }
.ms-intro { max-width: 860px; text-align: center; }
.ms-intro p { color: #cfd0d1; font-size: 1.08rem; }
.ms-block .split { align-items: center; }
.ms-block.rev .ms-media { order: 2; }
.ms-media { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); border: 1px solid var(--line); }
.ms-media img { width: 100%; height: 100%; object-fit: cover; }
.ms-text p { margin: 0 0 1em; }
.ms-ph {
  width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: repeating-linear-gradient(135deg, rgba(255, 212, 0, .06) 0 18px, transparent 18px 36px), linear-gradient(160deg, #23292e, #12161a);
  color: var(--yellow); text-align: center; padding: 16px; font-weight: 800;
}
.ms-ph svg { width: 44px; height: 44px; }
.ms-ph span { color: #e9e9e9; font-size: .95rem; max-width: 80%; }
.ms-arrows { display: flex; gap: 8px; }
.ms-arrows .icon-btn { border: 1px solid var(--line); font-size: 1.6rem; line-height: 1; }
.ms-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ms-slide { scroll-snap-align: start; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); }
.ms-slide > img, .ms-slide > .ms-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-slide-text, .ms-card-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
}
.ms-slide-text b { font-size: 1.35rem; text-transform: uppercase; color: var(--yellow); line-height: 1.1; }
.ms-slide-text span, .ms-card-text span { color: #ddd; font-size: .92rem; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.ms-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.ms-card:hover { transform: translateY(-3px); border-color: rgba(255, 212, 0, .5); }
.ms-card > img, .ms-card > .ms-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-card-text b { font-size: 1.2rem; text-transform: uppercase; }
.ms-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; border-radius: 12px; background: linear-gradient(120deg, rgba(255, 212, 0, .14), rgba(16, 133, 210, .12)); border: 1px solid rgba(255, 212, 0, .35); }
.ms-cta h2 { margin-bottom: 6px; }
.ms-cta p { margin: 0; max-width: 640px; }
@media (max-width: 900px) {
  .ms-grid { grid-template-columns: 1fr 1fr; }
  .ms-block.rev .ms-media { order: 0; }
  .ms-slider { grid-auto-columns: 78%; }
  .ms-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .ms-grid { grid-template-columns: 1fr; }
  .ms-hero { min-height: 70vh; }
}

.price-unit { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.pd-meta .price-unit { font-size: .8rem; display: block; margin-top: 2px; }

/* ---------- Footer branches ---------- */
.branches { margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.branches h5 { font-size: 1.15rem; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.branch { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.branch-logo { width: 58px; height: auto; flex: none; margin-top: 2px; }
.branch-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .88rem; }
.branch-body b { line-height: 1.3; }
.branch-body a { color: #c9cacb; display: inline-flex; align-items: center; gap: 6px; }
.branch-body a:hover { color: var(--yellow); }
.branch-body svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
.branches { scroll-margin-top: 90px; }
