@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/oswald-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/oswald-latin-500-normal.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: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/oswald-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/oswald-latin-600-normal.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: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/golos-text-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/golos-text-latin-400-normal.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: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/golos-text-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/golos-text-latin-500-normal.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: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/golos-text-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/golos-text-latin-600-normal.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: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/golos-text-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/golos-text-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* ЕВРОДЕТАЛЬ — Техническое бюро */

:root {
  --paper: #f3f4f1;
  --white: #fff;
  --ink: #18211e;
  --muted: #59635d;
  --line: #cbd1ca;
  --accent: #b83c20;
  --dark: #18211e;
  --light-ink: #bfcac2;
  --heading: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

button, a, input { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

img, svg { display: block; max-width: 100%; }

img { object-fit: contain; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2 {
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
h3 { font-size: 1.05rem; line-height: 1.45; }

p { overflow-wrap: anywhere; }
button, a { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.footer :focus-visible,
.header :focus-visible,
.drawing :focus-visible {
  outline-color: #ffb08d;
}

::selection {
  color: #fff;
  background: var(--accent);
}

.wrap {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  background: white;
  padding: 12px 20px;
  transform: translateY(-180%);
}

.skip:focus { transform: translateY(0); }

.accent, .logo-period { color: var(--accent); }
.muted { color: var(--muted); }

.eyebrow, .small-label {
  font-size: .75rem;
  letter-spacing: .11em;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
}

.text-link {
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* Шапка */

.utility {
  background: var(--dark);
  color: #bbc6be;
  font-size: .75rem;
  letter-spacing: .04em;
  border-bottom: 1px solid #38423c;
}

.utility .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}

.header {
  background: var(--dark);
  color: var(--paper);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1.2;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: white;
  margin-right: 10px;
  font-family: var(--heading);
  font-size: 1.45rem;
  transform: skew(-10deg);
  letter-spacing: 0;
}

.header .logo-period { color: #ed805a; }

.header nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: .875rem;
}

.header nav a { padding-block: 12px; }

.header-phone {
  font-size: .875rem;
  white-space: nowrap;
  border-left: 1px solid #48524c;
  padding-left: 28px;
}

/* Главная */

.hero {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 640px;
}

.hero-copy {
  padding-block: 56px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3rem, 5.7vw, 5.15rem);
  line-height: 1.07;
  letter-spacing: -.035em;
}

.hero-intro {
  font-size: 1.14rem;
  margin: 25px 0 10px;
  letter-spacing: -.03em;
}

.hero .muted {
  font-size: .9rem;
  line-height: 1.75;
}

.hero-search { margin-top: 32px; }

.search-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Общий поиск и кнопки */

.search {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid #8b968d;
  padding: 6px 6px 6px 17px;
  min-width: 0;
}

.search svg {
  flex-shrink: 0;
  color: var(--muted);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 0;
  font-size: .95rem;
  border-radius: 0;
}

.search input::placeholder {
  color: #616a63;
  opacity: 1;
}

.search input:focus-visible { outline-offset: 2px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  gap: 8px;
}

.search .button {
  flex-shrink: 0;
  padding-inline: 20px;
}

.search-help {
  font-size: .8rem;
  margin-top: 12px;
  color: var(--muted);
}

.search-help a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}

/* Авторская техническая иллюстрация */

.drawing {
  background: var(--dark);
  color: #c2cec5;
  position: relative;
  margin-right: -80px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%, 0 36px);
}

.drawing-top, .drawing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px 44px;
  font-size: .65rem;
  letter-spacing: .12em;
}

.drawing-top {
  border-bottom: 1px solid #38443b;
  margin-top: 24px;
}

.drawing-top span:last-child {
  font-size: 1.7rem;
  font-family: var(--heading);
  color: #ed805a;
}

.technical-art {
  width: 100%;
  height: auto;
}

.drawing-bottom {
  border-top: 1px solid #38443b;
  margin-bottom: 18px;
}

.route-strip {
  background: #e4e8e1;
  border-bottom: 1px solid var(--line);
}

.route-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 62px;
  font-size: .75rem;
  letter-spacing: .08em;
}

.route-strip strong {
  color: var(--accent);
  white-space: nowrap;
}

.route-line {
  height: 1px;
  background: #9ba69b;
  width: 100px;
  position: relative;
}

.route-line::before, .route-line::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid #788578;
  top: -2px;
  background: #e4e8e1;
}

.route-line::after { right: 0; }

/* Разделы главной */

.section { padding-block: 76px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .eyebrow { margin-bottom: 10px; }

.section-heading > .muted {
  font-size: .875rem;
  text-align: right;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-block: 1px solid var(--line);
}

.category-feature {
  position: relative;
  background: #e4e8e1;
  padding: 32px;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.category-feature h3 {
  font-family: var(--heading);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.1;
}

.category-count {
  margin-top: 12px;
  color: var(--muted);
  font-size: .875rem;
}

.category-feature svg {
  width: 58%;
  max-width: 310px;
  align-self: flex-end;
  color: #526557;
  margin-top: -20px;
  margin-bottom: -15px;
}

.feature-link {
  margin-top: auto;
  border-bottom: 1px solid var(--ink);
  font-size: .875rem;
  padding-bottom: 4px;
}

.category-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 98px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
}

.category-list > a:last-child { border-bottom: 0; }

.category-list strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
}

.category-list small {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 2px;
}

.category-list svg {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  stroke: #526557;
  fill: none;
  stroke-width: 1.5;
}

.brands-section {
  background: white;
  border-block: 1px solid var(--line);
}

.brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brands a {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 14px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.benefits article {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.benefit-symbol {
  display: block;
  font-family: var(--heading);
  color: var(--accent);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 25px;
}

.benefits h3 {
  font-size: .98rem;
  min-height: 2.9em;
  margin-bottom: 10px;
}

.benefits p {
  font-size: .875rem;
  color: var(--muted);
}

.vin-banner {
  background: var(--accent);
  color: #fff;
}

.vin-banner > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 46px;
}

.vin-banner .eyebrow {
  color: #fff;
  margin-bottom: 10px;
}

.vin-banner p:last-child {
  margin-top: 15px;
  font-size: .875rem;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  flex-shrink: 0;
}

/* Контакты */

.footer {
  background: var(--dark);
  color: #bec9c1;
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer .logo { color: white; }

.footer p {
  margin-top: 18px;
  font-size: .875rem;
  line-height: 1.9;
}

.footer h2 {
  font: 500 .8rem var(--body);
  color: #bec9c1;
  margin-bottom: 16px;
}

.footer-phone {
  color: var(--paper);
  font-size: 1.4rem;
  white-space: nowrap;
  letter-spacing: -.04em;
}

.messengers {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  font-size: .875rem;
}

.messengers a, .footer-grid > div:last-child > a {
  border-bottom: 1px solid #758176;
  padding-bottom: 3px;
}

.footer-grid > div:last-child > a {
  display: inline-block;
  margin-top: 14px;
  font-size: .8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #39473c;
  padding-block: 20px;
  font-size: .75rem;
}

/* Поиск и хлебные крошки внутренних страниц */

.inner-search {
  padding-top: 24px;
  max-width: 720px;
  margin-left: auto;
}

.inner-search .search {
  background: transparent;
  border-color: var(--line);
}

.inner-search .button {
  background: var(--ink);
  border-color: var(--ink);
}

.breadcrumbs {
  font-size: .8rem;
  color: var(--muted);
  padding-block: 25px;
}

.breadcrumbs ol {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  gap: 14px;
  overflow-wrap: anywhere;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  color: #7e897f;
}

.breadcrumbs [aria-current] { color: var(--ink); }

/* Категория */

.category-heading {
  padding: 20px 0 0;
  border-bottom: 1px solid var(--line);
}

.category-heading h1 { max-width: 950px; }

.category-heading > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 24px;
}

.catalog-summary {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}

.catalog-summary > span + span {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.catalog-summary strong { font-weight: 600; }

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
}

.catalog-toolbar h2 {
  font: 500 .9rem var(--body);
  letter-spacing: 0;
}

.catalog-toolbar a {
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Общие карточки товаров */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card-photo {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: #e9ece6;
  padding: 14px;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.condition {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-content h3 {
  font-size: 1rem;
  font-weight: 500;
  min-height: 2.9em;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.card-content h3 a { display: block; }

.oem-line {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 22px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.oem-line span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .875rem;
  color: var(--ink);
  margin-left: 8px;
  user-select: all;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.price {
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -.05em;
}

.order-link {
  font-size: .875rem;
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  background: var(--dark);
  color: white;
}

/* Пагинация */

.pagination-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-block: 32px;
}

.pagination-row > p { font-size: .8rem; }

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination > a, .pagination > span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  font-size: .875rem;
  padding: 8px;
}

.pagination [aria-current] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.pagination .pagination-gap {
  border: 0;
  min-width: 24px;
}

.pagination .next-page { padding-inline: 20px; }

.help-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  background: #e4e8e1;
  border-left: 4px solid var(--accent);
  padding: 36px;
  margin: 28px 0 72px;
}

.help-panel .eyebrow { margin-bottom: 10px; }

.help-panel p:last-child {
  max-width: 700px;
  font-size: .875rem;
  color: var(--muted);
  margin-top: 16px;
}

.help-panel .button { flex-shrink: 0; }

/* Страница товара */

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}

.gallery, .purchase { min-width: 0; }

.main-photo {
  border: 1px solid var(--line);
  background: #e4e8e1;
  padding: 16px 16px 0;
}

.main-photo > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
}

.main-photo figcaption {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: .75rem;
  letter-spacing: .08em;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  border: 1px solid #8b968d;
  background: white;
  padding: 4px;
  min-height: 44px;
  aspect-ratio: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb[aria-pressed=true] {
  border: 2px solid var(--accent);
  padding: 3px;
}

.photo-note {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 16px;
}

.purchase h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.purchase .eyebrow { margin-bottom: 16px; }

.oem-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-block: 1px solid var(--line);
  margin-top: 26px;
  padding-block: 18px;
}

.oem-box > div { min-width: 0; }

.small-label {
  display: block;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .08em;
}

.oem-box strong {
  font: 500 1.5rem ui-monospace, SFMono-Regular, Consolas, monospace;
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  user-select: all;
}

.copy-button {
  background: transparent;
  border: 1px solid #8b968d;
  padding: 11px;
  font-size: .75rem;
  min-height: 44px;
}

.copy-status {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 8px;
}

.copy-status:empty { display: none; }

.purchase-price {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.purchase-price strong {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 3.3rem;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -.03em;
}

.purchase-price strong span { font-size: 2.3rem; }

.purchase-price p {
  font-size: .75rem;
  color: var(--muted);
}

.purchase-actions {
  display: grid;
  gap: 10px;
}

.purchase-actions .button { min-height: 54px; }

.button-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.vin-link {
  padding: 10px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: .875rem;
  min-height: 44px;
}

.delivery-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 16px;
  display: grid;
  gap: 3px;
  font-size: .875rem;
}

.delivery-note strong { font-weight: 500; }

.delivery-note span {
  color: var(--muted);
  font-size: .75rem;
}

.product-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-top: 64px;
  padding-block: 38px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.product-details .eyebrow, .description .eyebrow {
  margin-bottom: 10px;
}

.product-details h2, .description h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.specs {
  margin: 0;
  font-size: .875rem;
}

.specs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-block: 11px;
}

.specs > div:last-child { border: 0; }
.specs dt { color: var(--muted); }

.specs dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.fitment {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.fitment-car {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.04em;
}

.fitment .muted {
  font-size: .875rem;
  margin-block: 20px;
  max-width: 420px;
}

.description { padding-top: 38px; }

.description-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.85;
}

.related { padding-top: 64px; }

.related-note {
  font-size: .8rem;
  margin-top: 20px;
}

/* Hover без движения карточек */

@media (hover: hover) {
  a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .button:hover, .order-link:hover {
    background: #922d16;
    border-color: #922d16;
    color: white;
    text-decoration: none;
  }

  .button-outline:hover, .button-light:hover {
    background: #e4e8e1;
    color: var(--ink);
    border-color: var(--ink);
  }

  .category-feature:hover,
  .category-list > a:hover,
  .brands a:hover {
    background: #dbe2d8;
    text-decoration: none;
  }

  .copy-button:hover { background: #e4e8e1; }
  .thumb:hover { border-color: var(--accent); }
}

/* Большие экраны */

@media (min-width: 1441px) {
  .drawing { margin-right: 0; }
}

/* Небольшой десктоп */

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 22px; }
  .header-phone { display: none; }
  .header nav { gap: 22px; }

  .hero-grid {
    gap: 28px;
    grid-template-columns: 1.15fr 1fr;
    min-height: 570px;
  }

  .hero h1 { font-size: 4rem; }
  .drawing { margin-right: -24px; }

  .drawing-top, .drawing-bottom {
    padding: 22px;
    font-size: .6rem;
  }

  .hero .muted br { display: none; }

  .search {
    gap: 10px;
    padding-left: 12px;
  }

  .search .button { padding-inline: 15px; }
  .desktop-word { display: none; }
  .benefits { gap: 20px; }
  .footer-grid { gap: 24px; }
  .footer-phone { font-size: 1.2rem; }
  .product-layout, .product-details { gap: 32px; }
  .product-grid { gap: 18px; }
  .card-content { padding: 16px; }
  .card-bottom { gap: 8px; }
  .price { font-size: 1.3rem; }
  .order-link { padding-inline: 12px; }
}

/* Планшет */

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy { padding-block: 44px; }
  .hero h1 { font-size: clamp(3rem, 8.3vw, 4.8rem); }
  .hero-search { max-width: 620px; }

  .drawing {
    margin: 0 0 28px;
    align-self: auto;
    min-height: 0;
    clip-path: none;
  }

  .technical-art {
    height: 320px;
    max-width: 600px;
    align-self: center;
  }

  .drawing-top {
    margin: 0;
    padding: 16px 24px;
  }

  .drawing-bottom {
    margin: 0;
    padding: 16px 24px;
  }

  .route-strip .wrap { gap: 18px; }
  .route-line { width: 50px; }
  .section { padding-block: 52px; }
  .catalog-layout { grid-template-columns: 1fr 1.15fr; }

  .category-feature {
    padding: 24px;
    min-height: 360px;
  }

  .category-feature h3 { font-size: 3rem; }

  .category-feature svg {
    width: 100%;
    margin-top: 15px;
  }

  .category-list > a { padding: 18px 20px; }
  .category-list strong { font-size: .98rem; }
  .category-list svg { width: 44px; }

  .brands a {
    font-size: .95rem;
    min-height: 78px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .benefits h3 { min-height: 0; }

  .vin-banner > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-grid > div:first-child p { margin-top: 12px; }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .purchase h1 { font-size: 2rem; }
  .oem-box { flex-wrap: wrap; }
  .oem-box strong { font-size: 1.2rem; }
  .purchase-price strong { font-size: 2.7rem; }
  .thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thumb { aspect-ratio: 4/3; }

  .product-details {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .fitment { padding-left: 24px; }
  .description-columns { gap: 28px; }

  .pagination-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .help-panel {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .related .product-card:last-child {
    grid-column: 1/-1;
    max-width: calc((100% - 18px)/2);
  }
}

/* Телефон */

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }

  .utility .wrap {
    font-size: .65rem;
    letter-spacing: 0;
    gap: 10px;
  }

  .header-inner {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    padding-block: 16px;
  }

  .logo { font-size: 1.35rem; }

  .logo-mark {
    width: 29px;
    height: 29px;
  }

  .header nav {
    width: 100%;
    justify-content: space-between;
    margin: 14px 0 0;
    font-size: .8rem;
  }

  .header nav a { padding-block: 3px; }
  .hero-copy { padding-block: 34px; }
  .hero h1 { font-size: clamp(2.6rem, 10.8vw, 4rem); }

  .hero .eyebrow {
    font-size: .65rem;
    letter-spacing: .08em;
  }

  .hero-intro {
    font-size: 1rem;
    margin-top: 22px;
  }

  .hero .muted { font-size: .875rem; }
  .hero-search { margin-top: 26px; }

  .search {
    gap: 8px;
    padding-left: 10px;
  }

  .search svg { width: 18px; }
  .search input { font-size: .875rem; }

  .search .button {
    padding: 12px;
    min-height: 44px;
  }

  .search-help { font-size: .75rem; }
  .drawing { margin-bottom: 20px; }
  .technical-art { height: 270px; }

  .drawing-top, .drawing-bottom {
    font-size: .55rem;
    padding: 14px 18px;
    letter-spacing: .09em;
  }

  .drawing-top span:last-child { font-size: 1.2rem; }

  .route-strip .wrap {
    gap: 10px;
    font-size: .6rem;
    letter-spacing: .02em;
    min-height: 52px;
  }

  .route-line {
    flex: 1;
    min-width: 8px;
    max-width: 36px;
  }

  .section { padding-block: 44px; }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .section-heading > .muted { text-align: left; }
  .section-heading > .muted br { display: none; }

  .eyebrow {
    font-size: .65rem;
    margin-bottom: 12px;
  }

  .catalog-layout { grid-template-columns: 1fr; }

  .category-feature {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px;
  }

  .category-feature svg {
    position: absolute;
    width: 55%;
    right: 12px;
    bottom: 24px;
    margin: 0;
  }

  .category-feature .eyebrow {
    position: relative;
    z-index: 1;
  }

  .feature-link { margin-top: 66px; }

  .category-list > a {
    padding: 20px 12px;
    min-height: 88px;
  }

  .category-list svg { width: 54px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { gap: 28px 20px; }

  .benefit-symbol {
    font-size: 2.2rem;
    margin-bottom: 18px;
  }

  .benefits h3 { font-size: .875rem; }
  .benefits p { font-size: .8rem; }
  .vin-banner > .wrap { padding-block: 34px; }
  .vin-banner h2 { font-size: 2.1rem; }
  .footer { padding-top: 36px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 32px;
  }

  .footer-grid > div:first-child { grid-column: auto; }
  .footer-phone { font-size: 1.5rem; }
  .footer p { margin-top: 10px; }
  .footer-bottom { font-size: .65rem; }
  .inner-search { padding-top: 18px; }

  .breadcrumbs {
    padding-block: 20px;
    font-size: .75rem;
  }

  .breadcrumbs ol, .breadcrumbs li { gap: 8px; }
  .category-heading { padding-top: 8px; }
  .category-heading h1 { font-size: 2.5rem; }

  .category-heading > p:not(.eyebrow) {
    font-size: .875rem;
    margin-top: 18px;
  }

  .catalog-summary {
    gap: 8px 20px;
    margin-top: 24px;
    font-size: .8rem;
  }

  .catalog-summary > span + span {
    border: 0;
    padding: 0;
  }

  .catalog-summary > span:last-child { flex-basis: 100%; }

  .catalog-toolbar {
    align-items: flex-start;
    font-size: .8rem;
    padding-block: 22px;
  }

  .catalog-toolbar h2 {
    max-width: 160px;
    line-height: 1.5;
    font-size: .8rem;
  }

  .catalog-toolbar a { font-size: .8rem; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-photo {
    padding: 16px;
    aspect-ratio: 4/3;
  }

  .card-content { padding: 20px; }

  .card-content h3 {
    min-height: 0;
    font-size: 1.05rem;
  }

  .card-bottom { margin-top: 0; }
  .price { font-size: 1.5rem; }
  .oem-line { margin-top: 18px; }
  .order-link { padding-inline: 20px; }

  .pagination-row {
    gap: 18px;
    padding-block: 28px;
  }

  .help-panel {
    padding: 24px 20px;
    margin: 14px 0 44px;
  }

  .help-panel h2 { font-size: 1.8rem; }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 0;
  }

  .gallery, .purchase { width: 100%; }
  .main-photo { padding: 10px 10px 0; }

  .main-photo figcaption {
    padding: 12px 0;
    font-size: .65rem;
  }

  .thumbnails {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .thumb {
    aspect-ratio: 1;
    min-width: 0;
  }

  .photo-note { font-size: .7rem; }
  .purchase h1 { font-size: 2.2rem; }

  .oem-box {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
  }

  .oem-box strong { font-size: 1.35rem; }
  .small-label { font-size: .6rem; }

  .copy-button {
    padding-inline: 9px;
    font-size: .7rem;
  }

  .purchase-price { padding-block: 22px; }
  .purchase-price strong { font-size: 3.2rem; }

  .product-details {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
    padding-block: 30px;
  }

  .fitment {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }

  .product-details h2, .description h2 {
    font-size: 1.7rem;
    margin-bottom: 22px;
  }

  .description { padding-top: 30px; }

  .description-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: .875rem;
  }

  .related { padding-top: 44px; }

  .related .product-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* Уважение системных настроек движения */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ---- дополнения для генератора ---- */
.sub-links { margin: 8px 0 40px; }
.sub-title { font-family: var(--heading); font-size: 1.25rem; font-weight: 500; margin-bottom: 14px; }
.brands.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.brands.compact a { min-height: 54px; justify-content: space-between; gap: 10px; font-size: .95rem; text-align: left; padding: 10px 16px; }
.brands.compact small { color: var(--muted); font-size: .8rem; font-weight: 400; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .brands.compact a:hover { background: var(--white); } }
#notice:empty { display: none; }
#notice { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--dark); color: var(--white); padding: 12px 18px; z-index: 50; max-width: calc(100% - 32px); }
#sres:empty { display: none; }
.purchase h1 { overflow-wrap: anywhere; }
@media (max-width: 600px) { .brands.compact { grid-template-columns: 1fr 1fr; } }
.card-photo { position: relative; overflow: hidden; }
.card-photo img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
