/*
 * premium-redesign.css — Визуальный редизайн «С иголочки | 37»
 * Версия 3.0 — SAFE: только цвета и оформление, без ломания layout
 *
 * ПРИНЦИПЫ:
 *  - Никаких display:/position:/flex: на структурных элементах
 *  - !important только там, где нужно перебить конкретный inline-style
 *  - Мобильная навигация (.mobile-bottom-nav) — НЕ ТРОГАЕМ совсем
 *  - Плавающие кнопки (.side-fab-stack) — НЕ ТРОГАЕМ совсем
 */

/* ═══════════════════════════════════════════════════════════════
   0. CSS ПЕРЕМЕННЫЕ — красный как основной цвет
   ═══════════════════════════════════════════════════════════════ */
:root {
  --color-primary:       #8B1A1A;
  --color-primary-dark:  #6B1212;
  --color-primary-light: #A52020;
  --color-accent:        #C0392B;
  --rd-primary:          #8B1A1A;
  --rd-accent:           #C0392B;
}

/* ═══════════════════════════════════════════════════════════════
   1. ИСПРАВЛЕНИЕ НОРМАЛЬНОГО РЕЖИМА
   Когда autumn-mode ВЫКЛЮЧЕН — все цены и акценты = красный
   ═══════════════════════════════════════════════════════════════ */
body:not(.autumn-mode) {
  --color-primary:       #8B1A1A;
  --color-primary-dark:  #6B1212;
  --color-primary-light: #A52020;
  --color-accent:        #C0392B;
  --rd-primary:          #8B1A1A;
}

/* Цены — красный в обычном режиме */
body:not(.autumn-mode) .product-card-price {
  color: #8B1A1A !important;
}
body:not(.autumn-mode) .product-price {
  color: #8B1A1A !important;
}
body:not(.autumn-mode) .stat-value {
  color: #8B1A1A !important;
}

/* Активная категория в сайдбаре */
body:not(.autumn-mode) .sidebar-cat--active {
  background: #8B1A1A !important;
  color: #fff !important;
}

/* Активная пагинация */
body:not(.autumn-mode) .page-btn.active {
  background: #8B1A1A !important;
  border-color: #8B1A1A !important;
  color: #fff !important;
}
body:not(.autumn-mode) .page-btn:not(.active) {
  color: #8B1A1A;
  border-color: rgba(139,26,26,.2);
}

/* Кнопки */
body:not(.autumn-mode) .btn-primary {
  background: #8B1A1A !important;
  border-color: #8B1A1A !important;
  color: #fff !important;
}
body:not(.autumn-mode) .btn-primary:hover {
  background: #6B1212 !important;
  border-color: #6B1212 !important;
}

/* ═══════════════════════════════════════════════════════════════
   2. ШАПКА — красный градиент
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  background: linear-gradient(135deg, #6B1212 0%, #8B1A1A 100%) !important;
  box-shadow: 0 2px 16px rgba(139,26,26,.3) !important;
  border-bottom: none !important;
}

/* Анимированная полоска под шапкой */
.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #C0392B, #e74c3c, #ff8a80, #e74c3c, #C0392B);
  background-size: 200% auto;
  animation: prd-stripe 4s linear infinite;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
@keyframes prd-stripe {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}

/* Логотип в шапке */
.header-logo {
  color: #FFE8E8 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.header-logo:hover { color: #fff !important; }

/* Навигация в шапке */
.header-nav a {
  color: rgba(255,220,220,.9) !important;
  font-weight: 500 !important;
}
.header-nav a:hover,
.header-nav a.active {
  color: #fff !important;
}

/* ── КНОПКИ В ШАПКЕ — выразительные, с чётким hover ── */

/* Общие свойства для всех кнопок в шапке */
.header-actions .btn,
.header-actions .cart-btn,
.header-actions .tryon-header-btn,
.header-actions .header-balance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease,
              box-shadow .16s ease, transform .12s ease;
  text-decoration: none !important;
  line-height: 1;
  border: 2px solid transparent;
}

/* — Корзина: белая кнопка с красным текстом — самая заметная */
.cart-btn {
  background: #fff !important;
  border-color: #fff !important;
  color: #8B1A1A !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.2) !important;
}
.cart-btn:hover {
  background: #FFE8E8 !important;
  border-color: #FFE8E8 !important;
  color: #6B1212 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.28) !important;
  transform: translateY(-1px);
}
.cart-btn svg { color: #8B1A1A !important; }
.cart-btn:hover svg { color: #6B1212 !important; }

/* Счётчик корзины */
.cart-count {
  background: #8B1A1A !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  padding: 2px 6px !important;
  min-width: 18px !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

/* — Профиль: полупрозрачный белый с белым текстом */
.header-actions .btn-secondary {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
}
.header-actions .btn-secondary:hover {
  background: rgba(255,255,255,.28) !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.2) !important;
  transform: translateY(-1px);
}

/* — Войти: контурная белая */
.header-actions .btn-outline {
  background: transparent !important;
  border-color: rgba(255,255,255,.6) !important;
  color: #fff !important;
}
.header-actions .btn-outline:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.18) !important;
  transform: translateY(-1px);
}

/* — Баланс: тёмный полупрозрачный блок */
.header-balance {
  background: rgba(0,0,0,.25) !important;
  border: 2px solid rgba(255,255,255,.2) !important;
  border-radius: 8px !important;
  color: #fff !important;
  padding: 7px 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.header-balance:hover {
  background: rgba(0,0,0,.38) !important;
  border-color: rgba(255,255,255,.45) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.22) !important;
  transform: translateY(-1px);
}

/* — ИИ-примерка: gold/жёлтый акцент чтобы выделялась */
.tryon-header-btn {
  background: rgba(255,213,100,.15) !important;
  border: 2px solid rgba(255,213,100,.45) !important;
  color: #FFD564 !important;
  border-radius: 8px !important;
  padding: 7px 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
}
.tryon-header-btn:hover {
  background: rgba(255,213,100,.28) !important;
  border-color: rgba(255,213,100,.8) !important;
  color: #FFE590 !important;
  box-shadow: 0 3px 14px rgba(255,200,50,.25) !important;
  transform: translateY(-1px);
}
.tryon-header-btn .tryon-spark,
.tryon-header-btn svg {
  color: #FFD564 !important;
}

/* Навигация — подчёркивание при hover, не смешивание цвета */
.header-nav a {
  color: rgba(255,235,235,.85) !important;
  font-weight: 500 !important;
  padding-bottom: 3px !important;
  border-bottom: 2px solid transparent !important;
  transition: color .15s, border-color .15s !important;
}
.header-nav a:hover {
  color: #fff !important;
  border-bottom-color: rgba(255,200,200,.6) !important;
}
.header-nav a.active {
  color: #fff !important;
  border-bottom-color: rgba(255,255,255,.8) !important;
  font-weight: 700 !important;
}

/* Бургер-кнопка на мобильных */
.burger span {
  background: rgba(255,230,230,.9) !important;
}

/* ═══════════════════════════════════════════════════════════════
   3. КАРТОЧКИ ТОВАРОВ
   ═══════════════════════════════════════════════════════════════ */
.product-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(139,26,26,.1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,26,.14), 0 4px 10px rgba(0,0,0,.06);
  border-color: rgba(139,26,26,.22);
}

/* Цена в карточке */
.product-card-price {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

/* Кнопка "Купить" в карточке */
.product-card__buy {
  background: #8B1A1A !important;
  color: #fff !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
  transition: background .16s ease !important;
}
.product-card__buy:hover {
  background: #6B1212 !important;
  color: #fff !important;
}

/* Кнопка избранного */
.pc-fav {
  background: rgba(255,255,255,.92) !important;
  border: 1.5px solid rgba(139,26,26,.18) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
  transition: all .16s ease !important;
}
.pc-fav:hover,
.pc-fav.is-active {
  background: #8B1A1A !important;
  border-color: #8B1A1A !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   4. БЛОК ЦЕНЫ РАСПРОДАЖИ (price_sale)
   ═══════════════════════════════════════════════════════════════ */
.price-sale-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-opt2-crossed {
  color: #aaa;
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 400;
}
.price-sale-val {
  color: #c0392b;
  font-size: 19px;
  font-weight: 700;
}
.price-sale-badge {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.5;
  vertical-align: middle;
}

/* Бейджи на карточке */
.product-badge {
  background: #8B1A1A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(139,26,26,.3);
  letter-spacing: .3px;
}
.product-badge--hit { background: #E67E22 !important; }
.product-badge--sale { background: #c0392b !important; }

/* ═══════════════════════════════════════════════════════════════
   5. ПОИСК — кнопка рядом с полем (форма уже исправлена в PHP)
   ═══════════════════════════════════════════════════════════════ */

/* Главная форма поиска в каталоге */
.catalog-search-row {
  display: flex;
  border: 2px solid #8B1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(139,26,26,.14);
  background: #fff;
  max-width: 640px;
  margin: 0 auto 28px;
}
.catalog-search-input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: #1a1a1a;
  min-width: 0;
}
.catalog-search-input::placeholder { color: #bbb; }
.catalog-search-btn {
  padding: 13px 24px;
  background: #8B1A1A;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  transition: background .15s;
}
.catalog-search-btn:hover { background: #6B1212; }

/* Поиск в сайдбаре */
.sidebar-search-row {
  display: flex;
  border: 1.5px solid #8B1A1A;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sidebar-search-row input {
  flex: 1;
  padding: 8px 10px;
  border: none;
  outline: none;
  font-size: 13px;
  min-width: 0;
}
.sidebar-search-btn {
  padding: 0 12px;
  background: #8B1A1A;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.sidebar-search-btn:hover { background: #6B1212; }

/* ═══════════════════════════════════════════════════════════════
   6. ПОДВАЛ
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(160deg, #200505 0%, #2a0606 40%, #1a0404 100%) !important;
  border-top: 2px solid rgba(139,26,26,.45) !important;
}

/* Весь текст в футере — приглушённый тёплый, не белый */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span {
  color: rgba(210,170,170,.68) !important;
}

/* Заголовки колонок — чуть ярче, но не белые */
.site-footer h4 {
  color: rgba(220,175,175,.85) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  border-bottom: 1px solid rgba(139,26,26,.3) !important;
  padding-bottom: 8px !important;
  margin-bottom: 14px !important;
}

/* Ссылки — мягко, с hover-осветлением */
.site-footer a {
  color: rgba(205,160,160,.72) !important;
  text-decoration: none !important;
}
.site-footer a:hover {
  color: rgba(240,200,200,.9) !important;
  text-decoration: none !important;
}

/* Логотип — самый заметный элемент, но не слепящий */
.footer-logo {
  color: rgba(230,185,185,.9) !important;
  font-family: Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 19px !important;
}

/* Нижняя полоса — совсем тихая */
.footer-bottom {
  border-top: 1px solid rgba(139,26,26,.22) !important;
  color: rgba(180,130,130,.45) !important;
}
.footer-bottom a {
  color: rgba(180,130,130,.55) !important;
}
.footer-bottom a:hover {
  color: rgba(210,165,165,.8) !important;
}

/* Кредит разработчика */
.dev-credit {
  background: #0d0202 !important;
}
.dev-credit-link,
.dev-credit-text,
.dev-credit-name,
.dev-credit-brand,
.dev-credit-tag {
  color: rgba(170,120,120,.4) !important;
}

/* Карточка поддержки в футере */
.footer-support-card {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(139,26,26,.22) !important;
  border-radius: 10px !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
}
.footer-support-btn {
  display: inline-block;
  background: rgba(139,26,26,.7);
  color: rgba(240,200,200,.9) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(139,26,26,.5);
}
.footer-support-btn:hover {
  background: rgba(107,18,18,.85);
  color: rgba(245,210,210,.95) !important;
}
.footer-support-phone,
.footer-support-tg {
  color: rgba(200,155,155,.75) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.footer-support-tg svg path { fill: rgba(255,200,200,.8); }

/* ═══════════════════════════════════════════════════════════════
   7. МОБИЛЬНАЯ НАВИГАЦИЯ — только цвета, без изменения display/flex
   ═══════════════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  background: #fff !important;
  border-top: 1px solid rgba(139,26,26,.1) !important;
  box-shadow: 0 -2px 12px rgba(0,0,0,.07) !important;
}
.mob-nav-item.active {
  color: #8B1A1A !important;
}
/* Индикатор активного пункта */
.mob-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: #8B1A1A;
  border-radius: 0 0 3px 3px;
}

/* ═══════════════════════════════════════════════════════════════
   8. СЕТКА КАТАЛОГА (адаптивная)
   ═══════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products-grid { gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   9. ПАГИНАЦИЯ
   ═══════════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid rgba(139,26,26,.2);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #8B1A1A;
  background: #fff;
  text-decoration: none;
  transition: all .15s;
}
.page-btn:hover { background: rgba(139,26,26,.06); }
.page-btn.active {
  background: #8B1A1A;
  border-color: #8B1A1A;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   10. ФИЛЬТР-САЙДБАР
   ═══════════════════════════════════════════════════════════════ */
.filters-sidebar {
  background: #fff;
  border: 1px solid rgba(139,26,26,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.sidebar-cats__title {
  color: #8B1A1A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
}

/* ═══════════════════════════════════════════════════════════════
   11. УМНЫЙ ПОИСК (автодополнение)
   ═══════════════════════════════════════════════════════════════ */
.suggest-dropdown {
  border: 1.5px solid rgba(139,26,26,.15);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.suggest-item:hover { background: rgba(139,26,26,.05); }
.suggest-all {
  color: #8B1A1A;
  font-weight: 600;
  background: rgba(139,26,26,.04);
}
.suggest-item-price { color: #8B1A1A; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   12. РАЗДЕЛ ПЛИТОК (главная страница)
   ═══════════════════════════════════════════════════════════════ */
.section-tile {
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}

/* ═══════════════════════════════════════════════════════════════
   13. ОСЕННИЙ РЕЖИМ — исправляем потенциальные утечки красного
   ═══════════════════════════════════════════════════════════════ */
body.autumn-mode {
  --color-primary:       #7B3A10;
  --color-primary-dark:  #5A2A08;
  --color-primary-light: #A0521E;
  --color-accent:        #B8660A;
  --rd-primary:          #7B3A10;
}
body.autumn-mode .product-card-price { color: #7B3A10 !important; }
body.autumn-mode .price-sale-val { color: #a03010 !important; }
body.autumn-mode .price-sale-badge { background: #a03010 !important; }
body.autumn-mode .product-card__buy { background: #7B3A10 !important; }
body.autumn-mode .product-card__buy:hover { background: #5A2A08 !important; }
body.autumn-mode .page-btn.active { background: #7B3A10 !important; border-color: #7B3A10 !important; }
body.autumn-mode .page-btn:not(.active) { color: #7B3A10 !important; }
body.autumn-mode .catalog-search-btn { background: #7B3A10 !important; }
body.autumn-mode .sidebar-search-btn { background: #7B3A10 !important; }
body.autumn-mode .catalog-search-row { border-color: #7B3A10 !important; }
body.autumn-mode .sidebar-search-row { border-color: #7B3A10 !important; }
body.autumn-mode .footer-support-btn { background: #7B3A10 !important; }

/* ═══════════════════════════════════════════════════════════════
   14. СКРОЛЛБАР
   ═══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: rgba(139,26,26,.4); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #8B1A1A; }

/* ═══════════════════════════════════════════════════════════════
   15. МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-logo { font-size: 17px !important; }
  .cart-btn-text { display: none; }
  .header-balance { display: none; }

  .catalog-search-row { margin-bottom: 18px; }
  .catalog-search-input { padding: 11px 14px; font-size: 14px; }
  .catalog-search-btn { padding: 11px 16px; font-size: 13px; }

  .product-card { border-radius: 10px; }
  .product-card-price { font-size: 16px; }
  .price-sale-val { font-size: 16px; }

  /* Название товара — жёсткое двухстрочное ограничение */
  .product-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 2.8em !important;
  }

  /* Блок распродажи — в одну строку */
  .price-sale-block {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
  }
}

/* ── Маленькие экраны ≤ 400px ── */
@media (max-width: 400px) {
  .product-card-price { font-size: 14px; }
  .price-sale-val { font-size: 14px; }
  .catalog-search-btn { padding: 10px 12px; }

  .price-sale-badge {
    font-size: 9px !important;
    padding: 2px 5px !important;
    letter-spacing: .3px !important;
  }
  .price-opt2-crossed { font-size: 11px !important; }
}

/* ── Самые маленькие экраны ≤ 375px (Xiaomi/Samsung A-серия) ── */
@media (max-width: 375px) {
  /* Кнопка «Купить» — только иконка корзины */
  .product-card__buy .buy-label { display: none !important; }
  .product-card__buy {
    justify-content: center !important;
    padding: 8px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Ещё компактнее */
  .product-card-price { font-size: 13px !important; }
  .price-sale-val { font-size: 13px !important; }

  /* Размеры — меньше пилюли */
  .pc-size-pill {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }

  /* Сетка: чуть меньший зазор */
  .products-grid { gap: 8px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   15b. ФИЛЬТР — BOTTOM SHEET НА МОБИЛЬНЫХ
   ═══════════════════════════════════════════════════════════════ */

/* Кнопка «Фильтры» — только на мобильных */
.mob-filter-btn {
  display: none;
}
@media (max-width: 768px) {
  .mob-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #8B1A1A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font: 600 14px/1 system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(139,26,26,.25);
    transition: background .15s;
  }
  body.autumn-mode .mob-filter-btn { background: #7B3A10; }
  .mob-filter-btn:hover { background: #6B1212; }

  /* Затемнение фона */
  .mob-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1100;
    backdrop-filter: blur(2px);
  }
  .mob-filter-overlay.is-open { display: block; }

  /* Сайдбар становится bottom sheet */
  .filters-sidebar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    border-radius: 18px 18px 0 0 !important;
    border: none !important;
    border-top: 3px solid #8B1A1A !important;
    box-shadow: 0 -8px 40px rgba(0,0,0,.2) !important;
    z-index: 1101 !important;
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    padding: 18px 16px 32px !important;
  }
  body.autumn-mode .filters-sidebar { border-top-color: #7B3A10 !important; }

  .filters-sidebar.is-open {
    transform: translateY(0);
  }

  /* Ручка-индикатор сверху */
  .filters-sidebar::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,.18);
    border-radius: 2px;
    margin: 0 auto 16px;
  }

  /* Кнопка закрытия внутри шторки */
  .mob-filter-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .mob-filter-close__title {
    font: 700 16px/1 system-ui, sans-serif;
    color: #8B1A1A;
  }
  body.autumn-mode .mob-filter-close__title { color: #7B3A10; }
  .mob-filter-close__x {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 22px;
    line-height: 1;
    padding: 0 2px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   16. ХЛЕБНЫЕ КРОШКИ
   ═══════════════════════════════════════════════════════════════ */
body:not(.autumn-mode) .breadcrumb a { color: #8B1A1A !important; }
body:not(.autumn-mode) .breadcrumb a:hover { color: #6B1212 !important; }

/* ═══════════════════════════════════════════════════════════════
   17. СТРАНИЦА ТОВАРА
   ═══════════════════════════════════════════════════════════════ */
body:not(.autumn-mode) .product-price { color: #8B1A1A !important; }
body:not(.autumn-mode) .wb-size-chip.active {
  background: #8B1A1A !important;
  border-color: #8B1A1A !important;
  color: #fff !important;
}
body:not(.autumn-mode) .add-to-cart-btn,
body:not(.autumn-mode) .btn-buy {
  background: #8B1A1A !important;
  border-color: #8B1A1A !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   18. УВЕДОМЛЕНИЯ / FLASH
   ═══════════════════════════════════════════════════════════════ */
.flash { border-left: 4px solid #8B1A1A !important; }

/* ═══════════════════════════════════════════════════════════════
   19. СКРЫТИЕ ЧАТ-БОТА
   ═══════════════════════════════════════════════════════════════ */
#aiChatFab,
#aiChatBox,
.side-fab--chat {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   20. PREVENT REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .site-header::after { animation: none !important; }
  .product-card:hover { transform: none !important; }
  .section-tile:hover { transform: none !important; }
}
