/*
  AVTORAMKI MD — print-proof redesign
  Design direction adapted from “unslop” by Damir Sokolovsky (CC BY 4.0)
  https://github.com/heydamir/unslop
*/

/* ============================================================
   AVTORAMKI MD — redesign
   Direction: "print proof" — warm paper, workshop ink, one
   brass mark. Condensed display type, mono technical labels,
   hairline rules instead of cards, no gradients or glows.
   ============================================================ */

:root {
  --paper: #f2eee5;
  --paper-soft: #f8f5ee;
  --ink: #141310;
  --ink-soft: #2b2822;
  --muted: #6d685d;
  --line: #d9d2c4;
  --line-strong: #b9b1a0;
  --accent: #e6b63c;
  --accent-deep: #8a6414;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --header-height: 64px;
}

html { scroll-behavior: smooth; }

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

body.page-home,
body.page-catalog,
body.page-product,
body.page-contacts,
body.page-delivery,
body.page-constructor {
  background: var(--paper);
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-transform: none;
}

p { margin: 0; }

a { color: inherit; }

img { max-width: 100%; }

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.page-width {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ---------- buttons + links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.button--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button--primary:hover { background: #000; border-color: #000; }

.button--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

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

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

.button--light:hover { background: #fff; border-color: #fff; }

.button__arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform .25s var(--ease);
}

.button:hover .button__arrow { transform: translateX(3px); }

.link-underline {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .25s var(--ease);
}

.link-underline:hover { border-color: var(--ink); }

.link-light {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(242, 238, 229, .32);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .25s var(--ease);
}

.link-light:hover { border-color: var(--paper); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-height);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(242, 238, 229, .14);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-height);
}

.site-logo {
  flex: 0 0 auto;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-logo b {
  color: var(--accent);
  font-weight: 600;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 8px;
}

.site-nav a {
  position: relative;
  padding: 22px 0;
  color: rgba(242, 238, 229, .66);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: color .25s var(--ease);
}

.site-nav a:hover { color: var(--paper); }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.site-nav a.is-active { color: var(--paper); }
.site-nav a.is-active::after { transform: scaleX(1); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-switch button {
  min-width: 30px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: rgba(242, 238, 229, .48);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .25s var(--ease);
}

.lang-switch button.is-active {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--paper);
}
.lang-switch button:hover { color: var(--paper); }

.lang-switch button + button { border-left: 1px solid rgba(242, 238, 229, .2); }

.header-cta {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

.header-cta:hover { background: #fff; border-color: #fff; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(242, 238, 229, .22);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--paper);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; margin: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 0;
  padding: 56px 0 24px;
  background: var(--ink);
  color: rgba(242, 238, 229, .62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(242, 238, 229, .14);
}

.footer-brand .site-logo { font-size: 18px; }
.footer-brand p {
  max-width: 36ch;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(242, 238, 229, .52);
}

.footer-col h4 {
  margin: 0 0 14px;
  color: rgba(242, 238, 229, .42);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: rgba(242, 238, 229, .7);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .25s var(--ease);
}

.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: rgba(242, 238, 229, .36);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .03em;
}

/* ---------- home: hero ---------- */

.hero { background: var(--paper); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) 0 clamp(44px, 6vw, 76px);
}

.hero__kicker { margin: 0 0 24px; color: var(--accent-deep); }

.hero__title {
  max-width: 10ch;
  margin: 0 0 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__desc {
  max-width: 40ch;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.hero__facts dt {
  margin: 0 0 5px;
  font-size: 9.5px;
  letter-spacing: .08em;
}

.hero__facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.hero__preview { margin: 0; }

.preview {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
}

.preview__frame {
  position: relative;
  aspect-ratio: 1909 / 1140;
  overflow: hidden;
  border-radius: 4px;
  background: url("../img/frame-pair.png") center / 100% 100% no-repeat;
}

.preview__frame canvas {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.preview__frame canvas.is-ready { opacity: 1; }

.preview__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .03em;
  line-height: 1.4;
}

.preview__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- home: sections ---------- */

.section {
  padding: clamp(44px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.section__head { margin-bottom: 32px; }

.section__kicker {
  margin: 0 0 12px;
  color: var(--accent-deep);
}

.section__title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.02;
}

.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section__note {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.step {
  padding: 24px 32px 0;
  border-left: 1px solid var(--line);
}

.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }

.step__num {
  display: block;
  margin-bottom: 24px;
  color: var(--accent-deep);
  font-size: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.1;
}

.step p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.set-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-card__media {
  display: block;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 0;
}

.product-card__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .35s var(--ease);
}

.product-card:hover .product-card__media img { transform: scale(1.012); }

.product-card__body { padding: 18px 2px 0; }

.product-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.product-card__top h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.product-card__top h3 a { color: var(--ink); text-decoration: none; }
.product-card__top h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-card__price {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .01em;
  white-space: nowrap;
}

.product-card__short {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.product-card__specs {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  line-height: 1.5;
}

.product-card .link-underline { align-self: flex-start; }

.details { padding: 40px 0; }

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

.detail {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.detail:first-child { padding-left: 0; border-left: 0; }
.detail:last-child { padding-right: 0; }

.detail__label { margin: 0 0 10px; font-size: 9.5px; }

.detail__value {
  max-width: 20ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.cta-band {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--ink);
  color: var(--paper);
}

.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.cta-band__kicker {
  margin: 0 0 16px;
  color: rgba(242, 238, 229, .46);
}

.cta-band__title {
  max-width: 18ch;
  margin: 0 0 16px;
  color: var(--paper);
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: .99;
}

.cta-band__desc {
  max-width: 44ch;
  margin: 0;
  color: rgba(242, 238, 229, .62);
  font-size: 14.5px;
  line-height: 1.55;
}

.cta-band__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
}

/* ---------- subpage hero ---------- */

.page-hero {
  max-width: 760px;
  margin: 0 0 32px;
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-deep);
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: .98;
  letter-spacing: -0.025em;
}

.page-hero p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

main.page-width { padding-bottom: 72px; }

/* ---------- catalog ---------- */

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  background-color: transparent;
  background-image: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.filter-chip:hover { color: var(--ink); border-color: var(--line-strong); }

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.catalog-search {
  min-width: 240px;
  min-height: 36px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
}

.catalog-search::placeholder { color: var(--muted); }
.catalog-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 32px 0 0;
}

.product-grid .product-card__media { position: relative; }

.product-card__badge {
  position: static;
  display: inline-block;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  background-image: none;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-card__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-card__price {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.product-card__link {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- product page ---------- */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin: 28px 0 0;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  box-shadow: none;
}

.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
}

.product-info { padding-top: 4px; }

.product-info .eyebrow { margin-bottom: 14px; }

.product-info h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: .99;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 18px;
}

.product-price small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
}

.product-description {
  max-width: 52ch;
  margin: 22px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.product-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .03em;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.product-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.product-benefit img {
  width: 14px;
  height: 14px;
  opacity: .55;
  filter: grayscale(1);
}

.product-details { margin-top: 10px; border-top: 1px solid var(--line); }

.product-details details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-details summary {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.product-details p {
  max-width: 56ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.related-products { margin-top: 64px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 4px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

/* ---------- contacts ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  text-decoration: none;
  transition: border-color .25s var(--ease);
}

.contact-card:hover { border-color: var(--line-strong); }
.contact-card,
.contact-note { box-shadow: none; }

.contact-card__icon {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-card h3 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .01em;
}

.contact-note {
  max-width: 62ch;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-note h3 { margin: 0 0 8px; font-size: 20px; }
.contact-note p { margin: 0; color: var(--muted); font-size: 13.5px; }
.contact-note__hours { margin-top: 12px !important; font-family: var(--font-mono); font-size: 10.5px !important; }

/* ---------- delivery ---------- */

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.delivery-step {
  padding: 24px 24px 28px;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.delivery-step:first-child { padding-left: 0; border-left: 0; }
.delivery-step:last-child { padding-right: 0; }

.delivery-step__num {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
}

.delivery-step h3 { margin: 14px 0 8px; font-size: 18px; }
.delivery-step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.delivery-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.delivery-info {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
}

.delivery-info h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; }
.delivery-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.delivery-faq {
  max-width: 760px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.delivery-faq h2 { margin: 28px 0 12px; font-size: 26px; }

.delivery-faq details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.delivery-faq summary {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.delivery-faq p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ---------- constructor page ---------- */

#avto-constructor {
  background: transparent;
  color: var(--ink);
}

#avto-constructor .avto__title {
  font-family: var(--font-display);
  letter-spacing: -.02em;
}

#avto-constructor .avto__subtitle { color: var(--muted); }

#avto-constructor .avto__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 470px);
  gap: 32px;
}

#avto-constructor .avto__preview {
  max-width: none;
  margin: 0;
}

#avto-constructor .avto__stage {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  box-shadow: none;
}

#avto-constructor .avto__canvas {
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  background: transparent;
}

#avto-constructor .avto__preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .03em;
}

#avto-constructor .avto__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
}

#avto-constructor .avto__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

#avto-constructor .avto__controls {
  max-width: none;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  box-shadow: none;
}

#avto-constructor .avto__section-title,
#avto-constructor .avto__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

#avto-constructor input[type="text"],
#avto-constructor .avto__search {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

#avto-constructor input[type="text"]:focus,
#avto-constructor .avto__search:focus {
  border-color: var(--ink);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

#avto-constructor .avto__toggle,
#avto-constructor .avto__chip,
#avto-constructor .avto__item {
  border-radius: 4px;
}

#avto-constructor .avto__toggle {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

#avto-constructor .avto__item:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

#avto-constructor .avto__item.is-active {
  border-color: var(--ink);
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--accent);
}

#avto-constructor .avto__bundle-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
}

#avto-constructor .avto__bundle-price-value {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

#avto-constructor .avto__actions .button,
#avto-constructor .avto__actions .button[name="add"] {
  border: 1px solid var(--ink) !important;
  border-radius: 6px !important;
  background: var(--ink) !important;
  background-image: none !important;
  color: var(--paper) !important;
  box-shadow: none !important;
}

#avto-constructor .avto__actions .button::before,
#avto-constructor .avto__actions .button::after {
  content: none !important;
  background: none !important;
}

#avto-constructor .avto__actions .button:hover,
#avto-constructor .avto__actions .button[name="add"]:hover {
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  background-image: none !important;
  color: var(--paper) !important;
  box-shadow: none !important;
  transform: none;
}

#avto-constructor .avto__toggle,
#avto-constructor .avto__chip,
#avto-constructor .avto__item,
#avto-constructor .avto__search {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  background-image: none;
  box-shadow: none;
}

#avto-constructor .avto__spec-chip,
#avto-constructor .avto__spec-chip--btn {
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

#avto-constructor .avto__benefits,
#avto-constructor .avto__faq,
#avto-constructor .avto__quick-cases,
#avto-constructor .avto__specs {
  box-shadow: none;
}

#avto-constructor .avto__color {
  box-shadow: 0 0 0 1px var(--line);
}

#avto-constructor .avto__color.is-active {
  box-shadow: 0 0 0 2px var(--ink);
}

#avto-constructor .avto__order-bar,
#avto-constructor .constructor-order-bar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

#avto-constructor .avto__benefits {
  border: 1px solid var(--line);
  background: transparent;
}

#avto-constructor .avto__benefit-item {
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

#avto-constructor .avto__benefit-item + .avto__benefit-item { border-top: 1px dashed var(--line); }

#avto-constructor .avto__benefit-item img { opacity: .55; filter: grayscale(1); }

#avto-constructor .avto__specs,
#avto-constructor .avto__quick-cases,
#avto-constructor .avto__faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}

#avto-constructor .avto__faq-item {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

#avto-constructor .avto__faq-item:first-of-type { border-top: 0; }

#avto-constructor .avto__faq-item summary {
  padding: 13px 0;
  border: 0;
  background: transparent;
}

#avto-constructor .avto__info-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { max-width: 14ch; }
  .hero__preview { max-width: 720px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; max-width: 720px; }
  .delivery-steps { grid-template-columns: repeat(2, 1fr); }
  .delivery-step:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .delivery-step:nth-child(4) { border-top: 1px solid var(--line); }
  .step { padding-right: 20px; }
}

@media (max-width: 900px) {
  .site-header__inner { gap: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 18px;
    background: var(--ink);
    border-bottom: 1px solid rgba(242, 238, 229, .16);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(242, 238, 229, .12);
    font-size: 15px;
  }
  .site-nav a::after { display: none; }
  .site-header__actions { margin-left: 0; gap: 10px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: 0; order: 3; }
  .site-header__actions { order: 2; margin-left: auto; }
  .hero__title { font-size: clamp(44px, 9vw, 72px); }
  .section__head--split { display: block; }
  .section__note { margin-top: 16px; }
  .step { padding-left: 20px; }
  .step:first-child { padding-left: 0; }
  .set-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band__inner { display: block; }
  .cta-band__actions { margin-top: 28px; }
  #avto-constructor .avto__grid { grid-template-columns: 1fr; }
  #avto-constructor .avto__preview { position: static; }
}

@media (max-width: 640px) {
  .page-width { padding: 0 16px; }
  .hero__inner { padding-top: 36px; padding-bottom: 40px; }
  .hero__title { font-size: 42px; }
  .hero__desc { font-size: 15px; }
  .hero__actions { gap: 18px; margin-bottom: 32px; }
  .hero__facts { gap: 12px; }
  .hero__facts dd { font-size: 12px; }
  .preview { padding: 10px; }
  .preview__caption { display: block; padding-top: 10px; font-size: 9.5px; }
  .preview__caption > span + span { display: block; margin-top: 3px; }
  .section { padding: 40px 0; }
  .steps__list { grid-template-columns: 1fr; border-top: 0; }
  .step,
  .step:first-child,
  .step:last-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .step__num { margin-bottom: 14px; }
  .product-card__top { display: block; }
  .product-card__price { display: block; margin-top: 6px; }
  .details__grid { grid-template-columns: 1fr 1fr; }
  .detail { padding: 18px 16px; }
  .detail:nth-child(odd) { padding-left: 0; border-left: 0; }
  .detail:nth-child(3),
  .detail:nth-child(4) { border-top: 1px solid var(--line); }
  .detail:nth-child(3) { padding-left: 0; border-left: 0; padding-top: 18px; }
  .detail:nth-child(4) { padding-top: 18px; }
  .cta-band__actions { flex-wrap: wrap; }
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: 34px; }
  .product-benefits { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-step,
  .delivery-step:first-child,
  .delivery-step:last-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .delivery-step:first-child { border-top: 0; }
  .delivery-info-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
  .site-footer { padding-top: 40px; }
  #avto-constructor .avto__controls { padding: 14px; }
  .catalog-search { width: 100%; margin-left: 0; }
}
