:root {
  --white: #ffffff;
  --black: #0b0b0b;
  --gray-1: #f5f5f5;
  --gray-2: #e5e5e5;
  --gray-3: #9aa0a6;
  --text: #141414;
  --accent: #111111;
  --container-max: 1400px;
  --container-inline-padding: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html,
body {
  max-width: 100%;
  overflow-x: clip;
  height: -webkit-fill-available;
}

.page {
  width: 100%;
  overflow: hidden;
}

* {
  box-sizing: border-box; /* чтобы padding/margin не вылазили */
}
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
body { font-family: "Manrope", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.5; min-height: 100vh; display: block; width: 100%; margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-inline-padding); }
.icon-svg { width: 22px; height: 22px; display: block; }

main { 
  width: 100%;
}
.js .js-fallback { display: none !important; }

/* Toasts */
.toast-container {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 1700;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(17, 17, 17, 0.95);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast--error {
  background: rgba(178, 34, 34, 0.95);
}

.toast--success {
  background: rgba(16, 120, 64, 0.95);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 76px; display: flex; align-items: center; justify-content: center; padding: 0 max(40px, calc((100% - 1100px) / 2)); color: #fff; background: transparent; transition: background .4s cubic-bezier(.23, 1, .32, 1), box-shadow .4s cubic-bezier(.23, 1, .32, 1), color .4s cubic-bezier(.23, 1, .32, 1); }
.header--scrolled { background: #fffffff2; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 24px #0000000f; color: #111; }
.header__left, .header__right { display: flex; align-items: center; gap: 18px; position: absolute; top: 0; height: 76px; }
.header__left { left: max(40px, calc((100% - 1100px) / 2)); }
.header__right { right: max(40px, calc((100% - 1100px) / 2)); }
.header__catalog-btn { border: 1px solid rgba(255,255,255,.85); color: #fff; background: transparent; padding: 14px 26px; letter-spacing: .25em; font-size: 12px; text-transform: uppercase; position: relative; overflow: hidden; transition: color .25s ease, border-color .25s ease; }
.header__catalog-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: #fff; transition: height .25s ease; z-index: 0; }
.header__catalog-btn span { position: relative; z-index: 1; }
.header__catalog-btn:hover::after { height: 100%; }
.header__catalog-btn:hover { color: #111; }
.header--scrolled .header__catalog-btn::after { background: #111; }
.header--scrolled .header__catalog-btn:hover { color: #fff; }
.header--scrolled .header__catalog-btn { border-color: #11111126; color: #111; }
.header__menu-btn { width: 28px; height: 18px; position: relative; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.header__menu-btn span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.header__menu-btn span:nth-child(1){ top: 1px; }
.header__menu-btn span:nth-child(2){ top: 8px; }
.header__menu-btn span:nth-child(3){ top: 15px; }
.header__logo { text-decoration: none; color: inherit; }
.header__logo-text { font-weight: 300; letter-spacing: .6em; font-size: 20px; text-transform: uppercase; }
.header__icon { border: none; background: transparent; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.header__icon svg { width: 24px; height: 24px; }
.header--scrolled .header__icon { color: #111; }
.header__icon svg { display: block; }
.header__icon:hover { color: #fff; }
.header--scrolled .header__icon:hover { color: #111; }
.header__profile-wrap { display: inline-flex; }
.header__manager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  color: inherit;
}
.header__manager::before {
  content: "";
  width: 1px;
  height: 28px;
  margin-right: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.header--scrolled .header__manager::before {
  background: #11111118;
}
.header__manager-label {
  display: none;
}
.header__manager-separator {
  display: none;
}
.header__manager-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .2s ease, color .2s ease;
}
.header__manager-link svg {
  width: 28px;
  height: 28px;
  display: block;
}
.header__manager-link:hover {
  transform: translateY(-1px);
  opacity: 1;
}
.header__manager-link,
.header--scrolled .header__manager-link { opacity: 0.88; }
/* Legacy header compatibility for old HTML pages */
.header__row {
  width: 100%;
  max-width: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-btn {
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  background: transparent;
  padding: 14px 26px;
  letter-spacing: .25em;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header--scrolled .catalog-btn {
  border-color: #11111126;
  color: #111;
}

.burger {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
}

.burger svg {
  width: 22px;
  height: 22px;
  display: block;
}

.header--scrolled .burger {
  color: #111;
}

.logo {
  text-decoration: none;
  color: #fff;
  font-weight: 300;
  letter-spacing: .6em;
  font-size: 20px;
  text-transform: uppercase;
}

.header--scrolled .logo {
  color: #111;
}

.icon-btn {
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.header--scrolled .icon-btn {
  color: #111;
}

.header .nav a {
  color: inherit;
}

body:not(.page-success):not([data-page="home"]):not([data-page="catalog"]):not([data-page="item"]) > main {
  padding-top: 76px;
}

body[data-page="about"] > main {
  padding-top: 0;
}

body[data-page^="cabinet"] > main {
  padding-top: 140px;
}

body[data-page="contact"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f7fb;
}

body[data-page="contact"] > main {
  flex: 1 0 auto;
  width: 100%;
}

body[data-page="contact"] .footer {
  width: 100%;
  margin-top: auto;
}

body[data-page^="cabinet"] > main .container {
  padding-top: 12px;
}

/* Side panel */
.side-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 1100; }
.side-panel { position: fixed; top: 0; left: 0; height: 100vh; width: 360px; max-width: 90vw; background: #fff; transform: translateX(-100%); transition: transform .25s ease; z-index: 1200; display: flex; flex-direction: column; }
.side-panel__header { display: flex; justify-content: flex-start; padding: 28px 28px 12px; }
.side-panel__close { border: none; background: transparent; cursor: pointer; line-height: 1; color: #8f8f8f; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; transition: color .2s ease, transform .2s ease; }
.side-panel__close:hover { color: #111; transform: scale(1.08); }
.side-panel__close svg { display: block; }
.side-panel__nav { display: grid; gap: 22px; padding: 14px 36px 32px; font-size: 15px; }
.side-panel__link { display: flex; gap: 14px; align-items: center; font-size: 15px; color: #2b2b2b; font-weight: 500; padding: 6px 6px; border-radius: 10px; transition: background-color .2s ease, color .2s ease; }
.side-panel__link:hover { background: rgba(158, 120, 255, 0.12); color: #7c4dff; }
.side-panel__link:hover .side-panel__icon { color: #7c4dff; }
.side-panel__icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: #888; }
.side-panel__icon svg { width: 20px; height: 20px; display: block; }
.side-panel__divider { height: 1px; background: #eee; margin: 14px 0; }
.side-panel.is-open { transform: translateX(0); }
.side-overlay.is-open { opacity: 1; visibility: visible; }
body.side-open { overflow: hidden; }
.side-open .header { pointer-events: none; }
.side-open .side-panel, .side-open .side-overlay { pointer-events: auto; }

/* Auth modal */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(11, 11, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.auth-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-modal {
  width: min(420px, calc(100vw - 24px));
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  padding: 28px 26px 20px;
  position: relative;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(6px);
  transition: transform .2s ease;
}

.auth-modal[data-auth-mode="verify"] {
  width: min(460px, calc(100vw - 24px));
}

.auth-modal-overlay.is-open .auth-modal {
  transform: translateY(0);
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-modal__close svg { width: 20px; height: 20px; }

.auth-modal__title {
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 24px;
  color: #1f1f1f;
  padding-right: 30px;
  overflow-wrap: anywhere;
}

.auth-modal__content {
  display: grid;
  min-width: 0;
}

.auth-modal__error {
  background: #fff1f1;
  border: 1px solid #ffd4d4;
  color: #b42323;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.auth-modal__form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.auth-modal__label {
  font-size: 14px;
  color: #9b9b9b;
}

.auth-modal__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d6d6d6;
  padding: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: #1f1f1f;
  outline: none;
}

.auth-modal__input::placeholder {
  color: #cdcdcd;
  font-size: 16px;
}

.auth-modal__input:focus {
  border-bottom-color: #1f1f1f;
}

.auth-modal__password-wrap {
  position: relative;
}

.auth-modal__password-wrap .auth-modal__input {
  padding-right: 32px;
}

.auth-modal__eye {
  position: absolute;
  right: 0;
  bottom: 7px;
  border: none;
  background: transparent;
  color: #adadad;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.auth-modal__btn {
  height: 40px;
  width: 100%;
  border-radius: 0;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
  padding: 0 10px;
  min-width: 0;
  box-sizing: border-box;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.auth-modal__btn--ghost {
  background: #fff;
  color: #1f1f1f;
}

.auth-modal__btn--primary {
  border-color: #e6e6e6;
  background: #e6e6e6;
  color: #9f9f9f;
  font-weight: 600;
}

.auth-modal__btn--primary:not(:disabled) {
  background: #111;
  border-color: #111;
  color: #fff;
}

.auth-modal__switch {
  margin: 16px 0 10px;
  font-size: 13px;
  color: #5b5b5b;
  text-align: center;
  overflow-wrap: anywhere;
}

.auth-modal__switch a {
  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-modal__hint {
  margin: 0 0 18px;
  font-size: clamp(20px, 4.5vw, 26px);
  line-height: 1.35;
  color: #6f6f6f;
  text-align: left;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-modal__email {
  display: block;
  margin-top: 2px;
  color: #1f1f1f;
  font-weight: 700;
  max-width: 100%;
  font-size: clamp(18px, 4.2vw, 22px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auth-modal__code {
  text-align: center;
  letter-spacing: clamp(0.16em, 0.8vw, 0.3em);
  font-weight: 600;
  text-transform: uppercase;
}

.auth-modal__code::placeholder {
  color: #cfcfcf;
}

.auth-modal__resend {
  margin: 14px 0 12px;
  font-size: 14px;
  color: #a1a1a1;
  text-align: center;
  min-height: 22px;
  overflow-wrap: anywhere;
}

.auth-modal__resend-link {
  border: none;
  background: transparent;
  color: #1f1f1f;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-modal__legal {
  margin: 0;
  border-top: 1px solid #efefef;
  padding-top: 14px;
  font-size: 11px;
  text-align: center;
  color: #8d8d8d;
  overflow-wrap: anywhere;
}

.auth-modal__legal a {
  color: #6f6f6f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.auth-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .auth-modal-overlay {
    padding: 12px;
  }

  .auth-modal,
  .auth-modal[data-auth-mode="verify"] {
    width: min(100%, calc(100vw - 24px));
    padding: 22px 16px 18px;
    border-radius: 14px;
    max-height: calc(100vh - 24px);
  }

  .auth-modal__close {
    top: 10px;
    right: 10px;
  }

  .auth-modal__title {
    font-size: clamp(22px, 9vw, 30px);
    margin-bottom: 18px;
    padding-right: 32px;
  }

  .auth-modal__hint {
    font-size: clamp(16px, 6vw, 22px);
    margin-bottom: 14px;
  }

  .auth-modal__email {
    font-size: clamp(16px, 5.6vw, 20px);
  }

  .auth-modal__form {
    gap: 12px;
  }

  .auth-modal__actions {
    gap: 8px;
    margin-top: 16px;
  }

  .auth-modal__btn {
    font-size: 13px;
    padding: 0 8px;
  }

  .auth-modal__code {
    font-size: 15px;
  }

  .auth-modal__resend {
    font-size: 13px;
  }

  .auth-modal__legal {
    font-size: 10px;
    padding-top: 12px;
  }
}

/* Purchase modal */
.purchase-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(12, 12, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.purchase-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purchase-modal {
  width: min(520px, calc(100vw - 32px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  padding: 26px 26px 22px;
  position: relative;
  transform: translateY(6px);
  transition: transform .2s ease;
}

.purchase-modal-overlay.is-open .purchase-modal {
  transform: translateY(0);
}

.purchase-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #7d7d7d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.purchase-modal__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f4f6ff;
  color: #2f5bff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.purchase-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.purchase-modal__subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6f6f6f;
}

.purchase-modal__car {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  background: #f6f7f9;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
}

.purchase-modal__car img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.purchase-modal__car-title {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
}

.purchase-modal__car-price {
  font-weight: 700;
  font-size: 13px;
  color: #1a1a1a;
}

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

.purchase-modal__form .input {
  border-radius: 10px;
}

.purchase-modal__submit {
  width: 100%;
}

body.purchase-modal-open {
  overflow: hidden;
}

/* Confirm modal */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(12, 12, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.confirm-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.confirm-modal {
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  padding: 22px 22px 18px;
  position: relative;
  transform: translateY(6px);
  transition: transform .2s ease;
}

.confirm-modal-overlay.is-open .confirm-modal {
  transform: translateY(0);
}

.confirm-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #7d7d7d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.confirm-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.confirm-modal__text {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6f6f6f;
}

.confirm-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.confirm-modal__confirm--danger {
  background: #c62828;
  border-color: #c62828;
}

body.confirm-modal-open {
  overflow: hidden;
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: #111; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero__bg img.is-active { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.2)); }
.hero__content { position: relative; z-index: 1; max-width: 620px; padding-top: 40px; }
.hero__title { font-size: 54px; font-weight: 300; line-height: 1.05; margin-bottom: 14px; }
.hero__title em { font-style: italic; }
.hero__subtitle { font-size: 14px; color: rgba(255,255,255,.8); max-width: 520px; }
.hero__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid #fff; background: #fff; color: #111; font-weight: 600; border-radius: 8px; }
.btn--outline { background: transparent; color: #fff; }
.btn--dark { background: #111; color: #fff; border-color: #111; }
.btn--light { border-color: rgba(255,255,255,.5); }
.btn--compact { padding: 10px 18px; border-radius: 10px; }
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.form .btn {
  background: #111;
  color: #fff;
  border-color: #111;
}
.form .btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

/* Sections */
.section { padding: 70px 0; }
.hero + .section { padding-top: 90px; }
.section--light { background: #fff; }
.section--dark { background: #0a0a0a; color: #fff; }
.section__title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 40px; }
.section__title--left { text-align: left; margin-bottom: 24px; }
.section__split { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.mini-link { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; border: 1px solid #111; padding: 8px 14px; }

/* Form */
.form-wrap { max-width: 520px; margin: 0 auto; text-align: center; }
.form { display: grid; gap: 16px; }
.label { font-size: 14px; font-weight: 600; text-align: left; }
.input { padding: 14px 16px; border: 1px solid var(--gray-2); border-radius: 10px; }
.helper { font-size: 12px; color: var(--gray-3); text-align: left; }
.btn-wide { width: 100%; border-radius: 10px; background: #cfcfcf; color: #fff; border: none; padding: 16px 18px; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.btn-wide:not(:disabled) { background: #111; color: #fff; cursor: pointer; }
.btn-wide:disabled { cursor: default; }

.contact-page {
  padding-bottom: 56px;
}

.contact-page__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-page__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-page__title {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.contact-page__lead {
  margin: 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: #475569;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-page__details .card__body,
.contact-page__form-card .card__body {
  padding: 24px;
  gap: 18px;
  border-top: none;
}

.contact-page__details-block {
  display: grid;
  gap: 8px;
}

.contact-page__details-block .helper {
  margin: 0;
}

.contact-page__details-block p,
.contact-page__details-block li,
.contact-page__form-head p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #334155;
  line-height: 1.6;
}

.contact-page__link {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-page__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page__topics {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.contact-page__form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-page__form-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-page__form .btn {
  min-width: 220px;
}

.contact-page__message {
  min-height: 140px;
  resize: vertical;
}

.contact-page__map-section {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.contact-page__map-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.contact-page__map-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.contact-page__map-text {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

.contact-page__map-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  overflow: hidden;
}

.contact-page__map-frame {
  position: relative;
  min-height: 420px;
  background: linear-gradient(180deg, #d6dee8 0%, #eef2f7 100%);
}

.contact-page__map-canvas {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.82) 0, rgba(255, 255, 255, 0) 32%),
    linear-gradient(160deg, #f8fbff 0%, #eef3f8 48%, #e2e9f2 100%);
}

.contact-page__map-canvas.is-fallback {
  background: #eef2f5;
}

.contact-page__map-embed {
  display: block;
  width: 100%;
  min-height: 420px;
  height: 100%;
  border: 0;
}

.contact-page__map-frame .leaflet-container {
  width: 100%;
  min-height: 420px;
  background: linear-gradient(180deg, #d4dce6 0%, #edf2f7 100%);
  font: inherit;
  color: #111;
}

.contact-page__map-frame .leaflet-tile-pane {
  filter: grayscale(1) saturate(0) contrast(1.14) brightness(1.08);
}

.contact-page__map-frame .leaflet-control-zoom {
  margin: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.18);
}

.contact-page__map-frame .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 40px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  transition: background-color .2s ease, color .2s ease;
}

.contact-page__map-frame .leaflet-control-zoom a:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page__map-frame .leaflet-control-zoom a:hover {
  background: #111827;
  color: #fff;
}

.contact-page__map-frame .leaflet-control-attribution {
  margin: 14px !important;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  font-size: 10px;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.contact-page__map-frame .leaflet-control-attribution a {
  color: #334155;
  text-decoration: none;
}

.contact-page__map-frame .leaflet-control-attribution a:hover {
  text-decoration: underline;
}

.contact-page__map-frame .leaflet-popup-content-wrapper {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
}

.contact-page__map-frame .leaflet-popup-content {
  margin: 14px 16px;
}

.contact-page__map-frame .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.92);
}

.contact-page__map-popup-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.contact-page__map-popup-text {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 13px;
  line-height: 1.55;
}

.contact-page__leaflet-marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.contact-page__leaflet-marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4);
  flex: 0 0 auto;
}

.contact-page__leaflet-marker-text {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(17, 24, 39, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 20px rgba(255, 255, 255, 0.72);
}

.contact-page__map-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-page__map-road,
.contact-page__map-block {
  position: absolute;
}

.contact-page__map-road {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 30px rgba(148, 163, 184, 0.12);
}

.contact-page__map-road--one {
  top: 16%;
  left: -14%;
  width: 134%;
  height: 34px;
  transform: rotate(-9deg);
}

.contact-page__map-road--two {
  top: 52%;
  left: -10%;
  width: 126%;
  height: 28px;
  transform: rotate(12deg);
}

.contact-page__map-road--three {
  top: -12%;
  left: 42%;
  width: 32px;
  height: 124%;
  transform: rotate(4deg);
}

.contact-page__map-road--four {
  top: 8%;
  right: 12%;
  width: 26px;
  height: 84%;
  transform: rotate(-8deg);
}

.contact-page__map-block {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(205, 216, 228, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.contact-page__map-block--one {
  top: 12%;
  left: 10%;
  width: 26%;
  height: 22%;
  transform: rotate(-8deg);
}

.contact-page__map-block--two {
  top: 18%;
  right: 8%;
  width: 30%;
  height: 26%;
  transform: rotate(6deg);
}

.contact-page__map-block--three {
  bottom: 12%;
  left: 14%;
  width: 28%;
  height: 24%;
  transform: rotate(7deg);
}

.contact-page__map-block--four {
  right: 14%;
  bottom: 16%;
  width: 24%;
  height: 20%;
  transform: rotate(-10deg);
}

.contact-page__map-marker {
  position: absolute;
  top: 49%;
  left: 54%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.contact-page__map-marker-pin {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #111;
  border: 4px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 12px rgba(17, 17, 17, 0.08), 0 18px 32px rgba(15, 23, 42, 0.18);
}

.contact-page__map-marker-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.contact-page__map-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-left: 1px solid var(--gray-2);
}

.contact-page__map-fact {
  display: grid;
  gap: 6px;
}

.contact-page__map-fact .helper,
.contact-page__map-fact p {
  margin: 0;
}

.contact-page__map-fact p {
  color: #334155;
  line-height: 1.6;
}

.contact-page__map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Legal pages */
.legal-page__card {
  padding: 24px;
}

.legal-page__card .helper {
  margin-bottom: 10px;
}

.legal-page__card h2 {
  margin: 20px 0 8px;
  line-height: 1.25;
}

.legal-page__card h2:first-of-type {
  margin-top: 0;
}

.legal-page__card p {
  margin: 0 0 8px;
  line-height: 1.55;
}

.legal-page__card ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.legal-page__card li {
  margin-bottom: 4px;
}

/* Steps */
.steps { position: relative; overflow: hidden; }
.steps__track { position: relative; }
.steps__slide { position: absolute; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.steps__slide.is-active { opacity: 1; pointer-events: auto; }
.steps.is-fading .steps__slide.is-active { opacity: 0; }
.steps__slide .step-image img { width: 100%; height: auto; border-radius: 12px; }
.step-card { max-width: 520px; }
.step-card h3 { font-size: 28px; margin-bottom: 16px; }
.step-card p { color: rgba(255,255,255,.7); }
.step-card .next { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; background: #1b1b1b; border: 1px solid #333; color: #fff; padding: 12px 20px; border-radius: 999px; }
.step-card button.next { font: inherit; cursor: pointer; }
.step-card .next__icon { display: inline-block; }
.step-image { border-radius: 16px; overflow: hidden; border: 1px solid #222; }

/* Catalog cards */
.grid { display: flex; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.catalog-block { position: relative; padding: 0; overflow: hidden; }
.catalog-grid { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 20px; }
.catalog-grid::-webkit-scrollbar { display: none; }
.catalog-grid { -ms-overflow-style: none; scrollbar-width: none; }
.catalog-grid .card--auto { flex: 0 0 85%; width: 85%; scroll-snap-align: center; scroll-snap-stop: always; }
[data-home-catalog-loading="true"] {
  visibility: hidden;
  min-height: 520px;
}
.catalog-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d9d9d9; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.12); z-index: 2; }
.catalog-nav--left { left: 0; }
.catalog-nav--right { right: 0; }

.card { position: relative; border: 1px solid var(--gray-2); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.card--auto { border-radius: 18px; }
.card__media { position: relative; background: #fff; height: 180px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.card__media img .card__media img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; transition: transform .35s ease; }
.card__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; }
.card__media--split img { width: 100%; height: 100%; }
.card__count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 8px; }
.card__nav { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: none; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.card__body { padding: 18px 18px 20px; display: grid; gap: 8px; border-top: 1px solid var(--gray-2); }
.card__title { font-weight: 700; margin-bottom: 2px; }
.card__price-block { display: grid; gap: 6px; }
.card__price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__price { font-size: 19px; font-weight: 700; margin: 0; }
.card__price--discount { color: #d62828; }
.card__price-old { font-size: 13px; line-height: 1; color: #9aa0a6; text-decoration: line-through; }
.card__meta { font-size: 12px; color: var(--gray-3); }
.card__meta--link { color: #3b82f6; text-decoration: underline; text-underline-offset: 2px; }
.card__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 10px; }
.spec { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; font-size: 12px; color: #6b7280; }
.spec__text { display: grid; gap: 2px; }
.spec__icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 0; font-size: 0; color: #111; flex-shrink: 0; background: transparent; background-size: 16px 16px !important; overflow: visible; }
.spec__icon--state { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='18' viewBox='0 -960 960 960' width='18' fill='%23616376'><path d='m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--fuel { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M6.14357 12.2522H6.64357L6.64357 12.2505L6.14357 12.2522ZM6.82501 11.4113V10.9113H6.81593L6.80686 10.9116L6.82501 11.4113ZM8.0286 19.4836C8.0286 19.7597 8.25246 19.9836 8.5286 19.9836C8.80475 19.9836 9.0286 19.7597 9.0286 19.4836H8.0286ZM6.14357 16.2883L6.64357 16.2883L6.14357 16.2883ZM3.0771 16.2879L2.57711 16.2913L3.0771 16.2879ZM3.07712 16.2898L2.57716 16.2966L3.07712 16.2898ZM2.5673 8.5535C2.5573 13.3264 2.57684 16.2506 2.57711 16.2913L3.57709 16.2845C3.57683 16.2462 3.55731 13.325 3.56729 8.55559L2.5673 8.5535ZM2.57716 16.2966C2.57803 16.36 2.59142 16.7696 2.86712 17.1759C3.16617 17.6165 3.71335 17.9655 4.61034 17.9655V16.9655C4.00568 16.9655 3.78657 16.7499 3.69458 16.6143C3.57924 16.4444 3.57684 16.2661 3.57707 16.2829L2.57716 16.2966ZM4.61034 17.9655C5.52768 17.9655 6.07739 17.6005 6.3709 17.1498C6.64023 16.7362 6.64357 16.3266 6.64357 16.2883L5.64357 16.2883C5.64357 16.25 5.64691 16.429 5.53293 16.6041C5.44313 16.7419 5.22622 16.9655 4.61034 16.9655V17.9655ZM6.64357 16.2883V12.2522H5.64357V16.2883H6.64357ZM6.64357 12.2505C6.6431 12.1057 6.65212 12.0133 6.66446 11.9549C6.6763 11.8989 6.68625 11.8982 6.67221 11.9153C6.65432 11.937 6.6375 11.9401 6.65374 11.9347C6.67843 11.9266 6.73362 11.915 6.84316 11.911L6.80686 10.9116C6.51812 10.9221 6.15102 10.9755 5.90069 11.2791C5.67227 11.5561 5.64252 11.928 5.64357 12.2538L6.64357 12.2505ZM6.82501 11.9113H8.5286V10.9113H6.82501V11.9113ZM8.0286 11.4113V19.4836H9.0286V11.4113H8.0286ZM9.18537 4.17537H13.6394V3.17537H9.18537V4.17537ZM18.7502 19.9836H20.4784V18.9836H18.7502V19.9836ZM20.6352 20.1403V21.5176H21.6352V20.1403H20.6352ZM20.4784 21.6743H7.14106V22.6743H20.4784V21.6743ZM6.98429 21.5176V20.1403H5.98429V21.5176H6.98429ZM7.14106 19.9836H18.7502V18.9836H7.14106V19.9836ZM13.6394 4.17537H18.0934V3.17537H13.6394V4.17537ZM18.2502 4.33214V19.4836H19.2502V4.33214H18.2502ZM8.0286 4.33214V11.4113H9.0286V4.33214H8.0286ZM10.0069 6.6732V7.71408H11.0069V6.6732H10.0069ZM11.1637 8.87085H15.831V7.87085H11.1637V8.87085ZM16.9878 7.71408V6.6732H15.9878V7.71408H16.9878ZM15.831 5.51643H11.1637V6.51643H15.831V5.51643ZM16.9878 6.6732C16.9878 6.03433 16.4699 5.51643 15.831 5.51643V6.51643C15.9176 6.51643 15.9878 6.58662 15.9878 6.6732H16.9878ZM15.831 8.87085C16.4699 8.87085 16.9878 8.35295 16.9878 7.71408H15.9878C15.9878 7.80066 15.9176 7.87085 15.831 7.87085V8.87085ZM10.0069 7.71408C10.0069 8.35295 10.5248 8.87085 11.1637 8.87085V7.87085C11.0771 7.87085 11.0069 7.80066 11.0069 7.71408H10.0069ZM11.0069 6.6732C11.0069 6.58662 11.0771 6.51643 11.1637 6.51643V5.51643C10.5248 5.51643 10.0069 6.03434 10.0069 6.6732H11.0069ZM18.0934 4.17537C18.18 4.17537 18.2502 4.24556 18.2502 4.33214H19.2502C19.2502 3.69327 18.7323 3.17537 18.0934 3.17537V4.17537ZM7.14106 21.6743C7.05448 21.6743 6.98429 21.6042 6.98429 21.5176H5.98429C5.98429 22.1564 6.50219 22.6743 7.14106 22.6743V21.6743ZM9.18537 3.17537C8.5465 3.17537 8.0286 3.69327 8.0286 4.33214H9.0286C9.0286 4.24556 9.09879 4.17537 9.18537 4.17537V3.17537ZM6.98429 20.1403C6.98429 20.0538 7.05448 19.9836 7.14106 19.9836V18.9836C6.50219 18.9836 5.98429 19.5015 5.98429 20.1403H6.98429ZM6.64357 16.2883V16.2883H5.64357V16.2883L6.64357 16.2883ZM3.56729 8.55559C3.57103 6.77234 4.36913 5.08204 5.742 3.94247L5.1033 3.17301C3.50285 4.50149 2.57165 6.47257 2.5673 8.5535L3.56729 8.55559ZM20.4784 19.9836C20.565 19.9836 20.6352 20.0538 20.6352 20.1403H21.6352C21.6352 19.5015 21.1173 18.9836 20.4784 18.9836V19.9836ZM20.6352 21.5176C20.6352 21.6042 20.565 21.6743 20.4784 21.6743V22.6743C21.1173 22.6743 21.6352 22.1564 21.6352 21.5176H20.6352ZM2.57711 16.2913C2.57711 16.2913 2.57711 16.2912 2.57711 16.291C2.57711 16.2908 2.57711 16.2905 2.57711 16.2901C2.57711 16.2897 2.57711 16.2893 2.57711 16.289C2.57711 16.2882 2.57711 16.2894 2.57711 16.2901C2.57711 16.2929 2.57715 16.2952 2.57715 16.2955C2.57715 16.2959 2.57716 16.2965 2.57716 16.2966L3.57707 16.2829C3.57706 16.2823 3.57706 16.2825 3.57707 16.2826C3.57707 16.2827 3.5771 16.2849 3.5771 16.2876C3.57711 16.2883 3.57711 16.2894 3.57711 16.2885C3.57711 16.2881 3.5771 16.2877 3.5771 16.2871C3.5771 16.2861 3.57709 16.2852 3.57709 16.2845L2.57711 16.2913Z' fill='%23616376'/><circle cx='4.80321' cy='7.67772' r='1.63377' stroke='%23616376' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--fuel-electric { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 24' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10.4199 19.6889C10.4199 19.7994 10.5094 19.8889 10.6199 19.8889H14.1079C14.2184 19.8889 14.3079 19.7994 14.3079 19.6889V17.8637C14.3079 17.6597 14.3703 17.4607 14.4866 17.2932L16.6931 14.1169C16.8094 13.9494 16.8718 13.7503 16.8718 13.5463V9.3235C16.8718 9.13567 16.8012 8.97151 16.6599 8.83101C16.5194 8.68976 16.3553 8.61914 16.1674 8.61914H8.56034C8.37251 8.61914 8.20835 8.68976 8.06785 8.83101C7.92661 8.97151 7.85598 9.13567 7.85598 9.3235V13.5463C7.85598 13.7503 7.91834 13.9494 8.03469 14.1169L10.2411 17.2932C10.3575 17.4607 10.4199 17.6597 10.4199 17.8637V19.6889ZM9.29288 18.3231C9.29288 18.1314 9.23775 17.9436 9.13406 17.7823L7.26432 14.8739C7.09527 14.7236 6.96379 14.5309 6.86988 14.2957C6.77596 14.0613 6.729 13.822 6.729 13.5778V9.3235C6.729 8.81636 6.90744 8.38435 7.26432 8.02748C7.62119 7.6706 8.0532 7.49216 8.56034 7.49216H9.94089L9.3774 8.05565V3.54774C9.3774 3.3787 9.42924 3.24233 9.53292 3.13865C9.63585 3.03572 9.77184 2.98425 9.94089 2.98425C10.0912 2.98425 10.2226 3.03572 10.3353 3.13865C10.448 3.24233 10.5044 3.3787 10.5044 3.54774V7.49216H14.2234V3.54774C14.2234 3.3787 14.2798 3.24233 14.3925 3.13865C14.5051 3.03572 14.6366 2.98425 14.7869 2.98425C14.9559 2.98425 15.0919 3.03572 15.1949 3.13865C15.2985 3.24233 15.3504 3.3787 15.3504 3.54774V8.05565L14.7869 7.49216H16.1674C16.6746 7.49216 17.1066 7.6706 17.4635 8.02748C17.8203 8.38435 17.9988 8.81636 17.9988 9.3235V13.5778C17.9988 13.822 17.9518 14.0613 17.8579 14.2957C17.764 14.5309 17.6325 14.7236 17.4635 14.8739L15.5937 17.7823C15.49 17.9436 15.4349 18.1314 15.4349 18.3231V20.1143C15.4349 20.3585 15.3504 20.5696 15.1813 20.7477C15.0123 20.9265 14.7963 21.0159 14.5333 21.0159H10.1945C9.9315 21.0159 9.71549 20.9265 9.54645 20.7477C9.3774 20.5696 9.29288 20.3585 9.29288 20.1143V18.3231Z' fill='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--engine { background-image: url("data:image/svg+xml;utf8,<svg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23616376' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'><rect x='4' y='8' width='16' height='10' rx='2'/><path d='M8 8V6M16 8V6M2 13h2M20 13h2'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--consumption { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23616376' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'><path d='M3 22V6a2 2 0 012-2h8a2 2 0 012 2v16'/><path d='M7 12h4M7 16h4'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--body { background-image: url("data:image/svg+xml;utf8,<svg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23616376' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'><path d='M5 17h14M7 11l2-4h6l2 4'/><rect x='3' y='11' width='18' height='6' rx='2'/><circle cx='7' cy='17' r='2'/><circle cx='17' cy='17' r='2'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--gear-manual { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5.05012 8.83123C4.00754 8.83123 3.16235 8.03064 3.16235 7.04306C3.16235 6.05548 4.00754 5.25488 5.05012 5.25488C6.09271 5.25488 6.93789 6.05548 6.93789 7.04306C6.93789 8.03064 6.09271 8.83123 5.05012 8.83123ZM5.05012 8.83123V12.7327M12.6012 8.83123C11.5586 8.83123 10.7134 8.03064 10.7134 7.04306C10.7134 6.05548 11.5586 5.25488 12.6012 5.25488C13.6438 5.25488 14.489 6.05548 14.489 7.04306C14.489 8.03064 13.6438 8.83123 12.6012 8.83123ZM12.6012 8.83123V12.7327M20.1523 8.83123C19.1097 8.83123 18.2645 8.03064 18.2645 7.04306C18.2645 6.05548 19.1097 5.25488 20.1523 5.25488C21.1949 5.25488 22.04 6.05548 22.04 7.04306C22.04 8.03064 21.1949 8.83123 20.1523 8.83123ZM20.1523 8.83123V12.0759C20.1523 12.4387 19.8582 12.7327 19.4955 12.7327H12.6012M5.05012 16.9593C4.00754 16.9593 3.16235 17.7599 3.16235 18.7475C3.16235 19.735 4.00754 20.5356 5.05012 20.5356C6.09271 20.5356 6.93789 19.735 6.93789 18.7475C6.93789 17.7599 6.09271 16.9593 5.05012 16.9593ZM5.05012 16.9593V12.7327M12.6012 16.9593C11.5586 16.9593 10.7134 17.7599 10.7134 18.7475C10.7134 19.735 11.5586 20.5356 12.6012 20.5356C13.6438 20.5356 14.489 19.735 14.489 18.7475C14.489 17.7599 13.6438 16.9593 12.6012 16.9593ZM12.6012 16.9593V12.7327M5.05012 12.7327H12.6012M20.1523 16.9593C19.1097 16.9593 18.2645 17.7599 18.2645 18.7475C18.2645 19.735 19.1097 20.5356 20.1523 20.5356C21.1949 20.5356 22.04 19.735 22.04 18.7475C22.04 17.7599 21.1949 16.9593 20.1523 16.9593Z' stroke='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--gear-auto { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M17.2388 20.7173C17.2388 21.5019 17.9102 22.1379 18.7385 22.1379C19.5668 22.1379 20.2383 21.5019 20.2383 20.7173C20.2383 19.9327 19.5668 19.2967 18.7385 19.2967C17.9102 19.2967 17.2388 19.9327 17.2388 20.7173Z' stroke='%23616376'/><path d='M17.2388 15.4385C17.2388 16.2231 17.9102 16.8591 18.7385 16.8591C19.5668 16.8591 20.2383 16.2231 20.2383 15.4385C20.2383 14.6539 19.5668 14.0179 18.7385 14.0179C17.9102 14.0179 17.2388 14.6539 17.2388 15.4385Z' stroke='%23616376'/><path d='M17.2388 10.1596C17.2388 10.9442 17.9102 11.5802 18.7385 11.5802C19.5668 11.5802 20.2383 10.9442 20.2383 10.1596C20.2383 9.37498 19.5668 8.73894 18.7385 8.73894C17.9102 8.73894 17.2388 9.37498 17.2388 10.1596Z' stroke='%23616376'/><path d='M17.2388 4.88064C17.2388 5.66523 17.9102 6.30127 18.7385 6.30127C19.5668 6.30127 20.2383 5.66523 20.2383 4.88064C20.2383 4.09605 19.5668 3.46001 18.7385 3.46001C17.9102 3.46001 17.2388 4.09605 17.2388 4.88064Z' stroke='%23616376'/><path d='M11.1587 12.9488V5.04847C11.1587 4.23035 10.4955 3.56714 9.67737 3.56714V3.56714C8.85926 3.56714 8.19604 4.23035 8.19604 5.04847V12.9488M11.1587 17.7802L11.1587 20.8492C11.1587 21.6673 10.4955 22.3306 9.67737 22.3306V22.3306C8.85926 22.3306 8.19604 21.6673 8.19604 20.8492V17.7802' stroke='%23616376' stroke-linecap='round'/><rect x='5.26782' y='12.954' width='8.81951' height='4.82125' rx='0.1' stroke='%23616376' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--mileage { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M13.028 13.0779C13.3499 13.3635 13.5436 13.7933 13.5421 14.2628C13.5393 15.112 12.8501 15.8503 11.9999 15.8004C11.1955 15.7532 10.6264 15.0662 10.629 14.2628C10.6318 13.4136 11.321 12.6753 12.1712 12.7252C12.5055 12.7448 12.7992 12.8749 13.028 13.0779ZM13.028 13.0779L15.2557 11.0168M11.9999 4.86487C12.0569 4.86488 12.114 4.8654 12.1712 4.86644C14.7273 4.91278 17.0193 5.95821 18.6828 7.62712M11.9999 4.86487V7.77079M11.9999 4.86487C9.40971 4.86447 7.05466 5.92149 5.34659 7.62712M18.6828 7.62712C20.3755 9.32535 21.4174 11.6692 21.4245 14.2628C21.4247 14.3314 21.4239 14.3998 21.4221 14.468M18.6828 7.62712L16.7979 9.47923M21.4221 14.468C21.35 17.2136 19.7044 19.6265 18.9991 20.5383C18.8181 20.7724 18.4992 20.8342 18.2344 20.7022L15.2557 19.2173M21.4221 14.468H18.6828M5.34659 7.62712C3.64253 9.32875 2.58241 11.676 2.57522 14.2628C2.57503 14.3312 2.57599 14.3997 2.57806 14.468M5.34659 7.62712L7.37323 9.47923M2.57806 14.468C2.65608 17.0501 4.30924 19.5696 5.00871 20.5242C5.1854 20.7654 5.50586 20.8372 5.77656 20.7103L8.74408 19.3196M2.57806 14.468H5.34659M9.40085 20.584H14.5989C14.9616 20.584 15.2557 20.29 15.2557 19.9272V18.5073C15.2557 18.1446 14.9616 17.8505 14.5989 17.8505H9.40085C9.03813 17.8505 8.74408 18.1446 8.74408 18.5073V19.9272C8.74408 20.29 9.03813 20.584 9.40085 20.584Z' stroke='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--drive-front { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='4.52319' y='22.1165' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 4.52319 22.1165)' stroke='%23616376'/><rect x='16.3049' y='22.1165' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 16.3049 22.1165)' stroke='%23616376'/><rect x='4.52319' y='9.04309' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 4.52319 9.04309)' stroke='%23616376'/><rect x='16.3049' y='9.04309' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 16.3049 9.04309)' stroke='%23616376'/><path d='M8.05566 6.21071L15.9167 6.21071M8.05566 19.2271L15.9167 19.2271' stroke='%23616376' stroke-linecap='round'/><path d='M11.9861 6.32458L11.9861 19.1701' stroke='%23616376' stroke-linecap='round'/><circle cx='12.0001' cy='6.09972' r='2.11537' transform='rotate(-90 12.0001 6.09972)' fill='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--drive-rear { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='4.83862' y='22.1165' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 4.83862 22.1165)' stroke='%23616376'/><rect x='16.6204' y='22.1165' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 16.6204 22.1165)' stroke='%23616376'/><rect x='4.83862' y='9.04309' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 4.83862 9.04309)' stroke='%23616376'/><path d='M17.6204 9.04309C17.0681 9.04309 16.6204 8.59538 16.6204 8.04309L16.6204 4.4637C16.6204 3.91142 17.0681 3.4637 17.6204 3.4637L18.8386 3.4637C19.3909 3.4637 19.8386 3.91142 19.8386 4.4637L19.8386 8.04309C19.8386 8.59538 19.3909 9.04309 18.8386 9.04309L17.6204 9.04309Z' stroke='%23616376'/><path d='M8.37109 6.21071L16.2322 6.21071M8.37109 19.2271L16.2322 19.2271' stroke='%23616376' stroke-linecap='round'/><path d='M12.3015 6.32458L12.3015 19.1701' stroke='%23616376' stroke-linecap='round'/><circle cx='12.3156' cy='19.2784' r='2.11537' transform='rotate(-90 12.3156 19.2784)' fill='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__icon--drive-awd { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 25 25' width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='5.3811' y='22.0454' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 5.3811 22.0454)' stroke='%23616376'/><rect x='17.1628' y='22.0454' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 17.1628 22.0454)' stroke='%23616376'/><rect x='5.3811' y='8.97205' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 5.3811 8.97205)' stroke='%23616376'/><rect x='17.1628' y='8.97205' width='5.57939' height='3.21824' rx='1' transform='rotate(-90 17.1628 8.97205)' stroke='%23616376'/><path d='M8.91357 6.13966L16.7747 6.13966M8.91357 19.156L16.7747 19.156' stroke='%23616376' stroke-linecap='round'/><path d='M12.844 6.25354L12.844 19.099' stroke='%23616376' stroke-linecap='round'/><circle cx='12.858' cy='6.02868' r='2.11537' transform='rotate(-90 12.858 6.02868)' fill='%23616376'/><circle cx='12.858' cy='19.0991' r='2.11537' transform='rotate(-90 12.858 19.0991)' fill='%23616376'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 18px 18px; border-color: transparent; background-color: transparent; }
.spec__label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #9aa0a6; }
.spec__value { font-size: 12px; color: #111; font-weight: 600; }
.card__mileage { margin-top: 10px; font-size: 12px; color: #111; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.card__actions { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.catalog-card__btn-icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #d1d5db; background: #fff; color: #111; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.catalog-card__btn-icon svg { width: 20px; height: 20px; }
.catalog-card__btn-icon:hover { border-color: #111; box-shadow: 0 6px 14px rgba(0,0,0,.12); }

.catalog-progress { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-progress__track { height: 2px; background: #e5e7eb; flex: 1; position: relative; overflow: hidden; }
.catalog-progress__bar { height: 100%; width: 0%; background: #111; transition: width .3s ease; }
.catalog-progress__count { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid #111; padding: 10px 16px; background: #111; color: #fff; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.catalog-progress__count:hover { transform: scale(1.04); box-shadow: 0 8px 18px rgba(0,0,0,.2); background: #1a1a1a; }
.card, .filter-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .filter-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.12); border-color: #d9d9d9; }
.card__media img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; transition: transform .35s ease; }
.card__media img:hover { transform: scale(1.04); }
.card__nav, .catalog-nav { transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; border-color: transparent; }
.card__nav:hover, .catalog-nav:hover { box-shadow: 0 10px 18px rgba(0,0,0,.18); border-color: #111; transform: translateY(-50%) scale(1.06); }
.icon-btn { transition: opacity .2s ease, transform .2s ease; }
.icon-btn:hover { transform: translateY(-1px); }
.input, .select, .textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.1); }
.hero__content { animation: hero-fade 1s ease both; }
@keyframes hero-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* Filters */
.filters-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-bottom: 34px; }
.filters-grid--brands { grid-template-columns: repeat(4, 1fr); }
[data-home-bodies-loading="true"] { visibility: hidden; }
.filter-card { border: 1px solid var(--gray-2); border-radius: 18px; padding: 26px 18px; text-align: center; background: #fff; display: grid; gap: 14px; align-items: center; }
.filter-card img { width: 72px; height: 48px; object-fit: contain; margin: 0 auto; }
.filter-card__logo-fallback { width: 72px; height: 48px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d1d5db; border-radius: 14px; color: #111; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.filter-card div { font-weight: 600; font-size: 16px; }
.filter-card span { font-size: 14px; color: var(--gray-3); }

/* About */
.section--about { background: #0b0b0b; }
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about h2 { font-size: 32px; margin-bottom: 18px; }
.about p { color: rgba(255,255,255,.75); margin-bottom: 20px; }
.about__list-title { margin: 18px 0 10px; font-weight: 700; }
.about__list { margin: 0; padding: 0 0 0 18px; color: rgba(255,255,255,.75); display: grid; gap: 10px; }
.about__more { margin-top: 18px; }
.about__media { border-radius: 16px; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-hero__content h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.about-hero__content p {
  color: #4b5563;
}

.about-hero__content ul {
  margin: 10px 0 24px 18px;
  display: grid;
  gap: 8px;
  color: #374151;
}

.about-hero__image {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
}

.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__spacer {
  height: 76px;
}

.about-page__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-page__intro {
  padding: 24px 0 20px;
}

.about-page__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #111;
}

.about-page__company {
  padding: 32px 0 40px;
  background: #0b0b0b;
  color: #fff;
}

.about-page__company-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.about-page__company-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.about-page__company-text {
  max-width: 760px;
}

.about-page__company-text p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.about-page__list-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.about-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.about-page__list li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.about-page__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.52);
}

.about-page__why {
  padding: 52px 0 58px;
  background: #fff;
}

.about-page__section-head {
  max-width: 640px;
  margin-bottom: 24px;
}

.about-page__section-head h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  color: #111;
}

.about-page__section-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5f6368;
}

.about-page__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
}

.about-page__step {
  position: relative;
  min-height: 164px;
  padding: 18px 18px 20px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.about-page__step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

.about-page__step::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .22s ease;
  z-index: 1;
}

.about-page__step > * {
  position: relative;
  z-index: 2;
}

.about-page__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
}

.about-page__step:hover::before {
  border-color: #111;
}

.about-page__step:hover::after {
  transform: scaleX(1);
}

.about-page__step-num {
  margin-bottom: 14px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #e5e7eb;
}

.about-page__step h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  color: #111;
}

.about-page__step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5f6368;
}

.about-page__cta {
  padding: 48px 0 56px;
  background: #0b0b0b;
  color: #fff;
}

.about-page__cta-inner {
  text-align: center;
}

.about-page__cta-inner h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.about-page__cta-inner p {
  margin: 0 auto 20px;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.about-page__cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.about-page__cta-btn {
  min-width: 168px;
}

.not-found-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  padding: 36px 0 72px;
}

.not-found-page__container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 32px;
}

.not-found-page__code {
  margin-bottom: 12px;
  font-size: clamp(88px, 16vw, 180px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #111;
}

.not-found-page__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.not-found-page__text {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: #6c6f76;
}

.not-found-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer { background: #0b0b0b; color: #9ca3af; padding: 36px 0; font-size: 12px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer__grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer__grid a { display: inline-block; }

/* Success */
.page-success { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.page-success .success-page { flex: 1; min-height: 0; display: grid; place-items: center; padding: 96px 0 24px; }
.page-success .footer { padding: 24px 0; }
.success-card { width: min(520px, 92vw); background: #fff; border: 1px solid var(--gray-2); border-radius: 20px; padding: 36px 32px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.success-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(34,197,94,.1); }
.success-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.success-text { font-size: 14px; color: #6b7280; margin-bottom: 20px; }

/* Chat bubble */
.chat-bubble { position: fixed; right: 36px; bottom: 36px; width: 56px; height: 56px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.chat-bubble--unread::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,.15);
}
.chat-bubble:hover { transform: scale(1.06); box-shadow: 0 12px 26px rgba(0,0,0,.25); background: #1a1a1a; }
.chat-widget-overlay { position: fixed; inset: 0; background: rgba(15,15,15,.28); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 1200; }
.chat-widget-overlay.is-open { opacity: 1; pointer-events: auto; }
.chat-widget { position: fixed; right: 28px; bottom: 100px; width: min(360px, calc(100% - 32px)); max-height: 70vh; background: #fff; border: 1px solid var(--gray-2); border-radius: 18px; box-shadow: 0 16px 44px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 1201; }
.chat-widget.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.chat-widget.is-chatting { height: var(--chat-widget-fixed-height); }
.chat-widget__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fafafa; border-bottom: 1px solid var(--gray-2); }
.chat-widget__title { font-weight: 600; font-size: 14px; }
.chat-widget__subtitle { font-size: 11px; color: #9aa0a6; margin-top: 2px; }
.chat-widget__close { border: none; background: transparent; color: #111; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; }
.chat-widget__close:hover { background: #f3f4f6; }
.chat-widget__start {
  padding: 16px;
  display: grid;
  gap: 12px;
  max-height: 360px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .22s ease, opacity .18s ease, padding .18s ease;
}
.chat-widget__start.is-collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.chat-widget__start-title { font-size: 13px; color: #111; font-weight: 600; }
.chat-widget__start-error { font-size: 12px; color: #b42318; background: #fef3f2; border: 1px solid #fda29b; border-radius: 10px; padding: 8px 10px; }
.chat-widget__start-form { display: grid; gap: 10px; }
.chat-widget__conversation { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.chat-widget__messages { flex: 1; min-height: 0; overflow: auto; padding: 14px 16px; display: grid; gap: 10px; background: #fff; }
.chat-widget__empty { font-size: 12px; color: #9aa0a6; text-align: center; padding: 20px 0; }
.chat-widget__msg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.chat-widget__msg--me { align-items: flex-end; }
.chat-widget__bubble { max-width: 78%; padding: 8px 10px; border-radius: 12px; background: #f3f4f6; font-size: 12px; line-height: 1.35; color: #111; }
.chat-widget__msg--me .chat-widget__bubble { background: #111; color: #fff; }
.chat-widget__time { font-size: 10px; color: #9aa0a6; }
.chat-widget__form { display: flex; align-items: center; gap: 8px; padding: 12px 18px 0; border-top: 1px solid var(--gray-2); background: #fff; }
.chat-widget__form .input { flex: 1; min-width: 0; }
.chat-widget__form .btn { flex: 0 0 124px; padding-left: 18px; padding-right: 18px; }
.chat-widget .btn:disabled,
.chat-widget .btn[disabled] {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.chat-widget .btn:disabled:hover,
.chat-widget .btn[disabled]:hover {
  background: #d1d5db;
  border-color: #d1d5db;
  box-shadow: none;
  transform: none;
}
.chat-widget__hint { padding: 10px 18px 12px; font-size: 11px; color: #9aa0a6; }
@media (max-width: 720px) {
  .chat-widget { right: 16px; left: 16px; bottom: 90px; width: auto; max-height: 82vh; }
  .chat-widget__start { max-height: 420px; }
  .chat-bubble { right: 20px; bottom: 20px; }
}

.catalog-page { background: #fff; }
.breadcrumbs { font-size: 12px; color: #8a8a8a; margin-bottom: 8px; }
.catalog-header h1 { font-size: 28px; margin-bottom: 18px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; }
.catalog-search { flex: 1; display: flex; align-items: center; gap: 10px; }
.catalog-search__icon { color: #9aa0a6; display: inline-flex; }
.catalog-search__input { width: 100%; border: none; outline: none; font-size: 13px; color: #111; }
.search-form__field {
  position: relative;
  flex: 1;
  min-width: 240px;
  width: 100%;
}

.search-form__input {
  width: 100%;
  padding-right: 44px;
}

.search-form__input::-webkit-search-cancel-button,
.search-form__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-form__clear {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
  transition: color .2s ease, background-color .2s ease;
}

.search-form__clear:hover {
  color: #111;
  background: #f3f4f6;
}

.search-form__clear[hidden] {
  display: none;
}

.catalog-toolbar__right { display: flex; align-items: center; gap: 12px; }
.catalog-select { border: 1px solid #e1e1e1; border-radius: 10px; padding: 7px 12px; background: #fff; font-size: 13px; }
.catalog-view { display: inline-flex; gap: 6px; }
.catalog-view__btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e1e1e1; background: #fff; color: #111; display: inline-flex; align-items: center; justify-content: center; }
.catalog-view__btn.is-active { background: #111; color: #fff; border-color: #111; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; margin-top: 16px; }
.catalog-filters { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 14px 16px; height: fit-content; position: sticky; top: 96px; }
.filter-group { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.filter-group:last-child { border-bottom: none; }
.filter-group__title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #111; margin: 8px 0; }
.filter-option input { accent-color: #111; margin: 0; }
.filter-option span { color: #9aa0a6; font-size: 12px; margin-left: auto; }
.filter-more { margin-top: 6px; font-size: 12px; color: #7c4dff; background: transparent; border: none; cursor: pointer; }
.range { display: grid; gap: 6px; }
.range--dual { position: relative; }
.dual-range { position: relative; height: 20px; margin-top: 2px; }
.dual-range__track { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #d9d9d9; border-radius: 2px; transform: translateY(-50%); pointer-events: none; }
.dual-range__fill { position: absolute; top: 0; height: 100%; background: #111; border-radius: 2px; }
.dual-range__input::-webkit-slider-thumb { position: relative; z-index: 3; }
.dual-range__input { position: absolute; left: 0; right: 0; top: 0; width: 100%; -webkit-appearance: none; appearance: none; height: 20px; background: transparent; margin: 0; pointer-events: none; }
.dual-range__input::-webkit-slider-runnable-track { height: 0; background: transparent; }
.dual-range__input::-moz-range-track { height: 0; background: transparent; }
.dual-range__input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1px solid #3f4656; box-shadow: 0 1px 2px rgba(18,22,33,.12); pointer-events: auto; margin-top: -6px; transition: .3s; }
.dual-range__input::-webkit-slider-thumb:hover { background: #eaefff; border-color: #275efe; outline: 0.5px solid #275efe; }
.dual-range__input::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1px solid #3f4656; box-shadow: 0 1px 2px rgba(18,22,33,.12); pointer-events: auto; transition: .3s; }
.range__labels { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #1a73e8; margin-bottom: 4px; }
.range input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 3px; background: #111; border-radius: 3px; outline: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #111; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #111; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.range input[type="range"]::-moz-range-track { height: 3px; background: #111; border: none; }
.range__inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; margin-top: 6px; }
.range__input { border: 1px solid #e1e1e1; border-radius: 8px; padding: 6px 8px; font-size: 11px; text-align: center; background: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
.range__btn { border: 1px solid #111; background: #fff; color: #111; border-radius: 8px; padding: 6px 10px; font-size: 11px; font-weight: 600; }
.range__btn:hover { background: #111; color: #fff; }
.catalog-results { display: grid; gap: 18px; }
.card--list { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: stretch; border-radius: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.card--list:hover { transform: none; box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.card--list .card__media { height: 260px; border-right: 1px solid var(--gray-2); }
.card--list .card__media--split { height: 100%; }
.card--list .card__body { display: grid; align-content: start; border-top: none; padding: 18px 20px; }
.card--list .card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card--list .card__price-wrap { text-align: right; }
.card--list .card__price-wrap .card__meta--link { display: block; }
.card--list .card__title { font-size: 16px; }
.card--list .card__price { font-size: 18px; margin-top: 0; }
.card--list .card__meta { font-size: 12px; }
.card--list .card__specs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 14px; margin-top: 10px; }
.card--list .spec { grid-template-columns: 18px 1fr; gap: 6px; }
.card--list .spec__label { font-size: 10px; }
.card--list .spec__value { font-size: 12px; }
.card--list .card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 12px; }
.card--list .card__mileage { margin-top: 0; font-size: 11px; }
.card--list .card__actions { margin-top: 0; }

@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filters { position: static; }
  .card--list { grid-template-columns: 1fr; }
}

/* Admin */
body[data-page^="admin"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

body[data-page^="admin"] > main.admin-page {
  flex: 1 0 auto;
  width: 100%;
}

body[data-page^="admin"] .footer {
  width: 100%;
  margin-top: auto;
}

.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.admin-page .admin-layout { grid-template-columns: 1fr; }
.admin-sidebar { position: sticky; top: 96px; align-self: start; border: 1px solid var(--gray-2); border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.04); }
.admin-sidebar__title { font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.admin-sidebar__nav { display: grid; gap: 8px; }
.admin-sidebar__link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--gray-2); color: #111; background: #fff; font-size: 13px; text-decoration: none; }
.admin-sidebar__link:hover { border-color: #111; }
.admin-sidebar__note { font-size: 11px; color: #9aa0a6; margin-top: 14px; line-height: 1.4; }
.admin-content > h2 { margin-top: 0; }
.admin-section { scroll-margin-top: 110px; }
[data-admin-section][hidden] { display: none !important; }
.admin-section {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.admin-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.admin-card__hint { font-size: 11px; color: #9aa0a6; }
.admin-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-tab { border: 1px solid var(--gray-2); background: #fff; color: #111; padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.admin-tab.is-active { background: #111; color: #fff; border-color: #111; }
.admin-tab:hover { border-color: #111; }
.admin-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.admin-home-card { border: 1px solid var(--gray-2); border-radius: 16px; padding: 18px; background: #fff; display: grid; gap: 10px; text-decoration: none; color: #111; box-shadow: 0 10px 24px rgba(0,0,0,.04); }
.admin-home-card__title { font-weight: 600; font-size: 14px; }
.admin-home-card__text { font-size: 12px; color: #6b7280; }
.admin-home-card:hover { border-color: #111; }
.admin-home-settings { grid-column: 1 / -1; border-radius: 18px; background: #fff; padding: 22px; box-shadow: 0 10px 24px rgba(0,0,0,.04); display: grid; gap: 18px; }
.admin-home-settings__intro { display: grid; gap: 4px; }
.admin-home-settings__title { margin: 0; font-size: 18px; font-weight: 700; color: #111; }
.admin-form-grid--site { align-items: start; }
.admin-home-settings__field { display: grid; gap: 6px; min-width: 0; }
.admin-home-settings__actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-home-settings__note { font-size: 12px; color: #6b7280; line-height: 1.45; max-width: 620px; }
.admin-page .card { border: none; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
.admin-page .table-wrap { border: none; box-shadow: none; background: transparent; }
.admin-page .admin-home-card { border: none; box-shadow: none; background: #fff; }
.admin-page .admin-home-card:hover { border-color: transparent; }
.admin-requests__toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-requests__toolbar .input { min-width: 220px; }
.admin-requests__tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-requests__tab { border: 1px solid var(--gray-2); background: #fff; color: #111; padding: 6px 12px; border-radius: 999px; font-size: 12px; cursor: pointer; }
.admin-requests__tab.is-active { background: #111; color: #fff; border-color: #111; }
.admin-requests__tab:hover { border-color: #111; }
.admin-pagination { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.admin-pagination__info { font-size: 12px; color: #6b7280; }
.admin-pagination .select { height: 32px; font-size: 12px; }
.admin-pagination--compact { margin: 8px 0 0; }
.table tbody tr.is-active { background: #f8f8f8; }

.admin-request-detail { margin-top: 16px; border: 1px solid var(--gray-2); border-radius: 14px; background: #fff; padding: 16px; }
.admin-request-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.admin-request-detail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.admin-request-detail__item { border: 1px solid #eee; border-radius: 12px; padding: 10px 12px; background: #f9fafb; min-width: 0; }
.admin-request-detail__item--wide { grid-column: 1 / -1; }
.admin-request-detail__label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 4px; }
.admin-request-detail__value { font-size: 13px; color: #111; font-weight: 600; word-break: break-word; }
.admin-request-detail__status { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #111; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-request-detail__history { border-top: 1px solid var(--gray-2); padding-top: 10px; }
.admin-request-detail__history ul { list-style: none; display: grid; gap: 6px; }
.admin-request-detail__history li { font-size: 12px; color: #4b5563; }
.table-wrap { border: 1px solid var(--gray-2); border-radius: 14px; overflow: auto; max-height: 380px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table thead th { position: sticky; top: 0; background: #fff; z-index: 1; }
.table tr:hover td { background: #fafafa; }
.table tbody tr { cursor: pointer; }
.table tr.is-new td { background: #fff4e5; }
.admin-chat__badge { background: #111; color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-form-grid .textarea { grid-column: 1 / -1; }
.admin-form-grid .btn { justify-self: start; }
.admin-chat__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-chat__body .admin-chat__list { height: 420px; max-height: 420px; overflow: auto; padding-right: 4px; }
.admin-chat__list .admin-chat__item {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 52px 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}
.admin-chat__list .admin-chat__item:hover {
  border-color: #111;
  box-shadow: 0 10px 22px rgba(17,17,17,.08);
  transform: translateY(-1px);
}
.admin-chat__list .admin-chat__item.is-active {
  border-color: #111;
  background: #f8fafc;
  box-shadow: 0 12px 24px rgba(17,17,17,.1);
}
.admin-chat__item-title { font-size: 15px; font-weight: 700; color: #111; line-height: 1.2; }
.admin-chat__item-phone { font-size: 12px; color: #667085; }
.admin-chat__item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; color: #98a2b3; }
.admin-chat__item-dot { width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: .7; }
.admin-chat__main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; min-width: 0; }
.admin-chat__context {
  min-height: 88px;
  border: 1px solid var(--gray-2);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}
.admin-chat__context-empty { font-size: 13px; color: #98a2b3; }
.admin-chat__context-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-chat__context-title { font-size: 16px; font-weight: 700; color: #111; line-height: 1.2; }
.admin-chat__context-phone { font-size: 13px; color: #667085; margin-top: 2px; }
.admin-chat__context-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 600; }
.admin-chat__context-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: #98a2b3; }
.admin-chat__form { display: flex; align-items: center; gap: 10px; }
.admin-chat__form .input { flex: 1; }
.chat-box { min-height: 220px; height: 360px; background: #fff; }
.admin-auth { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-auth__status { font-size: 12px; color: var(--gray-3); }
body.admin-booting .admin-page { min-height: calc(100vh - 140px); }
body.admin-booting .admin-content { visibility: hidden; }
body.admin-login-only .admin-page { min-height: calc(100vh - 140px); display: flex; align-items: center; }
body.admin-login-only .admin-layout { width: 100%; }
body.admin-login-only .admin-content { max-width: 420px; margin: 0 auto; text-align: center; }
body.admin-login-only .admin-content h2 { text-align: center; }
body.admin-login-only .admin-auth { flex-direction: column; align-items: center; }
body.admin-login-only .admin-auth .form { width: 100%; max-width: 320px; margin: 8px auto 0; text-align: left; }
body.admin-login-only .admin-auth .form > div { justify-content: center; }
body.admin-login-only .admin-home-grid { display: none; }
body.admin-login-only .admin-tabs { display: none; }
.form--inline { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: center; }
.form--inline .input { min-width: 220px; }
.btn--ghost { background: transparent; color: #111; border-color: #111; }
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.admin-section { min-width: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th, .table td { border-bottom: 1px solid var(--gray-2); padding: 10px 8px; text-align: left; vertical-align: top; }
.table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
.list { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.list button { text-align: left; border: 1px solid var(--gray-2); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 12px; cursor: pointer; display: grid; gap: 2px; }
.list button.is-active { border-color: #111; background: #f5f5f5; }
.input.is-invalid,
.textarea.is-invalid,
.select.is-invalid {
  border-color: #e53935;
  background: #fff5f5;
}
.form-error {
  font-size: 11px;
  color: #e53935;
  margin-top: 6px;
  line-height: 1.3;
}
.admin-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.admin-icon-btn svg { width: 16px; height: 16px; display: block; }
.admin-icon-btn:hover { border-color: #111; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.admin-request-actions { display: flex; align-items: center; gap: 8px; }
.admin-request-actions .select { min-width: 120px; }
.admin-request-actions .admin-icon-btn { flex-shrink: 0; }
.admin-chat__item { position: relative; padding-right: 42px; }
.admin-chat__delete { position: absolute; top: 12px; right: 12px; }
.chat-box { border: 1px solid var(--gray-2); border-radius: 12px; padding: 12px; min-height: 220px; max-height: 320px; overflow: auto; background: #fafafa; }
.chat-msg { margin-bottom: 10px; font-size: 12px; }
.chat-msg--me { text-align: right; }
.badge { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: #f3f4f6; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-cars { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 16px; align-items: start; }
.admin-subtabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-subtab {
  border: 1px solid var(--gray-2);
  background: #fff;
  color: #111;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.admin-subtab.is-active { background: #111; color: #fff; border-color: #111; }
.admin-cars__panel { min-width: 0; }
.admin-cars__toolbar { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr) auto; gap: 12px; align-items: center; position: sticky; top: 88px; background: #fff; z-index: 2; padding: 8px 0 12px; }
.admin-cars__stats { font-size: 12px; color: var(--gray-3); white-space: nowrap; text-align: right; }
.admin-cars__quick-filters { display: grid; gap: 8px; margin-bottom: 12px; }
.admin-cars__quick-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-cars__quick-label { font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.admin-chip {
  border: 1px solid var(--gray-2);
  background: #fff;
  color: #111;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.admin-chip.is-active { background: #111; color: #fff; border-color: #111; }
.admin-chip--ghost { border-style: dashed; color: #4b5563; }
.admin-cars__list-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; border: none; border-radius: 0; padding: 0; background: transparent; position: static; max-height: none; }
.admin-cars__list { display: grid; gap: 12px; overflow: visible; padding-right: 0; }
.admin-car { border: none; border-bottom: 1px solid var(--gray-2); border-radius: 0; padding: 12px 0; display: grid; grid-template-columns: 88px 1fr; gap: 12px; background: transparent; }
.admin-car img { width: 88px; height: 68px; object-fit: cover; border-radius: 10px; background: #e9ecef; }
.admin-car__title { font-weight: 600; font-size: 13px; }
.admin-car__meta { font-size: 12px; color: var(--gray-3); margin-top: 4px; }
.admin-car__actions { margin-top: 8px; display: flex; gap: 8px; }
.admin-car.is-archived { opacity: 0.55; }
.admin-cars__form { border: 1px solid var(--gray-2); border-radius: 14px; padding: 16px; background: #fff; position: sticky; top: 140px; }
.admin-cars__form .grid-4 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-cars__form .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-cars__field { display: grid; gap: 6px; min-width: 0; }
.admin-cars__field-note { font-size: 12px; line-height: 1.35; color: #6b7280; padding-left: 2px; }
.admin-cars__field .input,
.admin-cars__field .select { width: 100%; }
.admin-cars__images { display: grid; gap: 10px; }
.admin-cars__images-help { font-size: 12px; line-height: 1.45; color: #6b7280; }
.admin-cars__image-list { display: grid; gap: 10px; }
.admin-cars__image-list.is-sorting { cursor: grabbing; }
.admin-cars__image-empty { padding: 14px; border: 1px dashed var(--gray-2); border-radius: 12px; font-size: 12px; color: #9ca3af; background: #f9fafb; }
.admin-cars__image-item {
  display: grid;
  grid-template-columns: 36px 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  background: #fff;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, opacity .18s ease;
}
.admin-cars__image-item:active { cursor: grabbing; }
.admin-cars__image-item.is-dragging {
  opacity: 0.58;
  border-color: #111;
  background: #f9fafb;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}
.admin-cars__image-order {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  gap: 1px;
  text-align: center;
}
.admin-cars__image-order-icon { font-size: 10px; line-height: 1; opacity: 0.8; }
.admin-cars__image-order-num { font-size: 11px; line-height: 1; }
.admin-cars__image-thumb {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  background: #e5e7eb;
  display: block;
}
.admin-cars__image-meta { min-width: 0; display: grid; gap: 4px; }
.admin-cars__image-title { font-size: 13px; font-weight: 600; color: #111; }
.admin-cars__image-note { font-size: 12px; color: #6b7280; word-break: break-word; }
.admin-cars__image-actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; }
.admin-cars__image-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gray-2);
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.admin-cars__image-btn:hover { border-color: #111; }
.admin-cars__image-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.admin-cars__image-btn--danger { color: #b42318; border-color: #f3d1cd; }
.admin-cars__image-btn--danger:hover { border-color: #b42318; }
.admin-cars__image-drag-note {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
}
body.is-car-image-sorting { cursor: grabbing; user-select: none; }
.admin-cars__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-cars__preview-block { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--gray-2); }
.admin-cars__preview-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 10px; }
.admin-cars__preview { border: 1px solid var(--gray-2); border-radius: 18px; padding: 16px; background: linear-gradient(180deg, #fbfcfd 0%, #f5f7fa 100%); display: grid; gap: 14px; }
.admin-cars__preview-empty { font-size: 12px; color: #9ca3af; }
.admin-cars__preview-shell { display: grid; gap: 14px; }
.admin-cars__preview-tabs { display: flex; gap: 18px; padding: 2px 2px 0; font-size: 12px; color: #8a8a8a; }
.admin-cars__preview-tab { position: relative; }
.admin-cars__preview-tab.is-active { color: #111; font-weight: 600; }
.admin-cars__preview-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: #111; border-radius: 2px; }
.admin-cars__preview-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.admin-cars__preview-gallery,
.admin-cars__preview-side,
.admin-cars__preview-meta,
.admin-cars__preview-description { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; }
.admin-cars__preview-gallery { padding: 12px; display: grid; gap: 10px; }
.admin-cars__preview-gallery-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .9fr); gap: 8px; }
.admin-cars__preview-main { position: relative; min-height: 420px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #eef2f7 0%, #dfe5ee 100%); }
.admin-cars__preview-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-cars__preview-main-img--placeholder { display: grid; place-items: center; color: #9ca3af; font-size: 13px; font-weight: 600; min-height: 420px; }
.admin-cars__preview-counter { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(17, 17, 17, 0.72); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.admin-cars__preview-side-media { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; min-width: 0; }
.admin-cars__preview-side-frame { min-height: 340px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #eef2f7 0%, #dfe5ee 100%); }
.admin-cars__preview-side-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-cars__preview-side-img--placeholder { display: grid; place-items: center; min-height: 340px; color: #9ca3af; font-size: 13px; font-weight: 600; }
.admin-cars__preview-thumbs { display: flex; gap: 8px; min-width: 0; overflow: hidden; }
.admin-cars__preview-thumb { width: 68px; height: 52px; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; background: #f3f4f6; flex: 0 0 auto; }
.admin-cars__preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-cars__preview-thumb.is-active { border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.admin-cars__preview-thumb--placeholder { display: grid; place-items: center; color: #9ca3af; font-size: 11px; }
.admin-cars__preview-thumb--more { width: 78px; color: #555; font-size: 10px; text-align: center; line-height: 1.2; place-items: center; display: grid; white-space: nowrap; }
.admin-cars__preview-side { padding: 16px; display: grid; align-content: start; align-self: start; gap: 10px; min-height: 0; }
.admin-cars__preview-badge { align-self: start; justify-self: start; background: #111; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }
.admin-cars__preview-title-text { font-weight: 700; font-size: 28px; line-height: 1.1; color: #111; }
.admin-cars__preview-subtitle { font-size: 14px; color: var(--gray-3); }
.admin-cars__preview-price { font-size: 32px; font-weight: 800; line-height: 1.1; color: #111; }
.admin-cars__preview-oldprice { font-size: 12px; color: #9ca3af; text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.admin-cars__preview-price-date { font-size: 13px; color: #2f7ef7; }
.admin-cars__preview-color { display: inline-flex; align-items: center; gap: 10px; color: #374151; font-size: 13px; font-weight: 600; }
.admin-cars__preview-color-dot { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(17, 17, 17, 0.08); display: inline-block; }
.admin-cars__preview-actions { display: grid; gap: 10px; margin-top: 4px; }
.admin-cars__preview-action { height: 42px; border-radius: 12px; border: 1px solid #d1d5db; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #111; background: #fff; }
.admin-cars__preview-action--dark { background: #111; color: #fff; border-color: #111; }
.admin-cars__preview-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; background: #fff; }
.admin-cars__preview-strip-item { padding: 14px 16px; border-right: 1px solid #e5e7eb; min-width: 0; }
.admin-cars__preview-strip-item:last-child { border-right: none; }
.admin-cars__preview-strip-label { font-size: 11px; color: #9ca3af; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-cars__preview-strip-value { font-size: 13px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-cars__preview-strip-empty { padding: 16px; font-size: 12px; color: #9ca3af; }
.admin-cars__preview-meta { padding: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.admin-cars__preview-meta-item { border: 1px solid #eef0f3; border-radius: 12px; background: #f9fafb; padding: 10px 12px; min-width: 0; }
.admin-cars__preview-meta-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 4px; }
.admin-cars__preview-meta-value { font-size: 13px; font-weight: 600; color: #111; word-break: break-word; }
.admin-cars__preview-description { padding: 14px 16px; }
.admin-cars__preview-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 8px; }
.admin-cars__preview-description p { margin: 0; font-size: 13px; line-height: 1.7; color: #4b5563; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .filters-grid, .filters-grid--brands { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-page__company-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-page__container { padding: 0 24px; }
  .not-found-page__container { padding: 0 24px; }
  .catalog-grid .card--auto { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 820px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-page__intro {
    margin-bottom: 20px;
  }

  .contact-page__map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-page__map-card {
    grid-template-columns: 1fr;
  }

  .contact-page__map-panel {
    border-left: none;
    border-top: 1px solid var(--gray-2);
  }

  .contact-page__details .card__body,
  .contact-page__form-card .card__body,
  .contact-page__map-panel {
    padding: 20px;
  }

  .legal-page__card {
    padding: 18px 16px;
  }

  .header__row { height: 64px; }
  .hero__title { font-size: 36px; }
  .section__title { font-size: 28px; }
  .steps__slide { grid-template-columns: 1fr; }
  .filters-grid, .filters-grid--brands { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__right { gap: 8px; }
  .social { display: none; }
  .catalog-nav { display: none; }
  .card__specs { grid-template-columns: 1fr; }
  .catalog-grid { overflow-x: auto; }
  .about-hero { grid-template-columns: 1fr; padding: 24px 18px 60px; }
  .about-page__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-cars__preview-hero { grid-template-columns: 1fr; }
  .admin-cars__preview-gallery-grid { grid-template-columns: 1fr; }
  .admin-cars__preview-side-frame { min-height: 180px; }
  .admin-cars__preview-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-cars__preview-main,
  .admin-cars__preview-main-img--placeholder { min-height: 260px; }
  .admin-cars__image-item { grid-template-columns: 32px 72px minmax(0, 1fr); }
  .admin-cars__image-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-cars__image-thumb { width: 72px; height: 56px; }
  .admin-cars__image-drag-note { white-space: normal; }
}
@media (max-width: 640px) {
  .contact-page {
    padding-bottom: 40px;
  }

  .contact-page__title {
    font-size: 42px;
  }

  .contact-page__lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-page__map-title {
    font-size: 30px;
  }

  .contact-page__map-frame,
  .contact-page__map-canvas,
  .contact-page__map-embed,
  .contact-page__map-frame .leaflet-container {
    min-height: 300px;
  }

  .contact-page__map-chip {
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .contact-page__map-marker {
    left: 52%;
  }

  .contact-page__details .card__body,
  .contact-page__form-card .card__body,
  .contact-page__map-panel {
    padding: 18px 16px;
  }

  .contact-page__form-head h2 {
    font-size: 24px;
  }

  .contact-page__link {
    font-size: 19px;
  }

  .contact-page__form .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-page__map-actions {
    display: grid;
  }

  .contact-page__map-actions .btn {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-grid { grid-template-columns: 1fr; }
  .form--inline { grid-template-columns: 1fr; }
  .admin-cars { grid-template-columns: 1fr; }
  .admin-cars__toolbar { position: static; grid-template-columns: 1fr; }
  .admin-cars__list-wrap { position: static; max-height: none; }
  .admin-cars__form { position: static; }
  .admin-chat__body { grid-template-columns: 1fr; }
  .admin-chat__body .admin-chat__list { height: auto; max-height: 260px; }
  .chat-box { height: 300px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-cars__form .grid-4,
  .admin-cars__form .grid-2 { grid-template-columns: 1fr; }
  .admin-requests__toolbar { width: 100%; }
  .admin-requests__toolbar .input { width: 100%; }
  .admin-tabs { width: 100%; }
  .admin-home-grid { grid-template-columns: 1fr; }
  .admin-home-settings { padding: 18px; }
  .admin-home-settings__actions { display: grid; justify-items: start; }
}
@media (max-width: 600px) {
  .header__row { height: 60px; }
  .catalog-btn { padding: 8px 12px; }
  .logo { letter-spacing: .4em; }
  .catalog-grid .card--auto { flex-basis: 100%; }
  .about-page__container { padding: 0 18px; }
  .about-page__intro { padding: 18px 0 14px; }
  .about-page__title { font-size: 34px; }
  .about-page__company { padding: 24px 0 30px; }
  .about-page__steps { grid-template-columns: 1fr; }
  .about-page__step { min-height: 0; }
  .about-page__cta { padding: 34px 0 42px; }
  .about-page__cta-inner h2 { font-size: 28px; }
  .about-page__cta-actions { width: 100%; display: grid; }
  .about-page__cta-btn { width: 100%; min-width: 0; }
  .not-found-page { min-height: calc(100vh - 140px); padding: 22px 0 44px; }
  .not-found-page__container { padding: 0 18px; }
  .not-found-page__text { font-size: 15px; margin-bottom: 22px; }
  .not-found-page__actions { display: grid; }
  .not-found-page__actions .btn { width: 100%; }
  .admin-cars__preview { padding: 12px; }
  .admin-cars__preview-title-text { font-size: 22px; }
  .admin-cars__preview-price { font-size: 26px; }
  .admin-cars__preview-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-chat__context { padding: 12px 14px; }
  .admin-chat__context-meta { display: grid; gap: 6px; }
  .admin-chat__list .admin-chat__item { padding: 12px 46px 12px 12px; }
  body:not(.page-success):not([data-page="home"]):not([data-page="catalog"]):not([data-page="item"]) > main { padding-top: 60px; }
  body[data-page="about"] > main { padding-top: 0; }
}

/* Global mobile header alignment + horizontal overflow lock */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header {
    height: 60px;
    padding-inline: 12px;
  }

  .header__left,
  .header__right {
    top: 0;
    height: 60px;
    gap: 10px;
  }

  .header__left {
    left: 12px;
  }

  .header__right {
    right: 12px;
    gap: 6px;
  }

  .header__manager {
    gap: 6px;
    margin-left: 2px;
  }

  .header__manager::before {
    display: none;
  }

  .header__manager-label {
    display: none;
  }

  .header__manager-separator {
    display: none;
  }

  .header__manager-link {
    width: 32px;
    height: 32px;
  }

  .header__catalog-btn {
    display: none;
  }

  .header__logo-text {
    font-size: 14px;
    letter-spacing: .32em;
    white-space: nowrap;
  }

  .header__row {
    height: 60px;
  }

  body:not(.page-success):not([data-page="home"]):not([data-page="catalog"]):not([data-page="item"]):not([data-page="about"]):not([data-page^="cabinet"]) > main {
    padding-top: 60px;
  }

  .item-page__spacer {
    height: 60px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .header {
    height: 64px;
    padding-inline: 14px;
  }

  .header__left,
  .header__right {
    height: 64px;
  }

  .header__left {
    left: 14px;
  }

  .header__right {
    right: 14px;
  }

  .header__manager-link {
    width: 34px;
    height: 34px;
  }

  .header__logo-text {
    font-size: 15px;
    letter-spacing: .36em;
  }

  .header__row {
    height: 64px;
  }

  body:not(.page-success):not([data-page="home"]):not([data-page="catalog"]):not([data-page="item"]):not([data-page="about"]):not([data-page^="cabinet"]) > main {
    padding-top: 64px;
  }

  .item-page__spacer {
    height: 64px;
  }
}

/* Home page responsive hardening (mobile-first, desktop visual parity preserved) */
body[data-page="home"] {
  --home-container-inline: 16px;
  --home-header-height: 60px;
  --home-header-gutter: 12px;
  --home-header-side-gap: 10px;
  --home-header-right-gap: 6px;
  --home-logo-size: 14px;
  --home-logo-spacing: .32em;
  --home-catalog-btn-py: 8px;
  --home-catalog-btn-px: 10px;
  --home-catalog-btn-font: 10px;
  --home-catalog-btn-letter: .14em;
  --home-hero-title-size: 30px;
  --home-section-title-size: 26px;
}

body[data-page="home"] .container {
  padding-inline: var(--home-container-inline);
}

body[data-page="home"] .header {
  height: var(--home-header-height);
  padding-inline: var(--home-header-gutter);
}

body[data-page="home"] .header__left,
body[data-page="home"] .header__right {
  top: 0;
  height: var(--home-header-height);
  gap: var(--home-header-side-gap);
}

body[data-page="home"] .header__left {
  left: var(--home-header-gutter);
}

body[data-page="home"] .header__right {
  right: var(--home-header-gutter);
  gap: var(--home-header-right-gap);
}

body[data-page="home"] .header__catalog-btn {
  display: none;
  padding: var(--home-catalog-btn-py) var(--home-catalog-btn-px);
  font-size: var(--home-catalog-btn-font);
  letter-spacing: var(--home-catalog-btn-letter);
}

body[data-page="home"] .header__logo-text {
  font-size: var(--home-logo-size);
  letter-spacing: var(--home-logo-spacing);
}

body[data-page="home"] .hero__content {
  padding-top: 24px;
}

body[data-page="home"] .hero__title {
  font-size: var(--home-hero-title-size);
}

body[data-page="home"] .hero__subtitle {
  font-size: 13px;
}

body[data-page="home"] .section {
  padding: 56px 0;
}

body[data-page="home"] .hero + .section {
  padding-top: 72px;
}

body[data-page="home"] .section__title {
  font-size: var(--home-section-title-size);
  margin-bottom: 32px;
}

body[data-page="home"] .steps__slide {
  grid-template-columns: 1fr;
  gap: 24px;
}

body[data-page="home"] .step-card h3 {
  font-size: 24px;
}

body[data-page="home"] .catalog-block {
  padding: 0;
}

body[data-page="home"] .catalog-nav {
  display: none;
}

body[data-page="home"] .catalog-grid {
  overflow-x: auto;
}

body[data-page="home"] .catalog-grid .card--auto {
  flex-basis: 100%;
}

body[data-page="home"] .catalog-progress {
  flex-direction: column;
  align-items: stretch;
}

body[data-page="home"] .catalog-progress__count {
  align-self: flex-start;
  text-align: center;
}

body[data-page="home"] .filters-grid,
body[data-page="home"] .filters-grid--brands {
  grid-template-columns: 1fr;
  gap: 14px;
}

body[data-page="home"] .about {
  grid-template-columns: 1fr;
  gap: 24px;
}

body[data-page="home"] .footer__grid {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

body[data-page="home"] .chat-bubble {
  right: 20px;
  bottom: 20px;
}

@media (min-width: 480px) {
  body[data-page="home"] {
    --home-header-height: 64px;
    --home-header-gutter: 14px;
    --home-logo-size: 15px;
    --home-logo-spacing: .36em;
    --home-catalog-btn-px: 12px;
    --home-catalog-btn-letter: .16em;
    --home-hero-title-size: 34px;
    --home-section-title-size: 28px;
  }

  body[data-page="home"] .filters-grid,
  body[data-page="home"] .filters-grid--brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body[data-page="home"] {
    --home-container-inline: 24px;
    --home-header-height: 70px;
    --home-header-gutter: 18px;
    --home-header-side-gap: 14px;
    --home-header-right-gap: 8px;
    --home-logo-size: 18px;
    --home-logo-spacing: .46em;
    --home-catalog-btn-py: 10px;
    --home-catalog-btn-px: 16px;
    --home-catalog-btn-font: 11px;
    --home-catalog-btn-letter: .2em;
    --home-hero-title-size: 40px;
    --home-section-title-size: 30px;
  }

  body[data-page="home"] .header__catalog-btn {
    display: inline-flex;
  }

  body[data-page="home"] .section {
    padding: 64px 0;
  }

  body[data-page="home"] .hero + .section {
    padding-top: 84px;
  }

  body[data-page="home"] .catalog-grid .card--auto {
    flex-basis: calc((100% - 20px) / 2);
  }

  body[data-page="home"] .catalog-progress {
    flex-direction: row;
    align-items: center;
  }

  body[data-page="home"] .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  body[data-page="home"] .chat-bubble {
    right: 28px;
    bottom: 28px;
  }
}

@media (max-width: 1023px) {
  body[data-page="home"] .step-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
  }

  body[data-page="home"] .step-card .next {
    margin-top: auto;
    min-height: 48px;
    align-self: flex-start;
  }

  body[data-page="home"] .catalog-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--home-container-inline);
  }

  body[data-page="home"] .catalog-grid > * {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body[data-page="home"] .catalog-grid .card--auto,
  body[data-page="home"] .catalog-grid .catalog-card--list {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  body[data-page="home"] {
    --home-header-height: 76px;
    --home-header-gutter: 24px;
    --home-header-side-gap: 18px;
    --home-header-right-gap: 12px;
    --home-logo-size: 19px;
    --home-logo-spacing: .55em;
    --home-catalog-btn-py: 12px;
    --home-catalog-btn-px: 20px;
    --home-catalog-btn-font: 12px;
    --home-catalog-btn-letter: .22em;
    --home-hero-title-size: 48px;
    --home-section-title-size: 34px;
  }

  body[data-page="home"] .hero__content {
    padding-top: 40px;
  }

  body[data-page="home"] .section {
    padding: 70px 0;
  }

  body[data-page="home"] .hero + .section {
    padding-top: 90px;
  }

  body[data-page="home"] .section__title {
    margin-bottom: 40px;
  }

  body[data-page="home"] .steps__slide {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  body[data-page="home"] .step-card h3 {
    font-size: 28px;
  }

  body[data-page="home"] .step-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  body[data-page="home"] .step-card .next {
    margin-top: auto;
    min-height: 44px;
    align-self: flex-start;
  }

  body[data-page="home"] .catalog-block {
    padding: 0 60px;
    overflow: visible;
  }

  body[data-page="home"] .catalog-nav {
    display: grid;
  }

  body[data-page="home"] .catalog-nav--left {
    left: 12px;
  }

  body[data-page="home"] .catalog-nav--right {
    right: 12px;
  }

  body[data-page="home"] .catalog-grid {
    overflow: hidden;
  }

  body[data-page="home"] .catalog-grid .card--auto {
    flex-basis: calc((100% - 24px) / 2);
    scroll-snap-align: start;
  }

  body[data-page="home"] .filters-grid,
  body[data-page="home"] .filters-grid--brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="home"] .about {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
  }

  body[data-page="home"] .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  body[data-page="home"] .chat-bubble {
    right: 36px;
    bottom: 36px;
  }
}

@media (min-width: 1280px) {
  body[data-page="home"] {
    --home-header-right-gap: 18px;
  }

  body[data-page="home"] .header {
    padding-inline: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="home"] .header__left {
    left: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="home"] .header__right {
    right: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="home"] .header__catalog-btn {
    padding: 14px 26px;
    font-size: 12px;
    letter-spacing: .25em;
  }

  body[data-page="home"] .header__logo-text {
    font-size: 20px;
    letter-spacing: .6em;
  }

  body[data-page="home"] .hero__title {
    font-size: 54px;
  }

  body[data-page="home"] .section__title {
    font-size: 36px;
  }

  body[data-page="home"] .catalog-grid .card--auto {
    flex-basis: calc((100% - 60px) / 4);
    scroll-snap-align: start;
  }

  body[data-page="home"] .filters-grid,
  body[data-page="home"] .filters-grid--brands {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Catalog (match original) */
body[data-page="catalog"] {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: #111;
  background: #fff;
  --catalog-header-height: 60px;
  --catalog-header-gutter: 12px;
  --catalog-header-side-gap: 10px;
  --catalog-header-right-gap: 6px;
  --catalog-logo-size: 14px;
  --catalog-logo-spacing: .32em;
  --catalog-btn-py: 8px;
  --catalog-btn-px: 10px;
  --catalog-btn-font: 10px;
  --catalog-btn-letter: .14em;
}

body[data-page="catalog"] .header {
  height: var(--catalog-header-height);
  padding-inline: var(--catalog-header-gutter);
}

body[data-page="catalog"] .header__left,
body[data-page="catalog"] .header__right {
  top: 0;
  height: var(--catalog-header-height);
  gap: var(--catalog-header-side-gap);
}

body[data-page="catalog"] .header__left {
  left: var(--catalog-header-gutter);
}

body[data-page="catalog"] .header__right {
  right: var(--catalog-header-gutter);
  gap: var(--catalog-header-right-gap);
}

body[data-page="catalog"] .header__catalog-btn {
  display: none;
  padding: var(--catalog-btn-py) var(--catalog-btn-px);
  font-size: var(--catalog-btn-font);
  letter-spacing: var(--catalog-btn-letter);
}

body[data-page="catalog"] .header__logo-text {
  font-size: var(--catalog-logo-size);
  letter-spacing: var(--catalog-logo-spacing);
  white-space: nowrap;
}

body[data-page="catalog"] .catalog-page__header-spacer {
  height: var(--catalog-header-height);
}

@media (min-width: 480px) {
  body[data-page="catalog"] {
    --catalog-header-height: 64px;
    --catalog-header-gutter: 14px;
    --catalog-logo-size: 15px;
    --catalog-logo-spacing: .36em;
    --catalog-btn-px: 12px;
    --catalog-btn-letter: .16em;
  }
}

@media (min-width: 768px) {
  body[data-page="catalog"] {
    --catalog-header-height: 70px;
    --catalog-header-gutter: 18px;
    --catalog-header-side-gap: 14px;
    --catalog-header-right-gap: 8px;
    --catalog-logo-size: 18px;
    --catalog-logo-spacing: .46em;
    --catalog-btn-py: 10px;
    --catalog-btn-px: 16px;
    --catalog-btn-font: 11px;
    --catalog-btn-letter: .2em;
  }

  body[data-page="catalog"] .header__catalog-btn {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  body[data-page="catalog"] {
    --catalog-header-height: 76px;
    --catalog-header-gutter: 24px;
    --catalog-header-side-gap: 18px;
    --catalog-header-right-gap: 12px;
    --catalog-logo-size: 19px;
    --catalog-logo-spacing: .55em;
    --catalog-btn-py: 12px;
    --catalog-btn-px: 20px;
    --catalog-btn-font: 12px;
    --catalog-btn-letter: .22em;
  }
}

@media (min-width: 1280px) {
  body[data-page="catalog"] {
    --catalog-header-right-gap: 18px;
  }

  body[data-page="catalog"] .header {
    padding-inline: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="catalog"] .header__left {
    left: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="catalog"] .header__right {
    right: max(40px, calc((100% - 1100px) / 2));
  }

  body[data-page="catalog"] .header__catalog-btn {
    padding: 14px 26px;
    font-size: 12px;
    letter-spacing: .25em;
  }

  body[data-page="catalog"] .header__logo-text {
    font-size: 20px;
    letter-spacing: .6em;
  }
}

.catalog-page { min-height: 100vh; background: #fff; animation: catalogFadeIn .3s ease; }
@keyframes catalogFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.catalog-page__body { max-width: 1320px; margin: 0 auto; padding: 0 40px 60px; }
.catalog-page__top { padding: 24px 0 20px; }
.catalog-page__breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #999; margin-bottom: 8px; }
.catalog-page__breadcrumb-link { background: none; border: none; cursor: pointer; font-size: 13px; color: #999; text-decoration: underline; padding: 0; }
.catalog-page__breadcrumb-link:hover { color: #333; }
.catalog-page__breadcrumb-sep { color: #ccc; }
.catalog-page__title { font-size: 28px; font-weight: 700; color: #111; margin: 0; }
.catalog-page__toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: #fff; border: 1px solid #eee; border-radius: 12px; margin-bottom: 24px; }
.catalog-page__toolbar-left { display: flex; align-items: center; gap: 16px; }
.catalog-page__filter-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; color: #555; transition: all .2s; }
.catalog-page__filter-btn:hover { border-color: #333; color: #111; }
.catalog-page__sort select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid #ddd; border-radius: 8px; padding: 8px 36px 8px 14px; font-size: 14px; color: #333; cursor: pointer; font-family: Inter, sans-serif; }
.catalog-page__sort select:focus { outline: none; border-color: #333; }
.catalog-page__toolbar-right { display: flex; align-items: center; gap: 4px; }
.catalog-page__view-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; color: #aaa; transition: all .2s; }
.catalog-page__view-btn:hover { color: #333; }
.catalog-page__view-btn--active { color: #111; border-color: #ddd; background: #f5f5f5; }
.catalog-page__content { display: flex; gap: 32px; align-items: flex-start; }
.catalog-page__sidebar { width: 260px; min-width: 260px; position: sticky; top: 88px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 8px; }
.catalog-page__sidebar::-webkit-scrollbar { width: 4px; }
.catalog-page__sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.catalog-page__listings { flex: 1; min-width: 0; }
.catalog-page__sidebar[data-catalog-sidebar-loading="true"] {
  visibility: hidden;
}
.catalog-page__listings[data-catalog-list-loading="true"] {
  visibility: hidden;
  min-height: 420px;
}

.catalog-filter-block { padding: 24px 0; border-top: 1px solid #eee; }
.catalog-filter-block:first-child { border-top: none; padding-top: 0; }
.catalog-filter-block__title { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #111; margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.catalog-filter-block__title svg { color: #888; transition: transform .25s ease; }
.catalog-filter-block__search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 14px; }
.catalog-filter-block__search input { flex: 1; border: none; outline: none; font-size: 13px; color: #333; font-family: Inter, sans-serif; background: transparent; }
.catalog-filter-block__search input::placeholder { color: #bbb; }
.catalog-filter-block__options { display: flex; flex-direction: column; gap: 2px; }
.catalog-filter-block__radio, .catalog-filter-block__checkbox { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-size: 14px; color: #444; line-height: 1; }
.catalog-filter-block__label { flex: 1 1 auto; }
.catalog-filter-block__count { margin-left: auto; color: #9aa0a6; font-size: 12px; }
.catalog-filter-block__radio-mark, .catalog-filter-block__check-mark { flex: 0 0 18px; }
.catalog-filter-block__radio input, .catalog-filter-block__checkbox input { display: none; }
.catalog-filter-block__radio-mark {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Z'/%3E%3C/svg%3E");
}
.catalog-filter-block__radio input:checked + .catalog-filter-block__radio-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M621.5-338.5Q680-397 680-480t-58.5-141.5Q563-680 480-680t-141.5 58.5Q280-563 280-480t58.5 141.5Q397-280 480-280t141.5-58.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Z'/%3E%3C/svg%3E");
}
.catalog-filter-block__check-mark { width: 18px; height: 18px; border: 2px solid #ccc; border-radius: 4px; position: relative; flex-shrink: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.catalog-filter-block__checkbox input:checked + .catalog-filter-block__check-mark { border-color: #111; background: #111; }
.catalog-filter-block__checkbox input:checked + .catalog-filter-block__check-mark:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z'/%3E%3C/svg%3E");
}
.catalog-filter-block__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-filter-block__count { color: #999; font-size: 13px; flex-shrink: 0; }
.catalog-filter-block__label {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  line-height: 18px;
}
.catalog-filter-block__count {
  line-height: 18px;
}
.catalog-filter-block__more { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #555; font-size: 13px; cursor: pointer; padding: 8px 0 0; font-family: Inter, sans-serif; }
.catalog-filter-block__more:hover { color: #111; }
.catalog-filter-block__more-icon { display: inline-block; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; margin-left: 2px; }
.catalog-filter-block__more[data-expanded="true"] .catalog-filter-block__more-icon { transform: rotate(-135deg); }
.catalog-filter-block__range-labels { display: flex; justify-content: space-between; font-size: 12px; color: #2196f3; margin-bottom: 8px; }
.catalog-filter-block__range-inputs { display: flex; align-items: center; gap: 8px; }
.catalog-filter-block__range-input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; color: #111; font-family: Inter, sans-serif; font-weight: 500; background: #fff; outline: none; transition: border-color .2s; }
.catalog-filter-block__range-input:focus { border-color: #111; }
.catalog-filter-block__range-dash { color: #999; font-size: 16px; flex-shrink: 0; }
.catalog-filter-block__ok { padding: 10px 16px; border: 1px solid #111; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; font-family: Inter, sans-serif; color: #111; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.catalog-filter-block__ok:hover { background: #111; color: #fff; }

.dual-range { position: relative; height: 20px; margin-bottom: 12px; }
.dual-range__track { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #ddd; border-radius: 2px; transform: translateY(-50%); }
.dual-range__fill { position: absolute; top: 0; height: 100%; background: #111; border-radius: 2px; }
.dual-range__input { position: absolute; left: 0; right: 0; top: 0; width: 100%; -webkit-appearance: none; appearance: none; height: 20px; background: transparent; margin: 0; pointer-events: none; }
.dual-range__input::-webkit-slider-runnable-track { height: 0; background: transparent; }
.dual-range__input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #111; box-shadow: 0 1px 4px rgba(0,0,0,.15); pointer-events: auto; margin-top: -7px; transition: .3s; }
.dual-range__input::-webkit-slider-thumb:hover { background: #f2f4ff; }
.dual-range__input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #111; box-shadow: 0 1px 4px rgba(0,0,0,.15); pointer-events: auto; transition: .3s; }

.catalog-card--list { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: visible; margin-bottom: 24px; transition: box-shadow .4s cubic-bezier(.23,1,.32,1), transform .4s cubic-bezier(.23,1,.32,1); }
.catalog-card--list:hover { box-shadow: 0 8px 36px rgba(0,0,0,.09); transform: translateY(-2px); }
.catalog-card__images { display: flex; gap: 4px; width: 100%; position: relative; border-radius: 16px 16px 0 0; overflow: hidden; }
.catalog-card__img-left, .catalog-card__img-right { position: relative; overflow: hidden; height: 340px; background: #f0f0f0; cursor: pointer; }
.catalog-card__img-left { flex: 55; }
.catalog-card__img-right { flex: 45; }
.catalog-card__img-left img, .catalog-card__img-right img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.23,1,.32,1); }
.catalog-card__img-left:hover img, .catalog-card__img-right:hover img { transform: scale(1.04); }
.catalog-card__counter { position: absolute; bottom: 14px; left: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 6px; backdrop-filter: blur(4px); }
.catalog-card__arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.85); border: none; cursor: pointer; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: all .3s cubic-bezier(.23,1,.32,1); }
.catalog-card__arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.2); transform: translateY(-50%) scale(1.08); }
.catalog-card__info { padding: 24px 28px 20px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.catalog-card__row-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 20px; }
.catalog-card__name { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 4px; line-height: 1.3; }
.catalog-card__spec { font-size: 13px; color: #666; margin: 0; }
.catalog-card__price-block { text-align: right; flex-shrink: 0; }
.catalog-card__price-line { display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.catalog-card__price { font-size: 22px; font-weight: 700; color: #111; white-space: nowrap; }
.catalog-card__price--discount { color: #d62828; }
.catalog-card__price-old { font-size: 13px; line-height: 1; color: #9aa0a6; text-decoration: line-through; white-space: nowrap; }
.catalog-card__price-date { display: block; font-size: 11px; color: #2196f3; margin-top: 3px; }
.catalog-card__color { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #777; margin-bottom: 16px; }
.catalog-card__color-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ddd; flex-shrink: 0; }
.catalog-card__tags-wrapper { position: relative; display: flex; align-items: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 16px; }
.catalog-card__tags { display: flex; align-items: stretch; padding: 14px 0; overflow-x: auto; gap: 0; flex: 1; min-width: 0; scrollbar-width: none; -ms-overflow-style: none; }
.catalog-card__tags::-webkit-scrollbar { display: none; }
.catalog-card__tag { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid #eee; flex-shrink: 0; max-width: 220px; min-width: 0; }
.catalog-card__tag:first-child { padding-left: 0; }
.catalog-card__tag:last-child { border-right: none; padding-right: 0; }
.catalog-card__tag-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow: hidden; }
.catalog-card__tag-label { font-size: 10px; color: #999; font-weight: 500; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-card__tag-value { font-size: 13px; color: #222; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-card__bottom { display: flex; align-items: center; justify-content: space-between; }
.catalog-card__location { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #3e4657; }
.catalog-card__location span { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.catalog-card__actions { display: flex; align-items: center; gap: 8px; }
.catalog-card__btn-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; color: #666; transition: all .2s; }
.catalog-card__btn-icon:hover { border-color: #333; color: #111; box-shadow: 0 6px 14px rgba(0,0,0,.12); }

@media (max-width: 1100px) {
  .catalog-page__body { padding: 0 24px 48px; }
  .catalog-page__content { gap: 20px; }
  .catalog-page__sidebar { width: 230px; min-width: 230px; }
  .catalog-card__img-left, .catalog-card__img-right { height: 280px; }
}
@media (max-width: 900px) {
  body[data-page="catalog"] {
    overflow-x: hidden;
  }
  .catalog-page {
    overflow-x: hidden;
  }
  .catalog-page__body,
  .catalog-page__content,
  .catalog-page__listings {
    min-width: 0;
    max-width: 100%;
  }
  .catalog-page__content { flex-direction: column; }
  .catalog-page__sidebar { position: static; width: 100%; max-height: none; }
  .catalog-page__toolbar {
    gap: 10px;
  }
  .catalog-page__toolbar-left {
    flex: 1 1 auto;
    min-width: 0;
  }
  .catalog-page__sort {
    flex: 1 1 auto;
    min-width: 0;
  }
  .catalog-page__sort select {
    width: 100%;
    max-width: 100%;
  }
  .catalog-page__toolbar-right {
    display: none;
  }
  .catalog-card__tags-wrapper {
    min-width: 0;
    overflow: hidden;
  }
  .catalog-card__tags {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
  }
  .item-hero__strip,
  .item-hero__tabs,
  .item-hero__gallery .car-detail__gallery-thumbs {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }
}

/* Catalog runtime fixes */
.catalog-page__content.is-sidebar-collapsed { display: block; }
.catalog-page__sidebar.is-collapsed {
  width: 0 !important;
  min-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: none !important;
}

.catalog-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 1095;
}
.catalog-filter-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.catalog-filter-block__body {
  overflow: hidden;
  max-height: 999px;
  opacity: 1;
  transition: max-height .28s ease, opacity .2s ease;
}
.catalog-filter-block.is-collapsed .catalog-filter-block__title svg { transform: rotate(-90deg); }
.catalog-filter-block .is-hidden,
.catalog-filter-block .is-search-hidden { display: none !important; }

.catalog-page__listings[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.catalog-page__listings[data-view="list"] {
  display: block;
}
.catalog-page__listings[data-view="list"] .catalog-card--list {
  margin-bottom: 24px;
}

.catalog-card__tags-nav {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  cursor: pointer;
  flex-shrink: 0;
}
.catalog-card__tags-nav:hover { color: #111; border-color: #bbb; }
.catalog-card__tags-nav:disabled { opacity: .35; cursor: default; }
.catalog-card__tags-nav--left { margin-right: 8px; }
.catalog-card__tags-nav--right { margin-left: 8px; }
.catalog-tag__icon { width: 16px; height: 16px; flex-shrink: 0; }

.catalog-card__btn-icon.is-active {
  color: #e53935;
  border-color: #ef9a9a;
  background: #fff5f5;
}

.catalog-card__menu {
  position: absolute;
  right: 18px;
  bottom: 68px;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  display: none;
  overflow: hidden;
  z-index: 30;
}
.catalog-card__menu.is-open { display: block; }
.catalog-card__menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  color: #333;
  cursor: pointer;
}
.catalog-card__menu button:hover { background: #f6f7f8; }

.catalog-empty {
  border: 1px dashed #d8d8d8;
  border-radius: 12px;
  padding: 24px 18px;
  color: #888;
  text-align: center;
}

.catalog-grid--state {
  display: block;
}

.catalog-grid__state {
  border: 1px dashed #d8d8d8;
  border-radius: 14px;
  padding: 30px 18px;
  text-align: center;
  color: #666;
  background: #fff;
}

.catalog-grid__state p {
  margin: 0;
}

.catalog-grid__retry {
  margin-top: 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.catalog-grid__retry:hover {
  background: #1f1f1f;
}

.spec__icon--power {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='%23616376' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'><path d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border-color: transparent;
  background-color: transparent;
}

.dual-range__input--min { z-index: 2; }
.dual-range__input--max { z-index: 3; }

.header__icon--fav { color: inherit; }

@media (max-width: 1200px) {
  .catalog-page__listings[data-view="grid"] {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .catalog-page__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    max-height: 100vh;
    width: min(86vw, 340px);
    min-width: 0;
    background: #fff;
    border-right: 1px solid #ececec;
    padding: 92px 16px 18px;
    transform: translateX(-105%);
    transition: transform .24s ease;
    z-index: 1100;
  }
  .catalog-page__sidebar.is-open { transform: translateX(0); }
  body.catalog-filters-open { overflow: hidden; }
}
@media (max-width: 860px) {
  .catalog-card__tags-wrapper {
    padding: 0 2px;
  }
  .catalog-card__tag {
    max-width: 200px;
  }
}

/* Unified item page styles (source of truth) */
.spec__icon {
  border-radius: 0 !important;
  overflow: visible !important;
}

.item-page__spacer {
  height: 76px;
}

.item-page[data-item-loading="true"] {
  opacity: 0;
  pointer-events: none;
}

.item-page[data-item-state="empty"] .item-hero__subtitle,
.item-page[data-item-state="empty"] .item-hero__tabs,
.item-page[data-item-state="empty"] .item-hero__main,
.item-page[data-item-state="empty"] .item-hero__strip-wrap,
.item-page[data-item-state="empty"] .car-detail,
.item-page[data-item-state="empty"] .item-related {
  display: none;
}

.item-page__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 40px 80px;
}

.item-page__breadcrumb {
  margin-bottom: 8px;
}

.item-hero {
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.item-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
}

.item-hero__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 4px;
}

.item-hero__subtitle {
  font-size: 14px;
  color: #888;
}

.item-hero__tabs {
  display: flex;
  gap: 18px;
  padding: 12px 0 16px;
  margin: 0;
  font-size: 14px;
  color: #8a8a8a;
}

.item-hero__tab {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #8a8a8a;
  padding: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  display: inline-flex;
}

.item-hero__tab--active {
  color: #111;
  font-weight: 600;
}

.item-hero__tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.item-hero__main {
  display: block;
  margin-bottom: 14px;
}

.car-detail__accordion details {
  scroll-margin-top: 96px;
}

.item-hero__gallery {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 8px;
  background: #fff;
}

.item-gallery--detail {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 12px;
}

.item-gallery__left {
  background: #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.item-gallery__right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.item-gallery__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-gallery__right > img {
  border-radius: 12px;
  background: #e9ecef;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1 1 auto;
  min-height: 0;
}

.item-gallery__thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.item-gallery__thumb,
.item-gallery__all {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.item-gallery__thumb:hover,
.item-gallery__all:hover {
  transform: translateY(-1px);
}

.item-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-gallery__thumb.is-active {
  border-color: #111;
}

.item-gallery__all {
  width: auto;
  height: 40px;
  padding: 0 10px;
  font-size: 10px;
  border-radius: 8px;
  color: #555;
  white-space: nowrap;
  margin-left: auto;
}

.item-gallery__count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #111;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
}

.item-hero__strip-wrap {
  position: relative;
  margin-bottom: 20px;
}

.item-hero__strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 36px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.item-hero__strip::-webkit-scrollbar {
  display: none;
}

.item-hero__strip-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 6px 18px;
  border-right: 1px solid #f0f0f0;
  flex: 0 0 auto;
  min-width: 180px;
}

.item-hero__strip-item:last-child {
  border-right: none;
}

.item-hero__strip-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.item-hero__strip-label {
  font-size: 10px;
  color: #999;
  white-space: nowrap;
}

.item-hero__strip-value {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

.item-hero__strip-item .spec__icon {
  width: 20px;
  height: 20px;
  background-size: 18px 18px;
}

.item-hero__strip-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.item-hero__strip-nav--left {
  left: 6px;
}

.item-hero__strip-nav--right {
  right: 6px;
}

.item-hero__strip-wrap:hover .item-hero__strip-nav {
  opacity: 1;
  pointer-events: auto;
}

.item-hero__strip-nav:hover {
  color: #111;
}

.item-hero__strip-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.car-detail__lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.car-detail {
  display: block;
  margin-bottom: 0;
}

.car-detail__accordion {
  border: none;
  background: transparent;
}

.car-detail__accordion details {
  border-bottom: 1px solid #eee;
}

.car-detail__accordion details:last-child {
  border-bottom: none;
}

.car-detail__accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.car-detail__accordion summary::-webkit-details-marker {
  display: none;
}

.car-detail__accordion summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #777;
  border-bottom: 1.5px solid #777;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.car-detail__accordion details[open] summary::after {
  transform: rotate(-135deg);
}

.car-detail__accordion-body {
  padding: 0 0 14px;
  font-size: 13px;
  color: #666;
}

.car-detail__equipment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.car-detail__equipment-list li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.car-detail__equipment-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #bbb;
  font-size: 14px;
}

.car-detail__color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.car-detail__color-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f6f6f6;
  font-size: 12px;
  color: #444;
}

.car-detail__color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.car-detail__specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.car-detail__specs-col {
  display: grid;
  gap: 18px;
}

.car-detail__specs-group {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.car-detail__specs-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.car-detail__specs-group-title svg {
  width: 18px;
  height: 18px;
}

.car-detail__specs-group-title .spec__icon {
  width: 18px;
  height: 18px;
  background-size: 18px 18px !important;
}

.car-detail__specs-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #777;
  border-bottom: 1px solid #f3f3f3;
  padding: 7px 0;
}

.car-detail__specs-row span:last-child {
  color: #111;
  font-weight: 500;
}

.car-detail__condition-grid {
  padding-top: 0;
}

.car-detail__condition-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #777;
  border-bottom: 1px solid #f3f3f3;
  padding: 7px 0;
}

.car-detail__condition-row span:first-child {
  color: #777;
  letter-spacing: normal;
  text-transform: none;
}

.car-detail__condition-row span:last-child {
  font-size: 12px;
  line-height: inherit;
  font-weight: 500;
  color: #111;
}

.item-buy--aside {
  position: sticky;
  top: 96px;
}

.item-buy {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.item-buy__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.item-buy__subtitle {
  font-size: 13px;
  color: #888;
  margin: 0 0 20px;
}

.item-buy__price-block {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.item-buy__price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.item-buy__price {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.item-buy__price--discount {
  color: #d62828;
}

.item-buy__price-old {
  font-size: 14px;
  line-height: 1;
  color: #9aa0a6;
  text-decoration: line-through;
}

.item-buy__price-date {
  display: block;
  font-size: 12px;
  color: #2196f3;
  margin: 0 0 12px;
}

.item-buy__actions {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.item-buy__fav {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.item-buy__fav svg {
  width: 20px;
  height: 20px;
}

.item-buy__fav.is-active {
  color: #e53935;
  border-color: #ef9a9a;
  background: #fff5f5;
}

.item-buy__fav:hover {
  border-color: #333;
  color: #111;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.item-buy__btn {
  width: 100%;
  min-height: 44px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.item-buy__divider {
  margin: 16px 0 14px;
  border-top: 1px solid #eee;
}

.item-buy__label {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  text-align: center;
}

.item-buy__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.item-buy__social {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.item-buy__social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.item-buy__social:hover {
  color: #333;
}

.item-related {
  margin-top: 44px;
}

.item-related h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 24px;
}

.item-related__list {
  display: grid;
  gap: 16px;
}
.item-related__list[data-item-related-loading="true"] {
  visibility: hidden;
  min-height: 220px;
}

@media (hover: none) {
  .item-hero__strip-nav {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1200px) {
  .car-detail__lower {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .item-buy--aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .item-page__container {
    padding: 16px 20px 60px;
  }
  .car-detail__lower {
    grid-template-columns: 1fr;
  }
  .item-buy--aside {
    order: -1;
  }
  .item-gallery--detail {
    grid-template-columns: 1fr;
  }
  .item-hero__tabs {
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .item-hero__tabs::-webkit-scrollbar {
    display: none;
  }
  .item-hero__tab {
    flex-shrink: 0;
    line-height: 1.25;
  }
  .item-related__list {
    min-width: 0;
  }
  .item-related .catalog-card--list,
  .item-related .catalog-card__info,
  .item-related .catalog-card__row-top,
  .item-related .catalog-card__bottom {
    min-width: 0;
  }
  .item-related .catalog-card__img-left,
  .item-related .catalog-card__img-right {
    height: 300px;
  }
  .item-related .catalog-card__arrow {
    display: none;
  }
  .item-related .catalog-card__row-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .item-related .catalog-card__price-block {
    text-align: left;
  }
  .item-related .catalog-card__price-line {
    justify-content: flex-start;
  }
  .item-related .catalog-card__name {
    overflow-wrap: anywhere;
  }
  .item-related .catalog-card__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .item-related .catalog-card__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .car-detail__specs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .car-detail__equipment-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .item-page__container {
    padding: 14px 12px 48px;
  }
  .item-hero__strip {
    padding: 10px 30px;
  }
  .item-hero__strip-item {
    min-width: 156px;
    padding: 6px 12px;
  }
  .item-related .catalog-card__img-left,
  .item-related .catalog-card__img-right {
    height: 260px;
  }
  .item-related .catalog-card__info {
    padding: 18px 14px 16px;
  }
  .item-related .catalog-card__actions {
    gap: 6px;
  }
  .item-related .catalog-card__actions .btn {
    min-width: 0;
    padding-inline: 14px;
  }
  .item-related h2 {
    font-size: 28px;
  }
}

/* Item gallery in car-detail format */
.item-hero__gallery .car-detail__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 8px;
  margin: 0;
  align-items: stretch;
}

.item-hero__gallery .car-detail__gallery-main {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 100%;
  background: #f2f3f6;
}

.item-hero__gallery .car-detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  cursor: pointer;
}

.item-hero__gallery .car-detail__gallery-main:hover img {
  transform: scale(1.02);
}

.item-hero__gallery .car-detail__gallery-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.item-hero__gallery .car-detail__gallery-side-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f3f6;
}

.item-hero__gallery .car-detail__gallery-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  cursor: pointer;
}

.item-hero__gallery .car-detail__gallery-side-img:hover img {
  transform: scale(1.02);
}

.item-hero__gallery .car-detail__gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-hero__gallery .car-detail__thumb {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e2e8;
  padding: 0;
  margin: 0;
  background: #f3f4f7;
  opacity: 0.9;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.item-hero__gallery .car-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-hero__gallery .car-detail__thumb:hover {
  opacity: 1;
  border-color: #cbd0d9;
  transform: translateY(-1px);
}

.item-hero__gallery .car-detail__thumb--active {
  border-color: #111;
  opacity: 1;
}

.item-hero__gallery .car-detail__thumb--more {
  width: auto;
  min-width: 72px;
  padding: 0 10px;
  background: #f5f6f9;
  opacity: 1;
}

.item-hero__gallery .car-detail__thumb--more span {
  font-size: 11px;
  line-height: 1.2;
  color: #555;
  text-align: center;
  font-weight: 500;
}

.item-hero__gallery [data-item-count] {
  display: none !important;
}

/* Cabinet pages */
body[data-page^="cabinet"] {
  background: #f5f7fb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-page^="cabinet"] > main {
  padding-top: 112px;
  flex: 1 0 auto;
  width: 100%;
}

body[data-page^="cabinet"] > main.section {
  padding: 112px 0 52px;
}

body[data-page^="cabinet"] > main .container {
  max-width: 1180px;
  padding-top: 22px;
}

body[data-page^="cabinet"] > main h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #111;
}

body[data-page^="cabinet"] > main .card {
  border-color: #e7e9ef;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

body[data-page^="cabinet"] .footer {
  width: 100%;
  margin-top: auto;
}

body[data-page="cabinet-home"] .cabinet-home__profile {
  margin-bottom: 18px;
  border-radius: 18px;
}

body[data-page="cabinet-home"] [data-cabinet-profile] .card__body {
  border-top: none;
  padding: 18px 18px 20px;
  gap: 12px;
}

body[data-page="cabinet-home"] .cabinet-home__profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body[data-page="cabinet-home"] .cabinet-home__identity {
  min-width: 220px;
  flex: 1 1 250px;
}

body[data-page="cabinet-home"] [data-cabinet-name] {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 700;
  line-height: 1.08;
  color: #111;
  overflow-wrap: anywhere;
}

body[data-page="cabinet-home"] [data-cabinet-email] {
  margin-top: 4px;
  font-size: 12px;
  color: #8a93a6;
  overflow-wrap: anywhere;
}

body[data-page="cabinet-home"] .cabinet-home__login,
body[data-page="cabinet-home"] .cabinet-home__logout {
  min-height: 40px;
  min-width: 108px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

body[data-page="cabinet-home"] .cabinet-home__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

body[data-page="cabinet-home"] .cabinet-home__actions > .card {
  min-width: 0;
  border-radius: 14px;
}

body[data-page="cabinet-home"] .cabinet-home__actions .card__body {
  min-height: 72px;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
}

body[data-page="cabinet-home"] .cabinet-home__action-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  flex: 0 0 auto;
}

body[data-page="cabinet-home"] .cabinet-home__action-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

body[data-page="cabinet-home"] .cabinet-home__action-label {
  min-width: 0;
  line-height: 1.25;
}

body[data-page="cabinet-profile"] .cabinet-profile__breadcrumb {
  margin-bottom: 8px;
}

body[data-page="cabinet-profile"] .cabinet-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

body[data-page="cabinet-profile"] .cabinet-profile__main {
  display: grid;
  gap: 14px;
}

body[data-page="cabinet-profile"] .cabinet-profile__card {
  border-radius: 14px;
}

body[data-page="cabinet-profile"] .cabinet-profile__card .card__body {
  border-top: none;
  padding: 14px 16px 16px;
  gap: 0;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  cursor: pointer;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a2a8b3;
  cursor: pointer;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
  border-radius: 8px;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-chevron {
  color: #a2a8b3;
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  transition: transform .2s ease;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-chevron svg {
  width: 24px;
  height: 24px;
  display: block;
}

body[data-page="cabinet-profile"] .cabinet-profile__card.is-collapsed .cabinet-profile__card-head {
  margin-bottom: 0;
}

body[data-page="cabinet-profile"] .cabinet-profile__card.is-collapsed .cabinet-profile__card-chevron {
  transform: rotate(180deg);
}

body[data-page="cabinet-profile"] .cabinet-profile__card.is-collapsed .cabinet-profile__card-content {
  display: none;
}

body[data-page="cabinet-profile"] .cabinet-profile__rows {
  border-top: 1px solid #eceff3;
}

body[data-page="cabinet-profile"] .cabinet-profile__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #eceff3;
}

body[data-page="cabinet-profile"] .cabinet-profile__label {
  font-size: 13px;
  color: #8a93a6;
}

body[data-page="cabinet-profile"] .cabinet-profile__value {
  font-size: 14px;
  color: #111;
  overflow-wrap: anywhere;
}

body[data-page="cabinet-profile"] .cabinet-profile__value[data-empty="true"] {
  color: #a0a7b4;
}

body[data-page="cabinet-profile"] .cabinet-profile__action {
  color: #b0b6c3;
  font-size: 18px;
  line-height: 1;
}

body[data-page="cabinet-profile"] .cabinet-profile__action--btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body[data-page="cabinet-profile"] .cabinet-profile__action--btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

body[data-page="cabinet-profile"] .cabinet-profile__action--btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
  border-radius: 6px;
}

body[data-page="cabinet-profile"] .cabinet-profile__card-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

body[data-page="cabinet-profile"] .cabinet-profile__form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eceff3;
}

body[data-page="cabinet-profile"] .cabinet-profile__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

body[data-page="cabinet-profile"] .cabinet-profile__form-grid--single {
  grid-template-columns: 1fr;
}

body[data-page="cabinet-profile"] .cabinet-profile__field {
  display: grid;
  gap: 6px;
}

body[data-page="cabinet-profile"] .cabinet-profile__field span {
  font-size: 12px;
  color: #8a93a6;
}

body[data-page="cabinet-profile"] .cabinet-profile__field .input {
  border-radius: 10px;
  min-height: 38px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-color: #dfe3ea;
}

body[data-page="cabinet-profile"] .cabinet-profile__field select.input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
}

body[data-page="cabinet-profile"] .cabinet-profile__form-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="cabinet-profile"] .cabinet-profile__form-error {
  margin-top: 10px;
  font-size: 13px;
  color: #b42323;
}

body[data-page="cabinet-profile"] .cabinet-profile__card.is-editing .cabinet-profile__rows,
body[data-page="cabinet-profile"] .cabinet-profile__card.is-editing .cabinet-profile__card-actions {
  display: none;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary {
  border-radius: 14px;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary .card__body {
  border-top: none;
  padding: 14px 16px 16px;
  gap: 0;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

body[data-page="cabinet-profile"] .cabinet-profile__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  overflow-wrap: anywhere;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-list {
  display: grid;
  gap: 8px;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #626b7a;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-icon {
  color: #a3aab7;
  font-size: 17px;
  line-height: 1;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-created {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eceff3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #8a93a6;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-created strong {
  font-size: 12px;
  color: #111;
  font-weight: 600;
}

body[data-page="cabinet-profile"] .cabinet-profile__summary-created strong[data-empty="true"] {
  color: #a0a7b4;
  font-weight: 500;
}

body[data-page="cabinet-profile"] .cabinet-profile__logout {
  width: 100%;
  margin-top: 12px;
  min-height: 40px;
}

@media (max-width: 900px) {
  body[data-page^="cabinet"] > main {
    padding-top: 86px;
  }

  body[data-page^="cabinet"] > main.section {
    padding: 86px 0 38px;
  }

  body[data-page^="cabinet"] > main .container {
    padding-top: 18px;
  }

  body[data-page^="cabinet"] > main h2 {
    margin-bottom: 12px;
    font-size: 32px;
  }

  body[data-page^="cabinet"] .footer {
    padding: 36px 0;
  }

  body[data-page^="cabinet"] .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  body[data-page="cabinet-home"] .cabinet-home__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="cabinet-home"] .cabinet-home__actions .card__body {
    min-height: 64px;
    font-size: 15px;
    gap: 8px;
    padding: 10px 14px;
  }

  body[data-page="cabinet-home"] .cabinet-home__action-icon {
    width: 24px;
    height: 24px;
  }

  body[data-page="cabinet-home"] [data-cabinet-name] {
    font-size: 22px;
  }

  body[data-page="cabinet-profile"] .cabinet-profile {
    grid-template-columns: 1fr;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__row {
    grid-template-columns: 110px minmax(0, 1fr) auto;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body[data-page^="cabinet"] > main .container {
    padding-top: 14px;
  }

  body[data-page="cabinet-home"] [data-cabinet-profile] .card__body {
    padding: 16px;
  }

  body[data-page="cabinet-home"] .cabinet-home__profile-row {
    align-items: stretch;
  }

  body[data-page="cabinet-home"] .cabinet-home__identity {
    min-width: 0;
    flex-basis: 100%;
  }

  body[data-page="cabinet-home"] [data-cabinet-name] {
    font-size: 20px;
  }

  body[data-page="cabinet-home"] .cabinet-home__login,
  body[data-page="cabinet-home"] .cabinet-home__logout {
    width: 100%;
    justify-content: center;
  }

  body[data-page="cabinet-home"] .cabinet-home__actions {
    gap: 10px;
  }

  body[data-page="cabinet-home"] .cabinet-home__actions .card__body {
    min-height: 58px;
    font-size: 14px;
    gap: 8px;
    padding: 10px 12px;
  }

  body[data-page="cabinet-home"] .cabinet-home__action-icon {
    width: 22px;
    height: 22px;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    padding: 9px 0;
    min-height: 0;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__label {
    grid-column: 1;
    grid-row: 1;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__value {
    grid-column: 1;
    grid-row: 2;
  }

  body[data-page="cabinet-profile"] .cabinet-profile__action {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.cabinet-favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.cabinet-fav-card {
  border: 1px solid #e9eaee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.cabinet-fav-card__img {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1f2f6;
}

.cabinet-fav-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cabinet-fav-card__body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.cabinet-fav-card__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.cabinet-fav-card__meta {
  font-size: 13px;
  color: #7a7a7a;
}

.cabinet-fav-card__price-block {
  display: grid;
  gap: 6px;
}

.cabinet-fav-card__price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cabinet-fav-card__price {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.cabinet-fav-card__price--discount {
  color: #d62828;
}

.cabinet-fav-card__price-old {
  font-size: 13px;
  line-height: 1;
  color: #9aa0a6;
  text-decoration: line-through;
}

.cabinet-fav-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cabinet-empty {
  border: 1px dashed #d8d9de;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: #666;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cabinet-empty h3 {
  margin: 0;
  font-size: 24px;
  color: #111;
}

.cabinet-empty p {
  margin: 0;
  max-width: 560px;
}

main[data-cabinet-home-loading="true"] [data-cabinet-profile],
main[data-cabinet-home-loading="true"] [data-cabinet-actions] {
  visibility: hidden;
}

main[data-cabinet-loading="true"] > .container > .card:not([data-cabinet-profile]) {
  visibility: hidden;
}

main[data-cabinet-loading="true"] [data-cabinet-profile-page] {
  visibility: hidden;
}

@media (max-width: 900px) {
  .item-hero__gallery .car-detail__gallery {
    grid-template-columns: 1fr;
  }

  .item-hero__gallery .car-detail__gallery-main {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .item-hero__gallery .car-detail__gallery-side-img {
    max-height: 260px;
  }

  .item-hero__gallery .car-detail__gallery-thumbs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .item-hero__gallery .car-detail__gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .item-hero__gallery .car-detail__thumb {
    width: 52px;
    height: 38px;
  }

  .item-hero__gallery .car-detail__thumb--more {
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
  }

  .item-hero__gallery .car-detail__thumb--more span {
    display: block;
    white-space: nowrap;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.car-detail__equipment-list li::before,
.car-detail__equip-list li:before {
  content: "\2022";
}

.car-detail__lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #000000eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-detail__lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-detail__lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}

.car-detail__lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
}

.car-detail__lightbox-close:hover {
  opacity: 1;
}

.car-detail__lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff1a;
  border: none;
  cursor: pointer;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  z-index: 10;
}

.car-detail__lightbox-arrow:hover {
  background: #ffffff40;
}

.car-detail__lightbox-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}

.car-detail__lightbox-arrow--left { left: 24px; }
.car-detail__lightbox-arrow--right { right: 24px; }

.car-detail__lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {

  .catalog-block { 
    padding: 0 16px; 
  }
  
  .catalog-grid {
    gap: 16px; 
    scroll-snap-type: x mandatory; 
  }

  .catalog-grid .card--auto { 
    flex: 0 0 calc(100% - 24px); 
    width: calc(100% - 24px); 
    scroll-snap-align: center; 
  }

  .catalog-nav { 
    display: none !important; 
  }

  /* === Новые стили для белого хедера === */
  .header {
    background: #ffffff; 
    color: #111; 
    box-shadow: 0 1px 24px #0000000f; 
  }

  .header__icon {
    color: #111; 
  }

  .header__catalog-btn {
    border-color: #11111126; 
    color: #111; 
  }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  html,
  body,
  body.has-mobile-bottom-nav {
    overflow-x: hidden;
    padding-bottom: 0;
  }

  body.has-mobile-bottom-nav .header__right > .header__icon,
  body.has-mobile-bottom-nav .header__right > .header__profile-wrap {
    display: none;
  }

  body.has-mobile-bottom-nav .header__right {
    gap: 0;
  }

  body.has-mobile-bottom-nav .header__manager {
    margin-left: 0;
    gap: 8px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px 12px 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 -10px 28px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav__link {
    min-height: 54px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    color: #8e95a3;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.1;
    transition: color .2s ease, transform .2s ease;
  }

  .mobile-bottom-nav__link:hover {
    color: #111;
    transform: translateY(-1px);
  }

  .mobile-bottom-nav__link.is-active,
  .mobile-bottom-nav__link[aria-current="page"] {
    color: #111;
  }

  .mobile-bottom-nav__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-nav__icon svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .mobile-bottom-nav__label {
    white-space: nowrap;
  }

  body.has-mobile-bottom-nav .footer {
    padding-bottom: calc(36px + 78px + env(safe-area-inset-bottom));
  }

  body.has-mobile-bottom-nav.page-success .footer {
    padding-bottom: calc(24px + 78px + env(safe-area-inset-bottom));
  }

  body.has-mobile-bottom-nav .chat-bubble {
    right: 20px;
    bottom: 92px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 995;
  }

  body.has-mobile-bottom-nav .chat-widget {
    bottom: 112px;
    bottom: calc(112px + env(safe-area-inset-bottom));
  }
}
