

/* Start:/local/templates/motodrive_site_v1/assets/css/style.css?179073363227786*/
/* ============================================================
   MOTODRIVE — FAQ (1920w)  pixel-perfect
   Верстка из Figma-макета MOTODRIVE SITE / FAQ middle 1920w
   ============================================================ */

:root {
  --dark: #1e1e1e;
  --dark-80: rgba(30, 30, 30, 0.8);
  --orange: #e94f1d;
  --light-gray: #eeeeee;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --pad-x: 150px;      /* горизонтальные поля секций */
  --content: 1620px;   /* ширина контентной строки (1920 - 2*150) */
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Geologica", "Segoe UI", Arial, sans-serif;
  background: var(--light-gray);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: none; }

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

/* Каркас страницы — до 1920px по центру, ниже — резина */
.page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: var(--light-gray);
  overflow-x: hidden;             /* совпадает с overflow-clip фрейма */
}
body { background: var(--light-gray); }   /* поля по бокам .page на экранах шире 1920 — того же цвета */
.footer { width: 100%; box-sizing: border-box; }

/* ============================== HEADER ============================== */
.site-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px var(--pad-x);
  position: relative;
}

/* --- бургер и мобильное меню (показываются ≤768) --- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  flex: none;
}
.burger span { display: block; height: 3px; background: var(--dark); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Мобильное меню — по макету 360w (code/360/html/main menu footer):
   тёмная панель #1E1E1E, padding 15px, активный пункт оранжевый, под списком
   логотип и соцсети. В макете пункты 24px с шагом 25px — по просьбе клиента
   уменьшено до 18px/16px, на телефоне 24px выглядели громоздко. */
.mobile-menu { display: none; }
.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #1e1e1e;
  /* крестик стоит абсолютно, поэтому сверху не нужен ряд под него (клиент: «наверху лишнее место»);
     снизу чуть воздуха после последнего пункта */
  padding: 18px 15px 24px;
  z-index: 900;
  box-shadow: 0 14px 26px rgba(0,0,0,.35);
}
.mobile-menu__close {
  position: absolute; top: 6px; right: 10px;
  width: 32px; height: 32px; flex: none;
  border: 0; background: none; cursor: pointer; font-family: inherit;
  font-size: 30px; line-height: 1; color: #fff;
}
.mobile-menu__list { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}
.mobile-menu a.is-active { color: #e94f1d; }

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { width: 167px; height: 24px; }

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 18.4px;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu__item { color: var(--dark); transition: color 0.15s ease; }
.menu__item:hover { color: var(--orange); }
.menu__item.is-active { color: var(--orange); }

.call {
  display: flex;
  align-items: center;
  gap: 8px;
}
.call__icon { width: 36px; height: 36px; }
.call__num {
  color: #333333;
  font-size: 20px;
  font-weight: 400;
  line-height: 20.7px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.socials { display: flex; align-items: center; gap: 3px; }
.socials img { width: 36px; height: 37px; }

/* ============================== FAQ ============================== */
.faq { padding: 120px var(--pad-x); }

.faq__inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.faq__title {
  margin: 0;
  font-family: "Dela Gothic One", "Geologica", sans-serif;
  font-weight: 400;
  font-size: 110px;
  line-height: 1;
  letter-spacing: 0;
  color: #000000;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

/* --- общий вид карточки (категория и вопрос) --- */
.faq-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border: 0;
  border-bottom: 2px solid var(--orange);
  border-radius: 20px;
  background: var(--light-gray);
  text-align: left;
  font: inherit;
  color: inherit;
}

/* --- заголовок категории --- */
.faq-cat__head { cursor: pointer; }
.faq-cat.is-open > .faq-cat__head { background: var(--white-80); }

.faq-cat__label {
  flex: 1 0 0;
  min-width: 0;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  color: var(--dark);
}

/* тело категории (список вопросов) */
.faq-cat__body {
  display: flex;
  flex-direction: column;
}
.faq-cat:not(.is-open) > .faq-cat__body { display: none; }

/* --- строка вопроса --- */
.faq-q {
  background: var(--white-80);
  cursor: pointer;
}
.faq-q__spacer {
  flex: 1 0 0;
  min-width: 0;
  align-self: stretch;
}
.faq-q__text {
  width: 560px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -1.12px;
  color: var(--dark);
}

/* --- шеврон --- */
.faq-toggle {
  align-self: stretch;
  padding: 15px 0 0 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}
.chev {
  width: 16px;
  height: 8px;
  color: var(--dark);
  transition: transform 0.2s ease;
}
.faq-cat.is-open > .faq-cat__head .chev,
.faq-q.is-open .chev { transform: rotate(180deg); }

/* ============================== FOOTER ============================== */
.footer {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 50px 0 70px;   /* в макете фикс. 1000px высоты — клиент попросил «подсократить пространство» */
}

.footer__glow {
  position: absolute;
  left: -110px;
  top: -550px;
  width: 3561px;
  height: 2752px;
  transform: rotate(-14.11deg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.footer__glow img { width: 3159px; height: 2043px; }

.footer__logo,
.footer__bottom { position: relative; z-index: 1; }

.footer__logo { width: 100%; max-width: var(--content); display: flex; justify-content: center; }
.footer__logo img { width: 100%; max-width: 1540px; height: auto; }

.footer__bottom {
  width: 100%;
  max-width: var(--content);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* левая колонка */
.footer__about { display: flex; flex-direction: column; }
.footer__desc {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.88px;
  color: var(--white);
}
.footer__desc b { font-weight: 700; }
.footer__desc .thin { font-weight: 100; }

/* В режиме правки Битрикс оборачивает редактируемые include-области своей
   разметкой — блочной и со светлой темой. На тёмном футере это рвало строку и
   красило текст в чёрный (у гостей всё в порядке, проблема только в админке).
   В pubstyles.css правила, объясняющего цвет, нет — значит он приходит инлайном
   от панели правки. Поэтому !important: он бьёт и чужие стили, и инлайн, и не
   зависит ни от порядка загрузки, ни от имени класса обёртки, которое у Битрикса
   меняется от версии к версии. Внутри .footer__desc только наш текст, так что
   широкий селектор здесь безопасен. */
.footer__desc,
.footer__desc * { color: var(--white) !important; }
.footer__desc b > * {
  display: inline !important;
  background: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
}

/* Выделение текста мышью. Своего правила у шаблона не было, поэтому цвет брался
   откуда придётся (в т.ч. из CSS админ-панели) и на тёмном футере выделенный
   текст уходил в чёрный. Фиксируем явно, в фирменных цветах. */
::selection { background: #e94f1d; color: #fff; }
::-moz-selection { background: #e94f1d; color: #fff; }


.footer__links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}
.footer__links a {
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -0.04em;
  color: var(--white-80);
  text-decoration: underline;
  text-underline-position: from-font;
}

/* центральная колонка — меню */
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 20px;
  font-weight: 400;
  line-height: 18.4px;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.footer__menu a { transition: color 0.15s ease; }
.footer__menu a:hover { color: var(--orange); }

/* правая колонка — контакты */
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 33px;
  text-align: right;
}
.footer__contacts-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  color: var(--white-80);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.64px;
  white-space: nowrap;
}
.footer__contacts-label {
  text-transform: uppercase;
  line-height: 14px;
}
.footer__socials { display: flex; align-items: center; gap: 20px; }
.footer__socials img { width: 36px; height: 37px; }

/* ===================== Блок «Документы» в подвале ===================== */
.footer__docs { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.footer__docs-title { font-weight: 700; margin-bottom: 4px; }
.footer__docs a, .footer__docs-btn {
  color: rgba(255,255,255,.7); text-decoration: none; font: inherit; font-size: 15px;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: fit-content;
}
.footer__docs a:hover, .footer__docs-btn:hover { color: #e94f1d; }
.footer__login { margin-top: 10px; font-size: 13px !important; color: rgba(255,255,255,.45) !important; }
.footer__login:hover { color: #e94f1d !important; }
.footer__login b { color: #e94f1d; font-weight: 700; }
.footer__dev { margin-top: 4px; font-size: 13px !important; color: rgba(255,255,255,.45) !important; }
.footer__dev:hover { color: #e94f1d !important; }
.rev-modal__note--top { margin-top: -8px; }

/* ===================== Баннер cookie ===================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #1e1e1e; color: #fff; border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 18px 22px; box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.cookie-banner__text { flex: 1 1 300px; font-size: 14px; line-height: 1.5; }
.cookie-banner__text strong { display: block; margin-bottom: 4px; }
.cookie-banner__text p { margin: 0; color: rgba(255,255,255,.75); }
.cookie-banner__text a { color: #e94f1d; }
.cookie-banner__actions { display: flex; align-items: center; gap: 14px; }
.cookie-banner__accept {
  background: #e94f1d; color: #fff; border: 0; border-radius: 999px;
  padding: 11px 26px; font: inherit; font-weight: 700; cursor: pointer;
}
.cookie-banner__accept:hover { background: #d1440f; }
.cookie-banner__more { color: rgba(255,255,255,.7); text-decoration: underline; font-size: 14px; }
/* В колонке flex-basis: 300px из .cookie-banner__text применяется к ВЫСОТЕ,
   и баннер раздувался на пол-экрана телефона. Сбрасываем basis. */
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner__text { flex: 0 1 auto; }
  .cookie-banner__actions { justify-content: space-between; }
  .cookie-banner__accept { flex: 1; }
}

.cookie-banner[hidden] { display: none !important; }

/* Подсказка «что здесь править» — только в режиме правки, только для админа.
   Страницы собраны прямыми вызовами API, а не компонентами, поэтому штатных
   карандашей Битрикса на блоках нет и менеджеру неоткуда узнать, где контент. */
.md-edit-panel {
  margin: 0 var(--pad-x); padding: 12px 18px;
  background: #fff8f5; border: 1px dashed #e94f1d; border-radius: 12px;
  font-size: 15px; line-height: 1.5; color: #1e1e1e;
}
.md-edit-panel a { color: #e94f1d; text-decoration: underline; }
.md-edit-panel__note { margin-left: 10px; color: #999; font-size: 13px; }

/* ===================== Попап «Оставить отзыв» =====================
   Размеры из макета (code/1920/html/add popup reviews): панель 360px,
   поля 320×60, фон полей #EEEEEE, радиус 20px, отступ 20px. */
.rev-modal[hidden] { display: none !important; }
.rev-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.rev-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.rev-modal__panel {
  position: relative; z-index: 1;
  width: 360px; max-width: 100%; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 20px;
}
.rev-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.rev-modal__title { font-size: 20px; font-weight: 400; line-height: 26px; color: #1e1e1e; letter-spacing: -0.04em; }
.rev-modal__close {
  width: 28px; height: 28px; flex: none; border: 0; background: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: rgba(30,30,30,.8); font-family: inherit;
}
.rev-modal__close:hover { color: #e94f1d; }
.rev-modal__errors {
  background: #fff1ec; border: 1px solid #e94f1d; border-radius: 12px; padding: 10px 14px;
  font-size: 14px; line-height: 1.4; color: #1e1e1e;
}

.rev-field { display: block; }
.rev-field input, .rev-field select, .rev-field textarea {
  width: 100%; height: 60px; box-sizing: border-box;
  background: #eee; border: 0; border-radius: 20px; padding: 0 20px;
  font-family: inherit; font-size: 16px; font-weight: 300; color: #1e1e1e; letter-spacing: -0.04em;
}
.rev-field textarea { height: 120px; padding: 18px 20px; resize: vertical; line-height: 1.35; }
.rev-field input::placeholder, .rev-field textarea::placeholder { color: rgba(30,30,30,.8); }
.rev-field input:focus, .rev-field select:focus, .rev-field textarea:focus {
  outline: 2px solid #e94f1d; outline-offset: -2px;
}
/* стрелку у select рисуем сами — нативная в разных браузерах выглядит по-своему */
.rev-field--select select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8'%3E%3Cpath d='M1 1l7 6 7-6' stroke='%231E1E1E' stroke-opacity='.8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
  padding-right: 48px; cursor: pointer;
}

.rev-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rev-file__btn {
  position: relative; overflow: hidden; cursor: pointer;
  background: #eee; border-radius: 20px; padding: 12px 20px;
  font-size: 16px; font-weight: 300; color: rgba(30,30,30,.8); letter-spacing: -0.04em;
}
.rev-file__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rev-file__name { font-size: 14px; color: #1e1e1e; word-break: break-all; }
.rev-file__clear {
  border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1;
  color: rgba(30,30,30,.8); font-family: inherit;
}
.rev-file__clear[hidden] { display: none; }

.rev-modal__submit {
  width: 100%; height: 60px; border: 0; border-radius: 20px;
  background: #e94f1d; color: #fff; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.rev-modal__note { font-size: 13px; line-height: 1.4; color: #999; letter-spacing: -0.04em; }
/* Галочка согласия на обработку ПД (152-ФЗ): не отмечена по умолчанию, обязательна */
.md-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; color: #777; letter-spacing: -0.02em; cursor: pointer; text-align: left; }
.md-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); cursor: pointer; }
.md-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.md-consent a:hover { color: var(--orange); }
.cart__order .md-consent { margin: 4px 0 2px; }
.rev-modal__panel--thanks { align-items: flex-start; }
.rev-modal__panel--thanks p { margin: 0; font-size: 16px; font-weight: 300; color: rgba(30,30,30,.8); }

/* ===================== Корзина в шапке ===================== */
/* Корзина: иконка + подпись в пилюле — «чуть объёмнее», чтобы не терялась в углу */
.cart-link {
  display: flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 14px 0 10px;
  border: 2px solid #e94f1d; border-radius: 20px; color: #1e1e1e; text-decoration: none;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
}
.cart-link:hover { background: #e94f1d; color: #fff; }
.cart-link__icon { position: relative; display: flex; align-items: center; }
/* «Заказать звонок» рядом с телефоном */
.callback-btn {
  display: flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 14px 0 10px;
  border: 2px solid #e94f1d; border-radius: 20px; background: #e94f1d; color: #fff; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
}
.callback-btn:hover { background: #d4451a; border-color: #d4451a; }
.call__icon-link { display: flex; align-items: center; }
/* ссылка в кабинет менеджера (видна только менеджерам) */
.cart-link__count {
  position: absolute; top: -8px; right: -10px;
  min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box;
  background: #e94f1d; color: #fff; border-radius: 9px;
  font-size: 11px; font-weight: 500; line-height: 18px; text-align: center;
}

/* <picture> — обёртка ради <source media>, в раскладке участвовать не должна:
   иначе она станет flex/grid-элементом вместо самой картинки и собьёт order. */
picture { display: contents; }
/* ловушка для ботов в форме отзыва: за экраном, а не display:none — те его распознают */
.rev-trap { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
/* заголовок «Контакты» в подвале — ссылка на страницу контактов, выглядит как раньше */
.footer__contacts-label a { color: inherit; text-decoration: none; }
.footer__contacts-label a:hover { color: #e94f1d; }
/* поля менеджера в форме отзыва */
.rev-mgr { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 2px dashed #e94f1d; border-radius: 20px; }
.rev-mgr__title { font-size: 12px; font-weight: 700; color: #e94f1d; text-transform: uppercase; letter-spacing: .05em; }
.rev-mgr__row { display: flex; gap: 10px; }
.rev-mgr__row .rev-field { flex: 1; min-width: 0; }
.rev-mgr .rev-field input, .rev-mgr .rev-field select { height: 48px; font-size: 14px; }
@media (max-width: 480px) { .rev-mgr__row { flex-direction: column; } }
/* карандаш «изменить» на карточках — только в режиме правки (см. mdEditLink) */
.review-card, .faq-q, .faq-cat { position: relative; }
.md-edit-link {
  position: absolute; top: 8px; right: 8px; z-index: 5; width: 28px; height: 28px; border-radius: 50%;
  background: #e94f1d; color: #fff !important; text-decoration: none !important; display: flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.3); opacity: .85;
}
.md-edit-link:hover { opacity: 1; }
.md-edit-panel__add { display: inline-block; min-width: 18px; text-align: center; border-radius: 9px; background: #e94f1d; color: #fff !important; text-decoration: none !important; font-weight: 700; }

/* ===== Лайтбокс: фото во весь экран (site.js: галерея товара [data-photos] и фото в отзывах [data-lightbox]).
   Лежит в общем файле: раньше был в product.css, и в отзывах лайтбокс открывался без стилей —
   страница блокировалась, фото не показывалось. =====
   Фон непрозрачный, картинка тянется на высоту экрана (маленькие оригиналы из 1С
   увеличиваются), зум — колесом, двойным кликом/тапом и щипком, перетаскивание. */
.lb { position: fixed; left: 0; top: 0; width: 100%; height: 100%; height: 100dvh; z-index: 1000; background: #0b0b0b; overflow: hidden; touch-action: none; overscroll-behavior: contain; }
.lb[hidden] { display: none; }
.lb__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lb__img {
  height: 92vh; height: 92dvh; width: auto; max-width: 94vw; object-fit: contain;
  user-select: none; -webkit-user-drag: none; transform-origin: center center; will-change: transform;
  cursor: zoom-in;
}
.lb.is-zoomed .lb__img { cursor: grab; }
.lb.is-panning .lb__img { cursor: grabbing; transition: none; }
.lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 0; border-radius: 50%; z-index: 2;
  background: rgba(255,255,255,.12); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; font-family: inherit;
}
.lb__btn:hover { background: #e94f1d; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; cursor: pointer; z-index: 2; }
.lb__close:hover { background: #e94f1d; }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; z-index: 2; }
.lb__hint { position: absolute; bottom: 18px; right: 20px; color: rgba(255,255,255,.45); font-size: 12px; z-index: 2; }
/* Кнопки +/− : зум и там, где жест не сработал (клиент: «открывается крупнее, но не приближается») */
.lb__zoom { position: absolute; top: 16px; left: 20px; display: flex; gap: 8px; z-index: 2; }
.lb__zoom button {
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer; font-family: inherit;
}
.lb__zoom button:hover { background: #e94f1d; }
body.lb-open { overflow: hidden; }
@media (max-width: 768px) {
  .lb__btn { width: 44px; height: 44px; font-size: 26px; }
  .lb__prev { left: 6px; } .lb__next { right: 6px; }
  .lb__img { height: auto; width: 100vw; max-width: none; max-height: 100dvh; }
  .lb__hint { display: none; }
  .lb__zoom { top: auto; bottom: 14px; left: 14px; }
  .lb__zoom button { width: 44px; height: 44px; font-size: 24px; }
  .lb__count { bottom: 26px; }
}


/* ===== Попап входа для сотрудников: штатный bitrix:system.auth.form внутри .md-login =====
   Таблицу компонента растягиваем, поля и кнопку — в стиль остальных форм; «Регистрация» и
   «Забыли пароль?» прячем (регистрации нет, учётки выдаёт админ — правка клиента). */
.md-login .bx-system-auth-form table { width: 100%; border-collapse: collapse; }
.md-login .bx-system-auth-form td { padding: 3px 0 8px; font-size: 14px; color: #777; }
.md-login .bx-system-auth-form td[valign="top"] { width: 24px; padding-top: 2px; }
.md-login .bx-system-auth-form input[type="text"],
.md-login .bx-system-auth-form input[type="password"] {
  width: 100%; height: 50px; box-sizing: border-box; padding: 0 18px; border: 2px solid #eee; border-radius: 14px;
  font: inherit; font-size: 16px; background: #fff; color: #1e1e1e;
}
.md-login .bx-system-auth-form input[type="text"]:focus,
.md-login .bx-system-auth-form input[type="password"]:focus { outline: none; border-color: #e94f1d; }
.md-login .bx-system-auth-form input[type="submit"] {
  width: 100%; height: 56px; border: 0; border-radius: 16px; background: #e94f1d; color: #fff; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px;
}
.md-login .bx-system-auth-form input[type="submit"]:hover { background: #d4451a; }
.md-login .bx-system-auth-form label { font-size: 15px; color: #1e1e1e; }
.md-login .bx-system-auth-form noindex,
.md-login .bx-system-auth-form a[href*="register"],
.md-login .bx-system-auth-form a[href*="forgot_password"] { display: none; }
.md-login .bx-system-auth-form img { border-radius: 8px; }
.md-login .errortext, .md-login .notetext { display: block; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.4; }
.md-login .errortext { background: #fdecec; color: #b3261e; }
.md-login .notetext { background: #eef7ee; color: #2c6b34; }

/* End */


/* Start:/local/templates/motodrive_site_v1/assets/css/catalog.css?179073363215177*/
/* ===================== MOTODRIVE — Каталог ===================== */
.cat { padding: 120px var(--pad-x); display: flex; flex-direction: column; gap: 50px; }
/* верхушка: заголовок слева, поиск/сортировка/счётчик справа в одну строку */
.cat__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cat__top .cat__bar { flex: 1; justify-content: flex-end; }
.cat__top .cat__count { margin-left: 0; }
.cat__title {
  font-family: "Dela Gothic One", "Geologica", sans-serif;
  font-weight: 400; font-size: 110px; line-height: 1; color: #000; margin: 0;
}
.cat__bar { display: flex; align-items: center; gap: 35px; }
.search-box {
  width: 273px; height: 60px; background: #fff; border-radius: 20px;
  box-sizing: border-box; border: 2px solid #e94f1d; margin: 0;
  display: flex; align-items: center; gap: 8px; padding: 0 16px 0 20px;
  color: rgba(30,30,30,.8); font-size: 18px; font-weight: 300;
}
.search-box svg { flex: none; }
.search-box__input {
  flex: 1; min-width: 0; border: 0; background: none; padding: 0;
  font: inherit; color: #1e1e1e; letter-spacing: inherit; outline: none;
}
.search-box__input::placeholder { color: rgba(30,30,30,.8); }
.search-box__input::-webkit-search-cancel-button { display: none; }
.search-box__btn {
  flex: none; display: flex; align-items: center; border: 0; background: none;
  padding: 0; color: rgba(30,30,30,.8); cursor: pointer;
}
.search-box__btn:hover { color: #e94f1d; }
.search-box__clear { flex: none; color: #999; text-decoration: none; font-size: 22px; line-height: 1; }
.search-box__clear:hover { color: #e94f1d; }
.sort-dd {
  height: 44px; padding: 0 20px; background: #d9d9d9; border-radius: 20px;
  display: flex; align-items: center; gap: 10px;
  color: rgba(30,30,30,.8); font-size: 18px; font-weight: 300;
}
.cat__count { margin-left: auto; color: rgba(30,30,30,.8); font-size: 18px; font-weight: 300; }

.cat__body { display: flex; gap: 35px; align-items: flex-start; }
/* Левая колонка: поиск над фильтрами (клиент вернул поиск сюда из верхней панели) */
.cat__side { width: 268px; flex: none; display: flex; flex-direction: column; gap: 25px; }
.cat__side .filters { width: 100%; }
.cat__side .search-box { width: 100%; }

/* --- фильтры --- */
/* Между группами фильтра — воздух (25px), внутри группы: заголовок → ползунок → поля, по 10px.
   Раньше ниже стояло .filters { display:block }, которое молча убивало gap, и заголовки
   прилипали к полям предыдущей группы. */
.filters { width: 268px; flex: none; display: flex; flex-direction: column; gap: 25px; margin: 0; padding: 0; }
.filters__group { display: flex; flex-direction: column; gap: 10px; }
.filters__gt { font-size: 22px; font-weight: 700; color: #000; }
.range { display: flex; gap: 10px; }
/* Поле диапазона: «От 1 000 000» обязано влезать в 129px одной строкой —
   поэтому 16px, узкие отступы и nowrap; раньше значение переносилось на 2 строки. */
.range__field {
  flex: 1 1 0; min-width: 0; width: auto; height: 40px; background: #fff; border-radius: 20px;
  box-sizing: border-box; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  font-size: 16px; font-weight: 300; color: rgba(30,30,30,.8); white-space: nowrap; overflow: hidden;
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .15s;
}
.range__field:focus-within { outline-color: #e94f1d; }
/* значение — редактируемое поле: ввёл число, ползунок подтянулся */
.range__field input {
  flex: 1; min-width: 0; width: 100%; border: 0; background: none; padding: 0; margin: 0;
  font: inherit; color: #1e1e1e; letter-spacing: inherit; outline: none;
}
.range__field .l { color: rgba(30,30,30,.5); }
.range__slider { position: relative; height: 15px; }
.range__slider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px;
  background: #d9d9d9; border-radius: 2px;
}
.range__slider i {
  position: absolute; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: #e94f1d;
}
.range__slider i:first-child { left: 0; }
.range__slider i:last-child { right: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  padding: 5px 10px; border-radius: 20px; background: #fff;
  outline: 2px solid #e94f1d; outline-offset: -2px;
  color: rgba(30,30,30,.8); font-size: 18px; font-weight: 300; cursor: pointer;
}
.chip.is-on { background: #e94f1d; color: #fff; }

.filters__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 5px; }
.btn-apply, .btn-reset {
  width: 268px; height: 60px; border-radius: 20px; border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 500; text-transform: uppercase; cursor: pointer;
  font-family: inherit;
}
.btn-apply { background: #e94f1d; color: #fff; }
.btn-reset { background: #eee; color: #1e1e1e; }

/* --- сетка товаров --- */
/* align-items: stretch — карточки в одном ряду одной высоты, цена у всех на одной линии снизу.
   Высота ряда задаётся самой «содержательной» карточкой, фиксированной высоты нет — белой полосы не будет. */
.cat__grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-content: start; align-items: stretch; }
/* padding-bottom и gap — по макету Figma (code/1920): 30px и 30px */
.prod-card {
  background: #fff; border-radius: 20px;
  outline: 4px solid #e94f1d; outline-offset: -4px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 0 30px; gap: 30px;
}
.prod-card__img { width: 100%; height: 200px; object-fit: cover; }
.prod-card__body { width: 220px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prod-card__name { font-size: 26px; font-weight: 700; color: #1e1e1e; line-height: 28px; }
.prod-card__specs { display: flex; flex-direction: column; gap: 5px; }
/* gap обязателен: на узких экранах space-between схлопывается и подпись
   слипается со значением («Пробег37 583 км»). line-height 1 тоже мало — при
   переносе строки налезали друг на друга. */
.prod-spec {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 18px; font-weight: 300; line-height: 1.25;
}
.prod-spec .l { flex: none; }
.prod-spec .v { text-align: right; }
.prod-spec .l { color: #999; }
.prod-spec .v { color: #1e1e1e; }
/* В макете цена прижата к правому краю колонки 220px (text-align: right) */
.prod-card__price {
  margin-top: auto; padding-top: 10px; text-align: right;
  font-size: 30px; font-weight: 700; color: #1e1e1e; line-height: 30px;
}
.prod-card__price.is-empty { font-size: 20px; font-weight: 500; color: #999; }

/* ===== Типографика по токенам Figma (letter-spacing) ===== */
.search-box, .sort-dd, .cat__count, .filters__gt,
.range__field, .chip, .prod-card__name, .prod-spec { letter-spacing: -0.04em; }
.btn-apply, .btn-reset { letter-spacing: 0.05em; }
.prod-card__price { letter-spacing: -0.05em; }

/* ===== POPUP карточки товара ===== */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__panel {
  position: relative; z-index: 1;
  width: 1620px; max-width: 95vw; height: 90vh;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.modal__frame { width: 100%; height: 100%; border: 0; display: block; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #e94f1d; color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.prod-card { cursor: pointer; }

/* ============================================================
   Умный фильтр (bitrix:catalog.smart.filter) — под тему МОТОДРАЙВ
   ============================================================ */
.filters .bx-filter { font: inherit; }
.filters .bx-filter-section,
.filters .bx-filter-title { display: none; }               /* лишний заголовок секции */
.filters .bx-filter-parameters-box { border: 0; margin: 0 0 18px; padding: 0; }
.filters .bx-filter-parameters-box-title {
  font-weight: 700; font-size: 15px; color: #1e1e1e; margin: 0 0 10px; padding: 0; cursor: default;
}
.filters .bx-filter-parameters-box-title:after { display: none; }
.filters .bx-filter-block { padding: 0; }
.filters .bx-filter-param-label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 8px 0; padding: 6px 12px;
  border: 1px solid #e94f1d; border-radius: 999px; cursor: pointer; font-size: 13px; color: #1e1e1e;
  background: #fff; transition: background .15s, color .15s;
}
.filters .bx-filter-param-label:hover { background: rgba(233,79,29,.08); }
.filters .bx-filter-input-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.filters .bx-filter-param-label .bx-filter-param-text { color: inherit; }
.filters .bx-filter-input-checkbox.checked .bx-filter-param-label,
.filters .bx-filter-param-label.bx-active { background: #e94f1d; color: #fff; border-color: #e94f1d; }
.filters .bx-filter-count { opacity: .7; margin-left: 2px; }
.filters .bx-filter-param-label.disabled { opacity: .4; cursor: default; }

/* Диапазоны/ползунки (цена, объём, пробег) */
.filters .bx-filter-parameters-box-container-block { padding: 4px 0 0; }
.filters .bx-filter-input-container { display: flex; gap: 10px; margin-bottom: 10px; }
.filters .bx-filter-input-container .bx-filter-input-field,
.filters .bx-filter-input-container input {
  width: 100%; border: 1px solid #ddd; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13px;
}
.filters .bx-ui-slider-track { background: #eee; height: 4px; border: 0; }
.filters .bx-ui-slider-range { background: #e94f1d; height: 4px; }
.filters .bx-ui-slider-handle { background: #e94f1d; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); width: 16px; height: 16px; top: -6px; }
.filters .bx-ui-slider-pricebar-vd, .filters .bx-ui-slider-pricebar-vn { background: #e94f1d; }

/* Кнопки «Показать/Сбросить» */
.filters .bx-filter-button-box { padding: 6px 0 0; }
.filters .bx-filter-parameters-box-container .btn,
.filters .bx-filter-btn-block input[type="submit"],
.filters #set_filter, .filters #modef {
  display: block; width: 100%; border: 0; border-radius: 999px; padding: 12px; margin-bottom: 8px;
  font: inherit; font-weight: 700; cursor: pointer; background: #e94f1d; color: #fff;
}
.filters #del_filter, .filters #modef {
  background: transparent; color: #1e1e1e; border: 1px solid #ddd; font-weight: 500;
}
.filters .bx-filter-popup-result { display: none; }         /* всплывашка «найдено N» */

/* ============================================================
   Кастомный фильтр каталога (чипы-чекбоксы + диапазоны)
   ============================================================ */
.filters .chip { cursor: pointer; user-select: none; position: relative; }
.filters .chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.filters .chip__c { opacity: .6; }
.filters .range__field { display: flex; align-items: center; gap: 6px; }
.filters .btn-reset {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; text-align: center;
}
.cat__empty { padding: 40px 0; color: #666; font-size: 16px; }
.cat__empty a { color: #e94f1d; }

/* ===================== Рабочий двуручковый слайдер диапазона ===================== */
.range__slider[data-slider] { height: 24px; margin-top: 2px; }
.range__slider[data-slider]::before { top: 11px; }
.range__fill { position: absolute; top: 11px; height: 3px; background: #e94f1d; border-radius: 2px; }
.range__input {
  position: absolute; left: 0; top: 0; width: 100%; height: 24px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range__input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #e94f1d; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3);
  cursor: pointer; pointer-events: auto; margin-top: 0;
}
.range__input::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #e94f1d; border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.3); cursor: pointer; pointer-events: auto;
}
.range__input::-webkit-slider-runnable-track { background: transparent; border: 0; }
.range__input::-moz-range-track { background: transparent; border: 0; }
.range__input--max { z-index: 2; }

/* ===================== Пагинация каталога ===================== */
.pager {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 40px;
}
.pager__page, .pager__nav {
  min-width: 44px; height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; background: #fff; color: #1e1e1e;
  font-size: 18px; font-weight: 500; text-decoration: none;
  outline: 2px solid #e94f1d; outline-offset: -2px;
  letter-spacing: -0.04em; transition: background .15s, color .15s;
}
.pager__page:hover, .pager__nav:hover { background: rgba(233,79,29,.1); }
.pager__page.is-cur { background: #e94f1d; color: #fff; cursor: default; }
.pager__nav { font-size: 24px; line-height: 1; }
.pager__nav.is-disabled { opacity: .35; outline-color: #d9d9d9; color: #999; pointer-events: none; }
.pager__gap { padding: 0 4px; color: #999; font-size: 18px; align-self: flex-end; }

/* служебная строка менеджера на плитке: VIN и группа 1С */
.prod-card__mgr {
  display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: -8px;
  font-size: 13px; color: #999; letter-spacing: -0.02em;
}
.prod-card__mgr b { font-weight: 500; color: #1e1e1e; }

/* End */


/* Start:/local/templates/motodrive_site_v1/assets/css/responsive.css?179073363217991*/
/* ============================================================
   MOTODRIVE — адаптив (media queries по брейкпоинтам Figma)
   База = 1920 (style.css/home.css/…). Здесь — вниз, desktop-first.
   Брейкпоинты: 1440 / 992 / 768 / 480 / 360
   Горизонтальные поля секций = var(--pad-x) (по умолч. 150px).
   ============================================================ */

/* кнопка «Фильтры» — только на мобильных (≤768) */
.filters-toggle { display: none; }

/* ======================= ≤ 1440 ======================= */
@media (max-width: 1440px) {
  .hero__title, .howtobuy__h1,
  .cat__title, .rev__title, .faqp__title { font-size: 80px; }
  .prod__title { font-size: 52px; }

  .menu { font-size: 16px; letter-spacing: -0.04em; }
  .call__num { font-size: 16px; letter-spacing: -0.04em; }

  /* hero: подзаголовок 24 → 18 (Figma 1440) */
  .hero__subtitle { font-size: 18px; line-height: 1.3; }

  /* каталог: 4 → 3 колонки (отзывы остаются 4 до ≤992) */
  .cat__grid { grid-template-columns: repeat(3, 1fr); }
  /* название карточки каталога: 26 → 24 */
  .prod-card__name { font-size: 24px; line-height: 26px; }
  /* аукцион: лоты в 1 колонку (горизонтальные) */
  .lots { grid-template-columns: 1fr; }
  /* product: правая колонка уже (340), галерея шире */
  .prod__side { width: 340px; }
  /* FAQ: категория/вопрос 28→24, ответ 20→18 */
  .faq-cat__label, .faq-q__q { font-size: 24px; }
  .faq-q__answer { font-size: 18px; }
}

/* ======================= ≤ 992 ======================= */
@media (max-width: 992px) {
  :root { --pad-x: 100px; }

  /* шапка на 992: поле 40, меню плотное (Figma) */
  .site-header { padding-left: 40px; padding-right: 40px; }
  .menu { gap: 5px; }
  .logo img { width: 150px; height: auto; }

  /* hero чуть ниже */
  .hero { height: 640px; }

  /* каталог: 2 колонки, фильтры уже */
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .rev__grid { grid-template-columns: repeat(2, 1fr); }

  /* аукцион: лоты — вертикальные карточки, 2 колонки */
  .lots { grid-template-columns: repeat(2, 1fr); }
  .lot { flex-direction: column; height: auto; }
  .lot__img { width: 100%; height: 200px; }
  .lot__main { padding: 16px; }
  .lot__price { padding: 0 16px 16px; align-items: flex-start; text-align: left; }

  /* карточки newbike чуть меньше */
  .moto-card { width: 300px; }
  .moto-card__img { height: 190px; }

  /* howtobuy: 2 колонки */
  .howtobuy__list { grid-template-columns: repeat(2, 1fr); }
  .step-card { min-height: 300px; }

  /* бренд-строка: ниже, мотоцикл меньше, полосы по ширине */
  .brandline { height: 700px; }
  .brandline__bg { width: 988px; height: 651px; }
  .brand-strip-img { width: 100%; height: auto; }

  /* product: стек (галерея сверху, инфо снизу), поле как у секций */
  .prod { padding-left: var(--pad-x); padding-right: var(--pad-x); }
  .prod__main { flex-direction: column; align-items: stretch; }
  .prod__gallery { flex: none; width: 100%; }
  .prod__side { width: 100%; }
}

/* ======================= ≤ 768 ======================= */
@media (max-width: 768px) {
  :root { --pad-x: 50px; }

  .hero__title, .howtobuy__h1,
  .cat__title, .rev__title, .faqp__title { font-size: 54px; }
  .prod__title { font-size: 40px; }
  /* FAQ: на планшете и уже вопросы во всю ширину, а не в правой половине */
  .faq-cat__body { padding-left: 0; }

  /* вертикальные поля секций компактнее */
  .newbike, .about, .advantages, .cat, .rev, .prod, .faqp { padding-top: 60px; padding-bottom: 60px; }
  .reviews { padding-top: 40px; }
  .howtobuy { padding-top: 60px; padding-bottom: 60px; }

  /* --- ШАПКА: бургер --- */
  .menu, .call__num, .site-header .socials, .site-header .mgr-login-link, .cart-link__label, .callback-btn span { display: none; }
  .cart-link { padding: 0; width: 40px; justify-content: center; border: 0; }
  .cart-link:hover { background: none; color: #e94f1d; }
  .cart-link__count { top: 0; right: 0; }
  .callback-btn { width: 40px; padding: 0; justify-content: center; background: none; color: #e94f1d; border: 0; }
  .site-header .call { margin-left: auto; margin-right: 0; }
  .burger { display: flex; }
  .site-header { padding: 11px var(--pad-x); }

  /* Фон hero был жёстко 1920×1288 с top:-133px — десктопные размеры, которые
     в адаптиве никто не отменял. На телефоне элемент картинки оставался 1920px:
     видно было ~20% кадра, а srcset честно отдавал копию под 375px, и она
     растягивалась впятеро — отсюда «мыло». Вписываем картинку в hero. */
  .hero__bg { inset: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

  /* --- HERO: текст в потоке (вместо абсолюта) ---
     Слайдер обернул текст в .hero__slide (position:absolute; inset:0), поэтому
     отступы надо вешать на слайд — до padding у .hero текст уже не достаёт и
     упирался в самый край экрана. */
  .hero { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
  .hero__slide { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 40px var(--pad-x); }
  .hero__title, .hero__subtitle, .hero__addr { position: relative; left: auto; top: auto; z-index: 2; }
  /* line-height был жёстко 110px и не уменьшался вместе с кеглем */
  .hero__title { line-height: 1.05; }
  /* по макету на телефоне текст hero выровнен по центру */
  .hero__slide { align-items: center; text-align: center; }
  /* У точек было top: 765px — координата из десктопного hero высотой 800px.
     На мобиле hero 400px, точки уезжали за него и срезались overflow: hidden. */
  .hero__dots { top: auto; bottom: 16px; z-index: 3; }
  .hero__subtitle { font-size: 14px; }

  /* --- БЕНТО about: в 1 колонку --- */
  .about__row { flex-direction: column; }
  .about-card--wide, .about-card--narrow { width: 100%; }
  /* Картинки в карточках широкие (940×420). Как фон с object-fit: cover в колонку
     315px от них видно треть — выглядит «сжатым». По макету 360 картинка лежит
     ПОД текстом, поэтому на мобиле вынимаем её из фона в обычный блок. */
  .about-card { height: auto; padding: 20px 20px 0; gap: 12px; overflow: hidden; }
  /* height: auto, а не фиксированные 200px с object-fit: cover — мобильные кадры
     выгружены под ширину карточки, и обрезка убила бы ровно то, ради чего их делали.
     Картинка идёт вровень с краями карточки, поэтому отрицательные поля. */
  .about-card__img {
    position: relative; inset: auto; order: 2;
    width: calc(100% + 40px); margin: 4px -20px 0;
    height: auto; border-radius: 0; object-fit: contain;
  }
  .about-card > *:not(.about-card__img) { order: 1; }
  /* По макету тег лежит ПОВЕРХ картинки в левом нижнем углу — и это просто
     текст, без рамки-пилюли, которая есть на десктопе. Ширину ограничиваем,
     чтобы длинная подпись переносилась на вторую строку, а не резалась. */
  .about-card .about-tags {
    position: absolute; left: 20px; right: 20px; bottom: 14px;
    z-index: 3; margin: 0; gap: 4px 12px;
  }
  .about-card .about-tag {
    outline: none; border: 0; padding: 2px 10px;
    font-size: 14px; line-height: 16.8px; color: #fff;
  }
  .about-card--wide .about-tags { display: flex; }
  /* Цвет подписи зависит не от типа карточки, а от того, насколько тёмный НИЗ
     картинки под ней. Управляется из админки: добавьте `tag-light` в свойство
     STYLE — подпись станет белой (нужно, например, «Мотоциклам из Японии»,
     где низ кадра оранжевый). */
  .about-card--tag-light .about-tag { color: #fff; }
  .about-card__desc { max-width: none; }
  /* градиент под текст нужен только поверх картинки-фона — здесь он лишний */
  .about-card--dark::after { display: none; }
  .about-card--dark { background: #1e1e1e; }
  .about-card--light { background: #fff; }

  /* --- ПРЕИМУЩЕСТВА ---
     Отменяем display:contents: .adv снова обычная колонка, иконка стоит над
     СВОИМ заголовком. По макету 360 пункты не в белых карточках — они идут
     по фону страницы, а разделяет их оранжевая полоса ВО ВСЮ ШИРИНУ экрана
     с точкой по центру, поэтому полосе даём отрицательные поля. */
  .advantages__inner { display: flex; flex-direction: column; gap: 0; }
  .adv {
    display: flex; flex-direction: column; gap: 15px;
    background: none; border-radius: 0; padding: 0 0 30px;
  }
  .adv__icon { padding: 20px 0 10px; }
  .adv__icon img { width: 125px; height: 125px; }
  .adv__line {
    grid-row: auto; height: 16px; margin: 0 calc(var(--pad-x) * -1) 15px;
  }
  .adv__line::before { left: 0; right: 0; top: 6px; }
  .adv__line span { display: block; }
  .adv__title, .adv__desc { grid-row: auto; }
  .adv__desc { margin-top: 0; }

  /* --- REVIEWS (главная): 2 в ряд --- */
  .reviews__row { flex-wrap: wrap; }
  .reviews__row .review-card { flex: 1 1 45%; min-width: 260px; }
  .reviews__actions { flex-wrap: wrap; }
  .reviews__actions .btn-outline { width: 100%; }

  /* --- КАТАЛОГ: тоггл «Фильтры», 2 колонки --- */
  .cat__top { flex-direction: column; align-items: stretch; gap: 20px; }
  .cat__top .cat__bar { justify-content: flex-start; }
  .cat__bar { flex-wrap: wrap; gap: 12px; }
  .search-box { width: 100%; height: 50px; }
  /* кабинет менеджера */
  .mgr { padding: 60px var(--pad-x); }
  .mgr__title { font-size: 54px; }
  .mgr-item { flex-wrap: wrap; }
  .mgr-item__price { width: 100%; text-align: left; }
  .cat__count { margin-left: 0; }
  .cat__body { flex-direction: column; }
  .cat__side { width: 100%; gap: 12px; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 8px 0; background: none; border: 0;
    font-family: "Geologica", sans-serif; font-weight: 700; font-size: 18px;
    letter-spacing: -0.04em; color: #1e1e1e; cursor: pointer;
  }
  .filters-toggle svg { transition: transform .2s ease; }
  .filters-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .filters { width: 100%; display: none; gap: 20px; }
  .cat__body.filters-open .filters { display: flex; }
  /* поля диапазона по макету 360: 30px, 13px */
  .filters .range__field { height: 30px; font-size: 13px; padding: 0 10px; gap: 4px; }
  .filters__gt { font-size: 18px; }
  .cat__grid { grid-template-columns: repeat(2, 1fr); }
  .rev__grid { grid-template-columns: repeat(2, 1fr); }

  /* --- ПРОДУКТ: фото ниже (стек уже с ≤992) --- */
  .gallery__main { height: 420px; }

  /* --- FAQ: категория/вопрос 20, ответ 16 --- */
  .faq-cat__label, .faq-q__q { font-size: 20px; }
  .faq-q__answer { font-size: 16px; }

  /* --- ФУТЕР 768: спец-раскладка --- */
  .footer { height: auto; padding: 60px var(--pad-x); gap: 40px; margin-top: 20px; }
  .footer__glow { display: none; }
  .footer__logo img { width: 100%; height: auto; }
  .footer__bottom { flex-wrap: wrap; gap: 40px; }
  .footer__about { order: 1; width: 100%; }
  .footer__menu { order: 2; }
  .footer__contacts { order: 3; align-items: flex-start; text-align: left; }
  .footer__contacts-info { align-items: flex-start; text-align: left; }
  /* на телефоне блоки подвала шли сплошняком — разводим и уменьшаем кегль */
  .footer__bottom { flex-direction: column; gap: 32px; }
  .footer__desc { font-size: 18px; line-height: 1.35; }
  .footer__docs { margin-top: 20px; gap: 10px; }
  .footer__menu { gap: 12px; }
  .footer__menu a { font-size: 18px; }
  .footer__contacts { gap: 20px; }
}

/* ======================= ≤ 480 ======================= */
@media (max-width: 480px) {
  /* Ниже — размеры прямо из макета 360w (code/360/html/main.txt), а не «на глаз»:
     поля 15px, секции 40px по вертикали, hero 400px с заголовком 30/33. */
  :root { --pad-x: 15px; }

  .hero__title, .howtobuy__h1,
  .cat__title, .rev__title, .faqp__title { font-size: 30px; line-height: 33px; }
  .prod__title { font-size: 26px; line-height: 1.1; }
  .hero { height: 400px; }
  .hero__slide { padding: 20px var(--pad-x); }
  .hero__subtitle { font-size: 14px; line-height: 1.3; }
  .hero__addr { font-size: 12px; }

  /* вертикальные поля секций — 40px */
  .newbike, .about, .advantages, .cat, .rev, .prod, .faqp, .howtobuy, .reviews {
    padding-top: 40px; padding-bottom: 40px;
  }

  /* карточка новинки: картинка 100, имя 16/18, характеристики 14/15, цена 18, кнопка 40 */
  .moto-card__img { height: 100px; }
  .moto-card__name { font-size: 16px; line-height: 18px; }
  .moto-card__spec { font-size: 14px; line-height: 15px; }
  .moto-card__price { font-size: 18px; line-height: 18px; }
  .moto-card__price.is-empty { font-size: 14px; }
  .moto-card__more { height: 40px; font-size: 12px; }

  /* «О компании»: заголовок 20/24, текст и теги 14 */
  .about-card__title { font-size: 20px; line-height: 24px; }
  .about-card__desc, .about-tag { font-size: 14px; line-height: 16.8px; }

  /* Преимущества: иконка 125, заголовок 24/28.8 */
  .adv__icon img { width: 125px; height: 125px; }
  .adv__title { font-size: 24px; line-height: 28.8px; }
  .adv__desc { font-size: 14px; line-height: 16.8px; }

  .review-card { min-height: 260px; }
  /* в макете 360 все шаги одинаковые — оранжевой рамки у первого нет */
  .step-card--active { outline: none; }

  /* каталог остаётся 2 колонки (карточка 197px); отзывы/howtobuy — 1 */
  .rev__grid { grid-template-columns: 1fr; }
  .howtobuy__list { grid-template-columns: 1fr; }
  .reviews__row .review-card { flex: 1 1 100%; }
  /* карточка каталога: резиновое тело под узкие колонки */
  .prod-card { align-items: stretch; gap: 16px; padding-bottom: 16px; }
  .prod-card__body { width: auto; padding: 0 12px; }
  .prod-card__name { font-size: 17px; line-height: 1.15; }
  .prod-card__img { height: 140px; }
  /* на 2 колонки по 143px подписи не помещаются в строку — переносим */
  .prod-spec { flex-wrap: wrap; gap: 0 8px; font-size: 14px; }
  .prod-spec .v { flex: 1 0 auto; }
  .prod-card__price { font-size: 20px; padding-top: 6px; }
  .prod-card__price.is-empty { font-size: 14px; }

  /* лента новинок: две карточки на экран, как в макете 360 */
  .moto-card { width: calc(50% - 10px); min-width: 150px; }
  .moto-card__img { width: 100%; height: 130px; }
  .moto-card__name { font-size: 16px; line-height: 1.15; }
  .moto-card__spec { font-size: 13px; gap: 8px; }
  .moto-card__price { font-size: 18px; }
  .moto-card__more { height: 44px; font-size: 14px; }

  /* галерея товара: миниатюры мельче */
  .gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
  .gallery__main { height: 300px; }

  /* FAQ: категория/вопрос 16, ответ 14 */
  .faq-cat__label, .faq-q__q { font-size: 16px; }
  .faq-q__answer { font-size: 14px; }

  /* бренд-строка: ещё компактнее */
  .brandline { height: 460px; }
  .brandline__bg { width: 609px; height: 401px; }
}

/* ======================= ≤ 360 ======================= */
@media (max-width: 360px) {
  :root { --pad-x: 15px; }

  .hero__title, .howtobuy__h1,
  .cat__title, .rev__title, .prod__title, .faqp__title { font-size: 30px; }

  .moto-card { width: 260px; }
  .moto-card__img { width: 260px; }

  /* каталог: 1 колонка (карточка 324px) */
  .cat__grid { grid-template-columns: 1fr; }
  /* аукцион: лоты в 1 колонку (вертикальные) */
  .lots { grid-template-columns: 1fr; }
  /* FAQ: вопрос 14, ответ 12 */
  .faq-q__q { font-size: 14px; }
  .faq-q__answer { font-size: 12px; }

  /* бренд-строка */
  .brandline { height: 400px; }
  .brandline__bg { width: 543px; height: 357px; }
}

/* End */


/* Start:/bitrix/components/bitrix/system.auth.form/templates/.default/style.min.css?1765168779424*/
div.bx-system-auth-form span.bx-auth-secure{background-color:#fffae3;border:1px solid #dedbc8;padding:2px;display:inline-block;vertical-align:bottom;margin-top:-1px}div.bx-system-auth-form div.bx-auth-secure-icon{background-image:url(/bitrix/components/bitrix/system.auth.form/templates/.default/images/sec.png);background-repeat:no-repeat;background-position:center;width:19px;height:18px}div.bx-system-auth-form div.bx-auth-secure-unlock{background-image:url(/bitrix/components/bitrix/system.auth.form/templates/.default/images/sec-unlocked.png)}
/* End */


/* Start:/local/templates/motodrive_site_v1/styles.css?1790733632133*/
/* Стили областей визуального редактора — при необходимости дополните */

/* End */


/* Start:/local/templates/motodrive_site_v1/template_styles.css?1790733632146*/
/* Общие стили шаблона, редактируемые в админке — при необходимости дополните */

/* End */
/* /local/templates/motodrive_site_v1/assets/css/style.css?179073363227786 */
/* /local/templates/motodrive_site_v1/assets/css/catalog.css?179073363215177 */
/* /local/templates/motodrive_site_v1/assets/css/responsive.css?179073363217991 */
/* /bitrix/components/bitrix/system.auth.form/templates/.default/style.min.css?1765168779424 */
/* /local/templates/motodrive_site_v1/styles.css?1790733632133 */
/* /local/templates/motodrive_site_v1/template_styles.css?1790733632146 */
