/* Inter (SIL Open Font License 1.1, https://rsms.me/inter/), served by the shop itself
   so visitors' browsers don't contact Google. Variable font: weights 400-800. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #e31b2f;
  --red-600: #c8111f;
  --red-50: #fdecee;
  --ink: #13151a;
  --ink-2: #1c1f26;
  --ink-3: #2a2e37;
  --text: #1b1e24;
  --muted: #6b7180;
  --line: #e7e8ec;
  --bg: #f6f7f9;
  --card: #ffffff;
  --green: #16a34a;
  --amber: #d97706;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 8px 24px rgba(16, 18, 24, .06);
  --shadow-lg: 0 20px 50px rgba(16, 18, 24, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 24px; }
.hide-sm { }
.plain { list-style: none; padding: 0; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.lead { font-size: 17px; color: #4a5060; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227, 27, 47, .25); }
.btn-red:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-white { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text);
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }
.icon-btn.sm .icon { width: 14px; height: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red);
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-muted { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.link-muted:hover { color: var(--red); }

.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite;
}
.spinner.dark { border-color: rgba(0, 0, 0, .15); border-top-color: var(--text); }
.htmx-request .spinner, .htmx-request.spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Topbar + header -------------------------------------------------------- */
.topbar { background: #0b0c0f; color: #a6abb8; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; height: 38px; align-items: center; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; gap: 6px; align-items: center; }
.topbar .icon { width: 15px; height: 15px; color: var(--red); }
.topbar a:hover { color: #fff; }
.lang { gap: 2px !important; }
.lang a { padding: 2px 7px; border-radius: 6px; font-weight: 600; color: #8d93a1; }
.lang a.active { background: var(--red); color: #fff; }

.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }

.logo { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; line-height: 1; }
.logo-word { font-weight: 900; font-size: 26px; letter-spacing: .02em; }
.logo-mark { display: inline-flex; gap: 2px; }
.logo-mark i { width: 10px; height: 18px; background: var(--red); clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); }
.logo-mark i + i { opacity: .55; }
.logo-tag { grid-column: 1 / -1; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: #8d93a1; margin-top: 5px; }

.search { position: relative; flex: 1; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 5px 5px 5px 14px; max-width: 640px; }
.search-icon { color: var(--muted); display: grid; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; color: var(--text); height: 38px; background: transparent; min-width: 0; }
.search .btn { height: 38px; border-radius: 10px; box-shadow: none; }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--text);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; max-height: 70vh; overflow: auto;
}
.search:focus-within .search-results:not(:empty) { display: block; animation: drop .16s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.sr-section { padding: 8px; }
.sr-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 8px; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.sr-item:hover { background: var(--bg); }
.sr-name { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: 14px; }
.sr-name small { font-weight: 400; color: var(--muted); }
.sr-ic {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: hsl(var(--h, 0) 70% 95%); color: hsl(var(--h, 0) 55% 40%);
}
.sr-all { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; font-weight: 600; color: var(--red); border-top: 1px solid var(--line); margin-top: 6px; }
.sr-empty { padding: 16px; color: var(--muted); }

.header-actions { display: flex; gap: 8px; margin-left: auto; }
.header-action {
  display: flex; align-items: center; gap: 10px; color: #fff; background: none; border: 0; font: inherit;
  cursor: pointer; padding: 8px 10px; border-radius: 12px; text-align: left;
}
.header-action:hover { background: var(--ink-3); }
.ha-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink-3); }
.ha-text { display: flex; flex-direction: column; line-height: 1.25; }
.ha-text b { font-size: 13px; }
.ha-text small { color: #9aa0ad; font-size: 13px; }
.badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: #4b505c; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--ink);
}
.badge.pop { background: var(--red); animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }

.mainnav { background: var(--ink-2); border-top: 1px solid #262a33; }
.mainnav-inner { display: flex; align-items: center; gap: 4px; height: 52px; }
.mainnav-inner > a { padding: 8px 14px; border-radius: 10px; color: #c9cdd6; font-weight: 500; }
.mainnav-inner > a:hover { color: #fff; background: var(--ink-3); }
.catalog-menu { position: relative; margin-right: 12px; outline: none; }
.catalog-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; font-weight: 700;
  height: 40px; padding: 0 16px; border-radius: 10px; cursor: pointer; text-transform: uppercase; font-size: 13px; letter-spacing: .04em;
}
.catalog-btn .icon:last-child { width: 16px; transition: transform .2s; }
.mega {
  position: absolute; top: calc(100% + 6px); left: 0; width: min(880px, 92vw); background: #fff; color: var(--text);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.catalog-menu:hover .mega, .catalog-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.catalog-menu:hover .catalog-btn .icon:last-child { transform: rotate(180deg); }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 500; font-size: 14px; }
.mega a:hover { background: var(--red-50); color: var(--red-600); }
.mega-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg); color: var(--red); }
.mega-ic .icon { width: 18px; height: 18px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 88px;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(227, 27, 47, .35), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(227, 27, 47, .12), transparent 70%),
    linear-gradient(180deg, var(--ink-2), #0e1014);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero .lead { color: #b8bdc9; max-width: 560px; }
.hero-stats { display: flex; gap: 36px; margin-top: 32px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 30px; font-weight: 800; }
.hero-stats span { color: #8d93a1; font-size: 13px; }

.car-card {
  background: #fff; color: var(--text); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.car-card::after { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--red), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.car-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 4px; }
.car-card-head h2 { font-size: 20px; margin: 0; }
.car-card-head small { color: var(--muted); }
.car-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.car-ic .icon { width: 26px; height: 26px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: #3b404c; }
.field select, .field input, .field textarea, .qty {
  font: inherit; color: var(--text); border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: 0 14px; height: 46px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { padding: 12px 14px; height: auto; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b7180' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 40px; }
.field select:disabled { background-color: var(--bg); color: #a2a7b3; cursor: not-allowed; }
.field :focus, .qty:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 27, 47, .12); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); background: #fffafa; }
.error { color: var(--red); font-size: 12.5px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }

.history:empty { display: none; }
.history { border-top: 1px dashed var(--line); padding-top: 12px; }
.history-title { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.history-title .icon { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 500;
  background: var(--bg); border: 1px solid var(--line); transition: .15s;
}
.chip .icon { width: 15px; height: 15px; color: var(--red); }
.chip:hover { border-color: var(--red); color: var(--red); background: var(--red-50); }

/* Sections ---------------------------------------------------------------- */
.section { padding: 72px 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -44px; position: relative; z-index: 2; }
.benefit { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.benefit b { display: block; font-size: 15px; }
.benefit small { color: var(--muted); }
.benefit-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; }
.benefit-ic .icon { width: 24px; height: 24px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; transition: .2s ease; position: relative; overflow: hidden;
}
.cat-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink); transition: .2s; flex: none; }
.cat-ic .icon { width: 24px; height: 24px; }
.cat-card:hover .cat-ic { background: var(--red); color: #fff; }
.cat-name { font-weight: 600; flex: 1; line-height: 1.3; }
.cat-go { color: var(--red); opacity: 0; transform: translateX(-6px); transition: .2s; }
.cat-card:hover .cat-go { opacity: 1; transform: none; }

.tabs { display: flex; gap: 4px; background: var(--bg); padding: 4px; border-radius: 12px; flex-wrap: wrap; }
.tab { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.make-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.make {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; font-weight: 600; transition: .18s;
}
.make:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.make-mono {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--ink-3), var(--ink)); color: #fff; font-size: 15px; flex: none;
}
.make:hover .make-mono { background: linear-gradient(135deg, #ff4a5c, var(--red-600)); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.news-card time { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.news-card h3 { font-size: 19px; }
.news-card h3 a:hover { color: var(--red); }
.news-body { color: #4a5060; }
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; color: #fff; display: flex; flex-direction: column; align-items: flex-start;
  background: radial-gradient(400px 220px at 100% 0%, #ff5363, transparent 70%), linear-gradient(135deg, var(--red), #8f0a17);
  min-height: 260px; transition: .2s;
}
.promo:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(227, 27, 47, .3); }
.promo .eyebrow { color: #ffd2d6; }
.promo h3 { font-size: 24px; max-width: 240px; }
.promo p { color: #ffe1e4; max-width: 280px; }
.promo .btn { margin-top: auto; height: 40px; }
.promo-tag { position: absolute; top: 20px; right: 20px; background: #fff; color: var(--red); font-weight: 800; font-size: 20px; padding: 6px 12px; border-radius: 10px; transform: rotate(4deg); }
.promo-art { position: absolute; right: -30px; bottom: -40px; opacity: .14; }
.promo-art .icon { width: 200px; height: 200px; stroke-width: 1.2; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.stat { background: var(--bg); border-radius: 14px; padding: 18px; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; transition: .2s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; color: var(--muted); }
.accordion details[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.acc-body { padding: 0 20px 6px; color: #4a5060; }

.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.store { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: .18s; }
.store:hover { box-shadow: var(--shadow); border-color: transparent; }
.store-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 17px; }
.store-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--red-50); color: var(--red); display: grid; place-items: center; }
.store p { margin: 0 0 6px; }
.store p.muted, .store a { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.store .icon { width: 16px; height: 16px; }
.store a { font-weight: 600; color: var(--red); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list small { color: var(--muted); }
.ci { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.form-card.sent { align-items: center; text-align: center; padding: 48px 26px; }
.sent-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: var(--green); }
.sent-ic .icon { width: 32px; height: 32px; }

/* Listing ----------------------------------------------------------------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0 22px; }
.page-head h1 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 36px); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 72px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 150px; }
.filters h3 { margin: 0; }
.results { min-width: 0; transition: opacity .2s; }
.results.htmx-request { opacity: .45; pointer-events: none; }
.my-car { display: flex; align-items: center; position: relative; }
.my-car-clear { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; }
.my-car-clear:hover { filter: brightness(1.1); text-decoration: none; }
.my-car .header-action { padding-right: 26px; }
.car-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; margin-bottom: 16px; border-radius: 14px; background: #fff4f4; border: 1px solid #f6caca; font-size: 14px; }
.car-banner-ic { display: inline-flex; color: var(--red); }
.car-banner-ic .icon { width: 20px; height: 20px; }
.car-banner span:nth-child(2) { flex: 1; min-width: 200px; }
.car-banner a { font-weight: 600; color: var(--red); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { font: inherit; border: 1px solid var(--line); border-radius: 10px; height: 38px; padding: 0 10px; background: #fff; color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s ease;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.product-img, .pdp-img {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; color: hsl(var(--h) 50% 38%);
  background: radial-gradient(circle at 30% 20%, #fff, transparent 60%), linear-gradient(135deg, hsl(var(--h) 70% 95%), hsl(var(--h) 55% 86%));
}
.product-img .icon { width: 72px; height: 72px; stroke-width: 1.3; transition: transform .3s ease; }
.product:hover .product-img .icon { transform: scale(1.08) rotate(-3deg); }
.sale { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.product-info { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-info h3 { font-size: 15px; margin: 0; line-height: 1.3; }
.product-info h3 a:hover { color: var(--red); }
.product-brand { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stock { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--green); } .stock.low { color: var(--amber); } .stock.out { color: var(--muted); }
.product-buy { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 16px; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price s { color: var(--muted); font-size: 13px; }
.price b { font-size: 19px; font-weight: 800; }
.price.big { flex-direction: row; align-items: baseline; gap: 12px; margin: 14px 0 18px; }
.price.big b { font-size: 34px; }
.add-form { display: flex; gap: 8px; }
.product .add-form .btn { width: 44px; padding: 0; }
.qty { width: 80px; text-align: center; padding: 0 6px; }
.load-more { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 8px; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 32px; }
.pdp-img { border-radius: 22px; aspect-ratio: 1; }
.product-img.has-photo, .pdp-img.has-photo { background: #fff; }
.product-img.has-photo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s ease; }
.product:hover .product-img.has-photo img { transform: scale(1.04); }
.pdp-img.has-photo { border: 1px solid var(--line); }
.pdp-img.has-photo img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pdp-gallery { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumbs button { width: 76px; height: 76px; padding: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.pdp-thumbs button.active { border-color: var(--red); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-img .icon { width: 45%; height: 45%; stroke-width: 1; }
.pdp-info h1 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 10px; }
.pdp-perks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.pdp-perks li { display: flex; gap: 10px; align-items: center; color: #4a5060; }
.pdp-perks .icon { color: var(--red); }
.checkout-notice { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff4f4; border: 1px solid #f6caca; font-weight: 600; }
.big-spinner { width: 34px; height: 34px; border-width: 3px; margin-bottom: 8px; }
.fits { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.specs-title { font-size: 15px; margin: 22px 0 10px; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; background: #fafbfc; }
.specs td a { color: var(--red); font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.prose p { font-size: 17px; color: #3b404c; }
.info-page h2 { font-size: 21px; margin: 32px 0 6px; }
.info-page ul { padding-left: 22px; color: #3b404c; font-size: 17px; line-height: 1.6; }
.info-page li { margin: 4px 0; }
.info-page a, .terms-check a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.terms-check { padding: 12px 14px; border-radius: 12px; background: #f6f7f9; }
.terms-check.invalid { background: #fffafa; outline: 1px solid var(--red); }
.check-line { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; }
.check-line input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.terms-check .error { display: block; margin: 6px 0 0 28px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3, .empty h1 { color: var(--text); }
.empty a:not(.btn) { color: var(--red); font-weight: 600; }
.empty-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg); color: var(--muted); margin-bottom: 14px; }
.empty-ic .icon { width: 28px; height: 28px; }

.skeleton { height: 64px; border-radius: 12px; margin-bottom: 10px; background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 50%, #eef0f3 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton.tall { height: 320px; margin: 0; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* Drawer ------------------------------------------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 12, 16, .5); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 22px; display: flex; flex-direction: column; }
.ship-progress { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.ship-progress span { display: flex; align-items: center; gap: 6px; }
.ship-progress .icon { color: var(--green); width: 18px; }
.bar { height: 6px; background: #e3e5ea; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff6574); border-radius: 6px; transition: width .4s ease; }
.cart-lines { list-style: none; margin: 0; padding: 0; flex: 1; }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fade .25s ease; }
.cl-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cl-info a { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cl-info a:hover { color: var(--red); }
.cl-info small { font-size: 12.5px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-foot { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.cart-sum { display: flex; justify-content: space-between; font-size: 18px; }
.cart-sum b { font-weight: 800; }

/* Toasts + chat ----------------------------------------------------------- */
#toasts { position: fixed; bottom: 90px; right: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; padding: 14px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg); max-width: 360px; font-size: 14px;
  animation: toast-in .35s cubic-bezier(.2, .8, .2, 1), toast-out .35s ease 4.2s forwards;
}
.toast b { display: block; }
.toast a { color: #ff8b97; font-weight: 600; text-decoration: underline; }
.toast-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); flex: none; }
.toast.info .toast-ic { background: var(--red); }
.toast-ic .icon { width: 16px; height: 16px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
.chat-bubble {
  position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--red); color: #fff;
  padding: 12px 18px; border-radius: 99px; font-weight: 700; box-shadow: 0 12px 30px rgba(227, 27, 47, .35); transition: .2s;
}
.chat-bubble:hover { transform: translateY(-2px); background: var(--red-600); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #b8bdc9; padding-top: 56px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .muted { color: #7f8592; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer li a:hover { color: #fff; }
.site-footer li .icon { width: 16px; height: 16px; color: var(--red); }
.footer-bottom { border-top: 1px solid #262a33; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #6b7180; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .contact-grid, .pdp { grid-template-columns: 1fr; gap: 32px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .ha-text { display: none; }
  .mega { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hide-sm, .topbar-left { display: none !important; }
  .topbar-inner { justify-content: flex-end; }
  .topbar a, .catalog-btn { white-space: nowrap; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filters h3, .filters .check, .filters .btn { grid-column: 1 / -1; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 12px; }
  .search { order: 3; flex-basis: 100%; }
  .search .btn { display: none; }
  .mainnav-inner { overflow-x: auto; scrollbar-width: none; }
  .mainnav-inner::-webkit-scrollbar { display: none; }
  .mainnav-inner > a { white-space: nowrap; }
  .mega { position: fixed; left: 12px; right: 12px; top: auto; width: auto; grid-template-columns: 1fr; max-height: 60vh; overflow: auto; }
  .benefits { grid-template-columns: 1fr; margin-top: -30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 24px; white-space: nowrap; }
  /* the full shop name must leave room for the account and cart buttons */
  .logo-word { font-size: 20px; }
  .logo-tag { font-size: 8.5px; letter-spacing: .12em; }
  .section { padding: 52px 0; }
  .chat-bubble span { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-buy { flex-direction: column; align-items: stretch; }
  .product .add-form .btn { width: 100%; }
}

/* Checkout ---------------------------------------------------------------- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-top: 28px; padding-bottom: 72px; align-items: start; }
.checkout-form h3 { margin: 6px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.postcode-row { grid-template-columns: 140px 1fr; }
.choice-group { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; transition: .15s; }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.choice input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; }
.choice span { display: flex; flex-direction: column; }
.choice small { color: var(--muted); }
.checkout-form:has(input[value=pickup]:checked) .address-fields { display: none; }
.address-fields { display: grid; gap: 14px; }
.small { font-size: 13px; }
.checkout-summary { padding: 22px; position: sticky; top: 150px; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; color: #4a5060; }
.summary-row.total { color: var(--text); font-size: 18px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.empty.big .sent-ic { margin: 0 auto 16px; }
@media (max-width: 1000px) { .checkout { grid-template-columns: 1fr; } .checkout-summary { position: static; order: -1; } }
@media (max-width: 720px) { .field-row, .postcode-row { grid-template-columns: 1fr; } }
