/* =========================================================
   КАНВАС ДЛЯ СЕЗОННЫХ ЭФФЕКТОВ
   ========================================================= */
#seasonal-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9990; }

/* =========================================================
   ГЛОБАЛЬНЫЕ НАСТРОЙКИ
   ========================================================= */
html { scroll-behavior: smooth; }
:root {
    --primary: #0056b3; --primary-hover: #004494; --primary-light: #eef5fc;
    --accent: #ffc107; --bg-body: #f8f9fa; --bg-card: #ffffff;
    --text-main: #333333; --text-muted: #666666; --border-color: #eee;
    --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px;
    --shadow-soft: 0 4px 15px rgba(0,0,0,0.05); --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
}
[data-theme="dark"] {
    --primary: #3b82f6; --primary-hover: #60a5fa; --primary-light: #1e293b;
    --accent: #facc15; --bg-body: #12141a; --bg-card: #1c1f27;
    --text-main: #e8eaf0; --text-muted: #a1a1aa; --border-color: #2d3342;
    --shadow-soft: 0 4px 15px rgba(0,0,0,0.3); --shadow-hover: 0 10px 25px rgba(0,0,0,0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background-color: var(--bg-body); line-height: 1.6; transition: background-color 0.3s, color 0.3s; overflow-x: hidden; }

/* ==========================================
   УЛУЧШЕННЫЙ КАСТОМНЫЙ КУРСОР
   ========================================== */
@media (hover: hover) and (pointer: fine) {
    body, a, button, input, select, .shop-card, .category-card, .rental-card { cursor: none !important; }
    
    .cursor-dot, .cursor-outline {
        position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%;
        z-index: 999999; transform: translate(-50%, -50%);
        display: flex; justify-content: center; align-items: center;
    }
    
    .cursor-dot { width: 6px; height: 6px; background-color: #fff; mix-blend-mode: difference; }
    
    .cursor-outline {
        width: 44px; height: 44px; border: 1.5px solid #fff; mix-blend-mode: difference;
        transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s, border-color 0.3s;
    }
    
    .cursor-text {
        font-size: 11px; font-weight: 700; text-transform: uppercase;
        color: #fff; opacity: 0; transform: scale(0.5);
        transition: opacity 0.2s, transform 0.2s;
        white-space: nowrap; pointer-events: none; letter-spacing: 0.5px;
    }

    .cursor-hover .cursor-outline { width: 60px; height: 60px; background-color: transparent; border-color: #fff; }
    .cursor-hover.has-text .cursor-outline { width: 80px; height: 80px; background-color: #fff; border-color: #fff; }
    .cursor-hover.has-text .cursor-text { opacity: 1; transform: scale(1); color: #000; }
}
@media (max-width: 992px) { .cursor-dot, .cursor-outline { display: none !important; } }

*:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.container { max-width: 1350px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); }
img { max-width: 100%; }

/* Shimmer-эффект для скелетонов */
.skeleton-card {
    background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-body) 50%, var(--border-color) 75%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite linear; border-radius: var(--radius-md); height: 350px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Плавное появление картинок */
img.lazy-load { opacity: 0; transform: scale(0.98); transition: opacity 0.5s ease, transform 0.5s ease; }
img.lazy-load.loaded { opacity: 1; transform: scale(1); }

/* Анимации появления секций */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; } .reveal { transition: none; opacity: 1; transform: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================
   АНИМАЦИЯ ТЕКСТА НА ГЛАВНОМ ЭКРАНЕ (Blur to Focus)
   ========================================== */
@keyframes smoothTextReveal {
    0% { opacity: 0; filter: blur(12px); transform: translateY(20px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.hero-content h1, .hero-content p { opacity: 0; }
.hero-content.animate-text h1 { animation: smoothTextReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-content.animate-text p { animation: smoothTextReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards; }

/* ==========================================
   ГРАДИЕНТНЫЕ ПЯТНА (BLOBS)
   ========================================== */
.blob-blur { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: 0.6; pointer-events: none; animation: floatBlob 20s infinite alternate ease-in-out; }
.blob-1 { width: 400px; height: 400px; background: rgba(0, 86, 179, 0.15); top: -10%; left: -10%; }
.blob-2 { width: 300px; height: 300px; background: rgba(255, 193, 7, 0.1); bottom: -10%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 500px; height: 500px; background: rgba(0, 86, 179, 0.1); top: 20%; right: -10%; animation-delay: -10s; }
.blob-4 { width: 350px; height: 350px; background: rgba(255, 193, 7, 0.08); bottom: 10%; left: -5%; animation-delay: -15s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -50px) scale(1.1); } 100% { transform: translate(-30px, 30px) scale(0.9); } }
.about-section, .rentals-section, .parking-section { position: relative; overflow: hidden; }
.about-section .container, .rentals-section .container, .parking-section .container { position: relative; z-index: 1; }

/* ==========================================
   КАСКАДНОЕ ПОЯВЛЕНИЕ (STAGGER)
   ========================================== */
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.stagger-item { opacity: 0; animation: slideInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ==========================================
   SVG ОТРИСОВКА (DRAWING)
   ========================================== */
.svg-drawing-container { width: 100px; height: 100px; margin: 20px 0; }
.draw-path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s ease-in-out; }
.draw-svg.active .draw-path { stroke-dashoffset: 0; }

/* ==========================================
   УВЕЛИЧЕНИЕ КАРТИНОК В КАРТОЧКАХ
   ========================================== */
.shop-logo { overflow: hidden; }
.shop-logo img { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.shop-card:hover .shop-logo img { transform: scale(1.15); }

/* =========================================================
   ЭКРАН ЗАГРУЗКИ (PRELOADER)
   ========================================================= */
#preloader.hidden { opacity: 0; visibility: hidden; }

/* =========================================================
   ШАПКА И НАВИГАЦИЯ
   ========================================================= */
.scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 10000; }
.scroll-progress { height: 100%; background: var(--accent); width: 0%; transition: width 0.1s; }
.header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; transition: background-color 0.3s, border-color 0.3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 15px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; font-size: 24px; font-weight: 700; letter-spacing: 1px; flex-shrink: 0; white-space: nowrap; }
.logo-text-blue { color: var(--primary); } 
.logo-text-dark { color: var(--text-main); }
.nav-icons { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.nav-icons a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-main); font-size: 12px; font-weight: 500; position: relative; padding-bottom: 5px; transition: color var(--transition); white-space: nowrap; }
.nav-icons a i { font-size: 18px; margin-bottom: 4px; color: var(--text-muted); transition: transform var(--transition), color var(--transition); }
.nav-icons a:hover i, .nav-icons a.active i { color: var(--primary); transform: translateY(-2px); }
.nav-icons a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--primary); border-radius: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-status-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-main); background: var(--bg-body); padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-body); border: none; color: var(--text-main); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; flex-shrink: 0; }
.icon-btn:hover { background: var(--border-color); }
.icon-btn .badge { position: absolute; top: -2px; right: -2px; background: #dc3545; color: #fff; font-size: 10px; font-weight: bold; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-btn.anim-toggle-btn.active { color: var(--primary); background: var(--primary-light); }
.btn-header-dark { display: flex; align-items: center; gap: 8px; background: #2e4a45; color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 25px; font-size: 12px; font-weight: 600; transition: background var(--transition), transform 0.1s; white-space: nowrap; }
[data-theme="dark"] .btn-header-dark { background: #3b82f6; }
.magnetic { display: inline-block; transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }
.mobile-theme-toggle { display: none; }
.mobile-anim-toggle { display: none; }

/* Глобальный поиск */
.search-container { position: absolute; top: 80px; left: 0; width: 100%; background: var(--bg-card); padding: 15px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); display: none; z-index: 999; }
.search-container.active { display: block; }
.search-input-wrapper { max-width: 800px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.search-input-wrapper i { position: absolute; left: 15px; color: var(--text-muted); }
#global-search-input { width: 100%; padding: 15px 15px 15px 45px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 16px; background: var(--bg-body); color: var(--text-main); outline: none; }
.search-cancel-btn { display: none; background: none; border: none; color: var(--primary); font-size: 16px; margin-left: 10px; cursor: pointer; }
.search-dropdown { max-width: 800px; margin: 10px auto 0; max-height: 60vh; overflow-y: auto; display: none; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.search-dropdown.active { display: block; }
.search-group-title { padding: 10px 15px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); background: var(--bg-body); position: sticky; top: 0; }
.search-result-item { display: flex; align-items: center; gap: 15px; padding: 12px 15px; text-decoration: none; color: var(--text-main); border-bottom: 1px solid var(--border-color); cursor: pointer; }
.search-result-item:hover { background: var(--bg-body); }
.search-result-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.search-result-item .info h4 { font-size: 15px; margin-bottom: 2px; }
.search-result-item .info p { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================================= */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background: var(--bg-card); z-index: 2001; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; box-shadow: 5px 0 25px rgba(0,0,0,0.1); }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); }
.close-drawer-btn { background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; }
.mobile-menu-links { flex-grow: 1; overflow-y: auto; padding: 10px 0; }
.mobile-menu-links a { display: flex; align-items: center; gap: 15px; padding: 15px 20px; text-decoration: none; color: var(--text-main); font-weight: 600; border-bottom: 1px solid var(--border-color); transition: background 0.2s; }
.mobile-menu-links a:hover { background: var(--bg-body); }
.mobile-menu-links a i { color: var(--primary); font-size: 18px; width: 24px; text-align: center; }
.mobile-menu-actions { padding: 20px; border-top: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 10px; }
.mobile-menu-actions .btn { width: 100%; text-align: center; justify-content: center; }

/* =========================================================
   ГЛАВНЫЙ СЛАЙДЕР
   ========================================================= */
.hero-slider { position: relative; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #000; }
.hero-bg-slides { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.5s ease, transform 8s linear; transform: scale(1); z-index: 1; }
.hero-bg-slide.active { opacity: 1; z-index: 2; transform: scale(1.1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%); z-index: 2; }
.floating-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: hidden; }
.float-icon { position: absolute; color: rgba(255, 255, 255, 0.15); font-size: 40px; animation: floatBobbing 6s ease-in-out infinite; }
.float-1 { top: 20%; left: 15%; animation-delay: 0s; font-size: 50px; }
.float-2 { top: 60%; right: 15%; animation-delay: -2s; font-size: 35px; }
.float-3 { top: 30%; right: 25%; animation-delay: -4s; font-size: 45px; }
.float-4 { top: 70%; left: 20%; animation-delay: -1s; font-size: 30px; }
@keyframes floatBobbing { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(10deg); } }
.slider-content { position: relative; z-index: 3; width: 100%; padding: 0 20px; }
.hero-content h1 { font-size: 48px; margin-bottom: 15px; font-weight: 700; }
.hero-content p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 30px; }
.btn { padding: 14px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: transform var(--transition), background var(--transition); display: inline-block; cursor: pointer; border: none; font-family: 'Inter', sans-serif; font-size: 16px; position: relative; overflow: hidden; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #333; }
.btn-primary:hover { background: #e0a800; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--primary); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: ripple-anim 0.6s linear; pointer-events: none; }
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }
.hero-info { display: flex; gap: 30px; justify-content: center; font-size: 16px; opacity: 0.9; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 4; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.slider-dot.active { background: var(--accent); transform: scale(1.2); }

/* =========================================================
   СЕКЦИИ
   ========================================================= */
section { padding: 80px 0; }
h2 { text-align: center; margin-bottom: 30px; font-size: 32px; font-weight: 700; position: relative; }
h2::after { content: ''; display: block; width: 48px; height: 4px; background: var(--primary); margin: 15px auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 18px; margin-top: -15px; }

/* О центре */
.about-section { background: var(--bg-card); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { text-align: left; }
.about-text h2::after { margin: 15px 0 0; }
.about-text p { margin-bottom: 15px; color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--bg-body); padding: 30px 20px; border-radius: var(--radius-md); text-align: center; border: 1px solid var(--border-color); transition: transform var(--transition); }
.stat-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.stat-box h3 { font-size: 32px; color: var(--primary); margin-bottom: 5px; }
.stat-box p { color: var(--text-muted); font-size: 14px; }

/* Категории */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.category-card { background: var(--bg-card); padding: 30px 20px; text-align: center; border-radius: var(--radius-md); text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 16px; box-shadow: var(--shadow-soft); transition: var(--transition); border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.category-card i { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.category-card:hover { box-shadow: var(--shadow-hover); color: var(--primary); }

/* 3D-наклон */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt-inner { transform: translateZ(20px); }

/* =========================================================
   МАГАЗИНЫ И КАФЕ
   ========================================================= */
.shops-controls { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 20px; background: var(--bg-card); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.shops-search { display: flex; align-items: center; background: var(--bg-body); border-radius: var(--radius-sm); padding: 0 15px; }
.shops-search input { width: 100%; padding: 12px 0; border: none; background: transparent; outline: none; color: var(--text-main); font-size: 15px; }
.shops-filters { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.shops-filters select { padding: 12px 15px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-body); color: var(--text-main); outline: none; cursor: pointer; }
.mobile-filters-wrapper { display: none; margin-bottom: 20px; }
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 8px 16px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); font-size: 14px; cursor: pointer; transition: 0.2s; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.shops-counter { text-align: center; color: var(--text-muted); margin-bottom: 20px; font-weight: 500; }
#shops-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* Карточка магазина */
.shop-card { background: var(--bg-card); padding: 25px 20px; border-radius: var(--radius-md); display: flex; flex-direction: column; min-height: 420px; box-shadow: var(--shadow-soft); cursor: pointer; position: relative; border: 1px solid var(--border-color); transition: box-shadow var(--transition), border-color var(--transition), background 0.3s; }
.shop-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); }
.shop-logo { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; padding: 10px; }
.shop-logo img { max-width: 90%; max-height: 90%; object-fit: contain; }
.shop-logo-empty { background: var(--primary-light); color: var(--primary); font-size: 36px; }
.shop-card h3 { font-size: 16px; line-height: 1.3; margin-bottom: 10px; min-height: 42px; }
.shop-floor { color: var(--primary); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.shop-description { font-size: 13px; color: var(--text-muted); line-height: 1.4; flex-grow: 1; }
.fav-btn { position: absolute; top: 15px; right: 15px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; z-index: 2; }
.fav-btn:hover { color: #dc3545; transform: scale(1.1); }
.fav-btn.active { color: #dc3545; background: #fceceb; border-color: #fceceb; }

/* Кафе скрытая панель */
.cafes-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 32px; border: none; border-radius: 999px; background: linear-gradient(135deg, #0056b3, #0072d6); color: #fff; font: 600 16px/1 "Inter", sans-serif; cursor: pointer; box-shadow: 0 10px 25px rgba(0, 86, 179, .35); transition: transform var(--transition), box-shadow var(--transition); margin: 0 auto 20px auto; display: flex; max-width: 400px; }
.cafes-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 86, 179, .45); }
.cafes-toggle-arrow { transition: transform var(--transition); }
.cafes-toggle[aria-expanded="true"] .cafes-toggle-arrow { transform: rotate(180deg); }
.cafes-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.35s ease, margin-top 0.35s ease; margin-top: 0; width: 100%; }
.cafes-panel.is-open { max-height: 2000px; opacity: 1; margin-top: 24px; overflow: visible; }
.cafes-carousel { display: flex !important; flex-wrap: nowrap !important; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 20px; scrollbar-width: thin; }
.cafes-carousel .shop-card { flex: 0 0 auto; scroll-snap-align: start; width: 300px; }

/* =========================================================
   НОВОСТИ
   ========================================================= */
.news-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 25px; padding-bottom: 20px; }
.news-card { min-width: 320px; max-width: 320px; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); cursor: pointer; transition: var(--transition); border: 1px solid var(--border-color); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-media { height: 200px; width: 100%; background: var(--border-color); }
.news-media img, .news-media iframe, .news-media video { width: 100%; height: 100%; object-fit: cover; border: none; }
.news-content { padding: 20px; flex-grow: 1; }
.news-content h3 { font-size: 18px; margin-bottom: 15px; line-height: 1.3; }
.news-dates { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 15px; }
.date-start, .date-end { font-size: 11px; padding: 4px 8px; border-radius: 15px; font-weight: 600; white-space: nowrap; }
.date-start { background: var(--primary-light); color: var(--primary); }
.date-end { background: #fceceb; color: #dc3545; }
.news-content p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* =========================================================
   СХЕМА ЭТАЖЕЙ
   ========================================================= */
.floor-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.floor-tab { padding: 12px 28px; border-radius: 999px; border: 1px solid var(--border-color); background: var(--bg-body); color: var(--text-main); font: 600 15px/1 "Inter", sans-serif; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.floor-tab.active { background: linear-gradient(135deg, #0056b3, #0072d6); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0, 86, 179, .3); }
.floor-display { background: radial-gradient(ellipse at 20% 0%, rgba(0, 114, 214, 0.06), transparent 60%), var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 30px; text-align: center; }
.floor-display img { max-width: 100%; border-radius: var(--radius-md); transition: opacity 0.35s ease, transform 0.35s ease; display: block; margin: 0 auto; }
.floor-display img.fading { opacity: 0; transform: scale(0.98); }
.btn-download { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #0056b3, #0072d6); color: #fff; border: none; padding: 14px 28px; border-radius: 999px; cursor: pointer; margin-top: 25px; font: 600 15px/1 "Inter", sans-serif; box-shadow: 0 10px 24px rgba(0, 86, 179, .35); transition: var(--transition); position: relative; overflow: hidden; }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0, 86, 179, .45); }
.floor-shops-wrapper { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-soft); margin-top: 30px; }
.floor-shops-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 15px; }
.floor-shops-header h3 { margin: 0; font-size: 20px; color: var(--text-main); border: none; padding: 0; }
.floor-shops-header h3::after { display: none; }
.floor-shops-search { display: flex; align-items: center; background: var(--bg-body); border-radius: var(--radius-sm); padding: 8px 12px; border: 1px solid var(--border-color); }
.floor-shops-search i { color: var(--text-muted); margin-right: 8px; }
.floor-shops-search input { border: none; background: transparent; color: var(--text-main); font-size: 14px; outline: none; width: 200px; }
.floor-shops-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-height: 350px; overflow-y: auto; padding-right: 8px; transition: opacity 0.3s ease, transform 0.3s ease; }
.floor-shops-list.fading { opacity: 0; transform: translateY(10px); }
.floor-shops-list::-webkit-scrollbar { width: 6px; }
.floor-shops-list::-webkit-scrollbar-track { background: var(--bg-body); border-radius: 10px; }
.floor-shops-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.floor-shop-item { background: var(--bg-body); padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); cursor: pointer; transition: 0.2s; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.floor-shop-item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.floor-shop-item strong { color: var(--text-main); font-weight: 600; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.floor-shop-item span { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   АРЕНДА И ПАРКИНГ
   ========================================================= */
.rental-main-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.rental-main-tab { padding: 15px 40px; border: none; border-radius: 30px; font-weight: 600; cursor: pointer; background: var(--bg-body); color: var(--text-main); transition: 0.3s; font-family: 'Inter', sans-serif; font-size: 16px; position: relative; overflow: hidden; }
.rental-main-tab.active { background: var(--primary); color: #fff; }
.rental-accordion-container { max-width: 900px; margin: 0 auto; }
.rental-accordion-item { background: var(--bg-card); border-radius: var(--radius-md); margin-bottom: 15px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); }
.rental-accordion-header { width: 100%; padding: 20px 25px; background: transparent; border: none; display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; color: var(--text-main); }
.rental-accordion-header i { transition: transform 0.3s; color: var(--primary); }
.rental-accordion-item.active .rental-accordion-header i { transform: rotate(180deg); }
.rental-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.rental-accordion-item.active .rental-accordion-body { max-height: 3000px; padding: 0 25px 25px; }
.rental-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.rental-card { background: var(--bg-body); padding: 25px; border-radius: var(--radius-md); display: flex; flex-direction: column; border: 1px solid var(--border-color); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s; overflow-wrap: break-word; word-wrap: break-word; }
.rental-card:hover { background: var(--bg-card); box-shadow: var(--shadow-hover); }
.rental-badge { align-self: flex-start; background: #28a745; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-bottom: 15px; font-weight: 600; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); padding: 8px 20px; border-radius: 25px; background: transparent; cursor: pointer; font-weight: 600; margin-top: auto; align-self: flex-start; transition: 0.3s; font-family: 'Inter', sans-serif; position: relative; overflow: hidden; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.rental-info-block { max-width: 900px; margin: 40px auto 0; background: var(--bg-card); border-radius: var(--radius-md); padding: 30px; border-left: 5px solid var(--primary); box-shadow: var(--shadow-soft); }
.rental-info-block h3 { margin-bottom: 15px; color: var(--text-main); font-size: 20px; }
.rental-info-block p { margin-bottom: 10px; color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.parking-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-top: 40px; }
.parking-info h3 { font-size: 24px; margin-bottom: 20px; }
.parking-info p { color: var(--text-muted); margin-bottom: 15px; font-size: 17px; line-height: 1.75; }
.parking-feature-list { display: flex; flex-direction: column; gap: 15px; margin: 30px 0; }
.parking-feature { display: flex; align-items: center; gap: 15px; font-weight: 500; font-size: 16px; }
.parking-feature i { width: 40px; height: 40px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.parking-contact-box { background: var(--bg-card); padding: 25px; border-radius: var(--radius-md); border-left: 4px solid var(--primary); }
.parking-contact-phone { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.parking-contact-phone i { font-size: 24px; color: #28a745; }
.parking-contact-phone a { font-size: 20px; font-weight: 700; color: var(--text-main); text-decoration: none; }
.parking-contact-phone span { font-size: 14px; color: var(--text-muted); display: block; }
.parking-pricing-card { background: #1a1a1a; color: #fff; padding: 40px 30px; border-radius: var(--radius-lg); }
.pricing-badge { width: 60px; height: 60px; background: var(--accent); color: #1a1a1a; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 25px; }
.pricing-list { list-style: none; margin-bottom: 30px; }
.pricing-list li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pricing-list li span { color: #aaa; }
.pricing-list li strong { color: #fff; font-size: 20px; }
.pricing-list li.pricing-total { border: none; border-top: 2px dashed rgba(255,255,255,0.2); padding-top: 20px; margin-top: 10px; }
.pricing-list li.pricing-total strong { color: var(--accent); font-size: 24px; }

/* =========================================================
   МОДАЛЬНЫЕ ОКНА
   ========================================================= */
.modal, .news-modal, .shop-detail-modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); overflow-y: auto; }
.modal-content, .news-modal-content { background: var(--bg-card); margin: 5% auto; padding: 30px; border-radius: var(--radius-lg); max-width: 600px; position: relative; animation: modalSlideIn 0.3s; color: var(--text-main); width: 90%; overflow-wrap: break-word; word-wrap: break-word; }
@keyframes modalSlideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal, .close-news-modal, .close-shop-modal { position: absolute; top: 15px; right: 20px; font-size: 32px; cursor: pointer; color: var(--text-muted); z-index: 10; transition: 0.3s; line-height: 1; }
.close-modal:hover, .close-news-modal:hover, .close-shop-modal:hover { color: #dc3545; transform: scale(1.1); }
.modal-content h2 { margin-bottom: 20px; color: var(--text-main); font-size: 24px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.modal-content h2::after { display: none; }
.modal-contact { background: var(--bg-body); padding: 15px; border-radius: var(--radius-sm); border-left: 4px solid #28a745; }
.modal-contact a { color: var(--primary); font-weight: bold; text-decoration: none; }

.shop-detail-content { background: var(--bg-card); margin: 3% auto; max-width: 1000px; width: 95%; border-radius: var(--radius-lg); position: relative; animation: modalSlideIn 0.3s; overflow: hidden; color: var(--text-main); }
.shop-modal-header { display: flex; align-items: center; gap: 30px; padding: 40px 40px 20px; background: var(--bg-body); border-bottom: 1px solid var(--border-color); }
.shop-modal-logo-wrapper { width: 150px; height: 150px; background: #fff; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); overflow: hidden; flex-shrink: 0; padding: 10px; }
.shop-modal-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shop-modal-title-wrapper h2 { font-size: 32px; color: var(--text-main); margin-bottom: 10px; line-height: 1.2; text-align: left; border: none; padding: 0; word-break: break-word; }
.shop-modal-title-wrapper h2::after { display: none; }
.shop-modal-title-wrapper p { color: var(--primary); font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.shop-status-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 15px; margin-top: 10px; }
.shop-status-badge.open { background: #e8f5e9; color: #2e7d32; }
.shop-status-badge.closed { background: #fbe9e7; color: #c62828; }
.shop-status-badge .status-dot { width: 8px; height: 8px; border-radius: 50%; }
.shop-status-badge.open .status-dot { background: #2e7d32; }
.shop-status-badge.closed .status-dot { background: #c62828; }
.shop-modal-body { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 40px; }
.shop-modal-sidebar h3, .shop-modal-main h3 { font-size: 20px; margin-bottom: 20px; color: var(--text-main); border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.sd-info-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.sd-info-list li { display: flex; gap: 15px; align-items: flex-start; }
.sd-info-list li > i { font-size: 20px; color: var(--primary); background: var(--primary-light); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.sd-info-list li div { display: flex; flex-direction: column; position: relative; width: 100%; }
.sd-info-list li strong { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.sd-info-list li span, .sd-info-list li a { font-size: 15px; color: var(--text-main); font-weight: 500; text-decoration: none; word-break: break-word; }
.sd-info-list li a:hover { color: var(--primary); text-decoration: underline; }
.sd-phone-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.sd-phone-list a { display: inline-block; font-size: 15px; color: var(--primary); font-weight: 500; text-decoration: none; }
.sd-phone-list a:hover { text-decoration: underline; }
.copy-btn { position: absolute; right: 0; top: 22px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; transition: 0.2s; }
.copy-btn:hover { color: var(--primary); }
.sd-action-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.sd-action-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; text-decoration: none; transition: 0.2s; border: none; cursor: pointer; width: 100%; position: relative; overflow: hidden; }
.sd-action-btn.call { background: #28a745; color: #fff; }
.sd-action-btn.call:hover { background: #218838; }
.sd-action-btn.secondary { background: var(--bg-body); color: var(--text-main); border: 1px solid var(--border-color); }
.sd-action-btn.secondary:hover { background: var(--border-color); }
.sd-description { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 30px; overflow-wrap: break-word; word-wrap: break-word; }
.sd-description * { max-width: 100%; }
.sd-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.sd-gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: 0.3s; }
.sd-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }

/* =========================================================
   КОНТАКТЫ, КАРТА, ПОДВАЛ
   ========================================================= */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; align-items: stretch; }
.contacts-left { display: flex; flex-direction: column; gap: 20px; }
.contacts-card, .parking-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.contacts-card h3, .parking-card h3 { margin: 0 0 20px; font-size: 20px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.contacts-card h3 i, .parking-card h3 i { color: var(--primary); }
.contacts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.contacts-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-size: 16px; color: var(--text-main); line-height: 1.45; }
.contacts-list li i { color: var(--primary); width: 18px; text-align: center; }
.contacts-list a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contacts-list .muted { color: var(--text-muted); font-size: 14px; width: 100%; margin-left: 30px; }
.contacts-right { display: flex; flex-direction: column; height: 100%; }
.contacts-map { width: 100%; flex-grow: 1; min-height: 500px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-soft); z-index: 1; }
.route-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; justify-content: center; }
.route-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 15px/1 "Inter", sans-serif; text-decoration: none; transition: var(--transition); flex: 1 1 auto; position: relative; overflow: hidden; }
.route-btn:hover { transform: translateY(-2px); }
.route-yandex { background: #ffdb4d; color: #1a1a1a; }
.route-google { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-color); }
.route-2gis { background: #3fc460; color: #fff; }
.custom-map-pin { display: flex; flex-direction: column; align-items: center; position: absolute; transform: translate(-50%, -100%); cursor: pointer; width: max-content; }
.custom-map-pin .pin-label { background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); position: relative; margin-bottom: 4px; white-space: nowrap; }
.custom-map-pin .pin-label::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0; border-style: solid; border-color: var(--primary) transparent transparent transparent; }
.custom-map-pin .pin-chip { background: var(--accent); color: #1a1a1a; font-weight: 700; font-size: 11px; padding: 4px 8px; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 4px; }
.custom-map-pin .pin-pulse { width: 24px; height: 24px; background: rgba(0,86,179,0.4); border-radius: 50%; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); animation: pulse 2s infinite; pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 86, 179, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0); } }
.map-balloon-content { font-family: 'Inter', sans-serif; padding: 5px; color: #333; }
.map-balloon-content h3 { margin: 0 0 5px 0; font-size: 16px; color: #0056b3; }
.map-balloon-content p { margin: 0 0 10px 0; font-size: 13px; color: #555; }
.popup-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.popup-buttons a { display: block; text-align: center; padding: 8px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: 0.2s; }
.btn-popup-yandex { background: #ffdb4d; color: #1a1a1a; }
.btn-popup-google { background: #fff; color: #1a1a1a; border: 1px solid #ccc; }
.footer { background: #1a1a1a; color: #888; padding: 50px 0 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.footer-logo { color: #fff; font-size: 24px; font-weight: 700; }
.footer-links a { color: #ccc; text-decoration: none; margin: 0 15px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; padding-top: 20px; border-top: 1px solid #333; flex-wrap: wrap; }
.footer-legal a { color: #888; text-decoration: none; font-size: 14px; transition: color 0.3s; border-bottom: 1px dotted #555; }
.footer-legal a:hover { color: #fff; border-bottom-color: #fff; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 14px; }

/* =========================================================
   ВИДЖЕТ ВРЕМЕНИ РАБОТЫ
   ========================================================= */
.work-widget { position: fixed; bottom: 24px; left: 24px; z-index: 1500; animation: wwIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s backwards; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease; }
.work-widget.hidden { transform: translateY(130%) scale(0.9); opacity: 0; pointer-events: none; }
@keyframes wwIn { from { transform: translateY(130%) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.ww-card { position: relative; min-width: 270px; max-width: 320px; padding: 16px 44px 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 16px 40px rgba(15, 30, 60, 0.12); overflow: hidden; }
[data-theme="dark"] .ww-card { background: rgba(28, 31, 39, 0.85); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.ww-status { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; position: relative; z-index: 1; }
.ww-status .status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ww-status .status-dot.open { background: #28a745; box-shadow: 0 0 0 0 rgba(40,167,69,0.5); animation: wwPulse 2s infinite; }
.ww-status .status-dot.closed { background: #dc3545; animation: none; }
@keyframes wwPulse { 0% { box-shadow: 0 0 0 0 rgba(40,167,69,0.45); } 70% { box-shadow: 0 0 0 9px rgba(40,167,69,0); } 100% { box-shadow: 0 0 0 0 rgba(40,167,69,0); } }
.ww-status .status-text { font-weight: 700; font-size: 14px; color: var(--text-main); letter-spacing: 0.3px; }
.ww-timer { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--primary); background: rgba(0, 86, 179, 0.08); padding: 4px 10px; border-radius: 12px; white-space: nowrap; }
[data-theme="dark"] .ww-timer { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.ww-info { position: relative; z-index: 1; }
.ww-name { font-weight: 700; font-size: 15px; color: var(--text-main); letter-spacing: 0.2px; }
.ww-hours { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.ww-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: none; border-radius: 50%; background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background 0.2s, color 0.2s, transform 0.2s; z-index: 2; }
.ww-close:hover { background: rgba(220, 53, 69, 0.1); color: #dc3545; transform: scale(1.1); }
.widget-restore { position: fixed; bottom: 24px; left: 24px; width: 52px; height: 52px; border-radius: 50%; border: none; background: linear-gradient(135deg, #0056b3, #0072d6); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 86, 179, 0.4); z-index: 1500; align-items: center; justify-content: center; animation: wwRestoreIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); transition: transform 0.2s, box-shadow 0.2s; }
.widget-restore:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 32px rgba(0, 86, 179, 0.5); }
@keyframes wwRestoreIn { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); width: 90%; max-width: 750px; background: #2b2b2b; border-radius: var(--radius-lg); padding: 25px 30px; z-index: 3000; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cookie-text { font-size: 15px; line-height: 1.5; color: #e0e0e0; }
.cookie-text a { color: #4CAF50; text-decoration: underline; }
.cookie-actions { display: flex; gap: 15px; width: 100%; justify-content: center; }
.btn-cookie-accept, .btn-cookie-decline { padding: 12px 30px; border-radius: 30px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s ease; min-width: 200px; border: none; position: relative; overflow: hidden; }
.btn-cookie-accept { background: #4CAF50; color: #fff; }
.btn-cookie-decline { background: transparent; color: #ccc; border: 1px solid #555; }
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4); z-index: 1500; opacity: 0; visibility: hidden; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); background: var(--primary-hover); }
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: var(--bg-card); border-top: 1px solid var(--border-color); z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--text-muted); font-size: 10px; gap: 4px; }
.mobile-bottom-nav a i { font-size: 18px; }
.mobile-bottom-nav a.active { color: var(--primary); }
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-card); color: var(--text-main); padding: 12px 20px; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.2); border-left: 4px solid var(--primary); display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; transform: translateX(120%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.toast.show { transform: translateX(0); }
.toast i { color: var(--primary); font-size: 18px; }

/* =========================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================================= */
@media (max-width: 992px) {
    .header-inner { height: 62px; }
    .header { height: 62px; }
    .nav-icons, .header-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-theme-toggle { display: flex; margin-right: 5px; }
    .mobile-anim-toggle { display: flex; margin-right: 5px; }
    .logo { font-size: 22px; }
    .search-container { top: 62px; }
    .hero-content h1 { font-size: 32px; }
    section { padding: 60px 0; }
    h2 { font-size: 26px; }
    .about-grid, .contacts-grid, .parking-grid { grid-template-columns: 1fr !important; gap: 30px; }
    .contacts-grid { align-items: start; }
    .contacts-right { min-height: auto; display: block; }
    .contacts-map { min-height: 300px; height: 300px; flex-grow: 0; }
    .shops-controls.desktop-controls { display: none; }
    .mobile-filters-wrapper { display: block; }
    #shops-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .shop-card { padding: 12px 10px; min-height: 320px; }
    .shop-logo { height: 64px; }
    .shop-card h3 { font-size: 12.5px; min-height: 32px; }
    .shop-description { font-size: 11.5px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .cafes-carousel .shop-card { width: 78vw; }
    .cafes-carousel .shop-logo { height: 100px; }
    .route-buttons { flex-direction: column; }
    .work-widget { bottom: calc(80px + env(safe-area-inset-bottom)); left: 10px; right: 10px; }
    .ww-card { max-width: none; min-width: 0; }
    .widget-restore { bottom: calc(80px + env(safe-area-inset-bottom)); left: 10px; }
    .scroll-to-top { bottom: 80px; right: 15px; width: 45px; height: 45px; }
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    .floor-shops-list { grid-template-columns: repeat(2, 1fr); max-height: 260px; }
    .toast-container { bottom: 80px; right: 10px; left: 10px; align-items: center; }
    .toast { width: 100%; justify-content: center; }
    .float-icon { display: none; }
}
@media (max-width: 480px) {
    .logo { font-size: 19px; }
    .category-grid { grid-template-columns: repeat(2, 1fr) !important; }
    #shops-container { gap: 8px; }
    .shop-card { padding: 10px 8px; min-height: 300px; }
    .floor-shops-header { flex-direction: column; align-items: flex-start; }
    .floor-shops-search { width: 100%; }
    .floor-shops-search input { width: 100%; }
}
@media (max-width: 768px) {
    .shop-detail-content { position: fixed; bottom: 0; left: 0; width: 100%; max-height: 92vh; margin: 0; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow: hidden; }
    .shop-detail-modal[style*="display: block"] .shop-detail-content { transform: translateY(0); }
    .swipe-handle { display: block; width: 40px; height: 5px; background: var(--border-color); border-radius: 5px; margin: 8px auto; flex-shrink: 0; }
    .shop-modal-header { padding: 5px 20px 15px; flex-direction: row; text-align: left; gap: 15px; align-items: flex-start; flex-shrink: 0; }
    .shop-modal-logo-wrapper { width: 64px; height: 64px; border-radius: 12px; padding: 5px; }
    .shop-modal-title-wrapper h2 { font-size: 20px; text-align: left; margin-bottom: 4px; }
    .shop-modal-title-wrapper p { font-size: 13px; justify-content: flex-start; }
    .shop-modal-body { overflow-y: auto; flex-grow: 1; padding: 0 20px 20px; display: flex; flex-direction: column; gap: 16px; }
    .shop-modal-sidebar { display: flex; flex-direction: column; gap: 12px; order: -1; }
    .shop-modal-sidebar > h3 { display: none; }
    .sd-info-list { margin-bottom: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .sd-info-list li { background: var(--bg-body); padding: 8px 12px; border-radius: 8px; flex: 1 1 100%; align-items: center; gap: 10px; }
    .sd-info-list li > i { width: 24px; height: 24px; font-size: 14px; background: transparent; color: var(--primary); }
    .sd-info-list li strong { font-size: 11px; margin-bottom: 0; }
    .sd-info-list li span, .sd-info-list li a { font-size: 14px; }
    .sd-action-buttons { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .sd-action-btn { padding: 12px; font-size: 15px; border-radius: 10px; }
    .sd-action-btn.call { flex: 1 1 100%; }
    .sd-action-btn.secondary { flex: 1 1 calc(50% - 4px); }
    .shop-modal-main > h3 { display: none; }
    .sd-description { font-size: 14px; margin-bottom: 15px; }
    .sd-gallery { grid-template-columns: 1fr; }
    .sd-gallery img { height: auto; max-height: 250px; }
    .close-shop-modal { color: var(--text-main); background: var(--bg-body); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; top: 10px; right: 15px; }
    .modal-content, .news-modal-content { margin: 10% auto; width: 92%; padding: 20px; border-radius: 20px; }
    .news-modal-image-wrapper { max-height: 250px; }
    .news-modal-body { padding: 20px; }
}
.swipe-handle { display: none; }