/* Motoshina app bundle */

/* ===== fonts.css ===== */
/* Self-hosted fonts — no Google Fonts round-trip */

/* Manrope — Cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-400-normal.ba5cdf200252.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-600-normal.26d747ddac10.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-700-normal.80fe3de1d5cc.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-800-normal.ceefeb5d87ce.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope — Latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.84c90a24de75.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;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-latin-600-normal.d291d41d2872.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;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.5d0c39c84f7b.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;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-800-normal.bb0422a7d9f0.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;
}

/* Bebas Neue — display (Latin; Cyrillic falls back to Impact/system) */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-400-normal.2dd698f2699a.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;
}

/* ===== main.css ===== */
/* Motoshina — black / yellow / orange / gray */
:root {
  --bg: #ececec;
  --bg-elevated: #ffffff;
  --bg-blue: #e0e0e0;
  --bg-navy: #0d0d0d;
  --bg-deep: #000000;
  --bg-ink: #000000;
  --surface: #e8e8e8;
  --ink: #0d0d0d;
  --ink-muted: #555555;
  --ink-dim: #888888;
  --ink-on-dark: #f7f7f5;
  --ink-on-dark-muted: rgba(247, 247, 245, 0.75);
  --blue: #ff6a00;
  --blue-deep: #e55a00;
  --navy: #0d0d0d;
  --signal: #ffd400;
  --signal-deep: #f0c200;
  --signal-ink: #0d0d0d;
  --metal: #444444;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --line-on-dark: rgba(255, 212, 0, 0.35);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  --radius-sm: 0.85rem;
  --radius: 1.35rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shell-max: 1480px;
  --shell-gutter: clamp(1.25rem, 3.5vw, 3rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(2.5rem, 5vw, 4.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 100% -10%, rgba(255, 122, 26, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(255, 224, 0, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: max(var(--shell-gutter), env(safe-area-inset-left, 0px))
    max(var(--shell-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: #000;
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--signal);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--blue);
  background: #000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 2.3rem;
  width: auto;
  max-width: min(46vw, 13.5rem);
  object-fit: contain;
}

.logo-footer .logo-img {
  height: 2.8rem;
  max-width: min(70vw, 16rem);
  filter: none;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-sm);
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink-on-dark);
}

.nav {
  display: flex;
  gap: 0.35rem 1rem;
  margin-left: 0.75rem;
  margin-right: auto;
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-on-dark-muted);
}

.nav a,
.nav .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.nav a:hover,
.nav .menu-link:hover {
  color: var(--signal);
}

.nav-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: currentColor;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-on-dark-muted);
}

.header-cart:hover {
  color: var(--signal);
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.cart-badge[hidden] {
  display: none !important;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--signal-deep);
}

.header-cta .nav-icon {
  color: var(--signal-ink);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(245, 245, 243, 0.25);
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink-on-dark);
}

/* Flash */
.flash-stack {
  position: fixed;
  top: calc(var(--header-h) + 0.65rem);
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
}

.flash {
  margin: 0 auto 0.5rem;
  max-width: var(--shell-max);
  width: calc(100% - 2 * var(--shell-gutter));
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  pointer-events: auto;
}

.flash-success {
  border-color: rgba(40, 160, 100, 0.35);
}

.flash-error,
.flash-warning {
  border-color: rgba(225, 29, 46, 0.35);
}

/* Hero block: slider + full-width finder */
.hero-block {
  padding-top: var(--header-h);
  background: var(--bg);
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: clamp(22rem, 48vw, 32rem);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide[hidden] {
  display: block !important;
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slide picture {
  position: absolute;
  inset: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 40%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.hero-slide-copy {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  z-index: 2;
  width: min(38rem, calc(100% - 6rem));
  max-width: 38rem;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 1.15rem 1.35rem 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  border-left: 4px solid var(--signal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.hero-slider-nav {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 5.75rem;
  z-index: 6;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-dot {
  width: 1.65rem;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(245, 245, 243, 0.35);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--signal);
}

.hero-arrow {
  position: absolute;
  top: 42%;
  z-index: 6;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-arrow:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #111;
}

.hero-arrow-prev {
  left: max(0.75rem, calc((100% - var(--shell-max)) / 2 + var(--shell-gutter, 1.5rem) - 0.25rem));
}

.hero-arrow-next {
  right: max(0.75rem, calc((100% - var(--shell-max)) / 2 + var(--shell-gutter, 1.5rem) - 0.25rem));
}

.hero-finder-bar {
  position: relative;
  z-index: 2;
  margin-top: -0.65rem;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, transparent, var(--bg) 55%);
}

.hero-finder-bar .shell {
  width: 100%;
  max-width: var(--shell-max);
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 42ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.finder-grid-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
}

.tire-finder-bar {
  padding: 1.35rem 1.4rem 1.2rem;
}

.finder-shell-bar {
  border: 2px solid var(--ink);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius);
  /* visible: кастомный список моделей не должен обрезаться (как native select объёма) */
  overflow: visible;
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}

.finder-shell-bar .finder-tabs {
  background: #000;
}

.finder-shell-bar .finder-tab {
  padding: 0.85rem 1.35rem;
  font-size: 0.88rem;
  border-color: transparent;
  background: transparent;
  color: var(--ink-on-dark-muted);
}

.finder-shell-bar .finder-tab.is-active {
  background: var(--bg-elevated);
  color: var(--navy);
}

.finder-shell-bar .finder-tab + .finder-tab {
  border-left: 1px solid rgba(245, 245, 243, 0.12);
}

.finder-shell-bar .finder-group-title {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.finder-shell-bar .finder-fields {
  gap: 0.85rem;
}

.finder-shell-bar .finder-field {
  font-size: 0.78rem;
  gap: 0.4rem;
}

.finder-shell-bar .finder-field select,
.finder-shell-bar .finder-field input {
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  padding-right: 2rem;
  font-size: 1rem;
}

.finder-shell-bar .finder-field input {
  padding-right: 0.9rem;
}

.finder-shell-bar .finder-actions {
  margin-top: 1.15rem;
  padding-top: 1rem;
  gap: 0.85rem;
}

.finder-shell-bar .finder-submit,
.finder-shell-bar [data-bike-submit] {
  min-height: 3rem;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.finder-shell-bar .finder-bike-fields {
  max-width: none;
  gap: 1rem;
}

.finder-shell-bar .finder-bike-fields .finder-field select,
.finder-shell-bar .finder-bike-fields .bike-model-search {
  min-height: 3rem;
  font-size: 1rem;
}

.finder-bike-fields {
  max-width: 56rem;
}

.bike-model-field {
  position: relative;
}

.bike-model-combobox {
  position: relative;
}

.bike-model-combobox[data-disabled] .bike-model-search {
  opacity: 0.65;
  cursor: not-allowed;
}

.bike-model-search {
  width: 100%;
  padding-right: 2.75rem !important;
}

.bike-model-clear {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(13, 13, 13, 0.28);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  color: #0d0d0d;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.bike-model-clear:hover {
  border-color: #0d0d0d;
  background: #ffd400;
}

.bike-model-combobox[data-disabled] .bike-model-clear {
  display: none;
}

.bike-model-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 80;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.bike-model-option {
  margin: 0;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.bike-model-option:hover,
.bike-model-option.is-active,
.bike-model-option[aria-selected="true"] {
  background: rgba(255, 212, 0, 0.22);
}

.bike-model-option.is-empty {
  cursor: default;
  color: var(--ink-muted);
}

.bike-model-option.is-empty:hover {
  background: transparent;
}

@media (max-width: 720px) {
  .finder-bike-fields {
    max-width: none;
  }
}

.fitment-bikes {
  position: relative;
  margin: 0;
  padding: var(--section-pad) 0;
  background:
    linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 48%, #121212 100%);
  color: var(--ink-on-dark);
  overflow: hidden;
}

.fitment-bikes::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255, 212, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(255, 106, 0, 0.16), transparent 50%);
  pointer-events: none;
}

.fitment-bikes .shell {
  position: relative;
  z-index: 1;
}

.fitment-bikes-head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.fitment-bikes-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.fitment-bikes-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--ink-on-dark);
}

.fitment-bikes-lead {
  margin: 0.75rem 0 0;
  color: var(--ink-on-dark-muted);
  font-size: 0.98rem;
  max-width: 36rem;
}

.fitment-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-end;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 212, 0, 0.16);
  background: rgba(0, 0, 0, 0.22);
}

.fitment-filter {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 16rem);
}

.fitment-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}

.fitment-filter select {
  min-height: 2.6rem;
  padding: 0.45rem 2.2rem 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm, 6px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: var(--ink-on-dark);
  font: inherit;
  font-size: 0.95rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--signal) 50%),
    linear-gradient(135deg, var(--signal) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.fitment-filter select:focus {
  outline: 2px solid rgba(255, 212, 0, 0.45);
  outline-offset: 1px;
}

.fitment-filter select option {
  color: #111;
  background: #fff;
}

.fitment-table-wrap {
  border: 1px solid rgba(255, 212, 0, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.fitment-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fitment-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

.fitment-table th,
.fitment-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  vertical-align: middle;
}

.fitment-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 212, 0, 0.2);
  white-space: nowrap;
}

.fitment-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s var(--ease);
}

.fitment-table tbody tr:first-child {
  border-top: none;
}

.fitment-table tbody tr:hover {
  background: rgba(255, 212, 0, 0.08);
}

.fitment-table td {
  font-size: 0.95rem;
  color: var(--ink-on-dark-muted);
}

.fitment-table-link {
  color: var(--ink-on-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.fitment-table-link:hover {
  color: var(--signal);
}

.fitment-table-model {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.fitment-axis-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 176, 112, 0.45);
  border-radius: 0.4rem;
  color: #ffb070;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fitment-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border: none;
  border-top: 1px solid rgba(255, 212, 0, 0.2);
  background: rgba(255, 212, 0, 0.08);
  color: var(--signal);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.fitment-toggle:hover {
  background: rgba(255, 212, 0, 0.16);
  color: #fff6a8;
}

.fitment-toggle-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  margin-top: -0.2rem;
}

.fitment-table-wrap:not(.is-collapsed) .fitment-toggle-chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

@media (max-width: 720px) {
  .fitment-table {
    min-width: 0;
  }

  .fitment-table thead {
    display: none;
  }

  .fitment-table,
  .fitment-table tbody,
  .fitment-table tr,
  .fitment-table td {
    display: block;
    width: 100%;
  }

  .fitment-table tbody tr {
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fitment-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0;
  }

  .fitment-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 212, 0, 0.75);
  }

  .fitment-table-model {
    font-size: 1.15rem;
  }
}

/* legacy hero kept for other pages if needed */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 2.25rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  object-position: 70% center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(244, 245, 247, 0.97) 0%, rgba(244, 245, 247, 0.88) 42%, rgba(244, 245, 247, 0.35) 72%, rgba(18, 20, 26, 0.25) 100%),
    linear-gradient(180deg, rgba(244, 245, 247, 0.2) 0%, rgba(244, 245, 247, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s var(--ease) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.05s; }
.reveal:nth-child(2) { animation-delay: 0.16s; }
.reveal:nth-child(3) { animation-delay: 0.28s; }
.reveal:nth-child(4) { animation-delay: 0.4s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Finder */
.tire-finder {
  padding: 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.tire-finder-expanded {
  padding: 1.25rem 1.25rem 1.1rem;
}

.finder-grid {
  display: grid;
  gap: 1rem;
}

.finder-group-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.finder-optional {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-dim);
}

.finder-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.finder-fields-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finder-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.finder-field select,
.finder-field input,
.qty-field input,
.cart-qty input,
.form-control {
  appearance: none;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236b7f99' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.finder-field input,
.qty-field input,
.cart-qty input,
textarea.form-control,
input.form-control {
  background-image: none;
}

.finder-field select:focus,
.finder-field input:focus,
.form-control:focus,
.qty-field input:focus {
  outline: 2px solid var(--signal);
  outline-offset: 0;
  border-color: var(--blue);
}

.finder-shell {
  display: grid;
  gap: 0;
}

.finder-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}

.finder-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.finder-tab + .finder-tab {
  border-left: none;
}

.finder-tab.is-active {
  background: var(--bg-elevated);
  color: var(--ink);
}

.finder-panel[hidden] {
  display: none !important;
}

.finder-fields-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bike-fitment {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.finder-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.tire-finder-compact {
  padding: 0.7rem 0.75rem 0.65rem;
  box-shadow: none;
}

.finder-shell-compact .finder-tab {
  padding: 0.45rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.finder-compact-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 0.45rem;
  align-items: end;
}

.finder-bike-row {
  grid-template-columns: 1fr 1.2fr auto;
}

.tire-finder-compact .finder-field {
  gap: 0.18rem;
  font-size: 0.62rem;
}

.tire-finder-compact .finder-field select,
.tire-finder-compact .finder-field input {
  padding: 0.48rem 0.55rem;
  padding-right: 1.5rem;
  font-size: 0.85rem;
}

.tire-finder-compact .finder-field input {
  padding-right: 0.55rem;
}

.tire-finder-compact .finder-submit,
.tire-finder-compact [data-bike-submit] {
  padding: 0.52rem 0.9rem;
  white-space: nowrap;
  font-size: 0.82rem;
}

.finder-more {
  margin-top: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.finder-more summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  user-select: none;
}

.finder-more summary::-webkit-details-marker {
  display: none;
}

.finder-more summary::after {
  content: " +";
  color: var(--signal);
}

.finder-more[open] summary::after {
  content: " −";
}

.finder-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.tire-finder-compact .bike-fitment {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}

.finder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.finder-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.tire-finder.is-faceting,
.catalog-filters form.is-faceting {
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 0.15s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--signal);
  color: var(--signal-ink);
}

.btn-primary:hover {
  background: var(--signal-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  background: rgba(255, 122, 26, 0.06);
}

.btn-text {
  border: 0;
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  padding: 0;
}

.btn-text:hover {
  color: var(--signal);
}

.text-link {
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-band {
  border-block: 1px solid var(--line);
}

.section-band-light {
  background: var(--bg-elevated);
}

.section-band-blue {
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.06), transparent 40%),
    var(--bg-blue);
  border-block-color: rgba(17, 17, 17, 0.08);
}

.section-band-navy {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(255, 122, 26, 0.16), transparent 50%),
    linear-gradient(160deg, #171717, var(--bg-deep));
  color: var(--ink-on-dark);
  border-block: 1px solid rgba(255, 224, 0, 0.2);
}

.section-band-navy .section-head p,
.section-band-navy .section-lead,
.section-band-navy .benefit p,
.section-band-navy .style-desc,
.section-band-navy .review-text,
.section-band-navy .footer-tag {
  color: var(--ink-on-dark-muted);
}

.section-band-navy .section-head h2,
.section-band-navy .benefit h3,
.section-band-navy .style-name,
.section-band-navy .review-top strong {
  color: var(--ink-on-dark);
}

.section-band-navy .text-link {
  color: var(--signal);
}

.section-band-navy .text-link:hover {
  border-bottom-color: var(--signal);
}

.section-band-ink {
  background: var(--bg-ink);
  color: var(--ink-on-dark);
  border-block: 1px solid rgba(255, 224, 0, 0.2);
}

.section-band-ink .section-head p,
.section-band-ink .cta-panel p {
  color: var(--ink-on-dark-muted);
}

.section-band-navy .btn-ghost {
  border-color: rgba(245, 245, 243, 0.3);
  color: var(--ink-on-dark);
}

.section-band-navy .btn-ghost:hover,
.section-band-ink .btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(255, 224, 0, 0.08);
}

.section-band-ink .btn-ghost {
  border-color: rgba(245, 245, 243, 0.3);
  color: var(--ink-on-dark);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-head h2,
.page-hero h1,
.detail-info h1,
.cta-panel h2,
.prose h2,
.checkout-aside h2,
.filters-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-weight: 400;
}

.section-head p,
.page-hero p,
.section-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Benefits */
.benefits-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.25rem 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}

.benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--blue);
  margin-bottom: 0.15rem;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.benefit p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Styles */
.style-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.style-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.style-card:hover {
  border-color: rgba(255, 212, 0, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.style-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
}

.style-card-media picture,
.style-card-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.style-card-media img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s var(--ease);
}

.style-card:hover .style-card-media img {
  transform: scale(1.04);
}

.style-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1.1rem;
}

.style-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.style-desc {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

/* Promos */
.section-title-icon {
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  vertical-align: -0.15em;
  margin-right: 0.35rem;
  color: var(--signal);
}

.section-title-icon svg {
  width: 100%;
  height: 100%;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.promo-item {
  position: relative;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.35rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.promo-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--signal);
}

.promo-icon svg {
  width: 100%;
  height: 100%;
}

.promo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.55rem;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}

.promo-item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 3.5rem;
}

.promo-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Callback modal */
body.modal-open {
  overflow: hidden;
}

.callback-modal[hidden] {
  display: none !important;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.callback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, 0.45);
}

.callback-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callback-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-dim);
  cursor: pointer;
}

.callback-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  padding-right: 1.5rem;
}

.callback-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--signal);
  flex-shrink: 0;
}

.callback-icon svg {
  width: 100%;
  height: 100%;
}

.callback-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.callback-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.callback-form {
  display: grid;
  gap: 0.85rem;
}

/* Tire grid */
.tire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem 1.15rem;
}

@media (min-width: 1280px) {
  .tire-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.85rem;
  }
}

@media (max-width: 520px) {
  .tire-grid {
    grid-template-columns: 1fr;
  }
}

.tire-item {
  position: relative;
  display: grid;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.tire-item:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tire-item-link {
  display: grid;
  gap: 0.9rem;
  padding: 0.85rem 0.85rem 1.65rem;
  border-radius: inherit;
  overflow: hidden;
}

.tire-cart-form {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 80%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  transform: translate(-50%, 50%);
}

.tire-cart-btn {
  width: 100%;
  min-height: 2.45rem;
  padding: 0.5rem 1rem;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  justify-content: center;
  background: var(--signal);
  border: 0;
  color: var(--signal-ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  border-radius: 0.35rem !important;
  clip-path: none;
  transform: skewX(-20deg);
  transform-origin: center center;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.tire-cart-btn:hover {
  background: var(--signal-deep);
  border: 0;
  color: var(--signal-ink);
  transform: skewX(-20deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  filter: brightness(1.03);
}

.tire-cart-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.tire-cart-icon svg {
  width: 100%;
  height: 100%;
}

.tire-cart-label {
  line-height: 1;
}

.tire-item .tire-cart-icon,
.tire-item .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg);
  transform-origin: center center;
}

.tire-cart-btn.is-added {
  background: var(--blue);
  border: 0;
  color: #fff;
  cursor: default;
  font-weight: 700;
  transform: skewX(-20deg);
  clip-path: none;
}

.tire-cart-btn.is-added:hover {
  background: var(--blue-deep);
  border: 0;
  color: #fff;
  transform: skewX(-20deg);
  filter: none;
}

.detail-actions .tire-cart-form {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  width: auto;
}

.detail-cart-form .tire-cart-btn {
  width: auto;
  min-width: 10.5rem;
  flex: 0 0 auto;
}

.detail-cart-form .tire-cart-btn .tire-cart-icon,
.detail-cart-form .tire-cart-btn .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg);
  transform-origin: center center;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 0;
  border-bottom: 2px solid var(--ink);
}

.catalog-sort {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.catalog-sort-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sort-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.sort-pill:hover {
  border-color: var(--ink);
}

.sort-pill.is-active {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-ink);
}

.catalog-toolbar .results-count {
  margin: 0;
}

/* Cart toast */
.cart-toast[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: min(100% - 2rem, 22rem);
  padding: 1rem 1.1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: toast-in 0.28s var(--ease);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cart-toast-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink-dim);
  cursor: pointer;
}

.cart-toast-title {
  margin: 0 1.5rem 0.75rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.cart-toast-body {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
}

.cart-toast-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cart-toast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-toast-thumb-fallback {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

.cart-toast-brand {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.cart-toast-model {
  margin: 0.15rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.cart-toast-meta,
.cart-toast-price {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.cart-toast-price {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.cart-toast-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.cart-toast-actions .btn {
  justify-content: center;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
}

.tire-visual {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.tire-visual.has-photo picture,
.tire-visual.has-photo img {
  position: absolute;
  inset: 0.55rem;
  width: calc(100% - 1.1rem);
  height: calc(100% - 1.1rem);
  max-width: none;
  max-height: none;
  display: block;
}

.tire-visual.has-photo img {
  object-fit: contain !important;
  object-position: center;
  transition: transform 0.55s var(--ease);
}

.tire-visual.has-photo picture img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
}

.tire-item-link:hover .tire-visual.has-photo img {
  transform: scale(1.02);
}

.tire-visual .stock-badge,
.tire-visual .fav-btn {
  z-index: 2;
}

.tire-ring {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29%),
    repeating-conic-gradient(from 10deg, #c5cad3 0 6deg, #e8eaee 6deg 12deg);
  border: 1px solid rgba(18, 20, 26, 0.12);
}

.tire-size-ghost {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: rgba(18, 20, 26, 0.2);
}

.stock-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.32rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-pill);
}

.stock-badge-icon {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
}

.stock-badge-icon svg {
  width: 100%;
  height: 100%;
}

.stock-in {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.22);
}

.stock-order {
  background: var(--bg-ink);
  color: var(--signal);
}

.new-badge {
  position: absolute;
  top: auto;
  right: auto;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.38rem 0.7rem 0.38rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: #0d0d0d;
  background: linear-gradient(135deg, #ffd400 0%, #ffb000 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 176, 0, 0.35);
}

.new-badge-icon {
  display: inline-flex;
  width: 0.9rem;
  height: 0.9rem;
}

.new-badge-icon svg {
  width: 100%;
  height: 100%;
}

.new-badge-inline {
  position: static;
  box-shadow: none;
  padding: 0.32rem 0.65rem 0.28rem 0.5rem;
  font-size: 0.72rem;
}

.hit-badge {
  position: absolute;
  top: auto;
  left: auto;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.38rem 0.7rem 0.38rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--signal-ink);
  background: var(--signal);
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 0.2rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hit-badge-icon {
  display: inline-flex;
  width: 0.85rem;
  height: 0.85rem;
  color: var(--signal-ink);
}

.hit-badge-icon svg {
  width: 100%;
  height: 100%;
}

.hit-badge-inline {
  position: static;
  box-shadow: none;
  padding: 0.32rem 0.65rem 0.28rem 0.5rem;
  font-size: 0.9rem;
}

.stock-inline {
  position: static;
}

.tire-brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.tire-sku {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.tire-sku span {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.tire-model {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tire-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0 0 0.35rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.tire-dot {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.tire-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem 1rem;
  align-items: stretch;
}

.section-band-navy .style-desc,
.section-band-navy .style-name {
  color: inherit;
}

.section-band-navy .style-desc {
  color: var(--ink-on-dark-muted);
}

.section-band-navy .style-name {
  color: var(--ink-on-dark);
}

.section-band-light .tire-visual,
.section-band-blue .tire-visual {
  background: #fff;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.brand-logo-link:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 9rem;
  height: 2rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.82;
  transition: opacity 0.2s var(--ease), filter 0.2s var(--ease);
}

.brand-logo-link:hover .brand-logo {
  filter: none;
  opacity: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card {
  padding: 1.25rem 1.3rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.review-top strong {
  font-size: 1rem;
  color: var(--ink);
}

.review-stars {
  color: var(--signal);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  font-weight: 700;
}

.review-tire {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.review-tire-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.review-tire-link:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.review-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.review-date {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.cta-panel {
  padding: 0;
  border-top: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* Pages */
.page-hero {
  padding: calc(var(--header-h) + 2.75rem) 0 1.75rem;
  background: var(--signal);
  color: var(--signal-ink);
}

.page-hero h1 {
  color: var(--signal-ink);
}

.page-hero p {
  color: rgba(13, 13, 13, 0.72);
}

.page-hero-compact {
  padding-bottom: 1rem;
}

.catalog-bike-section {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: 1.75rem 0 1.5rem;
  background: var(--bg, #ececec);
}

.catalog-bike-card {
  border: 2px solid var(--ink);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius);
  overflow: visible;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.catalog-bike-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.35rem 0.95rem;
  background: #0d0d0d;
  color: #fff;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

.catalog-bike-card-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.7rem;
  background: var(--signal);
  color: var(--signal-ink);
}

.catalog-bike-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.catalog-bike-card-copy {
  min-width: 0;
}

.catalog-bike-card-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.catalog-bike-card-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.4;
}

.catalog-bike-card-body {
  padding: 1.15rem 1.35rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.08), transparent 42%),
    var(--bg-elevated);
}

.catalog-bike-card .bike-finder {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.catalog-bike-card .finder-bike-fields {
  max-width: none;
  gap: 0.85rem 1rem;
}

.catalog-bike-card .finder-field span {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.catalog-bike-card .finder-field select,
.catalog-bike-card .bike-model-search {
  min-height: 3rem;
  font-size: 1rem;
  border: 1.5px solid rgba(13, 13, 13, 0.18);
  background: #fff;
}

.catalog-bike-card .finder-field select:focus,
.catalog-bike-card .bike-model-search:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(255, 212, 0, 0.55);
  outline-offset: 1px;
}

.catalog-bike-card .bike-fitment:not([hidden]) {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(13, 13, 13, 0.05);
  border-left: 3px solid var(--signal);
  border-radius: 0 0.55rem 0.55rem 0;
  font-size: 0.9rem;
}

.catalog-bike-card .finder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
}

.catalog-bike-card .finder-actions .btn {
  min-height: 3rem;
  padding-inline: 1.45rem;
  font-size: 1rem;
}

.catalog-bike-card .finder-hint {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-dim);
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .catalog-bike-section {
    padding: 1.25rem 0 1.15rem;
  }

  .catalog-bike-card-head,
  .catalog-bike-card-body {
    padding-inline: 1rem;
  }

  .catalog-bike-card-head {
    padding-top: 0.9rem;
    padding-bottom: 0.85rem;
  }

  .catalog-bike-card-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .catalog-bike-card .finder-actions {
    align-items: stretch;
  }

  .catalog-bike-card .finder-actions .btn {
    width: 100%;
  }
}

.page-hero-bike {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.page-hero-reset {
  padding: 0.45rem 1.1rem;
  background: rgba(13, 13, 13, 0.1);
  color: var(--signal-ink);
  border-color: rgba(13, 13, 13, 0.28);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-hero-reset-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.page-hero-reset-icon svg {
  width: 100%;
  height: 100%;
}

.page-hero-reset:hover {
  background: rgba(13, 13, 13, 0.16);
  border-color: rgba(13, 13, 13, 0.45);
  color: var(--signal-ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.catalog-filters form {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.results-count {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
}

.pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  color: var(--ink-muted);
}

.pagination a {
  color: var(--signal);
  font-weight: 600;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(13, 13, 13, 0.12);
}

.pager-meta,
.pager-page-label,
.pager-meta-solo {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.pager-meta strong,
.pager-page-label strong,
.pager-meta-solo strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pager-meta-solo {
  margin-top: 1.5rem;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pager-btn {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease;
}

a.pager-btn:hover {
  border-color: rgba(13, 13, 13, 0.28);
  background: #111;
  color: var(--signal);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pager-btn.is-current {
  background: var(--signal);
  border-color: var(--signal);
  color: #111;
  box-shadow: 0 6px 16px rgba(255, 212, 0, 0.35);
  cursor: default;
}

.pager-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.pager-btn-nav,
.pager-btn-edge {
  font-size: 1.05rem;
  font-weight: 800;
}

.pager-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  height: 2.35rem;
  color: var(--ink-dim);
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .pager {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pager-controls {
    order: 1;
  }

  .pager-meta {
    order: 2;
  }

  .pager-page-label {
    order: 3;
  }

  .pager-btn {
    min-width: 2.15rem;
    height: 2.15rem;
  }
}

.detail {
  padding-top: var(--header-h);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 2.25rem;
  padding-block: 2.5rem 2.75rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 0.75rem;
}

.detail-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.detail-visual.is-png,
.detail-gallery-main.is-png {
  background: #fff;
}

.detail-gallery-main {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.85rem;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  box-sizing: border-box;
}

.detail-gallery-main picture,
.detail-gallery-main img,
.detail-visual.has-photo > img {
  position: absolute;
  inset: 0.85rem;
  width: calc(100% - 1.7rem);
  height: calc(100% - 1.7rem);
  max-width: none;
  max-height: none;
  display: block;
}

.detail-gallery-main img,
.detail-visual.has-photo > img {
  object-fit: contain !important;
  object-position: center;
}

.detail-gallery-main picture img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
}

.detail-gallery-zoom {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.12);
  pointer-events: none;
}

.detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.detail-gallery-prev { left: 0.5rem; }
.detail-gallery-next { right: 0.5rem; }

.detail-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 520px;
}

.detail-gallery-thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  opacity: 0.72;
}

.detail-gallery-thumb.is-png {
  background: #fff;
}

.detail-gallery-thumb.is-active,
.detail-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--blue, #2563eb);
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery-thumb.is-png img,
.detail-gallery-thumb.is-png picture,
.detail-gallery-thumb.is-png picture img {
  object-fit: contain;
  background: #fff;
}

.detail-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: 0.1rem 0 0.35rem;
}

.detail-title-row h1,
.detail-info .detail-title-row h1 {
  margin: 0;
  flex: 1 1 auto;
}

.detail-stock {
  margin: 0;
  color: var(--ink-muted);
}

.detail-title-row .detail-stock {
  margin: 0;
  flex: 0 0 auto;
  line-height: 1;
}

.spec-grid a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.spec-grid a:hover {
  color: var(--blue, #2563eb);
}

.detail-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0.35rem 0 0;
}

.detail-buy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.detail-cart-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.65rem;
}

.detail-cart-form .qty-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-dim);
  white-space: nowrap;
}

.detail-cart-form .qty-field input {
  width: 4rem;
  height: 2.4rem;
  margin: 0;
  box-sizing: border-box;
}

.detail-cart-form .tire-cart-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.85rem 0 0;
}

.detail-origin {
  display: grid;
  gap: 0.85rem;
  margin: 1.15rem 0 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal, #ffd400);
}

.detail-perks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0.9rem 0 0;
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid var(--line);
}

.detail-perk {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.55rem;
  align-items: start;
}

.detail-perk-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--blue, #2563eb);
  margin-top: 0.1rem;
}

.detail-perk-icon svg {
  width: 100%;
  height: 100%;
}

.detail-perk strong {
  display: block;
  font-size: 0.92rem;
}

.detail-perk em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.detail-perk a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.detail-lightbox {
  border: 0;
  padding: 0;
  max-width: min(92vw, 960px);
  max-height: 92vh;
  background: transparent;
}

.detail-lightbox::backdrop {
  background: rgb(0 0 0 / 0.72);
}

.detail-lightbox[open] {
  display: grid;
  place-items: center;
}

.detail-lightbox img {
  max-width: min(92vw, 960px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 0.35rem;
  background: #111;
  padding: 0;
}

.detail-lightbox.is-png img,
.detail-lightbox img.is-png {
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.35);
}

.detail-lightbox-close,
.detail-lightbox-nav {
  position: fixed;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.2);
}

.detail-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.detail-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.6rem;
}

.detail-lightbox-prev { left: 1rem; }
.detail-lightbox-next { right: 1rem; }

.detail-tire {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.tire-ring-lg {
  width: 100%;
  animation: tire-spin 24s linear infinite;
}

@keyframes tire-spin {
  to { transform: rotate(360deg); }
}

.detail-size {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.04em;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.35rem 0;
  padding: 1.15rem 0;
  border-block: 1px solid var(--line);
}

.spec-grid dt {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 0.2rem;
}

.spec-grid dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 550;
}

.detail-origin-row {
  display: grid;
  gap: 0.25rem;
}

.detail-origin-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 700;
}

.detail-origin-value {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.45;
  color: var(--ink);
}

.dot-accent {
  color: var(--signal);
}

.detail-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.qty-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.qty-field input {
  width: 4.5rem;
}

.detail-blurb,
.detail-copy {
  color: var(--ink-muted);
}

.detail-desc-section {
  margin: 0;
  padding: 0;
  border-block: 1px solid rgba(13, 13, 13, 0.12);
  background: #fff;
}

.detail-desc-section .shell {
  padding-block: 1.75rem;
}

.detail-copy.prose {
  max-width: none;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  color: var(--ink-muted);
}

.detail-copy-title {
  margin: 0 0 0.35rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  font-weight: 400;
  color: var(--ink) !important;
}

.detail-copy p {
  margin: 0 0 0.75rem;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.detail-lead {
  margin: 0 0 1rem !important;
  color: var(--ink) !important;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}

.detail-model-desc {
  color: var(--ink-muted);
  line-height: 1.55;
}

.detail-model-desc p {
  margin: 0 0 0.75rem;
}

.detail-model-desc p:last-child {
  margin-bottom: 0;
}

.detail-short-blurb {
  margin: 1rem 0 0 !important;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  color: var(--ink-muted) !important;
  font-size: 0.98rem;
  line-height: 1.5;
}

.detail > .section {
  border-top: 1px solid rgba(13, 13, 13, 0.12);
  margin: 0;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.detail > .section + .section {
  border-top: 1px solid rgba(13, 13, 13, 0.12);
}

.prose {
  max-width: 40rem;
  display: grid;
  gap: 1rem;
  color: var(--ink-muted);
}

/* Info pages: same width as header/menu shell (not a narrow reading column,
   and not full-bleed past --shell-max). */
.shell.prose,
.prose.prose-wide {
  max-width: var(--shell-max);
  width: 100%;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  margin-top: 0.75rem;
}

.prose.prose-wide h2,
.prose.prose-wide h3 {
  text-transform: uppercase;
}

.prose p {
  /* .prose — grid с gap, поэтому стандартные margin у <p> дают "двойной" отступ */
  margin: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.prose a {
  color: var(--signal-ink, #111);
  font-weight: 600;
}

.prose img {
  max-width: 100%;
  height: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.4rem 0.55rem;
}

.empty-note {
  grid-column: 1 / -1;
  color: var(--ink-muted);
}

/* Order success */
.order-success {
  position: relative;
  padding: calc(var(--header-h) + 2.5rem) 0 var(--section-pad);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 212, 0, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(255, 106, 0, 0.12), transparent 50%),
    linear-gradient(180deg, #111 0%, #1a1a1a 45%, var(--bg) 100%);
}

.order-success-inner {
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
  margin-inline: auto;
}

.order-success-hero {
  text-align: center;
  color: var(--ink-on-dark);
  padding: 0.5rem 0 0.25rem;
}

.order-success-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: 0 0 0 8px rgba(255, 212, 0, 0.18);
  animation: order-success-pop 0.55s var(--ease) both;
}

.order-success-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

@keyframes order-success-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.order-success-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.order-success-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--ink-on-dark);
}

.order-success-lead {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-on-dark-muted);
}

.order-success-lead strong {
  color: var(--ink-on-dark);
}

.order-success-account {
  margin: 1rem auto 0;
  max-width: 32rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 212, 0, 0.16);
  border: 1px solid rgba(255, 212, 0, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-on-dark);
}

.order-success-account a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 650;
}

.order-success-number {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1.35rem auto 0;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.order-success-number span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 212, 0, 0.8);
}

.order-success-number strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--signal);
}

.order-success-card {
  padding: 1.35rem 1.4rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-success-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.order-success-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.order-success-card-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.order-success-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.order-success-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.order-success-lines strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
}

.order-success-lines span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.order-success-lines em {
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.order-success-fee {
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line-strong);
}

.order-success-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin: 1.15rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.order-success-meta dt {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.order-success-meta dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.order-success-meta-wide {
  grid-column: 1 / -1;
}

.order-success-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.15rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-ink);
  color: var(--ink-on-dark);
}

.order-success-total span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}

.order-success-total strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--signal);
}

.order-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.order-success-actions .btn-ghost {
  border-color: rgba(13, 13, 13, 0.2);
  background: var(--bg-elevated);
}

@media (max-width: 640px) {
  .order-success-meta {
    grid-template-columns: 1fr;
  }

  .order-success-card {
    padding: 1.1rem;
  }
}

/* Cart / checkout */
.cart-table {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 4.75rem 7.25rem 2.75rem;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.cart-thumb {
  width: 88px;
  height: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cart-thumb picture,
.cart-thumb img {
  width: 100%;
  height: 100%;
  display: block;
}

.cart-thumb img {
  object-fit: cover;
}

.cart-thumb-fallback {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-dim);
  text-align: center;
  padding: 0.25rem;
}

.cart-info {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  align-content: center;
}

.cart-info .tire-brand,
.cart-info .cart-sku,
.cart-info .tire-spec {
  margin: 0;
}

.cart-info > a {
  line-height: 1.25;
}

.cart-qty {
  display: grid;
  place-items: center;
  margin: 0;
}

.cart-qty-label {
  display: block;
  margin: 0;
  width: 100%;
}

.cart-qty input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.35rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cart-sku {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.cart-remove-form {
  margin: 0;
  display: grid;
  place-items: center;
}

.cart-remove-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink-muted);
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.cart-remove-btn > span {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 0;
}

.cart-remove-btn svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.cart-remove-btn:hover {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.45);
  background: rgba(180, 35, 24, 0.06);
}

.cart-line-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cart-preorder-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal-ink, #0d0d0d);
  background: var(--signal);
  border-radius: 999px;
  vertical-align: middle;
}

.detail-preorder-note {
  margin: 0.55rem 0 0;
  width: 100%;
  font-size: 0.85rem;
  color: var(--ink-dim);
  line-height: 1.35;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-summary p {
  margin: 0;
  font-size: 1.15rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2.25rem;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 1.35rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.checkout-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.85rem;
}

.checkout-form legend {
  padding: 0;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.checkout-options-label {
  display: block;
  margin-bottom: 0.55rem;
}

.checkout-option-list {
  display: grid;
  gap: 0.65rem;
  text-transform: none;
  letter-spacing: normal;
}

.checkout-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.checkout-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(255, 106, 0, 0.06);
}

.checkout-option input {
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.checkout-option-body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.checkout-option-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}

.checkout-option-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--ink);
}

.checkout-option-icon svg {
  width: 100%;
  height: 100%;
}

.checkout-option-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.checkout-option-top strong {
  font-weight: 700;
}

.checkout-option-top em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue-deep);
  white-space: nowrap;
}

.checkout-option-desc {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
}

.checkout-option[hidden] {
  display: none !important;
}

.checkout-address-fields {
  display: grid;
  gap: 0.85rem;
}

.checkout-address-fields[hidden] {
  display: none !important;
}

.checkout-delivery-line {
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-muted);
}

.checkout-payment-line {
  color: var(--ink-muted);
}

.form-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.form-field .form-control {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}

.field-error,
.form-errors {
  color: var(--signal);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

ul.form-errors {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

ul.form-errors li {
  margin: 0.15rem 0;
}

.field-hint {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.checkout-aside {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.checkout-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.checkout-lines li > span {
  min-width: 0;
  flex: 1;
  line-height: 1.35;
}

.checkout-lines li > strong {
  flex-shrink: 0;
  text-align: right;
}

.checkout-total {
  margin: 0 0 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 0 0 1.75rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 212, 0, 0.28);
  background:
    radial-gradient(ellipse 55% 70% at 0% 100%, rgba(255, 106, 0, 0.2), transparent 58%),
    radial-gradient(ellipse 45% 55% at 100% 0%, rgba(255, 212, 0, 0.1), transparent 50%),
    linear-gradient(180deg, #141414 0%, var(--bg-ink) 40%);
  color: var(--ink-on-dark);
}

.footer-signal {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--signal) 0%,
    var(--blue) 42%,
    var(--signal) 100%
  );
}

.footer-inner {
  padding-top: 2.25rem;
}

.footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-footer {
  display: inline-flex;
  margin: 0;
}

.logo-footer .logo-img {
  height: clamp(3.25rem, 6vw, 4.5rem);
  max-width: min(88vw, 22rem);
  filter: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-bottom: 2rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.7rem 1.05rem;
  border: 0;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-cta:hover {
  background: var(--signal-deep);
  transform: translateY(-1px);
}

.footer-cta-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
}

.footer-cta-icon svg {
  width: 100%;
  height: 100%;
}

.footer-col {
  min-width: 0;
}

.footer-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--signal);
  transform: translateX(2px);
}

.footer-muted {
  color: rgba(247, 247, 245, 0.4);
  font-size: 0.95rem;
}

.footer-link-icon {
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-link-icon svg {
  width: 100%;
  height: 100%;
}

.footer-contacts {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-company {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  line-height: 1.35;
}

.footer-unp {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-on-dark-muted);
}

.footer-legal-text,
.footer-legal-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.45;
}

.footer-legal-meta-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 212, 0, 0.75);
}

.footer-contact-row,
.footer-phone {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  color: var(--ink-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.footer-phone:hover {
  color: var(--signal);
}

.footer-contact-icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--signal);
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer-phones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-phone.is-static {
  cursor: default;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  color: rgba(245, 245, 243, 0.45);
  font-size: 0.84rem;
  border-top: 1px solid rgba(245, 245, 243, 0.12);
  padding-top: 1.15rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }

  .footer-inner {
    padding-top: 1.75rem;
  }

  .footer-brand {
    margin-bottom: 1.5rem;
  }

  .footer-col,
  .footer-contacts {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .footer-links {
    justify-items: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-contact-row,
  .footer-phone {
    justify-content: center;
    text-align: center;
  }

  .footer-phones {
    justify-items: center;
    width: 100%;
  }

  .footer-cta {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile */
@media (max-width: 1199px) {
  :root {
    --header-h: 6.85rem;
  }

  .nav {
    display: none;
  }

  .logo-img {
    height: 2.15rem;
    max-width: min(88vw, 17.5rem);
  }

  .header-cta {
    display: inline-flex;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .header-cta .nav-icon + * {
    /* keep label */
  }

  .header-cart {
    margin-left: 0;
    margin-right: 0;
  }

  .header-fav,
  .header-cart {
    font-size: 0;
  }

  .header-fav .nav-icon,
  .header-cart .nav-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .header-fav .cart-badge,
  .header-cart .cart-badge {
    font-size: 0.7rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    width: auto;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem max(1.25rem, env(safe-area-inset-right, 0px)) 1rem
      max(1.25rem, env(safe-area-inset-left, 0px));
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(255, 224, 0, 0.2);
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-open .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(245, 245, 243, 0.1);
    color: var(--ink-on-dark);
  }

  .hero {
    align-items: flex-end;
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero-slides {
    min-height: 22rem;
  }

  .hero-slide-copy {
    top: 1.35rem;
    left: 50%;
    bottom: auto;
    width: calc(100% - 5.5rem);
    max-width: none;
    transform: translateX(-50%);
    padding: 0.95rem 1rem;
  }

  .hero-brand {
    font-size: 1rem;
  }

  .hero-slider-nav {
    bottom: 5.75rem;
  }

  .hero-arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
  }

  .hero-arrow-prev {
    left: 0.55rem;
  }

  .hero-arrow-next {
    right: 0.55rem;
  }

  .finder-grid-bar {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .style-rail,
  .promos-grid,
  .reviews-grid,
  .catalog-layout,
  .detail-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 72px minmax(0, 1fr) 2.75rem;
    grid-template-areas:
      "thumb info remove"
      "thumb qty price";
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.85rem;
  }

  .cart-row > .cart-thumb {
    grid-area: thumb;
    width: 72px;
    height: 72px;
    align-self: start;
  }

  .cart-row > .cart-info {
    grid-area: info;
    min-width: 0;
  }

  .cart-row > .cart-qty {
    grid-area: qty;
    justify-self: start;
    width: 4.75rem;
  }

  .cart-row > .cart-line-price {
    grid-area: price;
    justify-self: end;
    align-self: center;
    font-size: 1.2rem;
  }

  .cart-row > .cart-remove-form {
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .cart-summary .cta-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.55rem;
  }

  .cart-summary .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .detail-layout {
    gap: 1.35rem;
    padding-block: 1.35rem 0.75rem;
  }

  .detail-visual,
  .detail-gallery-thumbs {
    max-width: none;
  }

  .detail-buy-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .detail-buy-actions,
  .detail-cart-form {
    width: 100%;
  }

  .detail-cart-form .tire-cart-btn {
    flex: 1 1 auto;
  }

  .detail-actions {
    gap: 0.55rem;
  }

  .detail-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
    margin: 1rem 0;
    padding: 0.95rem 0;
  }

  .detail-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .detail-perks {
    padding-top: 0.85rem;
  }

  .product-review-form-wrap {
    padding: 1rem;
  }

  .benefits-grid,
  .style-rail,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-fields,
  .finder-fields-3,
  .finder-fields-2,
  .finder-price-row,
  .finder-compact-row,
  .finder-more-grid,
  .finder-bike-row {
    grid-template-columns: 1fr 1fr;
  }

  .finder-compact-row .finder-submit,
  .finder-bike-row [data-bike-submit] {
    grid-column: 1 / -1;
  }

  .cart-toast {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-filters {
    position: static;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promos-grid {
    grid-template-columns: 1fr;
  }

  .style-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .benefits-grid,
  .style-rail,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .tire-ring-lg,
  .reveal {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Soft geometry — less square */
.nav-toggle,
.flash,
.tire-finder,
.catalog-filters form,
.finder-shell-bar,
.callback-panel,
.cart-toast,
.tire-item,
.benefit,
.style-chip,
.promo-item,
.review-card,
.brand-logo-link,
.checkout-aside,
.cart-row,
.detail-visual {
  border-radius: var(--radius);
}

.finder-shell-bar,
.callback-panel,
.cart-toast {
  overflow: visible;
}

.callback-panel,
.cart-toast {
  overflow: hidden;
}

.tire-item {
  overflow: visible;
}

.finder-shell-bar .finder-tabs {
  border-radius: var(--radius) var(--radius) 0 0;
}

.finder-field select,
.finder-field input,
.qty-field input,
.cart-qty input,
.form-control,
textarea.form-control {
  border-radius: var(--radius-sm) !important;
}

.btn,
.header-cta,
.sort-pill,
.pagination a {
  border-radius: var(--radius-pill);
}

.tire-cart-btn {
  border-radius: var(--radius-pill);
}

.stock-badge,
.promo-badge,
.cart-badge {
  border-radius: var(--radius-pill);
}

.tire-visual,
.cart-toast-thumb,
.cart-thumb,
.detail-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-slides {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.hero-dot {
  border-radius: var(--radius-pill);
  height: 0.4rem;
  width: 1.4rem;
}

.logo-mark {
  border-radius: var(--radius-sm);
}

.finder-tab {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.site-header.is-open .nav {
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Staff admin bar (storefront) */
body.has-admin-bar {
  padding-bottom: 3.25rem;
}

.admin-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(13, 13, 13, 0.96);
  border-top: 2px solid var(--signal);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.admin-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0.55rem var(--shell-gutter);
  overflow-x: auto;
}

.admin-bar-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}

.admin-bar-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.admin-bar-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-on-dark);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.admin-bar-link:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(255, 212, 0, 0.08);
}

.admin-bar-link.is-home {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-ink);
}

.admin-bar-link.is-home:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
  color: var(--signal-ink);
}

@media (max-width: 640px) {
  body.has-admin-bar {
    padding-bottom: 3.6rem;
  }

  .admin-bar-label {
    display: none;
  }
}

/* ===== soft-ui.css ===== */
/* Force-soft UI — loaded as a separate file to bypass sticky browser cache */
.tire-item {
  border-radius: 0.75rem !important;
  overflow: visible !important;
}

.benefit,
.style-chip,
.style-card,
.promo-item,
.promo-card,
.review-card,
.brand-logo-link,
.callback-panel,
.cart-toast,
.catalog-filters form {
  border-radius: 1.35rem !important;
  overflow: hidden;
}

.finder-shell-bar,
.tire-finder,
.tire-finder.bike-finder {
  border-radius: 1.35rem !important;
  overflow: visible !important;
}

.btn,
.header-cta,
.sort-pill,
.stock-badge,
.promo-badge,
.new-badge,
.cart-badge {
  border-radius: 999px !important;
}

.tire-cart-btn {
  width: 100% !important;
  min-height: 2.45rem !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.84rem !important;
  border-radius: 0.35rem !important;
  clip-path: none !important;
}

.detail-cart-form .tire-cart-btn {
  width: auto !important;
  min-width: 10.5rem !important;
  transform: skewX(-20deg) !important;
  border-radius: 0.35rem !important;
  clip-path: none !important;
}

.detail-cart-form .tire-cart-btn:hover,
.detail-cart-form .tire-cart-btn.is-added,
.detail-cart-form .tire-cart-btn.is-added:hover {
  transform: skewX(-20deg) !important;
  clip-path: none !important;
  border-radius: 0.35rem !important;
}

.detail-cart-form .tire-cart-btn .tire-cart-icon,
.detail-cart-form .tire-cart-btn .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg) !important;
  transform-origin: center center;
}

.tire-item .tire-cart-btn,
.tube-item .tire-cart-btn {
  width: 100% !important;
  border-radius: 0.35rem !important;
  clip-path: none !important;
  transform: skewX(-20deg) !important;
}

.tire-item .tire-cart-btn:hover,
.tube-item .tire-cart-btn:hover {
  transform: skewX(-20deg) !important;
}

.tire-item .tire-cart-btn.is-added,
.tire-item .tire-cart-btn.is-added:hover,
.tube-item .tire-cart-btn.is-added,
.tube-item .tire-cart-btn.is-added:hover {
  transform: skewX(-20deg) !important;
  clip-path: none !important;
}

.tire-item .tire-cart-btn .tire-cart-icon,
.tire-item .tire-cart-btn .tire-cart-label,
.tube-item .tire-cart-btn .tire-cart-icon,
.tube-item .tire-cart-btn .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg) !important;
  transform-origin: center center;
}

.finder-field select,
.finder-field input,
.form-control,
.qty-field input,
.cart-qty input,
.tire-visual,
.cart-toast-thumb {
  border-radius: 0.85rem !important;
}

.hero-slides {
  border-radius: 0 0 2rem 2rem !important;
  overflow: hidden;
}

.logo-mark {
  border-radius: 0.65rem !important;
}

/* ===== storefront.css ===== */
/* Commercial storefront layer — Kolesoplus / Autoset inspired */

:root {
  --topbar-h: 2.35rem;
  --header-h: 4.1rem;
  --shell-max: 1480px;
  --shell-gutter: clamp(1.25rem, 4vw, 2.75rem);
  --bg: #f3f3f3;
  --radius-sm: 0.55rem;
  --radius: 0.85rem;
  --radius-lg: 1.15rem;
}

@media (max-width: 900px) {
  :root {
    --shell-gutter: clamp(1.25rem, 5.5vw, 1.75rem);
  }
}

@media (max-width: 480px) {
  :root {
    --shell-gutter: 1.35rem;
  }

  .finder-fields,
  .finder-fields-3,
  .finder-fields-2,
  .finder-price-row,
  .finder-compact-row,
  .finder-more-grid,
  .finder-bike-row {
    grid-template-columns: 1fr;
  }

  .header-actions .header-cart {
    min-width: 2.85rem;
    padding: 0 0.85rem;
  }

  .logo-img {
    max-width: min(92vw, 15.5rem);
  }
}

body {
  background: var(--bg);
}

/* Top utility bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 55;
  height: var(--topbar-h);
  background: #111;
  color: rgba(247, 247, 245, 0.82);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 212, 0, 0.25);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-inner-menu {
  justify-content: space-between;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.15rem;
  flex-shrink: 1;
  flex-wrap: nowrap;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: rgba(247, 247, 245, 0.9);
  white-space: nowrap;
}

.topbar-hours .nav-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: grid;
  place-items: center;
  color: var(--signal, #f5c518);
}

.topbar-hours .nav-icon svg {
  width: 100%;
  height: 100%;
}

.topbar-hours-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 0.02rem;
  line-height: 1.05;
}

.topbar-hours-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.55);
}

.topbar-hours-value {
  font-size: 0.78rem;
  font-weight: 650;
  color: #fff;
}

.topbar-actions .menu-link {
  color: rgba(247, 247, 245, 0.9);
  text-decoration: none;
  font: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-actions .menu-link:hover {
  color: var(--signal);
}

.topbar-actions .menu-link .nav-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: grid;
  place-items: center;
}

.topbar-actions .menu-link .nav-icon svg {
  width: 100%;
  height: 100%;
}

.topbar-actions .menu-link-account {
  padding: 0.18rem 0.65rem;
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
}

.topbar-actions .menu-link-account:hover {
  border-color: var(--signal);
  background: rgba(255, 212, 0, 0.12);
  color: var(--signal);
}

.topbar-links .menu-link {
  color: rgba(247, 247, 245, 0.9);
  text-decoration: none;
  font: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-links .menu-link:hover {
  color: var(--signal);
}

.topbar-callback {
  color: #111;
  background: var(--signal);
  border: 0;
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.topbar-callback:hover {
  background: #ffe566;
  color: #111;
}

.topbar-links .menu-link-phone {
  gap: 0.45rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(255, 212, 0, 0.35);
  border-radius: 999px;
  color: #fff;
}

.topbar-links .menu-link-phone:hover {
  border-color: var(--signal);
  background: rgba(255, 212, 0, 0.12);
  color: var(--signal);
}

.topbar-links .menu-link-phone-label {
  display: none;
}

.topbar-links .menu-link-fav {
  font-weight: 700;
}

.topbar-links .menu-link .nav-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: grid;
  place-items: center;
}

.topbar-links .menu-link .nav-icon svg {
  width: 100%;
  height: 100%;
}

.topbar-links .fav-badge {
  margin-left: 0.15rem;
}

body.has-topbar .site-header {
  top: var(--topbar-h);
}

body:not(.has-topbar) .site-header {
  top: 0;
}

body.has-topbar .hero-block,
body.has-topbar .hero,
body.has-topbar .detail {
  padding-top: calc(var(--header-h) + var(--topbar-h));
}

body:not(.has-topbar) .hero-block,
body:not(.has-topbar) .hero,
body:not(.has-topbar) .detail {
  padding-top: var(--header-h);
}

.header-actions {
  --header-btn-h: 2.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem 0.65rem;
  flex-shrink: 0;
  margin-left: 0;
}

.header-actions-desktop {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.header-phone-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.15rem;
}

.header-account-slot {
  display: inline-flex;
  align-items: center;
}

.nav-mobile-extras {
  display: none;
}

.nav-mobile-head,
.nav-mobile-meta {
  display: none;
}

.nav-primary {
  display: contents;
}

.header-actions .menu-link,
.header-actions .header-cta,
.header-actions .header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-sizing: border-box;
  min-height: var(--header-btn-h);
  height: var(--header-btn-h);
  padding: 0 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.header-actions .menu-link {
  color: var(--ink-on-dark-muted);
  font-weight: 650;
}

.header-actions .menu-link:hover {
  color: var(--signal);
}

.header-actions .menu-link-phone {
  flex-direction: row;
  gap: 0.45rem;
  padding: 0 0.85rem;
  border: 1.5px solid rgba(255, 212, 0, 0.4);
  color: #fff;
}

.header-actions .header-hours {
  margin: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  min-height: var(--header-btn-h, 2.45rem);
  border: 1.5px solid rgba(255, 212, 0, 0.28);
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}

.header-actions .header-hours .nav-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--signal);
}

.header-actions .header-hours .nav-icon svg {
  width: 100%;
  height: 100%;
}

.header-actions .header-hours-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  text-align: left;
  gap: 0.05rem;
}

.header-actions .header-hours-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 212, 0, 0.85);
}

.header-actions .header-hours-value {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
}

.header-actions .menu-link-phone-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  text-align: left;
  gap: 0.05rem;
}

.header-actions .menu-link-phone-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 212, 0, 0.85);
}

.header-actions .menu-link-phone-num {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
}

.header-actions .menu-link-phone:hover {
  border-color: var(--signal);
  background: rgba(255, 212, 0, 0.12);
}

.header-actions .menu-link-phone:hover .menu-link-phone-num {
  color: var(--signal);
}

.header-actions .menu-link-account.menu-link-accent {
  padding: 0 0.9rem;
  min-height: var(--header-btn-h);
  height: var(--header-btn-h);
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.08);
  color: var(--signal, #f5c518) !important;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: 1px solid rgba(245, 197, 24, 0.55);
}

.header-actions .menu-link-account.menu-link-accent:hover {
  background: rgba(245, 197, 24, 0.16);
  border-color: var(--signal, #f5c518);
  color: #ffe566 !important;
}

.header-actions .menu-link-account.menu-link-accent .nav-icon {
  color: currentColor;
}

/* Акцент в основном меню: обводка, жёлтый бейдж иконки, подпись как у обычных пунктов */
.nav .menu-link-accent {
  padding: 0 0.7rem 0 0;
  min-height: 2.15rem;
  border-radius: 0.35rem;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.55);
  color: inherit !important;
  font-weight: inherit;
  letter-spacing: inherit;
  gap: 0.5rem;
  overflow: visible;
  flex-shrink: 0;
  align-items: stretch;
}

.nav .menu-link-accent:hover {
  background: rgba(245, 197, 24, 0.14);
  border-color: var(--signal, #f5c518);
  color: var(--signal, #f5c518) !important;
  filter: none;
}

.nav .menu-link-accent .nav-icon {
  width: 2.15rem;
  height: auto;
  min-height: 100%;
  align-self: stretch;
  padding: 0;
  border-radius: 0;
  background: var(--signal, #f5c518);
  color: #111;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav .menu-link-accent .nav-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav .menu-link-accent:hover .nav-icon {
  background: #ffe566;
  color: #111;
}

.header-actions .menu-link .nav-icon,
.header-actions .header-cta .nav-icon,
.header-actions .header-cart .nav-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header-actions .menu-link .nav-icon svg,
.header-actions .header-cta .nav-icon svg,
.header-actions .header-cart .nav-icon svg {
  width: 100%;
  height: 100%;
}

.header-actions .header-cta {
  flex-shrink: 0;
  border: 1.5px solid var(--signal);
  padding: 0 0.95rem;
}

.header-actions .header-cart {
  color: var(--ink-on-dark-muted);
  border: 1.5px solid transparent;
  padding: 0 0.75rem;
}

.header-actions .header-cart:hover {
  color: var(--signal);
}

.nav .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Header phone */
.header-phone {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}

.header-phone-label {
  font-size: 0.68rem;
  color: rgba(247, 247, 245, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-phone-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--signal);
}

@media (min-width: 1100px) {
  .header-phone {
    display: flex;
  }
}

.header-inner .header-cart {
  margin-left: 0.35rem;
}

/* Hero: shorter, more catalog-store */
.hero-slides {
  min-height: clamp(20rem, 42vw, 28rem);
  border-radius: 0 !important;
}

.hero-slide-copy {
  top: 50%;
  bottom: auto;
  max-width: 36rem;
}

.hero-brand {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-title {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  max-width: 18ch;
}

.hero-finder-bar {
  margin-top: -0.5rem;
  padding-bottom: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 70%);
}

.hero-slider-nav {
  bottom: 5.5rem;
}

.finder-shell-bar {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.finder-shell-bar .finder-tabs {
  background: #0d0d0d;
}

.finder-shell-bar .finder-tab.is-active {
  background: #fff;
  color: #0d0d0d;
  font-weight: 700;
}

.finder-shell-bar .btn-primary {
  min-width: 14rem;
}

/* Trust strip — Autoset style */
.trust-strip {
  padding: 0 0 1.75rem;
  background: var(--bg);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.22);
  color: var(--signal-ink, #0d0d0d);
  flex-shrink: 0;
}

.trust-icon img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.trust-text {
  margin: 0;
  font-family: var(--font-body, inherit);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0;
}

.trust-value {
  font-weight: inherit;
  color: inherit;
}

/* Promo banners */
.promos-banners {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.promo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.promo-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.promo-card-media picture,
.promo-card-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.promo-card-media img {
  object-fit: cover;
}

.promo-card-media .promo-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
}

.promo-badge-inline {
  position: static;
  align-self: flex-start;
  margin: 1rem 1.15rem 0;
}

.promo-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1.1rem 1.15rem 1.2rem;
}

.promo-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  padding-right: 0;
}

.promo-card-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.promo-card-cta {
  margin-top: auto;
  align-self: flex-start;
  min-width: 8.5rem;
}

/* Unified section “В каталог” CTA */
.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-height: 2.4rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--signal);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.section-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.section-cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-cta:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
  color: var(--signal-ink);
}

.section-band-blue .section-cta,
.section-band-navy .section-cta,
.section-band-ink .section-cta {
  background: var(--signal);
  color: var(--signal-ink);
  border-color: var(--signal);
}

/* Review scoreboard */
.review-scoreboard {
  text-align: right;
  min-width: 7rem;
}

.review-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--signal);
}

.review-score span {
  font-size: 1.1rem;
  color: rgba(247, 247, 245, 0.55);
  margin-left: 0.1rem;
}

.review-score-meta {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(247, 247, 245, 0.65);
}

.reviews-section .review-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.28);
  border-left: 4px solid var(--signal);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.reviews-section .review-top strong,
.reviews-section .review-text {
  color: var(--ink-on-dark);
}

.reviews-section .review-date,
.reviews-section .review-tire {
  color: rgba(247, 247, 245, 0.55);
}

.reviews-section .review-tire-link {
  color: var(--signal);
  border-bottom-color: rgba(255, 212, 0, 0.35);
}

.reviews-section .review-tire-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* CTA store panel */
.cta-section {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.cta-panel-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 3vw, 2rem);
  background: linear-gradient(110deg, #111 0%, #1a1a1a 55%, #222 100%);
  border: 1px solid rgba(255, 212, 0, 0.28);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  overflow: visible;
}

.cta-panel-store .cta-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.cta-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}

.cta-panel-store h2 {
  margin: 0 0 0.4rem;
}

.cta-panel-store p {
  margin: 0;
  max-width: 48ch;
}

.cta-panel-store .cta-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
}

.cta-panel-store .cta-actions .btn {
  white-space: nowrap;
}

/* Sharper commercial product tiles */
.section-band-light {
  background: #fafafa;
}

.section-band-blue {
  background: #efefef;
}

.tire-item {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: none;
}

.tire-item:hover {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Brands strip cleaner */
.brand-strip {
  gap: 0.75rem;
}

.brand-logo-link {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius) !important;
}

.brands-section .section-head {
  max-width: none;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  text-align: center;
}

.brands-section .brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brands-section .brand-strip > li {
  flex: 0 1 11.5rem;
  width: min(100%, 11.5rem);
}

.brands-section .brand-logo-link {
  min-height: 5.75rem;
  padding: 1.15rem 1.25rem;
}

.brands-section .brand-logo {
  max-width: 11rem;
  height: 3rem;
  opacity: 0.9;
}

/* Узкий десктоп / большой планшет landscape: уплотняем actions, прячем длинные ссылки топбара */
@media (max-width: 1359px) and (min-width: 1200px) {
  .topbar-links .menu-link:not(.menu-link-fav) {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions-desktop {
    gap: 0.4rem;
  }

  .header-actions .header-hours-label {
    display: none;
  }

  .header-actions .header-hours {
    padding: 0 0.7rem;
  }

  .header-actions .header-hours-value {
    font-size: 0.8rem;
  }

  .header-actions .menu-link-phone-label {
    display: none;
  }

  .header-actions .menu-link-phone {
    padding: 0 0.7rem;
  }

  .header-actions .header-cta {
    font-size: 0;
    gap: 0;
    padding: 0 0.7rem;
    min-width: var(--header-btn-h, 2.45rem);
  }

  .header-actions .header-cta .nav-icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .header-actions .header-cart {
    font-size: 0;
    padding: 0 0.7rem;
    min-width: var(--header-btn-h, 2.45rem);
  }

  .nav {
    gap: 0.35rem 0.65rem;
    margin-left: 0.35rem;
  }

  .nav .menu-link-accent {
    padding-right: 0.55rem;
  }

  .nav .menu-link-accent .nav-icon {
    width: 1.95rem;
  }
}

@media (max-width: 960px) {
  .trust-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-item:nth-child(3) {
    border-right: 0;
  }

  .promos-banners {
    grid-template-columns: 1fr;
  }

  .cta-panel-store {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel-store .cta-actions {
    width: 100%;
  }

  .cta-panel-store .cta-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 1199px) {
  :root {
    --header-h: 6.85rem;
  }

  .header-actions .menu-link-phone-label {
    display: none;
  }

  .header-actions .menu-link-phone {
    padding: 0.35rem 0.55rem;
  }

  .header-actions .menu-link-account .menu-link-text {
    display: none;
  }

  .header-actions .menu-link-fav .menu-link-text {
    display: none;
  }

  .header-actions-desktop {
    display: none;
  }

  .header-account-slot {
    display: none;
  }

  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 0.4rem;
    height: 100%;
    padding-block: 0.4rem 0.5rem;
  }

  .logo {
    grid-column: 1;
    width: 100%;
    justify-content: center;
    justify-self: center;
  }

  .logo-img {
    height: 2.15rem;
    max-width: min(88vw, 17.5rem);
    margin-inline: auto;
  }

  .header-actions {
    grid-column: 1;
    width: 100%;
    margin: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.45rem;
  }

  .header-search-toggle {
    width: 2.65rem;
    height: 2.65rem;
    justify-self: start;
    z-index: 4;
  }

  .header-actions .header-cart {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
    z-index: 3;
    margin: 0;
    padding: 0 1.15rem;
    width: auto;
    min-width: 3.35rem;
    min-height: 2.75rem;
    height: 2.75rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--signal, #f5c518);
    color: #111;
    font-size: 0 !important;
    line-height: 0;
    box-shadow:
      0 0 0 3px rgba(245, 197, 24, 0.35),
      0 6px 16px rgba(0, 0, 0, 0.4);
  }

  .header-actions .header-cart:hover,
  .header-actions .header-cart:focus-visible {
    color: #111;
    filter: brightness(1.06);
    box-shadow:
      0 0 0 3px rgba(245, 197, 24, 0.5),
      0 8px 20px rgba(0, 0, 0, 0.48);
  }

  .header-actions .header-cart .nav-icon {
    width: 1.55rem;
    height: 1.55rem;
    color: #111;
  }

  .header-actions .header-cart .cart-badge {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35rem;
    background: #111;
    color: var(--signal, #f5c518);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .header-actions .header-cart .cart-badge:not([hidden]) {
    animation: cart-badge-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-toggle {
    flex-shrink: 0;
    display: inline-flex;
    justify-self: end;
    width: 2.65rem;
    height: 2.65rem;
  }

  /* Topbar links move into the hamburger drawer on mobile */
  .topbar {
    display: none;
  }

  body.has-topbar .site-header {
    top: 0;
  }

  body.has-topbar .hero-block,
  body.has-topbar .hero,
  body.has-topbar .detail {
    padding-top: var(--header-h);
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    width: auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 60;
    box-sizing: border-box;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(255, 224, 0, 0.2);
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 0.65rem max(1.15rem, env(safe-area-inset-right, 0px))
      calc(1.25rem + env(safe-area-inset-bottom, 0px))
      max(1.15rem, env(safe-area-inset-left, 0px));
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    overflow: visible;
  }

  .site-header.is-open .nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 0 0.35rem;
    padding: 0.35rem 0 0.65rem;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(245, 245, 243, 0.12);
  }

  .site-header.is-open .nav-mobile-head-title {
    font-family: var(--font-sans, Manrope, system-ui, sans-serif);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247, 247, 245, 0.85);
    line-height: 1;
  }

  .site-header.is-open .nav-mobile-close {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
  }

  .site-header.is-open .nav-mobile-close-x {
    font-size: 1.25rem;
    line-height: 1;
  }

  .site-header.is-open .nav-mobile-close:hover {
    border-color: var(--signal, #f5c518);
    color: var(--signal, #f5c518);
  }

  .site-header.is-open .nav-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(245, 245, 243, 0.12);
  }

  .site-header.is-open .nav-primary {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .site-header.is-open .nav-mobile-extras {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(245, 245, 243, 0.12);
  }

  .site-header.is-open .nav-mobile-meta .menu-link,
  .site-header.is-open .nav-mobile-extras .menu-link,
  .site-header.is-open .nav-primary .menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.75rem;
    height: auto;
    padding: 0.85rem 0;
    border: 0;
    border-bottom: 1px solid rgba(245, 245, 243, 0.1);
    border-radius: 0;
    background: transparent;
    color: var(--ink-on-dark, #f5f5f3);
    font: inherit;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
  }

  .site-header.is-open .nav-primary .menu-link-accent {
    color: var(--ink-on-dark, #f5f5f3) !important;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(245, 245, 243, 0.1);
    border-radius: 0;
    min-height: 2.75rem;
    padding: 0.85rem 0;
    gap: 0.55rem;
    overflow: visible;
  }

  .site-header.is-open .nav-primary .menu-link-accent .nav-icon {
    width: 1.55rem;
    height: 1.55rem;
    min-height: 0;
    align-self: center;
    border-radius: 0.3rem;
    background: var(--signal, #f5c518);
    color: #111;
  }

  .site-header.is-open .nav-primary .menu-link-accent .nav-icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .site-header.is-open .nav-mobile-meta .menu-link-text,
  .site-header.is-open .nav-mobile-extras .menu-link-text,
  .site-header.is-open .nav-primary .menu-link-text {
    display: inline;
  }

  .site-header.is-open .nav-mobile-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(245, 245, 243, 0.1);
    color: var(--ink-on-dark, #f5f5f3);
    font-size: 1rem;
  }

  .site-header.is-open .nav-mobile-hours .nav-icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--signal);
  }

  .site-header.is-open .nav-mobile-hours .nav-icon svg {
    width: 100%;
    height: 100%;
  }

  .site-header.is-open .nav-mobile-hours-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.15;
  }

  .site-header.is-open .nav-mobile-hours-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 212, 0, 0.85);
  }

  .site-header.is-open .nav-mobile-hours-value {
    font-size: 1rem;
    font-weight: 700;
  }

  .site-header.is-open .nav-mobile-meta .nav-icon,
  .site-header.is-open .nav-mobile-extras .nav-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .site-header.is-open .nav-mobile-meta .nav-icon svg,
  .site-header.is-open .nav-mobile-extras .nav-icon svg {
    width: 100%;
    height: 100%;
  }

  .site-header.is-open .nav-mobile-meta .menu-link-phone-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.15;
  }

  .site-header.is-open .nav-mobile-meta .menu-link-phone-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 212, 0, 0.85);
  }

  .site-header.is-open .nav-mobile-meta .menu-link-phone-num {
    font-size: 1rem;
    font-weight: 700;
  }

  .header-search-panel {
    padding: 0.75rem 0 0.9rem;
  }

  .header-search {
    --header-btn-h: 2.75rem;
    gap: 0.4rem;
  }

  .header-search-input {
    font-size: 0.9rem;
  }

  .header-search-btn {
    padding: 0 0.85rem;
    font-size: 0.86rem;
  }

  .flash-stack {
    top: calc(var(--header-h) + 0.65rem);
  }

  .detail {
    padding-top: var(--header-h);
  }

  /* Hero: текст сверху, точки слайдера ниже — без пересечения */
  .hero-slide-copy {
    top: 1.35rem;
    left: 50%;
    bottom: auto;
    width: min(34rem, calc(100% - 5rem));
    max-width: none;
    transform: translateX(-50%);
    padding: 0.9rem 1.05rem;
  }

  .hero-slider-nav {
    bottom: 5.75rem;
  }

  .hero-finder-bar {
    margin-top: -0.75rem;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    justify-content: flex-start;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .trust-item {
    border-right: 0;
    padding: 0.55rem 0.35rem;
    background: #f7f7f7;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 640px) {
  .hero-slide-copy {
    top: 1rem;
    width: calc(100% - 4.25rem);
    padding: 0.75rem 0.85rem;
  }

  .hero-slider-nav {
    bottom: 5.5rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-slides {
    min-height: 18.5rem;
  }
}

.flash-stack {
  top: calc(var(--header-h) + var(--topbar-h) + 0.65rem);
}

@media (max-width: 1199px) {
  .flash-stack {
    top: calc(var(--header-h) + 0.65rem);
  }
}

/* Kolesoplus-like product tile */
.tire-grid {
  /* row-gap учитывает кнопку «В корзину», которая наполовину выходит за плитку */
  gap: 2.75rem 1rem;
  padding-bottom: 0.85rem;
}

@media (min-width: 1280px) {
  .tire-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 0.85rem;
  }

  .section-head {
    margin-bottom: 1.1rem;
  }
}

@media (max-width: 520px) {
  .tire-grid {
    grid-template-columns: 1fr;
    gap: 2.65rem;
  }

  .tire-item-body {
    padding: 0.95rem 0.95rem 1.65rem;
  }
}

.tire-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.75rem !important;
  background: #fff;
  box-shadow: none;
  overflow: visible !important;
  transform: none !important;
  position: relative;
}

.tire-item:hover {
  border-color: rgba(0, 0, 0, 0.22) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  transform: none !important;
}

.tire-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  padding: 0.85rem 0.85rem 1.85rem;
  overflow: hidden;
  border-radius: inherit;
}

.tire-visual-link,
.tire-title-link,
.tire-brand-link {
  color: inherit;
  text-decoration: none;
}

.tire-title-link:hover,
.tire-brand-link:hover {
  color: var(--accent, #c9a227);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tire-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem !important;
  background: #fff;
  border: 0;
  overflow: hidden;
}

.tire-visual.has-photo picture,
.tire-visual.has-photo img {
  position: absolute !important;
  inset: 0.55rem !important;
  width: calc(100% - 1.1rem) !important;
  height: calc(100% - 1.1rem) !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
}

.tire-visual.has-photo img {
  object-fit: contain !important;
  object-position: center !important;
}

.tire-visual.has-photo picture img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
}

.tire-meta {
  display: grid;
  gap: 0.35rem;
  flex: 1;
}

.tire-brand {
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}

.brand-hero-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-hero-title {
  font-weight: 400 !important;
  -webkit-text-stroke: 0;
  letter-spacing: 0.02em !important;
  line-height: 1.05 !important;
}

.brand-hero-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.entity-desc-band {
  width: 100%;
  margin: 0;
  padding: 2.25rem 0;
  background:
    linear-gradient(90deg, rgba(245, 197, 24, 0.28), rgba(245, 197, 24, 0.08) 45%, #f7f7f5 100%);
  color: #1a1a1a;
  border-top: 3px solid var(--signal);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* SEO-текст под каталогом: отделён от сетки/пагинации */
.catalog-seo-band {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
}

.catalog-seo-text {
  max-width: 52rem;
}

.catalog-seo-text p {
  margin: 0 0 0.75rem;
}

.catalog-seo-text p:last-child {
  margin-bottom: 0;
}

.catalog-seo-text h2,
.catalog-seo-text h3,
.catalog-seo-text h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #0d0d0d;
  text-wrap: balance;
}

.catalog-seo-text h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--signal);
  display: inline-block;
  max-width: 100%;
}

.catalog-seo-text h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  padding-left: 0.7rem;
  border-left: 3px solid var(--signal);
}

.catalog-seo-text h4 {
  margin: 1.15rem 0 0.4rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: 0.06em;
  color: #222;
}

.catalog-seo-text > :first-child {
  margin-top: 0;
}

.catalog-seo-text h2 + p,
.catalog-seo-text h3 + p,
.catalog-seo-text h4 + p {
  margin-top: 0.15rem;
}

.entity-desc-band-inner {
  display: grid;
  gap: 1.5rem;
}

.entity-desc-band-inner.has-media {
  grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
}

/* Страница модели: белая «витрина» под фото с белым фоном */
.model-desc-section {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(0.5rem, 2vw, 1rem);
  background: transparent;
  border-top: 3px solid var(--signal);
}

.model-desc-panel {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

.model-desc-panel.has-media {
  grid-template-columns: minmax(11rem, 18rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.model-desc-media {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 10rem;
  padding: 0.35rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(0, 0, 0, 0.04), transparent 70%);
}

.model-desc-media picture,
.model-desc-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 16rem;
  object-fit: contain;
  background: transparent;
}

.model-desc-copy {
  min-width: 0;
}

.model-desc-copy.entity-description,
.model-desc-copy.entity-description.prose {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.model-hero-media {
  margin: 0;
  border-radius: 0.5rem;
  background: transparent;
}

.model-hero-media picture,
.model-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  background: transparent;
}

.entity-description,
.entity-description.prose {
  margin: 0;
  max-width: none;
  width: 100%;
  line-height: 1.55;
  font-size: 1.02rem;
  color: inherit;
  display: block !important;
  gap: 0 !important;
  grid-template-columns: none;
}

.entity-description p,
.entity-description.prose p {
  margin: 0 0 0.35rem;
}

.entity-description a {
  color: #0d0d0d;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.entity-description p:first-child {
  margin-top: 0;
}

.entity-description p:last-child {
  margin-bottom: 0;
}

.entity-description h2,
.entity-description h3,
.entity-description h4,
.entity-description.prose h2,
.entity-description.prose h3,
.entity-description.prose h4 {
  color: #0d0d0d;
  margin: 0.85rem 0 0.35rem;
}

.entity-description ul,
.entity-description ol {
  margin: 0 0 0.35rem;
  padding-left: 1.25rem;
}

@media (max-width: 800px) {
  .entity-desc-band {
    padding: 1.75rem 0;
  }

  .catalog-seo-band {
    margin-top: 1.5rem;
    padding: 1.75rem 0 2rem;
  }

  .entity-desc-band-inner.has-media {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .model-desc-panel.has-media {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .model-desc-media {
    max-width: 16rem;
    margin-inline: auto;
    min-height: 0;
  }

  .model-hero-media {
    max-width: 22rem;
  }
}

.results-count {
  margin: 0 0 1rem;
}

.tire-sku {
  margin: 0.55rem 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  line-height: 1.3;
}

.tire-sku span {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.tire-model {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.detail-info h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tire-size-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
}

.tire-size {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink);
}

.tire-indexes {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.tire-spec {
  margin: 0;
  gap: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.tire-perks {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0.55rem 0 0;
  display: grid;
  gap: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tire-perk {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.45rem;
  align-items: start;
}

.tire-perk-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--blue);
  margin-top: 0.1rem;
}

.tire-perk-icon svg {
  width: 100%;
  height: 100%;
}

.tire-perk-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--ink-muted);
}

.tire-perk-text strong {
  color: var(--ink);
  font-weight: 700;
}

.tire-perk-text em {
  font-style: normal;
  color: var(--ink-muted);
}

.tire-buy-row {
  margin-top: 0.55rem;
}

.tire-price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  margin: 0;
  padding: 0.55rem 0.85rem 0.5rem;
  background: linear-gradient(135deg, #fff8d6 0%, #ffe566 55%, #ffd400 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 4px solid #0d0d0d;
  border-radius: 0.55rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.tire-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.55);
}

.tire-price-value {
  font-family: var(--font-display);
  font-size: 2.05rem;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #0d0d0d;
}

.detail-price-tag {
  margin: 0;
  padding: 0.7rem 1.05rem 0.65rem;
}

.detail-price-tag .tire-price-value {
  font-size: 2.45rem;
}

.tire-price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
  padding: 0.55rem 0.85rem 0.55rem;
  background: linear-gradient(135deg, #fff8d6 0%, #ffe566 55%, #ffd400 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 4px solid #0d0d0d;
  border-radius: 0.55rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.tire-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.price-old {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(13, 13, 13, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b1f 0%, #e55a00 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(229, 90, 0, 0.35);
}

.discount-badge-user {
  background: linear-gradient(135deg, #0d0d0d 0%, #333 100%);
  color: var(--signal, #ffd400);
  box-shadow: none;
}

.tire-price-stack.is-sale {
  padding: 0.55rem 0.75rem 0.5rem;
  border-radius: var(--radius-sm, 0.85rem);
  background: linear-gradient(135deg, rgba(255, 59, 31, 0.08), rgba(255, 212, 0, 0.14));
  border: 1px solid rgba(229, 90, 0, 0.22);
}

.tire-price-stack.is-sale .tire-price-label {
  color: #c2410c;
  font-weight: 800;
}

.tire-price-stack.is-sale .tire-price-value {
  color: #b91c1c;
}

.detail-price-stack.is-sale {
  padding: 0.85rem 1.1rem 0.8rem;
}

/* Sale / promo badges */
.sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b1f 0%, #ff6a00 55%, #ffb000 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 59, 31, 0.35);
}

.sale-badge-label {
  font-size: 0.72rem;
}

.sale-badge-pct {
  font-size: 0.82rem;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.sale-badge-ribbon {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  max-width: calc(100% - 4.5rem);
}

.sale-badge-lg {
  padding: 0.48rem 0.85rem;
  box-shadow: 0 10px 22px rgba(255, 59, 31, 0.32);
}

.sale-badge-lg .sale-badge-label {
  font-size: 0.8rem;
}

.sale-badge-lg .sale-badge-pct {
  font-size: 0.92rem;
}

.stock-badge-below-sale {
  top: 3rem;
}

.tire-item.is-on-sale {
  border-color: rgba(255, 106, 0, 0.35) !important;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.1);
}

.tire-item.is-on-sale:hover {
  border-color: rgba(255, 106, 0, 0.55) !important;
  box-shadow: 0 16px 34px rgba(255, 106, 0, 0.16);
}

.detail-visual .sale-badge-ribbon {
  z-index: 4;
  pointer-events: none;
}

.detail-sale-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm, 0.85rem);
  background:
    linear-gradient(120deg, rgba(255, 59, 31, 0.12), rgba(255, 212, 0, 0.18));
  border: 1px solid rgba(229, 90, 0, 0.28);
}

.detail-sale-banner-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b1f, #ff6a00);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(255, 59, 31, 0.35);
}

.detail-sale-banner-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.detail-sale-banner-copy strong {
  font-size: 1rem;
  color: #9a3412;
}

.detail-sale-banner-copy span {
  font-size: 0.9rem;
  color: rgba(13, 13, 13, 0.7);
  line-height: 1.35;
}

.detail-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.detail-price-stack {
  padding: 0.7rem 1.05rem 0.65rem;
}

.detail-price-stack .tire-price-value {
  font-size: 2.45rem;
}

/* Favorite heart on cards */
.fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #888;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}

.fav-btn:hover {
  color: #e53935;
  transform: scale(1.06);
}

.fav-btn.is-active {
  color: #e53935;
  background: #fff;
  border-color: rgba(229, 57, 53, 0.35);
}

.fav-btn.is-active .fav-btn-icon svg path {
  fill: currentColor;
}

.fav-btn-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
}

.fav-btn-icon svg {
  width: 100%;
  height: 100%;
}

.fav-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fav-btn-detail.is-active {
  color: #e53935;
  border-color: rgba(229, 57, 53, 0.35);
}

.fav-btn-detail.is-active .fav-btn-icon svg path {
  fill: currentColor;
}

.header-fav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-on-dark-muted);
}

.header-fav:hover {
  color: var(--signal);
}

.fav-badge {
  background: #e53935;
  color: #fff;
}

/* Promo cards — image / text / CTA (legacy photo-overlay styles removed) */
.promo-card .promo-badge {
  background: var(--signal);
  color: var(--signal-ink);
}

.tire-cart-form {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 80%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  transform: translate(-50%, 50%);
}

/* Место под «висящую» кнопку корзины, если плитка не в сетке */
.tire-item,
.tube-item {
  margin-bottom: 1.35rem;
}

.tire-grid .tire-item,
.tire-grid .tube-item {
  margin-bottom: 0;
}

.detail-cart-form .tire-cart-btn,
.tire-item .tire-cart-btn,
.tube-item .tire-cart-btn,
.tire-cart-btn-order {
  width: auto;
}

.detail-cart-form .tire-cart-btn {
  min-width: 10.5rem !important;
  width: auto !important;
  transform: skewX(-20deg) !important;
}

/* Quantity stepper (detail pages) */
.qty-stepper {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28rem;
  margin: 0;
}

.qty-stepper-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim, #666);
  line-height: 1;
}

.qty-stepper-control {
  display: inline-grid;
  grid-template-columns: 2.15rem minmax(2.4rem, 2.75rem) 2.15rem;
  align-items: stretch;
  min-height: 2.55rem;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  border-bottom-width: 3px;
  border-radius: 0.35rem;
  background: #fff;
  overflow: hidden;
}

.qty-stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f3f1;
  color: var(--ink, #0d0d0d);
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.qty-stepper-btn:hover {
  background: var(--signal, #f5c518);
  color: var(--signal-ink, #0d0d0d);
}

.qty-stepper-btn:active {
  background: var(--signal-deep, #e0b400);
}

.qty-stepper-btn:focus-visible {
  outline: 2px solid var(--signal, #f5c518);
  outline-offset: -2px;
  z-index: 1;
}

.qty-stepper-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 0.15rem;
  border: 0;
  border-inline: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 !important;
  background: #fff;
  color: var(--ink, #0d0d0d);
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-stepper-input::-webkit-outer-spin-button,
.qty-stepper-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.qty-stepper-input:focus {
  outline: none;
  background: #fffdf3;
}

.detail-cart-form .qty-stepper {
  flex: 0 0 auto;
}

.detail-cart-form .tire-cart-btn {
  min-height: 2.55rem !important;
  height: 2.55rem !important;
  box-sizing: border-box;
}

.detail-cart-form .tire-cart-btn .tire-cart-icon,
.detail-cart-form .tire-cart-btn .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg);
  transform-origin: center center;
}

.tire-cart-btn,
.tire-cart-btn-order {
  width: 100% !important;
  min-height: 2.45rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.35rem !important;
  clip-path: none !important;
  transform: skewX(-20deg) !important;
  transform-origin: center center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
  font-size: 0.84rem !important;
  font-weight: 700;
}

/* Надписи и иконки без наклона */
.tire-item .tire-cart-btn .tire-cart-icon,
.tire-item .tire-cart-btn .tire-cart-label,
.tube-item .tire-cart-btn .tire-cart-icon,
.tube-item .tire-cart-btn .tire-cart-label,
.detail-cart-form .tire-cart-btn .tire-cart-icon,
.detail-cart-form .tire-cart-btn .tire-cart-label {
  display: inline-flex;
  transform: skewX(20deg);
  transform-origin: center center;
}

.detail-cart-form .tire-cart-btn {
  width: auto !important;
  min-width: 10.5rem !important;
}

.tire-item .tire-cart-btn.is-added,
.tire-item .tire-cart-btn.is-added:hover,
.tube-item .tire-cart-btn.is-added,
.tube-item .tire-cart-btn.is-added:hover {
  transform: skewX(-20deg) !important;
  clip-path: none !important;
}

.tire-cart-btn-order {
  display: inline-flex;
  align-items: center;
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  margin: 0;
  transform: skewX(-20deg) !important;
  background: #111;
  color: var(--signal);
  text-decoration: none;
}

.tire-cart-btn-order:hover {
  background: #222;
  color: var(--signal);
  transform: skewX(-20deg) !important;
}

/* Multi-select catalog filters */
.filter-group {
  margin: 0;
  padding: 0 0 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.filter-group legend {
  padding: 0.55rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.filter-checks {
  display: grid;
  gap: 0.2rem;
  max-height: 11rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.filter-checks-scroll {
  max-height: 14rem;
}

.filter-check {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.28rem 0.2rem;
  font-size: 0.86rem;
  cursor: pointer;
  border-radius: 0.35rem;
}

.filter-check:hover {
  background: rgba(0, 0, 0, 0.04);
}

.filter-check input {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: var(--blue);
  cursor: pointer;
}

.filter-check input:disabled + span {
  opacity: 0.4;
}

.filter-empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-dim);
}

.catalog-filters form {
  gap: 0.65rem;
}

.catalog-filters .filters-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
}

.catalog-filters-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--signal);
}

.catalog-filters-toolbar .filters-title {
  margin: 0;
}

.catalog-filters-close,
.catalog-filters-fab,
.catalog-filters-backdrop {
  display: none;
}

.catalog-filters-actions {
  display: grid;
  gap: 0.55rem;
}

.detail {
  padding-top: calc(var(--header-h) + var(--topbar-h));
}

.page-hero,
.page-hero-compact,
.account-hero {
  padding-top: calc(var(--header-h) + var(--topbar-h) + 2.75rem);
  padding-bottom: 2.25rem;
  background: var(--signal) !important;
  color: #0d0d0d !important;
}

body:not(.has-topbar) .page-hero,
body:not(.has-topbar) .page-hero-compact,
body:not(.has-topbar) .account-hero {
  padding-top: calc(var(--header-h) + 2.75rem);
}

.page-hero h1,
.page-hero-compact h1,
.account-hero h1 {
  color: #0d0d0d !important;
}

.page-hero p,
.page-hero-compact p,
.account-hero p {
  color: rgba(13, 13, 13, 0.72) !important;
}

@media (max-width: 1199px) {
  body.has-topbar .page-hero,
  body.has-topbar .page-hero-compact,
  body.has-topbar .account-hero,
  body:not(.has-topbar) .page-hero,
  body:not(.has-topbar) .page-hero-compact,
  body:not(.has-topbar) .account-hero {
    padding-top: calc(var(--header-h) + 2.75rem);
    padding-bottom: 2rem;
  }
}

.catalog-filters {
  top: calc(var(--header-h) + var(--topbar-h) + 1rem);
}

@media (max-width: 1199px) {
  .detail {
    padding-top: var(--header-h);
  }

  .catalog-filters {
    top: calc(var(--header-h) + 1rem);
  }
}

/* Mobile catalog filters sheet handled in storefront.css @media 900px */

/* Account cabinet */
.account-section {
  padding-top: 1.5rem;
}

.account-hero {
  width: 100%;
  margin: 0;
}

.account-hero .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.65);
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(13, 13, 13, 0.12);
}

.account-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.account-nav a.is-active {
  color: #0d0d0d;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 0.15rem;
}

.account-logout-form {
  display: inline;
  margin: 0;
}

.account-logout-form button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-dim);
  cursor: pointer;
}

.account-logout-form button:hover {
  color: var(--ink);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.account-stat {
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.1);
  padding: 1rem 1.1rem;
}

.account-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-dim);
  margin-bottom: 0.35rem;
}

.account-stat strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.85rem;
  letter-spacing: 0.02em;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-panel {
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.1);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.account-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.account-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.account-panel-head h2 {
  margin: 0;
}

.account-dl {
  margin: 0 0 1rem;
}

.account-dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}

.account-dl dt {
  color: var(--ink-dim);
  font-size: 0.88rem;
}

.account-dl dd {
  margin: 0;
  font-weight: 600;
}

.account-orders,
.account-order-list {
  display: grid;
  gap: 0.75rem;
}

.account-order {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.account-order-card {
  border: 1px solid rgba(13, 13, 13, 0.12);
  background: #fff;
  overflow: hidden;
}

.account-order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.account-order-summary::-webkit-details-marker {
  display: none;
}

.account-order-summary:hover {
  background: #f7f7f7;
}

.account-order-summary-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  min-width: 0;
}

.account-order-number {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.account-order-summary-side {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.account-order-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.55;
}

.account-order-card[open] .account-order-chevron {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.account-order-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
}

.account-order-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0.85rem;
  border: 1px solid rgba(13, 13, 13, 0.1);
}

.account-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 36rem;
}

.account-order-table th,
.account-order-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.account-order-table thead th {
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-order-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.account-order-table tbody tr:hover {
  background: rgba(255, 212, 0, 0.12);
}

.account-order-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.account-order-title a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.account-order-title a:hover {
  color: #c45a00;
  text-decoration: underline;
}

.account-order-table tfoot td {
  border-bottom: 0;
  background: #fff8cc;
  font-weight: 600;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.account-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
}

.account-order-meta-grid > div {
  display: grid;
  gap: 0.15rem;
}

.account-order-meta-grid dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.account-order-meta-grid dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
}

.account-order-actions .btn {
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
}

.account-order-meta,
.account-status {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--ink-dim);
  font-weight: 500;
}

.account-status {
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(13, 13, 13, 0.14);
  background: #f3f3f3;
  color: #222;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.account-status.status-new {
  background: #fff3c4;
  border-color: #e6c200;
}

.account-status.status-confirmed {
  background: #e3f2fd;
  border-color: #90caf9;
}

.account-status.status-supplier {
  background: #fff3e0;
  border-color: #ffb74d;
  color: #e65100;
}

.account-status.status-shipped {
  background: #e8f5e9;
  border-color: #81c784;
}

.account-status.status-done {
  background: #e8f5e9;
  border-color: #43a047;
  color: #1b5e20;
}

.account-status.status-cancelled {
  background: #fce4ec;
  border-color: #ef9a9a;
  color: #b71c1c;
}

.account-order-total {
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .account-order-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-order-summary-side {
    width: 100%;
    justify-content: space-between;
  }

  .account-order-table {
    min-width: 0;
  }

  .account-order-table thead {
    display: none;
  }

  .account-order-table,
  .account-order-table tbody,
  .account-order-table tr,
  .account-order-table td {
    display: block;
    width: 100%;
  }

  .account-order-table tr {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
  }

  .account-order-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border: 0;
    text-align: right;
  }

  .account-order-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--ink-dim);
    text-align: left;
  }

  .account-order-table td.num {
    text-align: right;
  }

  .account-order-table tfoot td {
    background: transparent;
  }

  .account-order-table tfoot td:first-child {
    display: none;
  }
}

.account-empty,
.account-note,
.account-auth-switch {
  color: var(--ink-dim);
}

.account-discount-note {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 212, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm, 0.85rem);
  color: var(--ink, #0d0d0d);
  font-size: 0.95rem;
  line-height: 1.45;
}

.account-stats + .account-discount-note {
  margin-top: 0.25rem;
}

.account-form .account-discount-note {
  margin: 0.35rem 0 1.25rem;
}

.account-auth {
  max-width: 28rem;
}

.account-form {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
}

.account-form-wide {
  max-width: 32rem;
}

.account-form .btn {
  justify-self: start;
}

.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.header-account .nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
}

.header-account .nav-icon svg {
  width: 100%;
  height: 100%;
}

.header-account:hover {
  color: var(--signal);
  border-color: var(--signal);
}

@media (max-width: 640px) {
  .header-account {
    width: 2rem;
    height: 2rem;
  }
}

.product-reviews {
  padding-top: 0.5rem;
}

.product-reviews .review-card {
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-left: 4px solid var(--signal);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.product-reviews .review-card:hover {
  border-color: rgba(13, 13, 13, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.product-reviews-list {
  margin-bottom: 1.5rem;
}

.product-review-form-wrap {
  max-width: 36rem;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.1);
  padding: 1.15rem 1.25rem;
}

.product-review-form-wrap h3 {
  margin: 0 0 0.85rem;
}

.product-review-form {
  display: grid;
  gap: 0.75rem;
}

.product-review-form .btn {
  justify-self: start;
}

.review-date {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

@media (max-width: 640px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile catalog filters sheet */
@media (max-width: 1199px) {
  .catalog-section {
    padding-bottom: 5.5rem;
  }

  .catalog-filters-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    position: fixed;
    top: auto;
    right: auto;
    left: 50%;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 55;
    width: auto;
    max-width: calc(100vw - 2rem);
    min-width: 11rem;
    height: auto;
    padding: 0.85rem 1.35rem;
    border: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    cursor: pointer;
  }

  .catalog-filters-fab:hover {
    background: #222;
  }

  .catalog-filters-fab-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: grid;
    place-items: center;
  }

  .catalog-filters-fab-icon svg {
    width: 100%;
    height: 100%;
  }

  .catalog-filters-fab-badge {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    display: inline-grid;
    place-items: center;
    background: var(--signal);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
  }

  .catalog-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .catalog-filters {
    position: fixed;
    inset: 0;
    z-index: 65;
    top: auto;
    pointer-events: none;
    visibility: hidden;
  }

  .catalog-filters-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(88vh, 42rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 3px solid var(--signal);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
    transform: translateY(105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
  }

  .catalog-filters-toolbar {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: 0.95rem 1.1rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  }

  .catalog-filters-close {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(13, 13, 13, 0.14);
    background: #f5f5f5;
    color: #111;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .catalog-filters form {
    flex: 1;
    overflow: auto;
    padding: 0.85rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom));
    border: 0;
    background: transparent;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filters-actions {
    position: sticky;
    bottom: 0;
    padding-top: 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
  }

  body.filters-open {
    overflow: hidden;
  }

  body.filters-open .catalog-filters {
    visibility: visible;
  }

  body.filters-open .catalog-filters-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.filters-open .catalog-filters-sheet {
    transform: translateY(0);
  }

  body.filters-open .catalog-filters-fab {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Header + page search */
.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(245, 245, 243, 0.25);
  background: transparent;
  color: var(--ink-on-dark-muted, rgba(247, 247, 245, 0.75));
  cursor: pointer;
  flex-shrink: 0;
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
  color: var(--signal, #f5c518);
  border-color: rgba(245, 197, 24, 0.55);
}

.header-search-toggle .nav-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
}

.header-search-toggle .nav-icon svg {
  width: 100%;
  height: 100%;
}

.header-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  padding: 0.85rem 0 1rem;
  background: #000;
  border-bottom: 2px solid var(--signal, #f5c518);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.header-search-panel[hidden] {
  display: none !important;
}

.header-search {
  --header-btn-h: 2.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
}

.header-search-expand {
  max-width: none;
}

.header-search-label {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  margin: 0;
}

.header-search-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: var(--ink-on-dark-muted, rgba(255, 255, 255, 0.55));
  pointer-events: none;
  display: grid;
  place-items: center;
}

.header-search-icon svg {
  width: 100%;
  height: 100%;
}

.header-search-input {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--header-btn-h);
  height: var(--header-btn-h);
  padding: 0 0.95rem 0 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.header-search-input:focus {
  border-color: var(--signal, #f5c518);
  background: rgba(255, 255, 255, 0.12);
}

.header-search-btn {
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: var(--header-btn-h);
  height: var(--header-btn-h);
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--signal, #f5c518);
  color: var(--signal-ink, #1a1a1a);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.header-search-btn:hover {
  filter: brightness(1.05);
}

.header-search-close {
  flex-shrink: 0;
  width: var(--header-btn-h);
  height: var(--header-btn-h);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.header-search-close:hover {
  border-color: var(--signal, #f5c518);
  color: var(--signal, #f5c518);
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.search-page-field {
  flex: 1 1 16rem;
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.search-page-label {
  font-size: 0.85rem;
  font-weight: 650;
}

.search-results-count {
  margin: 0 0 1rem;
}

@keyframes cart-badge-pop {
  0% {
    transform: scale(0.55);
    opacity: 0.4;
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-actions .header-cart .cart-badge:not([hidden]) {
    animation: none;
  }
}

/* Delivery & payment info page */
.service-section .section-head {
  margin-bottom: 1.35rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--signal, #f5c518);
}

.service-item-head {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.service-item-title-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.service-item-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: #111;
}

.service-item-icon svg {
  width: 100%;
  height: 100%;
}

.service-item-title-row h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #111;
}

.service-price {
  margin: 0;
  padding-left: calc(1.35rem + 0.7rem);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.service-desc {
  margin: 0;
  color: var(--ink-muted, #555);
  font-size: 0.95rem;
  line-height: 1.45;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.service-tags-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim, #777);
  margin-right: 0.15rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f7f7f7;
  font-size: 0.84rem;
  font-weight: 600;
  color: #222;
}

.service-tag-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #333;
}

.service-tag-icon svg {
  width: 100%;
  height: 100%;
}

.service-pay-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-pay-item {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--blue, #1d4ed8);
}

.service-pay-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-pay-icon {
  display: inline-flex;
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  color: #111;
}

.service-pay-icon svg {
  width: 100%;
  height: 100%;
}

.service-pay-item h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #111;
}

.service-pay-item p {
  margin: 0;
  color: var(--ink-muted, #555);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-empty {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  color: var(--ink-muted, #555);
}

@media (max-width: 900px) {
  .service-pay-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-item {
    padding: 1rem;
  }

  .service-item-title-row h3 {
    font-size: 1.05rem;
  }
}

/* Contacts */
.contacts-section {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.contacts-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue, #ff6a00);
}

.contacts-legal {
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background:
    linear-gradient(145deg, rgba(255, 212, 0, 0.18) 0%, transparent 36%),
    linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #f7f7f5;
  border-radius: var(--radius, 1.35rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.15rem;
}

.contacts-legal::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.28), transparent 68%);
  pointer-events: none;
}

.contacts-legal > * {
  position: relative;
  z-index: 1;
}

.contacts-legal .contacts-eyebrow {
  color: var(--signal, #ffd400);
  margin-bottom: 0;
}

.contacts-legal-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.contacts-legal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.85rem;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.35);
  color: var(--signal, #ffd400);
  flex-shrink: 0;
}

.contacts-legal-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contacts-legal-body {
  min-width: 0;
}

.contacts-legal-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.55);
}

.contacts-legal-text {
  margin: 0;
  color: rgba(247, 247, 245, 0.86);
  line-height: 1.5;
  font-size: 0.95rem;
}

.contacts-company {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-weight: 400;
  color: #fff;
}

.contacts-address {
  margin: 0;
  max-width: 28rem;
  color: rgba(247, 247, 245, 0.86);
  line-height: 1.45;
}

.contacts-phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0;
}

.contacts-phone-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 212, 0, 0.35);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease, ease), border-color 0.2s var(--ease, ease);
}

.contacts-phone-chip:hover {
  background: rgba(255, 212, 0, 0.18);
  border-color: var(--signal, #ffd400);
}

.contacts-phone-chip.is-static {
  pointer-events: none;
}

.contacts-ids {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0;
}

.contacts-id {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm, 0.85rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-id-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.55);
}

.contacts-id strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contacts-legal-row-bank {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contacts-bank {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: grid;
  gap: 0.85rem;
}

.contacts-bank-row {
  display: grid;
  gap: 0.28rem;
}

.contacts-bank-row > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.55);
}

.contacts-bank-row code,
.contacts-bank-row strong {
  color: #fff;
  font-size: 0.98rem;
  word-break: break-all;
}

.contacts-bank-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.contacts-bank-name p {
  margin: 0;
  color: rgba(247, 247, 245, 0.86);
  line-height: 1.45;
}

.contacts-form-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-weight: 400;
}

.contacts-form-head p {
  margin: 0.65rem 0 0;
  max-width: 34rem;
  color: var(--ink-muted, #555);
}

.contacts-form-wrap {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background:
    linear-gradient(160deg, rgba(255, 212, 0, 0.16), transparent 42%),
    #fff;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.1));
  border-radius: var(--radius, 1.35rem);
  box-shadow: var(--shadow);
}

.contacts-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.25rem;
}

.contacts-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.contacts-form .form-field {
  display: grid;
  gap: 0.35rem;
}

.contacts-form .form-field > span:first-child {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink, #0d0d0d);
}

.contacts-form .field-error,
.contacts-form-wrap .field-error {
  color: #c1121f;
  font-size: 0.85rem;
  font-weight: 600;
}

.contacts-form .form-field.is-invalid .form-control {
  border-color: #c1121f;
}

.contacts-sent {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 212, 0, 0.28);
  border-radius: var(--radius-sm, 0.85rem);
  font-weight: 650;
}

.contacts-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.contacts-form .btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.contacts-appeals {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--radius, 1.35rem);
  background:
    linear-gradient(120deg, rgba(255, 106, 0, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, #fff 0%, #f7f7f5 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.contacts-appeals-accent {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0.45rem;
  height: 100%;
  background: linear-gradient(180deg, var(--signal, #ffd400), var(--blue, #ff6a00));
}

.contacts-appeals-inner {
  position: relative;
  padding-left: 0.85rem;
  display: grid;
  gap: 1.35rem;
}

.contacts-appeals-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--ink, #0d0d0d);
}

.contacts-appeals-lead {
  margin: 0.65rem 0 0;
  max-width: 48rem;
  color: var(--ink-muted, #555);
  line-height: 1.5;
}

.contacts-appeals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contacts-appeals-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm, 0.85rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contacts-appeals-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  background: rgba(255, 212, 0, 0.18);
  color: #0d0d0d;
  border: 1px solid rgba(255, 212, 0, 0.45);
}

.contacts-appeals-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.contacts-appeals-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink, #0d0d0d);
}

.contacts-appeals-note {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted, #555);
}

.contacts-appeals-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.contacts-appeals-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contacts-appeals-phone:hover {
  background: var(--blue, #ff6a00);
  color: #fff;
}

.contacts-appeals-phone.is-static {
  background: #eee;
  color: #111;
}

.contacts-appeals-person {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink, #0d0d0d);
}

@media (max-width: 960px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-appeals-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contacts-form-row,
  .contacts-ids {
    grid-template-columns: 1fr;
  }
}

/* —— Модельные ряды —— */
.model-lines-toc {
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}

.model-lines-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-lines-toc-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--ink, #0d0d0d);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.model-lines-toc-link:hover {
  border-color: rgba(245, 197, 24, 0.95);
  background: rgba(245, 197, 24, 0.18);
}

.model-lines-brand {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  scroll-margin-top: 5.5rem;
}

.model-lines-brand + .model-lines-brand {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.model-lines-brand-head {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 3px solid var(--signal, #f5c518);
}

.model-lines-brand-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  max-width: 10rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.35rem;
  text-decoration: none;
}

.model-lines-brand-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.model-lines-brand-titles {
  min-width: 0;
}

.model-lines-brand-kicker {
  margin: 0 0 0.15rem;
  color: var(--ink-dim, #666);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-lines-brand-name {
  margin: 0;
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.model-lines-brand-name a {
  color: inherit;
  text-decoration: none;
}

.model-lines-brand-name a:hover {
  color: var(--blue, #ff6a00);
}

.model-lines-style + .model-lines-style {
  margin-top: 2.35rem;
}

.model-lines-style-head {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.15rem 0.95rem;
  background:
    linear-gradient(
      90deg,
      rgba(245, 197, 24, 0.38) 0%,
      rgba(245, 197, 24, 0.12) 42%,
      rgba(247, 247, 245, 0.55) 100%
    );
  border-left: 5px solid var(--signal, #f5c518);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink, #0d0d0d);
}

.model-lines-style-kicker {
  margin: 0;
  color: rgba(13, 13, 13, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-lines-style-title {
  margin: 0;
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.03em;
  color: #111;
}

.model-lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-line-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.45rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.model-line-card:hover {
  border-color: rgba(245, 197, 24, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.model-line-card-media {
  display: block;
  aspect-ratio: 5 / 4;
  background: #f3f3f1;
  overflow: hidden;
}

.model-line-card-media.has-photo {
  background: #fff;
}

.model-line-card-media picture,
.model-line-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-line-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 55%, rgba(0, 0, 0, 0.08) 0 28%, transparent 29%),
    linear-gradient(135deg, #ecece8, #f7f7f5);
}

.model-line-card-body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.model-line-card-name {
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.3;
}

.model-line-card-meta {
  color: var(--ink-dim, #666);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .model-lines-brand-head {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .model-lines-brand-name {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }
}

/* —— Мотокамеры —— */
.tube-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.45rem;
  overflow: visible;
}

.tube-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding-bottom: 2.75rem;
  overflow: hidden;
  border-radius: inherit;
}

.tube-visual-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tube-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #f3f3f1, #e8e8e4);
  overflow: hidden;
}

.tube-visual.has-photo {
  background: #fff;
}

.tube-visual.has-photo picture,
.tube-visual.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tube-ring {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid #1a1a1a;
  box-shadow: inset 0 0 0 8px #333;
  opacity: 0.85;
}

.tube-size-ghost {
  position: absolute;
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  color: rgba(13, 13, 13, 0.55);
}

.tube-meta {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem 1.1rem;
  flex: 1;
}

.tube-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tube-title-link {
  color: inherit;
  text-decoration: none;
}

.tube-title-link:hover {
  color: var(--blue, #ff6a00);
}

.tube-kind {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim, #666);
}

.tube-valve {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  align-items: baseline;
  margin: 0.4rem 0 0;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.72rem;
  line-height: 1.35;
}

.tube-valve-label {
  color: var(--ink-dim, #666);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tube-valve-value {
  color: var(--ink, #0d0d0d);
  font-weight: 600;
  min-width: 0;
}

.tube-perks {
  list-style: none;
  margin: 0.45rem 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.tube-perk {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
  align-items: baseline;
  font-size: 0.72rem;
  line-height: 1.35;
}

.tube-perk-label {
  color: var(--ink-dim, #666);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tube-perk-value {
  color: var(--ink, #0d0d0d);
  font-weight: 550;
  min-width: 0;
  overflow-wrap: anywhere;
}

.tube-perk-sizes .tube-perk-value {
  color: var(--ink-muted, #555);
}

.tube-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tube-size-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tube-size-chip,
.tube-size-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  border-bottom-width: 3px;
  border-radius: 0.35rem;
  background: #fff;
  color: var(--ink, #0d0d0d);
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tube-size-chip:hover,
.tube-size-list a:hover {
  border-color: rgba(0, 0, 0, 0.35);
  background: var(--signal, #f5c518);
  color: var(--signal-ink, #0d0d0d);
}

.tube-buy-row {
  margin-top: auto;
  padding-top: 0.25rem;
}

.tube-section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display, "Bebas Neue", Impact, sans-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink, #0d0d0d);
}

.tube-allowed-sizes {
  margin: 1.25rem 0 1.4rem;
  padding: 1rem 0 0;
  border-top: 2px solid var(--signal, #f5c518);
}

.tube-size-list-detail {
  gap: 0.5rem;
}

.tube-size-list-detail .tube-size-chip {
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 1.15rem;
}

.tube-detail-visual .detail-size {
  font-size: clamp(2.8rem, 8vw, 4rem);
}

/* 404 */
.error-page {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: calc(var(--header-h) + var(--topbar-h, 0px) + 1.75rem) 0 2rem;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.55) 0%, rgba(255, 212, 0, 0.18) 42%, transparent 70%),
    var(--bg, #ececec);
  border-top: 3px solid var(--signal);
  overflow: hidden;
}

body:not(.has-topbar) .error-page {
  padding-top: calc(var(--header-h) + 1.75rem);
}

.error-page::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 13, 13, 0.08), transparent 68%);
  pointer-events: none;
}

.error-page-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.error-page-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--signal);
}

.error-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.error-page-lead {
  margin: 0;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.error-page-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.error-page-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 0.35rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a.error-page-phone:hover {
  border-color: rgba(13, 13, 13, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.error-page-phone.is-static {
  color: var(--ink-muted);
}

.error-page-phone-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: var(--ink);
}

.error-page-phone-icon svg {
  width: 100%;
  height: 100%;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

@media (max-width: 1199px) {
  .error-page,
  body:not(.has-topbar) .error-page {
    padding-top: calc(var(--header-h) + 1.75rem);
  }
}

@media (max-width: 640px) {
  .error-page-phones,
  .error-page-actions {
    width: 100%;
  }

  .error-page-phone,
  .error-page-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Cookie consent */
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(17, 17, 17, 0.96);
  color: #f5f5f3;
  border-top: 3px solid var(--signal);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.22);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner-copy {
  min-width: 0;
  flex: 1;
}

.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(245, 245, 243, 0.82);
  max-width: 52rem;
}

.cookie-banner-text a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  border-color: rgba(245, 245, 243, 0.35);
  color: #f5f5f3;
}

.cookie-banner .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.checkout-legal {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.checkout-legal a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.checkout-legal a:hover {
  color: var(--signal-ink, #111);
}

@media (max-width: 800px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Dealer fitment (B2B standalone) */
.dealer-fitment-page {
  margin: 0;
  min-height: 100vh;
  background: var(--bg, #ececec);
  color: var(--ink, #0d0d0d);
}

.dealer-fitment-main {
  padding: 1.5rem 1rem 2.5rem;
}

.dealer-fitment-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.dealer-fitment-top {
  margin-bottom: 1.25rem;
}

.dealer-fitment-top h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.dealer-fitment-card {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.35rem 1.15rem;
  border: 2px solid var(--ink);
  border-top: 3px solid var(--signal);
  border-radius: var(--radius);
  background: var(--bg-elevated, #fff);
  box-shadow: var(--shadow);
  overflow: visible;
}

.dealer-fitment-card .tire-finder {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible !important;
}

.dealer-fitment-results {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dealer-fitment-results-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dealer-fitment-results-head h2 span {
  color: var(--ink-muted);
  font-size: 0.75em;
  letter-spacing: 0;
  text-transform: none;
}

.dealer-fitment-results-head p {
  margin: 0;
  color: var(--ink-muted);
}

.dealer-fitment-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.dealer-fitment-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong, rgba(13, 13, 13, 0.16));
  border-radius: 0.75rem;
  background: #fff;
}

.dealer-fitment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.dealer-fitment-table th,
.dealer-fitment-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  vertical-align: top;
}

.dealer-fitment-table thead th {
  background: #0d0d0d;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dealer-fitment-table tbody tr:last-child td {
  border-bottom: 0;
}

.dealer-fitment-table tbody tr:hover {
  background: rgba(255, 212, 0, 0.12);
}

.dealer-fitment-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.dealer-fitment-table a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.dealer-fitment-empty {
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(13, 13, 13, 0.04);
  border-radius: 0.65rem;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .dealer-fitment-table thead {
    display: none;
  }

  .dealer-fitment-table,
  .dealer-fitment-table tbody,
  .dealer-fitment-table tr,
  .dealer-fitment-table td {
    display: block;
    width: 100%;
  }

  .dealer-fitment-table tr {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
  }

  .dealer-fitment-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border: 0;
  }

  .dealer-fitment-table td::before {
    content: attr(data-label);
    color: var(--ink-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}


