/* ===============================
   БАЗОВЫЕ СБРОСЫ И РАСТЯЖКА ЭКРАНА
=============================== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
html { min-height: 100%; min-height: 100dvh; }
body { 
    background-color: #f4f4f4; color: #333; 
    overflow-x: clip; overscroll-behavior-y: auto; 
    display: flex; flex-direction: column; min-height: 100%; min-height: 100dvh; 
}
:root {
    --brand-gradient: linear-gradient(90deg, #FF4500 0%, #FF8C00 100%);
    --hover-color: #f0f0f0;
    --brand-text-color: #FF4500;
    --brand-rgb: 255, 69, 0; 
}
a { text-decoration: none; color: inherit; }
.mobile-tab-bar, .contact-sheet-overlay, .contact-sheet { display: none; }
/* ===============================
   ЭКРАН ПРИВЕТСТВИЯ (SPLASH)
=============================== */
.splash-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--brand-gradient); display: flex; justify-content: center; align-items: center; z-index: 9990; transition: opacity 0.5s ease; }
.splash-content { display: flex; flex-direction: column; align-items: center; }
.splash-logo-img { width: 220px; height: auto; margin-bottom: 30px; display: block; }
.enter-btn { width: 220px; padding: 15px 0; font-size: 18px; border-radius: 30px; border: none; background: white; color: var(--brand-text-color); cursor: pointer; font-weight: bold; text-align: center; }
/* ===============================
   УНИВЕРСАЛЬНЫЙ ХЕДЕР (STICKY)
=============================== */
.main-header { 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    background: var(--brand-gradient); 
    width: 100%; 
}
.header-container { width: 100%; max-width: 1490px; margin: 0 auto; padding: 0 25px; display: flex; flex-direction: column; }
.header-top { height: 35px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.top-menu { flex-grow: 1; display: flex; justify-content: center; }
.top-menu ul { display: flex; list-style: none; gap: 20px; }
.top-menu a { color: white; transition: opacity 0.2s; } .top-menu a:hover { opacity: 0.8; }
.contact-phone { white-space: nowrap; text-align: right; }
.header-bottom { height: 70px; display: flex; align-items: center; gap: 20px; padding-bottom: 10px; }
.logo-and-burger { display: flex; align-items: center; gap: 15px; width: 210px; flex-shrink: 0; }
/* Добавили flex-shrink: 0, чтобы браузер НИКОГДА не сжимал эту кнопку */
.burger-btn { width: 30px; height: 20px; background: transparent; border: none; cursor: pointer; position: relative; flex-shrink: 0; }
.burger-lines, .burger-lines::before, .burger-lines::after { content: ''; display: block; width: 100%; height: 3px; background: white; border-radius: 2px; position: absolute; transition: 0.3s; }
.burger-lines { top: 50%; transform: translateY(-50%); }
.burger-lines::before { top: -8px; } .burger-lines::after { bottom: -8px; }
.burger-btn.active .burger-lines { background: transparent; }
.burger-btn.active .burger-lines::before { top: 0; transform: rotate(45deg); }
.burger-btn.active .burger-lines::after { top: 0; transform: rotate(-45deg); }
/* Ограничили логотип остатком свободного места в коробке (165px), чтобы он не давил соседей */
.header-logo-img { height: 35px; max-width: 165px; object-fit: contain; display: block; }
/* ПОИСК */
.search-wrapper { flex-grow: 1; position: relative; display: flex; align-items: center; justify-content: center; max-width: 600px; margin: 0 auto; }
.search-input { width: 100%; height: 45px; border-radius: 22px; border: none; padding: 0 20px; font-size: 16px; outline: none; }
.search-dropdown { display: none; position: absolute; top: 50px; left: 0; width: 100%; background: white; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 15px; }
.search-title { font-weight: bold; margin-bottom: 10px; color: #666; }
.popular-queries li { list-style: none; padding: 8px 0; cursor: pointer; transition: color 0.1s; }
.popular-queries li:hover { color: var(--brand-text-color); }
/* ===============================
   САЙДБАР ДЛЯ ПК
=============================== */
.overlay { position: fixed; top: 105px; left: 0; width: 100%; height: calc(100% - 105px); height: calc(100dvh - 105px); background: rgba(0,0,0,0.4); z-index: 1040; opacity: 0; visibility: hidden; transition: 0.2s; }
.overlay.active { opacity: 1; visibility: visible; }
.sidebar-wrapper { position: fixed; top: 105px; left: -100%; bottom: 0; width: 210px; display: flex; z-index: 1050; background: white; visibility: hidden; transition: left 0.2s ease-out, visibility 0s linear 0.2s; }
.sidebar-wrapper.active { left: 0; visibility: visible; transition: left 0.2s ease-out, visibility 0s linear 0s; }
.sidebar-wrapper:not(.active) .sidebar-level-2 { display: none !important; }
.sidebar-level-1 { width: 100%; height: 100%; background: white; box-shadow: 2px 0 10px rgba(0,0,0,0.1); z-index: 2; overflow-y: auto; position: relative; }
.sidebar-level-1 ul { list-style: none; padding: 15px 0; }
.sidebar-level-1 li { padding: 12px 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 13px; transition: background 0.1s; }
.sidebar-level-1 li:hover { background: var(--hover-color); color: var(--brand-text-color); }
.arrow { font-size: 20px; color: #aaa; }
.sidebar-level-2 { width: 320px; height: 100%; background: #fdfdfd; position: absolute; left: -110px; top: 0; z-index: 1; box-shadow: 3px 0 10px rgba(0,0,0,0.05); overflow-y: auto; transition: left 0.2s ease-out; }
.sidebar-level-2.active { left: 210px; }
.submenu { display: none; padding: 15px; }
.submenu-title { font-size: 13px; font-weight: bold; margin-bottom: 15px; color: #333; }
.submenu ul { list-style: none; }
.submenu li { margin-bottom: 12px; }
.submenu a { text-decoration: none; color: #444; font-size: 12px; display: block; }
.submenu a:hover { color: var(--brand-text-color); }
/* ===============================
   ОСНОВНОЙ КОНТЕНТ И ВРАППЕРЫ
=============================== */
.content-wrapper { flex-grow: 1; width: 100%; max-width: 1490px; margin: 0 auto; padding: 20px 25px; } /* Главная */
.store-wrapper   { flex-grow: 1; width: 100%; max-width: 1490px; margin: 0 auto; padding: 20px 25px; } /* Товар */
.price-page-wrapper { flex-grow: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 20px 25px 60px 25px; } /* Прайс */
/* БАННЕРЫ (Десктоп 12:1) */
.mobile-banners-section { display: none; } 
.desktop-banners-section { position: relative; width: 100%; aspect-ratio: 12 / 1; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #ccc; }
.d-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display:flex; align-items:center; justify-content:center; }
.d-banner-slide.active { opacity: 1; z-index: 1; }
.d-banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-placeholder { width: 100%; height: 100%; background: #cccccc; color: #555; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 12px; }
.banner-placeholder span { font-size: 1.5vw; font-weight: bold; } 
.banner-placeholder .b-number { font-size: 2vw; opacity: 0.3; margin-top: 5px; }
/* СЕТКА ТОВАРОВ ПК */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px 2px; }
.product-card { background: white; border-radius: 10px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card-img-wrapper { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #eaeaea; }
.prod-img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; opacity: 0; transition: opacity 0.2s ease; }
.prod-img.active { opacity: 1; z-index: 1; }
.card-info { padding: 10px; }
.card-price { font-size: 18px; font-weight: bold; margin-bottom: 5px; }
.card-title { font-size: 14px; font-weight: 400; color: #555; } 
.mobile-catalog-title { display: none; } /* Прячем мобильный заголовок каталога на компьютерах */
.mobile-mandarin-nav { display: none; } /* Прячем мандариновую навигацию на ПК */
/* ===============================
   ПРАЙС-ЛИСТ (Аккордеон)
=============================== */
.page-title { text-align: center; font-size: 22px; font-weight: 600; color: #333; margin-bottom: 20px; }
.price-accordion { background: white; border-radius: 10px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); overflow: hidden; scroll-margin-top: 100px; }
.price-accordion summary { padding: 14px 18px; font-size: 15px; font-weight: bold; color: #333; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.price-accordion summary::-webkit-details-marker { display: none; } 
.price-accordion summary:hover { background: var(--hover-color); }
.price-accordion summary::after { content: '▼'; font-size: 11px; color: var(--brand-text-color); transition: transform 0.3s ease; }
.price-accordion[open] summary::after { transform: rotate(180deg); }
.price-accordion[open] summary { border-bottom: 1px solid #eee; }
.price-accordion.popular-accordion summary { background: var(--brand-gradient); color: white; }
.price-accordion.popular-accordion summary::after { color: white; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-row-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; border-bottom: 1px solid #f5f5f5; text-decoration: none; color: #444; transition: background 0.1s; }
.service-row-link:hover { background: #fafafa; }
.service-list li:last-child .service-row-link { border-bottom: none; }
.service-name { flex-grow: 1; font-size: 14px; padding-right: 15px; line-height: 1.3; }
.service-right { display: flex; align-items: center; gap: 12px; }
/* ФИРМЕННЫЙ ОРАНЖЕВЫЙ ЦВЕТ ЦЕН В ПРАЙСЕ */
.service-price { 
    font-weight: bold; 
    font-size: 15px; 
    color: var(--brand-text-color); /* Применили мандариновый цвет! */
    white-space: nowrap; 
}
.book-btn { background: #F0F0F0; color: #555; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px; border: none; cursor: pointer; transition: transform 0.1s, background 0.2s; }
.book-btn:hover { background: #E8E8E8; transform: scale(1.05); }
.nomatch-msg { display: none; text-align: center; padding: 20px; color: #888; font-weight: bold; }
/* ===============================
   КАРТОЧКА ТОВАРА (STORE.PHP)
=============================== */
.product-page-layout { display: flex; gap: 30px; align-items: flex-start; }
/* Галерея ПК */
.product-gallery { flex: 1; max-width: 50%; }
.main-img-box { position: relative; flex-grow: 1; aspect-ratio: 3/4; background: #eee; border-radius: 12px; overflow: hidden; }
.main-img-box img { 
    position: absolute; 
    top: 0; left: 0; inset: 0; 
    width: 100%; height: 100%; 
    object-fit: cover;
    
    /* Скрываем все картинки по умолчанию */
    opacity: 0; 
    visibility: hidden; 
    z-index: 1; 
    transition: opacity 0.5s ease, visibility 0.5s; 
}
/* Делаем первое фото фундаментом, чтобы коробка не схлопнулась по высоте */
.main-img-box img:first-child { 
    position: relative; 
}
/* Активное (выбранное) фото показывается поверх остальных */
.main-img-box img.active { 
    opacity: 1 !important; 
    visibility: visible; 
    z-index: 2; 
}
/* Вертикальные тумбы ПК (справа от глав фото) */
.gallery-thumbs-vertical { width: 80px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.gallery-thumb-v { width: 100%; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s, opacity 0.1s; }
.gallery-thumb-v:hover { border-color: var(--brand-text-color); }
.gallery-thumb-v.active { border-color: var(--brand-text-color); }
.gallery-thumb-v img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Инфо блок */
.product-details { flex-grow: 1; max-width: 400px; }
.product-title { font-size: 28px; font-weight: 400; margin-bottom: 15px; color: #333; }
.product-price-big { font-size: 36px; font-weight: 800; color: var(--brand-text-color); margin-bottom: 25px; }
.product-params-row { display: flex; gap: 20px; margin-bottom: 25px; align-items: center; }
.param-box { display: flex; align-items: center; gap: 8px; }
.param-label { font-size: 14px; color: #888; }
.param-val { display: inline-block; padding: 6px 12px; border: 1px solid #ccc; border-radius: 6px; font-weight: bold; color: #444; }
.product-desc { font-size: 16px; line-height: 1.6; color: #555; margin-bottom: 35px; white-space: pre-line; }
/* Кнопки контактов (для ПК) */
.desktop-contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-btn { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 230px; padding: 12px 20px; border-radius: 30px; text-decoration: none; font-size: 15px; font-weight: bold; color: white; transition: transform 0.1s, opacity 0.2s; }
.contact-btn:active { transform: scale(0.98); }
.contact-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-call { background: #333333; } .btn-tg { background: #2AABEE; } .btn-wa { background: #25D366; } 
.btn-max { background: linear-gradient(90deg, #4C6AFE 0%, #9F4ADB 100%); box-shadow: 0 4px 12px rgba(159, 74, 219, 0.3); }
/* Мобильный скролл-контейнер для товара (скрыт на ПК) */
.mobile-gallery-swipe { display: none; }
/* ИДЕАЛЬНЫЙ ОТСТУП И ПОЛОСКА (для store, promo, services) */
.similar-products-block { 
    margin-top: 40px; 
    border-top: 1px solid #e0e0e0; /* Нежная серая линия */
    padding-top: 40px; 
}
/* ===============================
   УНИВЕРСАЛЬНЫЙ ПОДВАЛ 
=============================== */
.site-footer { background: #fdfdfd; width: 100%; border-top: 1px solid #ebebeb; margin-top: 30px; z-index: 10; position: relative; }
.footer-container { max-width: 1490px; margin: 0 auto; padding: 0 25px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; gap: 20px; }
.footer-contacts h4 { font-size: 15px; font-weight: 500; color: #111; margin-bottom: 10px; }
.footer-contact-item { font-size: 13px; color: #777; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.footer-contact-item:hover, .footer-contact-item a:hover { color: #333; }
.footer-tele { margin-top: 5px; }
/* Жестко глушим скроллбары в iframe Яндекса */
.footer-badge iframe { width: 150px; height: 50px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.12); display: block; border: none; overflow: hidden; }
.mobile-store-badge { display: none; }
.footer-bottom { text-align: center; padding: 15px 0; border-top: 1px solid #e0e0e0; font-size: 12px; color: #999; text-shadow: 1px 1px 1px rgba(255,255,255,1), -1px -1px 1px rgba(0,0,0,0.06); }
/* ЗАГЛУШКА ПОВОРОТА ЭКРАНА */
.orientation-warning { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--brand-gradient); z-index: 10000; justify-content: center; align-items: center; text-align: center; color: white; }
.warning-content p { font-size: 18px; font-weight: 500; line-height: 1.5; }
.rotate-icon { width: 60px; height: 60px; margin-bottom: 20px; animation: spin 2s infinite linear; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@media screen and (max-width: 56.25em) and (orientation: landscape) {
    .orientation-warning { display: flex; }
    .main-header, .content-wrapper, .store-wrapper, .price-page-wrapper, .splash-screen, .sidebar-wrapper, .site-footer { display: none !important; }
}
@media (max-width: 80em) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 63.75em) { .logo-and-burger { display: none !important; } .header-bottom { padding-left: 0; gap: 0; } }
/* ===============================
   МОБИЛЬНАЯ ВЕРСИЯ (ДО 768px)
=============================== */
@media (max-width: 48em) {
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } 
    
    .header-container { padding: max(2px, env(safe-area-inset-top)) 15px 0 15px; position: relative; z-index: 2; }
    .header-bottom { padding-bottom: 0; justify-content: center; } 
    .main-header {
        --scroll-progress: 0; position: -webkit-sticky; position: sticky; top: -1px; z-index: 1000;
        padding-bottom: calc(35px - (28px * var(--scroll-progress)));
        border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; /* Радиус закруглений хедера */
    }
    .main-header::after {
        content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: white;
        opacity: var(--scroll-progress); border-bottom-left-radius: 32px; border-bottom-right-radius: 32px;
        z-index: 1; box-shadow: 0 4px 15px rgba(0,0,0, calc(0.05 * var(--scroll-progress)));
    }
    .search-input {
        background: linear-gradient(rgba(128, 128, 128, calc(0.1 * var(--scroll-progress))), rgba(var(--brand-rgb), calc(0.08 * var(--scroll-progress)))), white;
        border: 1px solid rgba(0,0,0, calc(0.05 * var(--scroll-progress)));
    }
    
    .top-menu, .location, .contact-phone { display: none; }
    .header-top { height: 0; margin: 0; display: none; }
    .sidebar-wrapper, .overlay { display: none !important; }
    
    /* Контент Главная */
    .content-wrapper { padding: 0; } 
    .price-page-wrapper { padding: 15px; }
    
    /* БАННЕРЫ МОБИЛЬНЫЕ (Карусель 2:1) */
    .desktop-banners-section { display: none; }
    .mobile-banners-section { display: block; width: 100%; aspect-ratio: 2 / 1; margin-top: 6px; margin-bottom: 0px; overflow: hidden; }  /* Отступы баннера верх-них */
    .m-banner-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .m-banner-track::-webkit-scrollbar { display: none; }
    .m-banner-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: block; padding: 0 16px; } /* Отступы баннера по бокам */
    .m-banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; } /* Радиус закруглений баннера */
    .m-banner-slide .banner-placeholder { width: 100%; height: 100%; background: #cccccc; color: #555; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: normal; gap: 8px; border-radius: 16px; } /* Радиус закруглений контейнера */
    .banner-placeholder span { font-size: 16px; }
    .banner-placeholder .b-number { font-size: 24px; font-weight: bold; opacity: 0.4; }


    /* МАНДАРИНОВЫЕ КНОПКИ В ХЕДЕРЕ */
    .mobile-mandarin-nav { 
        display: flex !important;
        justify-content: center; 
        gap: 70px; /* Чуть увеличили расстояние между ними для красоты */
        
        /* ГЛАВНАЯ МАГИЯ ЗДЕСЬ: */
        position: absolute; 
        bottom: -29px; /* Опускаем мандарины ниже границы хедера (подкрашенного облака) */
        left: 0; 
        width: 100%;
        
        opacity: calc(1 - var(--scroll-progress)); 
        transition: opacity 0.1s;
        z-index: 5;
    }
    
    .mandarin-btn { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        text-decoration: none; 
        color: rgba(255, 255, 255, 0.9); /* Белый текст под оранжевыми кнопками */
        gap: 0px;
        transition: transform 0.1s;
    }
    
    .mandarin-btn:active {
        transform: scale(0.9); /* Эффект нажатия кнопочки */
    }
    .mandarin-btn img { 
        width: 35px;  /* Размер мандаринки (можешь менять) */
        height: 35px; 
        object-fit: contain; 
        border-radius: 0px; /* Если картинка не идеально круглая, чуть сгладим края */
        box-shadow: 0 0px 0px rgba(0,0,0,0.1); /* Легкая тень под мандарином */
    }
    
    .mandarin-btn span { 
        font-size: 10px; 
        font-weight: 500; 
        letter-spacing: 0.5px;
    }
    
    /* СЕТКА ТОВАРОВ МОБИЛКА */
    .product-grid { grid-template-columns: repeat(2, 1fr); padding: 0 0px; gap: 2px; } /* Отступы карточек товаров */
    .product-card { border-radius: 10px; } /* Радиус закруглений карточек товарв в мобильной */
    .card-img-wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .card-img-wrapper::-webkit-scrollbar { display: none; }
    .prod-img { position: static; opacity: 1 !important; flex: 0 0 100%; scroll-snap-align: start; }

    /* ЗАГОЛОВОК КАТАЛОГА НА ГЛАВНОЙ (Только для телефонов) */
    .mobile-catalog-title { 
        display: block; 
        font-size: 19px; 
        font-weight: 650; 
        color: var(--brand-text-color); /* Применяем твой фирменный оранжевый цвет */
        margin-top: 12px; 
        margin-bottom: 12px; 
        padding-left: 16px; /* Небольшой отступ, чтобы встало вровень с левой карточкой */
    }
    
    /* СТРАНИЦА ТОВАРА (store.php) МОБИЛКА */
    .store-wrapper { padding: 0; } 
    .product-page-layout { flex-direction: column; gap: 15px; padding: 0 5px; margin-top: 5px; } 
    
    /* ДОБАВЛЕНО: Даем родительскому контейнеру 100% ширины, чтобы фото могло растянуться */
    .product-gallery { max-width: 100% !important; width: 100%; flex: 1 1 100%; display: block; } 
    
    .main-img-box, .gallery-thumbs-vertical, .desktop-contacts, .book-btn { display: none !important; }
    .product-title { font-size: 22px; margin-top: 10px; padding: 0 10px; }
    .product-price-big, .product-params-row, .product-desc { padding: 0 10px; }
    
    /* Рамка 3:4 для свайпа */
    .mobile-gallery-swipe { 
        display: flex; flex: 1; min-width: 100%; aspect-ratio: 3/4; 
        background: #eee; border-radius: 12px; 
        overflow-x: auto; overflow-y: hidden; 
        scroll-snap-type: x mandatory; scroll-behavior: smooth; 
        -webkit-overflow-scrolling: touch; scrollbar-width: none; 
    }
    .m-img-pinch-wrap { flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; position: relative; }
    .m-img-pinch-wrap img { width: 100%; height: 100%; object-fit: cover; }
    
    .similar-products-block { padding: 0px 0 0 0; }
    .similar-title { padding-left: 0px; }

    /* Футер мобилки */
    .footer-top { flex-direction: column; align-items: flex-start; padding: 20px 15px; }
    .footer-contact-item { font-size: 11px; }
    .footer-badge { display: none; }
    .mobile-store-badge { display: flex; justify-content: center; width: 100%; margin-top: 25px; margin-bottom: 25px; }
    .mobile-store-badge iframe { width: 150px; height: 50px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.12); display: block; border: none; overflow: hidden; }
    .footer-bottom { font-size: 10px; padding: 12px 0; }
    /* МОБИЛЬНАЯ ПАНЕЛЬ И ШТОРКА */
    .mobile-tab-bar {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid #eaeaea; justify-content: space-around; align-items: center;
        padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    .tab-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: #888; transition: color 0.1s; }
    .tab-item svg { width: 24px; height: 24px; }
    .tab-item.active { color: var(--brand-text-color) !important; }
    .tab-item.active svg { stroke-width: 2.5; }
    .tab-navigator { color: #2AABEE; }
    
    .contact-sheet-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9997; opacity: 0; visibility: hidden; transition: 0.3s; }
    .contact-sheet-overlay.active { opacity: 1; visibility: visible; }
    .contact-sheet {
        display: block; position: fixed; bottom: -100%; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        border-radius: 20px 20px 0 0; padding: 15px 20px calc(80px + env(safe-area-inset-bottom));
        z-index: 9998; transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1); box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }
    .contact-sheet.active { bottom: 0; }
    .sheet-close-zone { padding-bottom: 5px; margin-bottom: 15px; cursor: pointer; }
    .sheet-title { font-size: 16px; text-align: center; color: #333; }
    .sheet-handle { width: 40px; height: 5px; background: rgba(0,0,0,0.15); border-radius: 3px; margin: 0 auto 10px; }
    .sheet-btn { display: flex; justify-content: flex-start; align-items: center; gap: 12px; width: 100%; max-width: 280px; padding: 10px 20px; margin: 0 auto 8px auto; border-radius: 50px; color: white; font-weight: 600; font-size: 14px; }
    .max-btn { background: linear-gradient(90deg, #4C6AFE 0%, #9F4ADB 100%); box-shadow: 0 4px 10px rgba(159, 74, 219, 0.2); } .tg-btn { background: #2AABEE; } .wa-btn { background: #25D366; } .call-btn { background: #333; }
}