/* AutoTrader: стили статической версии сайта */

/* Бургер-меню нового дизайна (полноэкранное) */
.menu-wrapper.js-menu-wrapper { transition: none !important; }
.menu-wrapper.js-menu-wrapper.show {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: auto !important;
  z-index: 1100 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.menu-wrapper.js-menu-wrapper.show .menu-inner { min-height: 100%; }
html.at-menu-open, html.at-menu-open body { overflow: hidden; }

/* Слайдеры, которые без JS были бы невидимыми */
.product-card-slider.slick-initialized,
.product-card-slider.is-visible { opacity: 1 !important; }

/* Галерея СТО на главной */
.slick-sto img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; display: block; }

/* Отсутствующие картинки: без «битой» иконки */
img.at-img-missing { visibility: hidden; }

/* Нативное видео вместо Presto Player */
video.at-video { background: #000; max-width: 100%; }

/* Заявки */
.at-lead-ok { padding: 16px 18px; border-radius: 12px; background: #e9f8ee; color: #155724; border: 1px solid #b7e4c4; margin: 10px 0; }
.at-lead-ok p { margin: 0; }
.at-lead-fail { padding: 14px 16px; border-radius: 12px; background: #fff3e6; color: #6a3b00; border: 1px solid #ffd2a6; margin: 10px 0; }
.at-lead-fail .btn { margin: 6px 6px 0 0; }
em.at-field-error { display: block; color: #e0301e; font-size: 12px; font-style: normal; margin-top: 4px; }
/* Сортировка WooCommerce требовала сервер — в статической версии скрыта */
.woocommerce-ordering, .woocommerce-viewing { display: none !important; }

/* Конфигуратор: замена утерянных картинок */
.at-swatch { display: inline-block; width: 100%; height: 100%; min-width: 22px; min-height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.35); vertical-align: middle; }
.at-swatch-lg { width: 64px; height: 64px; min-width: 64px; flex: 0 0 64px; }
.at-render-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 180px; aspect-ratio: 16 / 7; border-radius: 16px; background: radial-gradient(120% 90% at 50% 20%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%), #202124; color: #fff; text-align: center; padding: 16px; box-sizing: border-box; }
.at-render-ph__t { font: 600 16px/1.3 Montserrat, Arial, sans-serif; max-width: 90%; }
.at-render-ph__s { font: 12px/1.3 Montserrat, Arial, sans-serif; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }

/* Конфигуратор: реальные фото модели вместо утерянных рендеров */
img.at-cfg-photo { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.at-cfg-cap { display: block; margin-top: 6px; font: 500 11px/1.3 Montserrat, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: .6; text-align: center; }
