/* ==============================================================
   ДИЗАЙН-СИСТЕМА: ПРОКАТ САМОКАТ — ЧИСТОЕ ПОЛУПРОЗРАЧНОЕ СТЕКЛО & CYBER DARK
   ============================================================== */

:root {
    /* Фирменная градиентная палитра */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 45%, #f093fb 75%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
    --gradient-neon-green: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
    --gradient-blue-glow: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* ПОЛУПРОЗРАЧНОЕ СТЕКЛО (Translucent Frosted Glass) */
    --bg-dark: #07070d;
    --bg-surface: rgba(14, 14, 24, 0.85);
    --bg-glass-card: rgba(18, 18, 32, 0.45);
    --bg-glass-hover: rgba(26, 26, 44, 0.6);

    /* Грани, фаски и свечения */
    --glass-border-top: rgba(255, 255, 255, 0.3);
    --glass-border-side: rgba(255, 255, 255, 0.1);
    --glass-border-bottom: rgba(0, 0, 0, 0.5);
    --glass-bevel: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
    --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(240, 147, 251, 0.05);
    --glass-shadow-hover: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(240, 147, 251, 0.25);

    /* Тексты и акценты */
    --text-primary: #ffffff;
    --text-secondary: #a2a5bc;
    --text-muted: #6b6d84;
    --accent-pink: #f093fb;
    --accent-blue: #4facfe;
    --accent-cyan: #00f2fe;
    --accent-green: #38f9d7;
    --accent-yellow: #fee140;

    --glow-pink: 0 0 25px rgba(240, 147, 251, 0.4);
    --glow-blue: 0 0 30px rgba(79, 172, 254, 0.35);
    --glow-green: 0 0 20px rgba(56, 249, 215, 0.4);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================
   СВЕТЛАЯ ТЕМА (CLEAN LIGHT TECH THEME)
   ============================================================== */
[data-theme="light"] {
    --bg-dark: #eaeff7;
    --bg-surface: rgba(255, 255, 255, 0.96);
    --bg-glass-card: rgba(255, 255, 255, 0.95);
    --bg-glass-hover: #ffffff;

    --glass-border-top: rgba(255, 255, 255, 0.95);
    --glass-border-side: rgba(99, 102, 241, 0.22);
    --glass-border-bottom: rgba(148, 163, 184, 0.35);
    --glass-bevel: inset 0 1px 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 1px 0 rgba(99, 102, 241, 0.05);
    --glass-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.12);
    --glass-shadow-hover: 0 10px 20px -2px rgba(15, 23, 42, 0.08), 0 22px 42px -4px rgba(99, 102, 241, 0.18), 0 0 0 1.5px rgba(99, 102, 241, 0.38);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --accent-pink: #d946ef;
    --accent-blue: #2563eb;
    --accent-cyan: #0284c7;
    --accent-green: #059669;
    --accent-yellow: #d97706;

    --glow-pink: 0 0 20px rgba(217, 70, 239, 0.2);
    --glow-blue: 0 0 25px rgba(37, 99, 235, 0.16);
    --glow-green: 0 0 20px rgba(5, 150, 105, 0.2);
}

/* Базовый сброс */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
    min-height: 100vh;
}

button, input, select, textarea {
    font-family: inherit;
}

code, .hud-telemetry, .stat-num, .price-number, .tab-counter {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #25253c;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* ==============================================================
   ФОНОВАЯ АНИМАЦИЯ: ОРБЫ И СТАТИЧНЫЙ ВИДЕО-ФОН
   ============================================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.85;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.45;
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #764ba2, transparent 65%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f093fb, transparent 65%);
    top: 35%;
    right: -100px;
    animation-delay: -6s;
}

.orb-3 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #00f2fe, transparent 65%);
    bottom: -100px;
    left: 15%;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.06); }
    66% { transform: translate(-30px, 50px) scale(0.94); }
}

.video-background {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    opacity: 0.28;
    mask-image: radial-gradient(circle at right center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at right center, black 10%, transparent 80%);
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



/* ==============================================================
   СТЕКЛЯННЫЕ ПАНЕЛИ (GLASS-PANEL)
   ============================================================== */
.glass-panel {
    background: var(--bg-glass-card);
    backdrop-filter: blur(24px) saturate(190%) brightness(108%);
    -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(108%);
    border: 1px solid var(--glass-border-side);
    border-top: 1.5px solid var(--glass-border-top);
    border-bottom: 1px solid var(--glass-border-bottom);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-bevel), var(--glass-shadow);
    position: relative;
    transition: var(--transition);
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    pointer-events: none;
}

/* ==============================================================
   ШАПКА, TOPBAR И НАВИГАЦИОННЫЙ DOCK
   ============================================================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 13, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.top-bar {
    background: rgba(14, 14, 24, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    padding: 13px 0;
    color: var(--text-secondary);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.city-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: var(--glow-green);
    animation: pulseGlow 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.top-icon, .contact-mini-icon {
    color: var(--accent-pink);
}

.schedule-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.direct-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--accent-pink);
}

.manager-name {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.divider {
    color: rgba(255, 255, 255, 0.15);
}

.quick-socials {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}

.social-icon-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 5px;
    display: block;
    transition: transform 0.25s ease;
}

.social-icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

.social-icon-btn:hover img {
    transform: scale(1.08);
}

.social-icon-btn.vk:hover {
    border-color: rgba(0, 119, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.45);
}

.social-icon-btn.tg:hover {
    border-color: rgba(0, 136, 204, 0.6);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.45);
}

.social-icon-btn.wa:hover {
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
}

.social-icon-btn.max:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.45);
}

/* Navbar */
.navbar {
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 46px;
    width: 46px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-accent);
    box-shadow: var(--glow-pink);
    transition: var(--transition);
}

.brand-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Стеклянные SPA Вкладки */
.nav-tabs {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(20, 20, 32, 0.5);
    backdrop-filter: blur(16px);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Плавно скользящий неоновый пузырек активной вкладки */
.nav-indicator-pill {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(240, 147, 251, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.34, 1.25, 0.64, 1), width 0.3s cubic-bezier(0.34, 1.25, 0.64, 1), height 0.3s cubic-bezier(0.34, 1.25, 0.64, 1);
    opacity: 0;
}

.tab-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.svg-nav-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.tab-btn:hover .svg-nav-icon {
    transform: scale(1.15);
    color: var(--accent-pink);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: transparent !important;
}

.tab-btn.active {
    color: #ffffff;
    background: transparent !important;
    box-shadow: none !important;
}

.burger-external-link,
.burger-socials-row {
    display: none;
}

.tab-counter {
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
}

/* Кнопка переключения темы и Корзина в хедере */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.theme-toggle-btn:hover {
    background: rgba(240, 147, 251, 0.2);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: var(--glow-pink);
}

.theme-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:hover .theme-toggle-icon {
    transform: rotate(25deg);
}

.cart-trigger-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 6px 16px rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cart-trigger-btn:hover {
    background: rgba(240, 147, 251, 0.18);
    border-color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: var(--glow-pink), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gradient-2);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.6);
}

.cart-btn-label {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
}

.cart-btn-total {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.88rem;
    white-space: nowrap;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==============================================================
   КНОПКИ И ОБЩИЕ ЭЛЕМЕНТЫ
   ============================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: #ffffff;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 8px 22px rgba(240, 147, 251, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 12px 30px rgba(240, 147, 251, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-tg-order {
    background: #0077b5;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 119, 181, 0.4);
}
.btn-tg-order:hover {
    background: #0085cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.55);
}

.btn-wa-order {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.btn-wa-order:hover {
    background: #2ee06f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.btn-email-order {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-email-order:hover {
    background: rgba(255, 255, 255, 0.14);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==============================================================
   HERO SECTION
   ============================================================== */
.hero-section {
    padding: 45px 0 35px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-chip-wrapper {
    display: flex;
    justify-content: flex-start;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(240, 147, 251, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(240, 147, 251, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent-pink);
    margin-bottom: 0;
}

.chip-svg {
    animation: flashPulse 2s infinite ease-in-out;
}

@keyframes flashPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: stretch; /* Верхняя и нижняя границы идеально совпадают */
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-title {
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.14;
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 580px;
    line-height: 1.55;
}

/* КАРТОЧКИ БЫСТРОГО ПЕРЕКЛЮЧЕНИЯ В HERO */
.hero-action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.hero-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--glass-bevel), 0 12px 25px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 125px;
    gap: 12px;
}

.hero-card-svg-box {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: var(--transition);
}

.hero-card-svg-box svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}

.hero-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(0, 242, 254, 0.4);
    border-top-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--glass-bevel), 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 242, 254, 0.2);
}

.hero-card:hover .hero-card-svg-box {
    color: var(--accent-pink);
}

.hero-card:hover .hero-card-svg-box svg {
    filter: drop-shadow(0 0 10px rgba(240, 147, 251, 0.5));
}

.hero-card.active-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.18) 0%, rgba(0, 242, 254, 0.12) 100%), rgba(14, 18, 32, 0.7);
    border-color: var(--accent-cyan);
    border-top-color: rgba(255, 255, 255, 0.6);
    box-shadow: var(--glass-bevel), 0 12px 30px rgba(0, 242, 254, 0.3);
}

.hero-card.active-card .hero-card-svg-box {
    color: var(--accent-cyan);
}

.hero-card.active-card .hero-card-svg-box svg {
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.6));
}

.hero-card-info h3,
.hero-card-info .hero-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-card-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* ПРАВЫЙ ШОУКЕЙС HERO */
.hero-visual-card {
    position: relative;
    height: 100%;
    display: flex;
}

.cyber-card-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    filter: blur(28px);
    opacity: 0.25;
    z-index: 0;
}

.bike-showcase {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--bg-glass-card);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--glass-bevel), 0 20px 45px rgba(0, 0, 0, 0.55);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.hero-showcase-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-showcase-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.showcase-badge {
    background: var(--gradient-accent);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.35);
}

.hero-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.hero-stock-pill.in-stock {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.hero-stock-pill.out-stock {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero-stock-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.hero-showcase-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}

/* Сцена для демонстрации фото (без двойных рамок) */
.hero-stage {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.16) 0%, rgba(15, 23, 42, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

[data-theme="light"] .hero-stage {
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, rgba(241, 245, 249, 0.85) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-stage .hero-showcase-img-frame {
    width: 100%;
    height: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px;
    margin: 0 !important;
}

.hero-stage .card-uploaded-img,
.hero-stage .hero-uploaded-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
}

/* Характеристики в карточке Hero */
.hero-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-spec-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

[data-theme="light"] .hero-spec-pill {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hero-spec-ico {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-spec-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-spec-meta small {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-spec-meta strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}

.price-col {
    display: flex;
    flex-direction: column;
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.price-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Статистическая полоса под карточками (статичная) */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    margin-top: 8px;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-pill:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1.45rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}

.stat-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-val small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==============================================================
   SPA СЕКЦИИ И АКТИВАЦИЯ
   ============================================================== */
.spa-section {
    position: relative;
    padding: 60px 0 80px;
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.spa-section.active-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-pink);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==============================================================
   БЛОК 1: АРЕНДА ЭЛЕКТРОТРАНСПОРТА
   ============================================================== */
.rental-models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 26px;
    margin-bottom: 40px;
    padding-top: 15px;
}

@media (max-width: 940px) {
    .rental-models-grid {
        grid-template-columns: 1fr;
    }
}

.rental-card {
    padding: 30px 26px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.featured-rental-card {
    border-color: rgba(240, 147, 251, 0.35);
    box-shadow: var(--glass-bevel), 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 25px rgba(240, 147, 251, 0.18);
}

.card-top-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    z-index: 10;
}

.badge-neon {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.5);
}

/* Верхний большой блок фото/арт велосипеда */
.model-visual-box {
    margin-bottom: 20px;
}

.model-placeholder-art {
    height: 195px;
    width: 100%;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%), rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    transition: var(--transition);
}

/* Векторная заглушка для электровелосипеда */
.bike-svg-fallback-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    gap: 8px;
}

.bike-svg-art {
    width: 110px;
    height: 65px;
    filter: drop-shadow(0 4px 14px rgba(99, 102, 241, 0.35));
    transition: transform 0.3s ease;
}

.rental-card:hover .bike-svg-art,
.product-buy-card:hover .bike-svg-art {
    transform: scale(1.06) translateY(-2px);
}

.bike-fallback-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

[data-theme="light"] .bike-fallback-title {
    background: rgba(0, 0, 0, 0.05);
    color: #475569;
    border-color: rgba(148, 163, 184, 0.3);
}

.model-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.25;
    color: var(--text-primary);
}

.model-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-green);
    white-space: nowrap;
}

.stock-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Мини-сетка характеристик */
.specs-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.spec-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.spec-cell:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(99, 102, 241, 0.35);
}

.spec-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon-box.spec-icon-xs {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.spec-icon-box svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.spec-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.spec-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.spec-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Чипы характеристик в блоке покупки */
.buy-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.buy-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Стеклянный переключатель тарифа */
.period-switcher-box {
    background: rgba(8, 8, 16, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.switcher-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.period-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.p-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 7px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.p-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.p-tab.active {
    background: var(--gradient-accent);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.price-and-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rental-price-row,
.period-price-display {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.price-main,
.current-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.price-main .num,
.price-number {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap !important;
}

.price-main .curr,
.price-curr {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-pink);
    line-height: 1;
    white-space: nowrap !important;
}

.period-note,
.price-period-note {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    line-height: 1.35;
}

.price-and-cta .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: var(--radius-md);
}

.included-perks {
    list-style: none;
    margin-bottom: 24px;
}

.included-perks li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-svg {
    flex-shrink: 0;
}

/* Стили карточек со статусом «Скоро в наличии» */
.upcoming-rental-card {
    border-color: rgba(0, 242, 254, 0.18);
    background: rgba(12, 14, 26, 0.45);
}

.badge-upcoming {
    background: linear-gradient(135deg, rgba(13, 31, 60, 0.95) 0%, rgba(20, 50, 90, 0.95) 100%);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.upcoming-art {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0.08) 100%), rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 242, 254, 0.15);
}

.stock-indicator.upcoming-stock {
    color: var(--accent-cyan);
}

.dot-upcoming {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
    flex-shrink: 0;
}

.standalone-price-display {
    background: rgba(8, 8, 16, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.btn-upcoming-action {
    background: rgba(0, 242, 254, 0.08) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    color: var(--accent-cyan) !important;
    font-weight: 700;
}

.btn-upcoming-action:hover {
    background: rgba(0, 242, 254, 0.18) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35) !important;
    color: #ffffff !important;
}

/* Условия аренды */
.rental-conditions-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--bg-glass-card);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--glass-bevel), 0 15px 35px rgba(0, 0, 0, 0.45);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cond-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cond-icon {
    color: var(--accent-pink);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cond-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cond-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==============================================================
   БЛОК 2: ПОКУПКА ЭЛЕКТРОТРАНСПОРТА
   ============================================================== */
.sub-filter-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.filter-pill.active {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(240, 147, 251, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 36px 30px;
    padding-top: 15px;
}

.product-buy-card {
    padding: 30px 26px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.new-badge {
    background: var(--gradient-neon-green);
    color: #06060a;
    box-shadow: 0 4px 12px rgba(56, 249, 215, 0.4);
}

.used-badge {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.buy-img-box {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.buy-img-box:not(.has-frame):not(:has(.buy-img-frame)) {
    height: 180px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-img-box.has-frame,
.buy-img-box:has(.buy-img-frame) {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
    padding: 0 !important;
    overflow: visible;
}

.buy-bike-svg {
    filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.4));
    transition: transform 0.35s ease;
}

.product-buy-card:hover .buy-bike-svg {
    transform: scale(1.08) translateY(-2px);
}

.buy-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.buy-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.buy-specs {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.buy-footer,
.buy-price-row {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-price-block,
.buy-price-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.buy-price {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.buy-installment {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    line-height: 1.35;
}

.buy-footer .btn,
.buy-price-row .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: var(--radius-md);
}

/* ==============================================================
   БЛОК 3: КАТАЛОГ ЗАПЧАСТЕЙ И АКСЕССУАРОВ
   ============================================================== */
.catalog-toolbar {
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-full);
    padding: 12px 40px 12px 42px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--accent-pink);
    border-top-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 18px rgba(240, 147, 251, 0.25);
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sort-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.custom-select {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.stock-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: var(--radius-full);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-green);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Категории запчастей */
.parts-categories-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 30px;
    scrollbar-width: thin;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.category-pill svg {
    color: var(--accent-pink);
    transition: transform 0.2s ease;
}

.category-pill:hover svg {
    transform: scale(1.15);
}

.category-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.category-pill.active {
    background: var(--gradient-accent);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 4px 16px rgba(240, 147, 251, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.category-pill.active svg {
    color: #fff;
}

.count-tag {
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

/* Сетка карточек запчастей */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.part-item-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--glass-bevel), 0 15px 35px rgba(0, 0, 0, 0.45);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.part-item-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(240, 147, 251, 0.4);
    border-top-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-5px);
    box-shadow: var(--glass-bevel), 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 22px rgba(240, 147, 251, 0.2);
}

.part-card-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.part-stock-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.in-stock-pill {
    background: rgba(56, 249, 215, 0.16);
    color: var(--accent-green);
    border: 1px solid rgba(56, 249, 215, 0.35);
}

.order-pill {
    background: rgba(254, 225, 64, 0.16);
    color: var(--accent-yellow);
    border: 1px solid rgba(254, 225, 64, 0.35);
}

.part-svg-box {
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-pink);
    margin-bottom: 14px;
    transition: var(--transition);
}

.part-item-card:hover .part-svg-box {
    background: rgba(240, 147, 251, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(240, 147, 251, 0.3);
}

.part-svg-illustration {
    filter: drop-shadow(0 0 8px rgba(240, 147, 251, 0.3));
    transition: transform 0.3s ease;
}

.part-item-card:hover .part-svg-illustration {
    transform: scale(1.1);
}

.part-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #ffffff;
}

.part-compat {
    font-size: 0.78rem;
    color: var(--accent-cyan);
    margin-bottom: 14px;
}

.part-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.part-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(240, 147, 251, 0.16);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-pink);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--gradient-main);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(240, 147, 251, 0.5);
}

/* Пустое состояние */
.empty-parts-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-glass-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--glass-bevel), 0 15px 35px rgba(0, 0, 0, 0.45);
}

.empty-svg-icon {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-parts-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-parts-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ==============================================================
   БЛОК 4: СЕРВИСНЫЙ ЦЕНТР И РЕМОНТ
   ============================================================== */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    padding: 24px;
}

.serv-svg-icon {
    color: var(--accent-pink);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.service-card:hover .serv-svg-icon {
    color: var(--accent-cyan);
    transform: scale(1.12);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-price-box {
    padding: 32px;
}

.price-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.price-box-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
}

.discount-badge {
    background: var(--gradient-neon-green);
    color: #06060a;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(56, 249, 215, 0.4);
}

/* Поиск и фильтры категорий в сервисе */
.service-search-wrap {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.service-search-input-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.service-search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

#serviceSearchInput.service-search-input,
.service-search-input {
    width: 100%;
    padding: 12px 42px 12px 46px !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-search-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-search-input-box:focus-within .service-search-icon {
    color: var(--accent-cyan);
}

.clear-service-search-btn {
    position: absolute;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.clear-service-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1);
}

.service-search-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-search-stats span {
    color: var(--accent-cyan);
    font-weight: 700;
}

.service-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 4px 12px 4px;
    overflow: visible;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    user-select: none;
    position: relative;
}

.service-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 254, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.2);
}

.service-pill.active {
    background: var(--gradient-neon-blue, linear-gradient(135deg, #00f2fe 0%, #4facfe 100%));
    color: #06060a;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.4);
}

.service-pill.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 242, 254, 0.55);
    color: #06060a;
}

.service-empty-search {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    margin: 10px 0;
}

.service-empty-search .empty-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.service-empty-search h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-primary);
}

.service-empty-search p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.5;
}

.price-items-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.price-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 147, 251, 0.3);
    transform: translateX(4px);
}

.row-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.row-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.row-cost {
    font-weight: 800;
    color: var(--accent-cyan);
    font-size: 1.05rem;
    text-align: right;
}

.row-cost small {
    display: block;
    font-size: 0.72rem;
    color: var(--accent-green);
    font-weight: 400;
}

.service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-phone-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-phone-hint a {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 700;
}

/* ==============================================================
   БЛОК 5: КОНТАКТЫ, КАРТА С ПЕРЕКЛЮЧАТЕЛЕМ И ТЕМНЫЕ КОНТРОЛЫ
   ============================================================== */
.contacts-wrapper-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
}

.contact-info-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hub-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 249, 215, 0.12);
    border: 1px solid rgba(56, 249, 215, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.pulse-green {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: var(--glow-green);
    animation: pulseGlow 1.8s infinite;
}

.info-block {
    display: flex;
    gap: 16px;
}

.info-ico {
    color: var(--accent-pink);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4,
.info-text h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sub-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.accent-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
}

.accent-link:hover {
    color: var(--accent-pink);
}

.messengers-cta-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.msg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    transition: var(--transition);
    width: 100%;
}

.vk-btn {
    background: #0077ff;
    box-shadow: 0 6px 18px rgba(0, 119, 255, 0.4);
}
.vk-btn:hover {
    background: #1a88ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 255, 0.55);
}

.tg-btn {
    background: #0088cc;
    box-shadow: 0 6px 18px rgba(0, 136, 204, 0.4);
}
.tg-btn:hover {
    background: #009be6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.55);
}

.wa-btn {
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.wa-btn:hover {
    background: #2fe371;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.max-btn {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}
.max-btn:hover {
    background: linear-gradient(135deg, #6d28d9, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
}

.msg-btn-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}

/* КОЛОНКА КАРТЫ С ПЕРЕКЛЮЧАТЕЛЕМ ТЕМ */
.map-section-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}



.map-container-card {
    padding: 0;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #090910;
}

.cyber-dark-map {
    width: 100%;
    height: 100%;
    background: #090910;
    z-index: 1;
}

/* Кастомный неоновый маркер */
.neon-map-pin {
    width: 32px;
    height: 32px;
    background: var(--gradient-main);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.8), 0 0 10px rgba(0, 242, 254, 0.8);
    border: 2px solid #fff;
}

.neon-pin-inner {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: rotate(45deg);
}

/* ТЕМНЫЕ СТЕКЛЯННЫЕ КНОПКИ ЗУМА LEAFLET (ВМЕСТО БЕЛЫХ) */
.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7) !important;
    background: transparent !important;
}

.leaflet-control-zoom a {
    background: rgba(14, 14, 26, 0.88) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(16px);
    transition: all 0.2s ease !important;
    font-weight: 700;
}

.leaflet-control-zoom a:hover {
    background: var(--accent-pink) !important;
    color: #ffffff !important;
}

/* ЧЕТКОЕ И АККУРАТНОЕ ПОПАП ОКНО */
.leaflet-popup-content-wrapper {
    background: rgba(14, 14, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(240, 147, 251, 0.4) !important;
    border-radius: var(--radius-md) !important;
    padding: 6px 14px !important;
    min-width: 230px !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(240, 147, 251, 0.3) !important;
}

.leaflet-popup-tip {
    background: rgba(14, 14, 26, 0.95) !important;
}

.map-popup-text strong {
    color: var(--accent-pink);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.map-popup-text span {
    color: #fff;
    font-size: 0.82rem;
}

/* НИЖНЯЯ ПАНЕЛЬ ПОД КАРТОЙ */
.map-bottom-controls {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.map-hub-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-hub-pin-icon {
    font-size: 1.5rem;
}

.map-hub-details strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.map-hub-details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.map-nav-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map-action-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
}

.yandex-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.yandex-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.twogis-btn {
    background: rgba(56, 249, 215, 0.14);
    border: 1px solid rgba(56, 249, 215, 0.3);
    color: var(--accent-green);
}

.twogis-btn:hover {
    background: var(--accent-green);
    color: #06060a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 249, 215, 0.4);
}

/* ==============================================================
   SLIDE-OVER КОРЗИНА (CART DRAWER)
   ============================================================== */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(12, 12, 22, 0.92);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 1px 0 2px rgba(255, 255, 255, 0.2), -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.cart-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.cart-title-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

.cart-items-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
    white-space: nowrap;
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-row {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.cart-item-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(240, 147, 251, 0.3);
}

.cart-item-ico {
    color: var(--accent-pink);
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 3px 10px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    color: var(--accent-pink);
    transform: scale(1.2);
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #ff4757;
    transform: scale(1.2);
}

.cart-empty-message {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
}

.cart-empty-svg {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cart-drawer-footer {
    padding: 22px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 18, 0.95);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cart-final-sum {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-input-group input:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(240, 147, 251, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.checkout-hint {
    font-size: 0.78rem;
    color: #9aa2be;
    margin-top: 4px;
    text-align: center;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Контакты покупателя в корзине */
.cart-contacts-block {
    margin-bottom: 14px;
}

.cart-input-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-contacts-block input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.cart-contacts-block input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(56, 249, 215, 0.25);
    background: rgba(0, 0, 0, 0.6);
}

.cart-messenger-actions {
    margin-top: 4px;
}

.cart-messenger-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.cart-messenger-row .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

/* Карточки товаров в корзине */
.cart-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(56, 249, 215, 0.15);
    color: var(--accent-cyan);
    margin-bottom: 3px;
    border: 1px solid rgba(56, 249, 215, 0.25);
}

.cart-item-tag.used {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
    border-color: rgba(255, 170, 0, 0.25);
}

/* Пульсация кнопки корзины в шапке при добавлении товара */
@keyframes cartPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.18); box-shadow: 0 0 25px rgba(56, 249, 215, 0.7); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.cart-trigger-btn.pulsing {
    animation: cartPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Блокировка скролла основного сайта при открытых модалках или админке */
body.admin-open,
body.modal-open {
    overflow: hidden !important;
}

/* ==============================================================
   МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ И АДМИН-СТУДИИ
   ============================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 4000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    width: 100%;
    max-width: 480px;
    padding: 36px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s ease;
}

.modal-backdrop.open .modal-window {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input-group select {
    width: 100%;
}

/* ==============================================================
   ТОСТЫ И ФУТЕР
   ============================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-item {
    background: rgba(18, 18, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-pink);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(240, 147, 251, 0.3);
    animation: toastIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.footer {
    background: #040407;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: auto;
    max-height: 52px;
    width: 160px;
    aspect-ratio: 16 / 7;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand h3,
.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-nav h4,
.footer-nav h3,
.footer-contacts h4,
.footer-contacts h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-pink);
}

.footer-contacts p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 20px;
    text-align: center;
    color: #8a94a6;
    font-size: 0.8rem;
}

/* ==============================================================
   АДАПТИВНОСТЬ
   ============================================================== */
/* ==============================================================
   ПОЛНАЯ АДАПТИВНОСТЬ ДЛЯ СМАРТФОНОВ (MOBILE-FIRST & TOUCH UI)
   ============================================================== */
@media (max-width: 992px) {
    .hero-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hero-action-cards {
        grid-template-columns: 1fr;
    }
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacts-wrapper-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    /* ==============================================================
       MOBILE PERFORMANCE OPTIMIZATION (60 FPS NO-LAG SCROLL)
       ============================================================== */
    /* 1. Предотвращение горизонтальной прокрутки */
    html, body {
        overflow-x: clip !important;
        width: 100%;
        max-width: 100vw;
        -webkit-text-size-adjust: 100%;
    }

    /* 2. Отключение тяжелых фоновых анимаций и размытий */
    .animated-bg .gradient-orb,
    .gradient-orb.orb-1,
    .gradient-orb.orb-2,
    .gradient-orb.orb-3 {
        display: none !important;
        animation: none !important;
        filter: none !important;
    }

    .cyber-grid {
        animation: none !important;
        opacity: 0.2 !important;
    }

    /* 3. Полное отключение backdrop-filter на мобильных */
    .glass-panel,
    .rental-card,
    .product-buy-card,
    .part-card-premium,
    .hero-showcase-card,
    .service-price-table-card,
    .contacts-info-card,
    .map-frame-box,
    .switch-tab-card,
    .modal-window,
    .sbp-modal-window,
    .cart-drawer,
    .admin-panel-window,
    .navbar,
    .nav-tabs,
    .admin-auth-modal {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 4. Замена на плотные чистые фоны и легкие тени */
    .glass-panel,
    .rental-card,
    .product-buy-card,
    .part-card-premium,
    .hero-showcase-card,
    .service-price-table-card,
    .contacts-info-card,
    .map-frame-box,
    .switch-tab-card {
        background: #0e0f1d !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    [data-theme="light"] .glass-panel,
    [data-theme="light"] .rental-card,
    [data-theme="light"] .product-buy-card,
    [data-theme="light"] .part-card-premium,
    [data-theme="light"] .hero-showcase-card,
    [data-theme="light"] .service-price-table-card,
    [data-theme="light"] .contacts-info-card,
    [data-theme="light"] .map-frame-box,
    [data-theme="light"] .switch-tab-card {
        background: #ffffff !important;
        border: 1px solid rgba(148, 163, 184, 0.25) !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
    }

    .navbar {
        background: #080812 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    }

    [data-theme="light"] .navbar {
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }

    .nav-tabs {
        background: #0e0f1d !important;
    }

    [data-theme="light"] .nav-tabs {
        background: #ffffff !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.25) !important;
    }

    .modal-window,
    .sbp-modal-window {
        background: #0e0f1d !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85) !important;
        will-change: transform, opacity;
    }

    [data-theme="light"] .modal-window,
    [data-theme="light"] .sbp-modal-window {
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

    .cart-drawer {
        background: #0e0f1d !important;
        will-change: transform;
    }

    [data-theme="light"] .cart-drawer {
        background: #ffffff !important;
    }

    .sbp-qr-glow-frame {
        animation: none !important;
        box-shadow: 0 0 15px rgba(56, 249, 215, 0.3) !important;
    }

    /* 5. Ограничение размера картинок */
    .card-uploaded-img,
    .buy-img-frame img,
    .hero-showcase-img-frame img,
    .rental-img-frame img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .container {
        padding: 0 14px;
    }

    /* Верхняя панель */
    .top-bar {
        display: none;
    }

    /* Закрепленная мобильная шапка при скролле */
    .header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: rgba(7, 7, 13, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    }

    [data-theme="light"] .header {
        background: rgba(255, 255, 255, 0.96) !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.25) !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    }

    /* Навигация */
    .navbar {
        padding: 8px 0;
        position: relative;
    }

    .nav-container {
        padding: 0 12px;
    }

    .nav-tabs {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        padding: 14px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        gap: 6px;
        z-index: 999;
    }

    .nav-tabs.mobile-open {
        display: flex;
        animation: fadeIn 0.25s ease;
    }

    .nav-indicator-pill {
        display: none;
    }

    .tab-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 0.92rem;
        min-height: 44px;
        border-radius: var(--radius-sm);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .tab-btn.active {
        background: var(--gradient-accent) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 16px rgba(240, 147, 251, 0.4) !important;
        font-weight: 700 !important;
    }

    .tab-btn.active .svg-nav-icon {
        color: #ffffff !important;
    }

    .tab-btn.active:hover {
        color: #ffffff !important;
    }

    .tab-btn:not(.active):hover {
        background: rgba(255, 255, 255, 0.06) !important;
    }

    [data-theme="light"] .tab-btn.active {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
    }

    [data-theme="light"] .tab-btn.active .svg-nav-icon {
        color: #ffffff !important;
    }

    [data-theme="light"] .tab-btn.active:hover {
        color: #ffffff !important;
    }

    [data-theme="light"] .tab-btn:not(.active):hover {
        background: rgba(15, 23, 42, 0.05) !important;
    }

    .nav-tabs.mobile-open .burger-external-link {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        min-height: 44px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        color: #fff;
        font-weight: 700;
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(236, 72, 153, 0.25));
        border: 1px solid rgba(124, 58, 237, 0.4);
        margin-top: 4px;
        transition: var(--transition);
    }

    .burger-max-icon {
        width: 22px;
        height: 22px;
        object-fit: contain;
        border-radius: 5px;
        flex-shrink: 0;
    }

    .nav-tabs.mobile-open .burger-external-link:hover {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(236, 72, 153, 0.4));
        transform: translateY(-1px);
    }

    .nav-tabs.mobile-open .burger-socials-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .burger {
        display: flex;
        min-width: 40px;
        min-height: 40px;
        align-items: center;
        justify-content: center;
    }

    /* HERO СЕКЦИЯ НА МОБИЛЬНЫХ */
    .hero-section {
        padding: 12px 0 24px 0;
    }

    .hero-container {
        gap: 16px;
    }

    .hero-main-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .hero-text-col {
        order: 1;
    }

    .hero-showcase-col {
        order: 2;
    }

    .hero-action-cards {
        order: 3;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 10px;
    }

    .switch-tab-card {
        padding: 10px 6px !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: var(--radius-sm) !important;
        gap: 4px !important;
    }

    .switch-tab-card .switch-card-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }

    .switch-tab-card h3 {
        font-size: 0.75rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .switch-tab-card p,
    .switch-tab-card .switch-card-arrow {
        display: none !important;
    }

    /* Все сетки карточек в 1 колонку */
    .rental-cards-grid,
    .purchase-grid,
    .parts-grid,
    .service-features-grid,
    .admin-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding-top: 14px;
    }

    /* Карточки аренды и покупки */
    .rental-card,
    .product-buy-card,
    .part-card-premium {
        max-width: 100%;
        box-sizing: border-box;
        padding: 18px 14px 16px;
        border-radius: 18px;
        position: relative;
        overflow: visible !important;
    }

    .rental-img-frame,
    .buy-img-frame {
        height: 190px !important;
        width: 100%;
        border-radius: 12px;
    }

    .rental-badge,
    .card-top-badge {
        position: absolute;
        top: -12px;
        left: 16px;
        z-index: 10;
        font-size: 0.74rem;
        padding: 4px 12px;
        border-radius: var(--radius-full);
        white-space: nowrap;
        max-width: calc(100% - 32px);
        line-height: 1.2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

    .rental-title,
    .buy-title {
        font-size: 1.15rem;
        margin: 8px 0 4px 0;
        line-height: 1.25;
    }

    .rental-desc,
    .buy-desc {
        font-size: 0.82rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* Сетка характеристик 2x2 */
    .rental-specs-mini-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    .spec-cell {
        padding: 6px 8px !important;
        border-radius: 8px !important;
        gap: 6px !important;
    }

    .spec-icon-box.spec-icon-xs {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }

    .spec-lbl {
        font-size: 0.65rem !important;
    }

    .spec-val {
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    /* Табы тарифов */
    .rental-period-tabs {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 3px !important;
        padding: 3px !important;
        margin-bottom: 12px !important;
    }

    .p-tab {
        padding: 8px 2px !important;
        font-size: 0.72rem !important;
        min-height: 38px !important;
        text-align: center !important;
    }

    .price-and-cta {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .price-and-cta .btn,
    .buy-footer .btn {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
    }

    .buy-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .buy-specs-chips {
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    .buy-spec-chip {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 110px !important;
        padding: 6px 8px !important;
        font-size: 0.76rem !important;
    }

    .rental-conditions-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Фильтры и тулбары */
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .toolbar-controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    .catalog-tabs-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .catalog-tabs-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        min-height: 40px;
        padding: 6px 14px;
        font-size: 0.82rem;
        flex-shrink: 0;
    }

    /* Раздел сервиса и прайс-лист */
    .price-row {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 12px 14px;
    }

    .row-time {
        display: none;
    }

    /* Карта и контакты */
    .map-bottom-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .map-theme-switcher-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Корзина */
    .cart-drawer {
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Модальные окна */
    .modal-window,
    .sbp-modal-window {
        width: 95% !important;
        max-width: 95vw !important;
        max-height: 90vh !important;
        padding: 20px 14px !important;
        margin: auto !important;
    }

    /* Админ-панель */
    .admin-panel-window {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
    }

    .admin-nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding: 6px;
    }

    .admin-nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .admin-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    /* Смартфоны шириной 360–430px */
    .container {
        padding: 0 12px;
    }

    /* Логотип */
    .logo-text {
        display: flex;
        flex-direction: column;
    }

    .logo-title {
        font-size: 0.9rem;
        font-weight: 900;
        letter-spacing: -0.3px;
        line-height: 1.1;
    }

    .logo-sub {
        display: none !important;
    }

    .logo-img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    /* Кнопки навбара */
    .nav-actions {
        gap: 6px;
    }

    .cart-btn-label,
    .cart-btn-total {
        display: none !important;
    }

    .cart-trigger-btn {
        padding: 6px 10px;
        min-height: 38px;
        gap: 4px;
    }

    .theme-toggle-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    .burger {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    /* Hero секция */
    .hero-section {
        padding: 10px 0 20px 0;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 8px;
    }

    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .hero-badge-pill {
        font-size: 0.72rem;
        padding: 3px 8px;
        margin-bottom: 10px;
    }

    .hero-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        margin-top: 10px;
    }

    .stat-card-micro {
        padding: 8px 10px;
    }

    .stat-number {
        font-size: 1.15rem;
    }

    .stat-desc {
        font-size: 0.68rem;
    }

    /* Showcase Card */
    .hero-showcase-card {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .hero-showcase-header {
        margin-bottom: 8px;
    }

    .hero-showcase-badge-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
    }

    .showcase-badge {
        font-size: 0.7rem;
        padding: 2px 7px;
        max-width: 100%;
        white-space: normal;
        line-height: 1.2;
    }

    .hero-stock-pill {
        font-size: 0.7rem;
        padding: 2px 7px;
        white-space: nowrap;
    }

    .hero-showcase-title {
        font-size: 1.15rem;
        line-height: 1.22;
        margin-bottom: 4px;
    }

    .hero-stage {
        height: 170px;
        min-height: 170px;
        padding: 8px;
        margin: 4px 0 10px 0;
    }

    .hero-specs-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        margin-bottom: 12px;
    }

    .hero-spec-pill {
        padding: 6px 4px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3px;
    }

    .hero-spec-pill .spec-icon-box {
        width: 24px;
        height: 24px;
        margin: 0;
    }

    .hero-spec-meta small {
        font-size: 0.62rem;
        display: block;
    }

    .hero-spec-meta strong {
        font-size: 0.72rem;
        display: block;
        white-space: nowrap;
    }

    .showcase-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .showcase-footer .price-col {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .showcase-footer .btn {
        width: 100%;
        min-height: 46px;
    }

    /* Заголовки секций */
    .section-title {
        font-size: 1.45rem;
        line-height: 1.22;
    }

    .section-desc {
        font-size: 0.84rem;
        margin-bottom: 16px;
    }

    /* Запчасти */
    .part-footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .part-footer-row .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Сенсорные поля ввода и кнопки (Touch Targets) */
    input[type="text"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea,
    .admin-input,
    .booking-form input,
    .booking-form select {
        min-height: 46px !important;
        font-size: 16px !important;
        padding: 10px 12px !important;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-tg-order,
    .btn-wa-order,
    .btn-email-order {
        min-height: 46px;
        font-size: 0.92rem;
    }

    /* Модуль СБП */
    .sbp-modal-window {
        padding: 16px 12px !important;
    }

    .sbp-stepper-bar {
        padding: 6px 8px;
        margin: 10px 0 14px 0;
    }

    .sbp-step-label {
        font-size: 0.7rem;
    }

    .sbp-step-divider {
        margin: 0 3px;
    }

    .sbp-pay-top-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 10px;
    }

    .sbp-pay-sum-wrap {
        text-align: left;
    }

    .sbp-qr-glow-frame img {
        width: 130px;
        height: 130px;
    }

    .sbp-actions-row {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .sbp-actions-row .btn {
        width: 100%;
        min-height: 46px;
    }

    .booking-success-modal {
        padding: 20px 16px !important;
    }

    .booking-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .booking-detail-row .detail-val {
        text-align: left;
    }

    .booking-detail-row.total-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .booking-detail-row.total-row .detail-val {
        text-align: right;
    }

    /* Контакты */
    .contact-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }
}

/* ==============================================================
   ПАНЕЛЬ УПРАВЛЕНИЯ (ADMIN DASHBOARD) & АВТОРИЗАЦИЯ
   ============================================================== */
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-admin-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-admin-btn:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.admin-auth-modal {
    max-width: 440px;
    text-align: center;
}

.admin-shield-ico {
    font-size: 2.6rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.5));
}

/* Главная панель управления (админка) - полноэкранный режим */
.admin-panel-backdrop {
    position: fixed;
    inset: 0;
    background: #080812;
    z-index: 3000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-panel-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.admin-panel-window {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0b0b16;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    padding: 16px 36px;
    background: rgba(8, 8, 16, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-status-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-green);
    animation: pulseGlow 1.8s infinite;
}

.admin-brand h2 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0;
}

.admin-brand h2 span {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.admin-role-badge {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 254, 0.25);
    margin-top: 2px;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-admin-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.btn-admin-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.btn-admin-pill.btn-danger {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.08);
}

.btn-admin-pill.btn-danger:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.admin-close-x {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admin-close-x:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

/* Вкладки навигации админки */
.admin-nav-tabs {
    display: flex;
    background: rgba(10, 10, 20, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 36px 0;
    gap: 6px;
    overflow-x: auto;
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.admin-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.active {
    color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 2px solid var(--accent-cyan);
}

.admin-counter-pill {
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-weight: 800;
}

/* Тело админки */
.admin-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 36px 40px;
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.25s ease;
}

.admin-tab-content.active {
    display: block;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-section-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.admin-section-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Сетка карточек моделей в админке */
.admin-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 350px));
    gap: 24px;
}

.admin-model-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
}

.admin-model-box-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.admin-model-box-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 24px;
    gap: 8px;
}

.admin-hero-badge {
    font-size: 0.72rem;
    background: var(--gradient-main);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.35);
}

.admin-model-box-title {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #fff;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-input,
.admin-textarea {
    width: 100%;
    background: rgba(6, 6, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--transition);
}

.admin-input:focus,
.admin-textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
    outline: none;
}

.admin-textarea {
    min-height: 100px;
    line-height: 1.55;
    resize: vertical;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Таблицы админки */
.admin-table-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.admin-table th {
    background: rgba(10, 10, 20, 0.75);
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.btn-order-delete {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.btn-order-delete:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.admin-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.admin-stock-badge.in-stock {
    background: rgba(56, 249, 215, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(56, 249, 215, 0.3);
}

.admin-stock-badge.out-stock {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.admin-action-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admin-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-admin-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.btn-admin-icon.delete-btn:hover {
    color: #ff6b6b;
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
}

/* Поиск и фильтры в админке запчастей */
.admin-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-input-search {
    background: rgba(6, 6, 12, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    color: #fff;
    font-size: 0.85rem;
    min-width: 320px;
}

.admin-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-filter-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-filter-tag.active, .admin-filter-tag:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
}

/* Сетка и структура настроек */
.admin-settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
}

.admin-settings-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-settings-col .admin-card-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
}

.admin-db-storage-card {
    height: 100%;
}

.admin-db-storage-card .admin-box-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

@media (max-width: 992px) {
    .admin-settings-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
    align-items: start;
}

.admin-card-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.admin-card-box:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.admin-box-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.box-head-ico {
    font-size: 1.35rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.box-head-ico.showcase-ico {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.25);
}

.box-head-ico.pwd-ico {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

.box-head-ico.db-ico {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.box-head-ico.notify-hub-ico {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.3);
}

.admin-box-head h4 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.admin-box-head p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.admin-box-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==============================================================
   ЗАГРУЗКА ФОТОГРАФИЙ И ПРЕВЬЮ В АДМИНКЕ
   ============================================================== */
.image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.image-upload-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.image-upload-dropzone:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
    color: var(--text-primary);
}

.image-upload-dropzone svg {
    stroke: var(--accent-cyan);
    flex-shrink: 0;
}

.image-preview-box {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0,0,0,0.6) 80%);
}

.image-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.85);
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.image-remove-btn:hover {
    transform: scale(1.15);
    background: #ff4757;
}

/* Мульти-превью фотографий в админке (до 5 шт) */
.upload-counter-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.multi-image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: var(--radius-md);
}

[data-theme="dark"] .multi-image-preview-grid {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.12);
}

.preview-thumb-item {
    position: relative;
    width: 100%;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

[data-theme="dark"] .preview-thumb-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.preview-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-remove-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.thumb-remove-btn:hover {
    transform: scale(1.15);
    background: #dc2626;
}


/* ==============================================================
   СТУДИЯ РЕДАКТИРОВАНИЯ В АДМИНКЕ: ДВУХКОЛОНОЧНЫЙ LIVE PREVIEW
   ============================================================== */
.admin-studio-modal {
    max-width: 1080px !important;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    padding: 28px !important;
    position: relative;
    border-radius: var(--radius-lg);
    margin: auto 0;
    overflow: hidden;
}

.admin-studio-modal .modal-header {
    flex-shrink: 0;
    margin-bottom: 16px;
    padding-right: 40px;
}

.admin-studio-modal .modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 25;
}

.admin-modal-studio-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 24px;
    align-items: start;
    margin-top: 0;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.admin-studio-form-col {
    display: flex;
    flex-direction: column;
}

.admin-studio-preview-col {
    position: sticky;
    top: 0;
}

.admin-live-preview-box {
    background: rgba(10, 11, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

[data-theme="light"] .admin-live-preview-box {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.live-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .live-preview-header {
    color: #4f46e5;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.live-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.live-preview-content .rental-card,
.live-preview-content .product-buy-card,
.live-preview-content .part-card-premium {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Стили превью карточки сервиса */
.live-service-preview-card {
    width: 100%;
    background: var(--bg-glass-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.live-service-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.live-service-preview-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

[data-theme="light"] .live-service-preview-title {
    color: #0f172a;
}

.live-service-preview-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.live-service-preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-service-preview-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-green);
}

@media (max-width: 900px) {
    .admin-modal-studio-grid {
        grid-template-columns: 1fr;
    }
    .admin-studio-preview-col {
        position: static;
        margin-top: 16px;
    }
}

/* Слайдер / Галерея в карточках товаров */
.card-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-gallery-track {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: scale(0.96);
    pointer-events: none;
}

.card-gallery-slide.active-slide {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
    line-height: 1;
    padding-bottom: 2px;
}

[data-theme="light"] .gallery-nav-btn {
    background: rgba(255, 255, 255, 0.88);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-gallery-container:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn.prev-btn {
    left: 8px;
}

.gallery-nav-btn.next-btn {
    right: 8px;
}

.gallery-nav-btn:hover {
    transform: translateY(-50%) scale(1.12);
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
}

.gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.45);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

[data-theme="light"] .gallery-dots {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

[data-theme="light"] .gallery-dot {
    background: rgba(15, 23, 42, 0.25);
}

.gallery-dot.active {
    width: 16px;
    border-radius: 4px;
    background: #6366f1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

/* Реальные фото в карточках аренды и покупки */
/* Внутренняя витрина для фото */
.model-img-frame,
.buy-img-frame,
.rental-img-frame,
.hero-showcase-img-frame {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    padding: 14px;
    margin-bottom: 4px;
    position: relative;
}

.hero-showcase-img-frame {
    height: 220px;
    margin-bottom: 12px;
}

[data-theme="dark"] .model-img-frame,
[data-theme="dark"] .buy-img-frame,
[data-theme="dark"] .rental-img-frame,
[data-theme="dark"] .hero-showcase-img-frame {
    background: rgba(10, 10, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-uploaded-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    transition: none !important;
}

.card-uploaded-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
    transition: none !important;
}

.rental-card:hover .card-uploaded-img,
.product-buy-card:hover .card-uploaded-img {
    transform: none !important;
}

/* Рамка для фото запчасти */
.part-img-frame {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    padding: 10px;
    margin-bottom: 12px;
}

[data-theme="dark"] .part-img-frame {
    background: rgba(10, 10, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.part-uploaded-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: none !important;
}

.cat-svg-icon {
    width: 52px;
    height: 52px;
    transition: transform 0.3s ease;
}

.part-item-card:hover .cat-svg-icon {
    transform: scale(1.06);
}

/* Статус наличия */
.stock-indicator-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    width: fit-content;
}

.stock-indicator .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.stock-indicator.in-stock {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.stock-indicator.in-stock .dot {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.stock-indicator.out-stock {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.stock-indicator.out-stock .dot {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

[data-theme="dark"] .stock-indicator.in-stock {
    background: rgba(56, 249, 215, 0.12);
    color: #38f9d7;
    border: 1px solid rgba(56, 249, 215, 0.3);
}

[data-theme="dark"] .stock-indicator.out-stock {
    background: rgba(254, 225, 64, 0.12);
    color: #fee140;
    border: 1px solid rgba(254, 225, 64, 0.3);
}

.admin-model-box-thumb {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(4, 4, 10, 0.5) 100%), #080812;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.admin-model-box-thumb:hover {
    border-color: rgba(0, 242, 254, 0.35);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(4, 4, 10, 0.4) 100%), #0a0a16;
}

.admin-model-box-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    transition: transform 0.25s ease;
}

.admin-model-box-thumb:hover img {
    transform: scale(1.03);
}

[data-theme="light"] .admin-model-box-thumb {
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(148, 163, 184, 0.3);
}

.admin-model-box-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-model-box-actions .btn {
    flex: 1;
    white-space: nowrap;
    padding: 7px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
}

.btn.btn-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    transition: var(--transition);
}

.btn.btn-danger:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

/* ==============================================================
   КОМПОНЕНТНЫЕ СТИЛИ СВЕТЛОЙ ТЕМЫ (DATA-THEME="LIGHT")
   ============================================================== */
[data-theme="light"] body {
    background-color: var(--bg-dark);
    color: #0f172a;
}

[data-theme="light"] .cyber-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.045) 1px, transparent 1px);
    opacity: 0.9;
}

[data-theme="light"] .gradient-orb {
    opacity: 0.2;
}

[data-theme="light"] .video-background {
    opacity: 0.12;
}

/* Настоящее плотное стекло с технологичным акцентным контуром Cyber-Tech */
[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1.5px solid rgba(148, 163, 184, 0.28) !important;
    border-top: 1.5px solid #ffffff !important;
    border-bottom: 1.5px solid rgba(148, 163, 184, 0.38) !important;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 14px 30px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

[data-theme="light"] .glass-panel:hover {
    background: #ffffff !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 8px 16px -2px rgba(15, 23, 42, 0.06), 0 20px 40px -4px rgba(99, 102, 241, 0.16), 0 0 0 1.5px rgba(99, 102, 241, 0.32) !important;
}

/* Шапка и Top Bar */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .top-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .location-pill {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: #0f172a;
    font-weight: 600;
}

[data-theme="light"] .phone-link {
    color: #0f172a;
    font-weight: 700;
}

[data-theme="light"] .manager-name {
    color: #475569;
    font-weight: 700;
}

[data-theme="light"] .divider {
    color: #cbd5e1;
}

[data-theme="light"] .social-icon-btn {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28);
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Вкладки навигации */
[data-theme="light"] .nav-tabs {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

[data-theme="light"] .tab-btn {
    color: #334155;
    font-weight: 700;
}

[data-theme="light"] .tab-btn.active {
    color: #ffffff;
}

[data-theme="light"] .burger-external-link {
    color: #6d28d9 !important;
    background: rgba(124, 58, 237, 0.08) !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
}

[data-theme="light"] .nav-tabs.mobile-open .burger-socials-row {
    border-top-color: rgba(148, 163, 184, 0.25);
}

[data-theme="light"] .theme-toggle-btn {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28);
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .cart-trigger-btn {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28);
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Блок Hero */
[data-theme="light"] .hero-title-main {
    color: #0f172a;
}

[data-theme="light"] .hero-title-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-lead-text {
    color: #334155;
}

[data-theme="light"] .hero-showcase-title {
    color: #0f172a;
}

[data-theme="light"] .hero-spec-meta small {
    color: #64748b;
}

[data-theme="light"] .hero-spec-meta strong {
    color: #0f172a;
}

[data-theme="light"] .switch-tab-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="light"] .switch-tab-card h4 {
    color: #0f172a;
    font-weight: 700;
}

[data-theme="light"] .switch-tab-card p {
    color: #64748b;
}

[data-theme="light"] .switch-tab-card.active-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .stat-num {
    color: #0f172a;
}

[data-theme="light"] .stat-label {
    color: #64748b;
}

[data-theme="light"] .section-title,
[data-theme="light"] .section-title-alt {
    color: #0f172a !important;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .section-desc {
    color: #475569 !important;
}

/* Карточки аренды (Cyber-Tech Glass Light) */
[data-theme="light"] .rental-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.22) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 14px 32px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.08) !important;
    transition: var(--transition);
}

[data-theme="light"] .rental-card:hover {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 10px 24px -2px rgba(15, 23, 42, 0.08), 0 24px 48px -4px rgba(99, 102, 241, 0.2), 0 0 0 1.5px rgba(99, 102, 241, 0.38) !important;
    transform: translateY(-4px);
}

[data-theme="light"] .model-visual-box:not(.has-frame):not(:has(.model-img-frame)) {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
    border: 1px solid rgba(203, 213, 225, 0.7) !important;
    border-radius: var(--radius-md);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .model-visual-box.has-frame,
[data-theme="light"] .model-visual-box:has(.model-img-frame) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .model-placeholder-art {
    background: transparent !important;
}

[data-theme="light"] .model-name {
    color: #0f172a !important;
}

[data-theme="light"] .model-summary {
    color: #475569 !important;
}

[data-theme="light"] .spec-cell {
    background: #f8fafc !important;
    border: 1px solid rgba(203, 213, 225, 0.65) !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .spec-icon-box {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .spec-lbl {
    color: #64748b;
}

[data-theme="light"] .spec-val {
    color: #0f172a;
}

[data-theme="light"] .period-tabs {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

[data-theme="light"] .period-tabs .p-tab {
    color: #334155 !important;
    font-weight: 700;
}

[data-theme="light"] .period-tabs .p-tab.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .rental-price-cta-block,
[data-theme="light"] .card-action-box,
[data-theme="light"] .price-and-cta {
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    padding-top: 16px;
    margin-top: auto !important;
}

[data-theme="light"] .price-main .num {
    color: #0f172a !important;
}

[data-theme="light"] .period-note {
    color: #475569 !important;
    font-weight: 600;
}

/* Карточки покупки (Cyber-Tech Glass Light) */
[data-theme="light"] .product-buy-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.22) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 14px 32px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.08) !important;
    transition: var(--transition);
}

[data-theme="light"] .product-buy-card:hover {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 10px 24px -2px rgba(15, 23, 42, 0.08), 0 24px 48px -4px rgba(99, 102, 241, 0.2), 0 0 0 1.5px rgba(99, 102, 241, 0.38) !important;
    transform: translateY(-4px);
}

[data-theme="light"] .buy-img-box:not(.has-frame):not(:has(.buy-img-frame)) {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
    border: 1px solid rgba(203, 213, 225, 0.7) !important;
    border-radius: var(--radius-md);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .buy-img-box.has-frame,
[data-theme="light"] .buy-img-box:has(.buy-img-frame) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .buy-title {
    color: #0f172a !important;
}

[data-theme="light"] .buy-desc {
    color: #475569 !important;
}

[data-theme="light"] .buy-specs span,
[data-theme="light"] .buy-spec-chip {
    background: #f8fafc !important;
    border: 1px solid rgba(203, 213, 225, 0.65) !important;
    color: #1e293b !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .buy-footer,
[data-theme="light"] .buy-price-row {
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    padding-top: 16px;
    margin-top: auto !important;
}

[data-theme="light"] .buy-price {
    color: #0f172a !important;
}

[data-theme="light"] .buy-installment {
    color: #475569 !important;
    font-weight: 600;
}

/* Панель инструментов и фильтры каталога */
[data-theme="light"] .catalog-toolbar {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(99, 102, 241, 0.08) !important;
}

[data-theme="light"] .filter-pill,
[data-theme="light"] .category-pill {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #334155 !important;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition);
}

[data-theme="light"] .filter-pill:hover,
[data-theme="light"] .category-pill:hover {
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
    transform: translateY(-1px);
}

[data-theme="light"] .filter-pill.active,
[data-theme="light"] .category-pill.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
}

/* Каталог запчастей (Cyber-Tech Glass Light) */
[data-theme="light"] .part-item-card,
[data-theme="light"] .part-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 3px 6px -1px rgba(15, 23, 42, 0.04), 0 10px 24px -3px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(99, 102, 241, 0.08) !important;
    color: #0f172a !important;
    transition: var(--transition);
}

[data-theme="light"] .part-item-card:hover,
[data-theme="light"] .part-card:hover {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 8px 18px -2px rgba(15, 23, 42, 0.08), 0 18px 36px -4px rgba(99, 102, 241, 0.2), 0 0 0 1.5px rgba(99, 102, 241, 0.35) !important;
    transform: translateY(-4px);
}

[data-theme="light"] .part-title {
    color: #0f172a !important;
}

[data-theme="light"] .part-price {
    color: #0f172a !important;
}

[data-theme="light"] .part-compat {
    color: #64748b !important;
}

[data-theme="light"] .part-svg-box,
[data-theme="light"] .part-img-wrap {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
    border: 1px solid rgba(203, 213, 225, 0.7) !important;
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .part-svg-box svg {
    stroke: #4f46e5 !important;
}

[data-theme="light"] .part-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding-top: 14px;
    margin-top: auto !important;
}

[data-theme="light"] .search-box input {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .search-box input::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .search-box input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .search-icon {
    color: #64748b !important;
}

[data-theme="light"] .clear-search-btn {
    color: #94a3b8 !important;
}

[data-theme="light"] .custom-select {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #0f172a !important;
}

[data-theme="light"] .slider {
    background-color: #cbd5e1 !important;
}

[data-theme="light"] .btn-add-cart {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.28) !important;
}

[data-theme="light"] .btn-add-cart:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45) !important;
    transform: scale(1.05) !important;
}

[data-theme="light"] .btn-add-cart svg {
    stroke: #ffffff !important;
}

[data-theme="light"] .btn-add-cart span {
    color: #ffffff !important;
}

/* Кросс-ссылочная плашка программы лояльности */
[data-theme="light"] .loyalty-cross-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 255, 0.95) 100%) !important;
    border: 1.5px solid rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08) !important;
}

[data-theme="light"] .loyalty-cross-badge:hover {
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.16) !important;
}

[data-theme="light"] .loyalty-cross-badge strong {
    color: #0f172a !important;
}

[data-theme="light"] .loyalty-cross-badge span {
    color: #475569 !important;
}

[data-theme="light"] .loyalty-cross-badge-action {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #4f46e5 !important;
    padding: 0 !important;
}

[data-theme="light"] .loyalty-cross-badge:hover .loyalty-cross-badge-action {
    color: #4338ca !important;
    transform: translateX(4px);
}

/* Столпы работы (Pillars) и карточки сервиса */
[data-theme="light"] .pillar-card,
[data-theme="light"] .service-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(99, 102, 241, 0.06) !important;
    transition: var(--transition);
}

[data-theme="light"] .pillar-card:hover,
[data-theme="light"] .service-card:hover {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 10px 26px -2px rgba(15, 23, 42, 0.1), 0 0 0 1.5px rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-4px);
}

/* Сервис и ремонт (Cyber-Tech Glass Light) */
[data-theme="light"] .service-card-title,
[data-theme="light"] .service-card p,
[data-theme="light"] .service-item-title,
[data-theme="light"] .service-item-price {
    color: #0f172a !important;
}

[data-theme="light"] .service-price-box {
    background: #ffffff !important;
    border: 1.5px solid rgba(99, 102, 241, 0.22) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 14px 32px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.08) !important;
}

[data-theme="light"] .price-box-header h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .price-row {
    background: #f8fafc !important;
    border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition);
}

[data-theme="light"] .price-row:hover {
    background: #ffffff !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.16), 0 0 0 1px rgba(99, 102, 241, 0.25) !important;
    transform: translateX(4px);
}

[data-theme="light"] .row-name {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .row-name mark {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #4f46e5 !important;
}

[data-theme="light"] .row-time {
    color: #475569 !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, 0.75) !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .row-cost {
    color: #4f46e5 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .row-cost small {
    color: #059669 !important;
}

[data-theme="light"] .service-search-input {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .service-search-input::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .service-search-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .service-search-icon {
    color: #64748b !important;
}

[data-theme="light"] .service-search-stats {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.25);
    color: #475569;
}

[data-theme="light"] .service-pill {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28);
    color: #475569;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-pill:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .service-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .service-pill.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
    color: #ffffff;
}

[data-theme="light"] .service-empty-search {
    background: rgba(248, 250, 252, 0.8);
    border-color: rgba(148, 163, 184, 0.35);
}

[data-theme="light"] .clear-service-search-btn {
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
}

[data-theme="light"] .clear-service-search-btn:hover {
    background: rgba(148, 163, 184, 0.35);
    color: #0f172a;
}

/* FAQ и Контакты */
[data-theme="light"] .faq-question,
[data-theme="light"] .faq-answer,
[data-theme="light"] .contact-card strong,
[data-theme="light"] .contact-card p {
    color: #0f172a !important;
}

/* Админка и Модальные окна */
[data-theme="light"] .admin-input,
[data-theme="light"] .admin-textarea,
[data-theme="light"] .booking-form input,
[data-theme="light"] .booking-form select,
[data-theme="light"] .booking-form textarea {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.35);
    color: #0f172a;
}

[data-theme="light"] .admin-panel-backdrop {
    background: #e2e8f0;
}

[data-theme="light"] .admin-panel-window {
    background: #f8fafc;
    border: none;
    box-shadow: none;
}

[data-theme="light"] .admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

[data-theme="light"] .admin-close-x {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(148, 163, 184, 0.3);
    color: #64748b;
}

[data-theme="light"] .admin-close-x:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

.admin-nav-tabs {
    scrollbar-width: none !important;
}

.admin-nav-tabs::-webkit-scrollbar {
    display: none !important;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f5f9;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

[data-theme="light"] .admin-nav-tabs {
    background: #ffffff !important;
    border-bottom: 1.5px solid rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .admin-tab-btn {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] .admin-tab-btn:hover {
    color: #4f46e5 !important;
}

[data-theme="light"] .admin-tab-btn.active {
    background: #ffffff !important;
    color: #4f46e5 !important;
    border-bottom: 2.5px solid #4f46e5 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08) !important;
}

/* Карточки в админке */
[data-theme="light"] .admin-model-box {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .admin-model-box-head {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

[data-theme="light"] .admin-model-box-actions {
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
}

[data-theme="light"] .admin-model-box-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* Таблицы админки */
[data-theme="light"] .admin-table-wrapper {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .admin-table thead,
[data-theme="light"] .admin-table thead tr {
    background: #eef2f6 !important;
}

[data-theme="light"] .admin-table th {
    background: #eef2f6 !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    border-bottom: 2px solid rgba(203, 213, 225, 0.9) !important;
    border-top: none !important;
}

[data-theme="light"] .admin-table td {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    color: #0f172a !important;
}

[data-theme="light"] .admin-table tr:hover td {
    background: #f8fafc !important;
}

[data-theme="light"] .admin-table td strong[style*="accent-cyan"],
[data-theme="light"] #adminServicesTableBody td:nth-child(3) strong {
    color: #4f46e5 !important;
}

[data-theme="light"] .admin-table td a[href^="tel:"] {
    color: #0284c7 !important;
    text-decoration: underline !important;
}

/* Поиск и фильтры в админке */
[data-theme="light"] .admin-input-search {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.4) !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .admin-input-search::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .admin-input-search:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .admin-filter-tag {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #334155 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition);
}

[data-theme="light"] .admin-filter-tag:hover {
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
}

[data-theme="light"] .admin-filter-tag.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.35) !important;
}

/* Кнопки в админке */
[data-theme="light"] .btn-admin-pill {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.4) !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition);
}

[data-theme="light"] .btn-admin-pill:hover {
    background: #f8fafc !important;
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .btn-admin-pill.btn-danger {
    background: #fff5f5 !important;
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    color: #dc2626 !important;
}

[data-theme="light"] .btn-admin-pill.btn-danger:hover {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}

[data-theme="light"] .btn-admin-icon {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: var(--transition);
}

[data-theme="light"] .btn-admin-icon:hover {
    background: #f1f5f9 !important;
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
    transform: scale(1.08);
}

[data-theme="light"] .btn-admin-icon.delete-btn {
    background: #fff5f5 !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
}

[data-theme="light"] .btn-admin-icon.delete-btn:hover {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
}

[data-theme="light"] .btn-order-delete {
    background: #fff5f5 !important;
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    color: #dc2626 !important;
}

[data-theme="light"] .btn-order-delete:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Общие кнопки светлой темы */
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.32) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
    transform: translateY(-2px) !important;
}

[data-theme="light"] .btn-primary svg {
    stroke: #ffffff !important;
}

[data-theme="light"] .btn-secondary {
    background: #ffffff !important;
    border: 1.5px solid rgba(148, 163, 184, 0.4) !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04) !important;
    transition: var(--transition);
}

[data-theme="light"] .btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .btn.btn-danger {
    background: #fff5f5 !important;
    color: #dc2626 !important;
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .btn.btn-danger:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Бейджи в таблицах админки */
[data-theme="light"] .admin-role-badge {
    color: #0284c7 !important;
    background: #e0f2fe !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .admin-stock-badge.in-stock {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .admin-stock-badge.out-stock {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .admin-card-box {
    background: #ffffff !important;
    border: 1.5px solid rgba(203, 213, 225, 0.85) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .admin-box-head {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

[data-theme="light"] .admin-box-head h4 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

[data-theme="light"] .image-upload-dropzone {
    border: 2px dashed rgba(148, 163, 184, 0.5) !important;
    background: #f8fafc !important;
    color: #475569 !important;
}

[data-theme="light"] .image-upload-dropzone:hover {
    border-color: #6366f1 !important;
    background: #eef2ff !important;
    color: #4f46e5 !important;
}

[data-theme="light"] .modal-window {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .footer-nav h4,
[data-theme="light"] .footer-contacts h4 {
    color: #0f172a;
}

[data-theme="light"] .map-action-btn.yandex-btn {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .map-action-btn.yandex-btn:hover {
    background: rgba(252, 63, 29, 0.08);
    border-color: #fc3f1d;
    color: #0f172a;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

[data-theme="light"] .footer-link {
    color: #475569;
}

[data-theme="light"] .footer-link:hover {
    color: #4f46e5;
}

[data-theme="light"] .cart-drawer {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cart-item-row {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="light"] .cart-item-title,
[data-theme="light"] .cart-item-price,
[data-theme="light"] .cart-total-price,
[data-theme="light"] .cart-header-title {
    color: #0f172a !important;
}

[data-theme="light"] .cart-drawer-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .cart-contacts-block input {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.35);
    color: #0f172a;
}

[data-theme="light"] .cart-contacts-block input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .cart-input-label {
    color: #64748b;
}

[data-theme="light"] .cart-item-name {
    color: #0f172a;
}

/* ==============================================================
   МОДАЛЬНЫЙ МОДУЛЬ СБП (СИСТЕМА БЫСТРЫХ ПЛАТЕЖЕЙ)
   ============================================================== */
.sbp-modal-window {
    max-width: 520px;
    padding: 26px 24px;
}

.sbp-badge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.sbp-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.2), rgba(79, 172, 254, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.sbp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.sbp-dot-green { background: #38f9d7; box-shadow: 0 0 6px #38f9d7; }
.sbp-dot-yellow { background: #f6d365; box-shadow: 0 0 6px #f6d365; }
.sbp-dot-blue { background: #4facfe; box-shadow: 0 0 6px #4facfe; }

.sbp-head-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sbp-modal-header h3 {
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
}

.sbp-stepper-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 20px 0;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.sbp-step-item {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.45;
    transition: var(--transition);
}

.sbp-step-item.active {
    opacity: 1;
}

.sbp-step-item.completed {
    opacity: 0.9;
    color: var(--accent-green);
}

.sbp-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}

.sbp-step-item.active .sbp-step-num {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 0 10px rgba(240, 147, 251, 0.5);
}

.sbp-step-label {
    font-size: 0.8rem;
    font-weight: 700;
}

.sbp-step-divider {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 10px;
}

.sbp-step-view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.sbp-step-view.active {
    display: block;
}

.sbp-summary-box {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.sbp-summary-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.sbp-summary-thumb {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sbp-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sbp-summary-info h4 {
    margin: 0 0 3px 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
}

.sbp-summary-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sbp-summary-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.sbp-price-highlight {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.sbp-pay-top-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(79, 172, 254, 0.08);
    border: 1px solid rgba(79, 172, 254, 0.25);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 16px;
}

.sbp-order-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sbp-order-chip strong {
    font-size: 1.05rem;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.sbp-pay-sum-wrap {
    text-align: right;
}

.sbp-sum-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.sbp-sum-val {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #38f9d7, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sbp-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 12px 0 16px 0;
    text-align: center;
}

.sbp-qr-glow-frame {
    position: relative;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(56, 249, 215, 0.35), 0 0 50px rgba(240, 147, 251, 0.25);
    border: 3px solid rgba(56, 249, 215, 0.8);
    animation: sbpPulseGlow 3s infinite alternate ease-in-out;
}

@keyframes sbpPulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(56, 249, 215, 0.3), 0 0 35px rgba(79, 172, 254, 0.2);
    }
    100% {
        box-shadow: 0 0 35px rgba(56, 249, 215, 0.6), 0 0 55px rgba(240, 147, 251, 0.45);
    }
}

.sbp-qr-glow-frame img {
    width: 160px;
    height: 160px;
    display: block;
    border-radius: 8px;
}

.sbp-qr-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.sbp-qr-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
    max-width: 290px;
    line-height: 1.35;
}

.sbp-requisites-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 14px;
}

.sbp-req-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
}

.sbp-req-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sbp-req-label {
    color: var(--text-secondary);
}

.sbp-req-val-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sbp-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.sbp-copy-btn:hover {
    background: rgba(56, 249, 215, 0.2);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.sbp-bank-link-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 14px;
    transition: var(--transition);
}

.sbp-bank-link-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.sbp-notice-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(246, 211, 101, 0.1);
    border: 1px solid rgba(246, 211, 101, 0.35);
    border-radius: var(--radius-sm);
    color: #f6d365;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 18px;
}

.sbp-notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sbp-notice-order-code {
    margin-top: 2px;
    font-size: 0.9rem;
    color: #fff;
}

.sbp-order-code-inline {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    background: rgba(246, 211, 101, 0.2);
    padding: 1px 6px;
    border-radius: 4px;
    color: #f6d365;
}

.sbp-actions-row {
    display: flex;
    gap: 10px;
}

.sbp-actions-row .btn {
    flex: 1;
    justify-content: center;
}

.sbp-btn-confirm {
    box-shadow: 0 4px 18px rgba(56, 249, 215, 0.4);
    font-weight: 800;
}

.sbp-success-wrap {
    text-align: center;
    padding: 12px 0 4px 0;
}

.sbp-checkmark-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(56, 249, 215, 0.12);
    border: 2px solid #38f9d7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 25px rgba(56, 249, 215, 0.4);
    animation: sbpCheckmarkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes sbpCheckmarkPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.sbp-success-wrap h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
}

.sbp-success-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 18px;
}

.sbp-success-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: left;
}

.sbp-success-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.85rem;
}

.sbp-status-pill {
    background: rgba(246, 211, 101, 0.15);
    color: #f6d365;
    border: 1px solid rgba(246, 211, 101, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* ==============================================================
   СВЕТЛАЯ ТЕМА ДЛЯ МОДУЛЯ СБП
   ============================================================== */
[data-theme="light"] .sbp-logo-pill {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    border-color: rgba(79, 70, 229, 0.2);
    color: #0f172a;
}

[data-theme="light"] .sbp-stepper-bar {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .sbp-step-num {
    background: rgba(148, 163, 184, 0.2);
    color: #0f172a;
}

[data-theme="light"] .sbp-step-divider {
    background: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .sbp-summary-box {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .sbp-summary-thumb {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .sbp-summary-info h4 {
    color: #0f172a;
}

[data-theme="light"] .sbp-summary-price-row {
    border-top-color: rgba(148, 163, 184, 0.2);
    color: #475569;
}

[data-theme="light"] .sbp-pay-top-banner {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .sbp-order-chip strong {
    color: #0f172a;
}

[data-theme="light"] .sbp-requisites-box {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .sbp-req-row:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.15);
}

[data-theme="light"] .sbp-copy-btn {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .sbp-bank-link-btn {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.3);
    color: #0f172a;
}

[data-theme="light"] .sbp-bank-link-btn:hover {
    background: #f1f5f9;
}

[data-theme="light"] .sbp-notice-banner {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.35);
    color: #b45309;
}

[data-theme="light"] .sbp-notice-order-code {
    color: #0f172a;
}

[data-theme="light"] .sbp-success-wrap h3 {
    color: #0f172a;
}

[data-theme="light"] .sbp-success-details-card {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
    color: #475569;
}

/* ==============================================================
   МОДАЛЬНОЕ ОКНО УСПЕШНОГО БРОНИРОВАНИЯ (CLICK & COLLECT)
   ============================================================== */
.booking-success-modal {
    max-width: 520px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 24px;
    border-radius: 20px;
}

.booking-success-wrap {
    text-align: center;
}

.booking-checkmark-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(56, 249, 215, 0.12);
    border: 2.5px solid #38f9d7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 28px rgba(56, 249, 215, 0.35);
    animation: sbpCheckmarkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-success-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.booking-success-pill {
    display: inline-block;
    background: rgba(56, 249, 215, 0.15);
    color: #38f9d7;
    border: 1px solid rgba(56, 249, 215, 0.35);
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.booking-success-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 18px;
}

.booking-success-desc strong {
    color: #f6d365;
}

.booking-success-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 16px;
    text-align: left;
}

.booking-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 0.88rem;
    gap: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.booking-detail-row:last-child {
    border-bottom: none;
}

.booking-detail-row.total-row {
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    align-items: center;
}

.detail-label {
    color: var(--text-secondary);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.detail-val {
    color: var(--text-primary);
    text-align: right;
    word-break: break-word;
}

.detail-val.total-val {
    color: #38f9d7;
    font-size: 1.15rem;
    font-weight: 800;
}

.detail-items-list {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-primary);
    text-align: right;
}

.booking-pickup-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    text-align: left;
}

.booking-pickup-box .pickup-ico {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.booking-pickup-box .pickup-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.booking-pickup-box .pickup-text strong {
    color: #fff;
    font-size: 0.88rem;
}

.booking-pickup-box .pickup-text span {
    color: var(--text-secondary);
}

.booking-contact-actions {
    margin-top: 4px;
}

.box-head-ico.tg-ico {
    background: rgba(0, 242, 254, 0.15);
}

.admin-card-box.admin-notification-hub {
    grid-column: 1 / -1;
    width: 100%;
}

.notify-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 6px;
}

@media (max-width: 1100px) {
    .notify-channels-grid {
        grid-template-columns: 1fr;
    }
}

.notify-channel-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    margin-bottom: 0;
}

.notify-channel-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.035);
}

.notify-general-settings {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    margin-top: 10px;
}

.notify-general-row {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.notify-channel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.notify-channel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notify-channel-badge {
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.notify-channel-badge.tg-badge {
    background: rgba(0, 136, 204, 0.18);
    color: #29b6f6;
    border: 1px solid rgba(0, 136, 204, 0.35);
}

.notify-channel-badge.vk-badge {
    background: rgba(0, 119, 255, 0.18);
    color: #4a9eff;
    border: 1px solid rgba(0, 119, 255, 0.35);
}

.notify-channel-badge.email-badge {
    background: rgba(255, 171, 0, 0.16);
    color: #ffc107;
    border: 1px solid rgba(255, 171, 0, 0.32);
}

.notify-channel-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.admin-channel-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
}

.notify-channel-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notify-channel-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.notify-status-box {
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.45;
    font-size: 0.85rem;
    margin-top: 8px;
}

.notify-status-box.success {
    background: rgba(56, 249, 215, 0.1);
    border: 1px solid rgba(56, 249, 215, 0.3);
    color: #38f9d7;
}

.notify-status-box.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

/* Светлая тема для экрана подтверждения брони */
[data-theme="light"] .booking-success-modal {
    background: #ffffff;
    color: #0f172a;
    border-color: #e2e8f0;
}

[data-theme="light"] .booking-success-header h3 {
    color: #0f172a;
}

[data-theme="light"] .booking-success-desc {
    color: #475569;
}

[data-theme="light"] .booking-success-desc strong {
    color: #d97706;
}

[data-theme="light"] .booking-success-details-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .booking-detail-row {
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .booking-detail-row.total-row {
    border-top-color: #cbd5e1;
}

[data-theme="light"] .detail-val.total-val {
    color: #0d9488;
}

[data-theme="light"] .booking-pickup-box {
    background: rgba(14, 165, 233, 0.06);
    border-color: rgba(14, 165, 233, 0.25);
}

[data-theme="light"] .booking-pickup-box .pickup-text strong {
    color: #0f172a;
}

[data-theme="light"] .booking-pickup-box .pickup-text span {
    color: #475569;
}

[data-theme="light"] .notify-channel-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .notify-channel-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

[data-theme="light"] .notify-channel-header {
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .admin-card-box {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .admin-card-box:hover {
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .admin-box-head h4 {
    color: #0f172a;
}

[data-theme="light"] .box-head-ico {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .storage-usage-block {
    background: rgba(15, 23, 42, 0.03) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
}

/* ==============================================================
   БЛОК АКЦИЙ И СПЕЦПРЕДЛОЖЕНИЙ (СПИСОК С ЭМБЛЕМАМИ)
   ============================================================== */
.category-promo-section {
    margin: 38px 0 22px;
    position: relative;
}

.category-promo-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.category-promo-title-wrap h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-promo-title-wrap p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Список акций: без громоздких боксов, парящие строки с разделителем */
.promo-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.promo-item-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.promo-item-row:last-child {
    border-bottom: none;
}

.promo-item-row:hover {
    background: rgba(255, 255, 255, 0.025);
    transform: translateX(6px);
}

/* Эмблема слева: без жестких боксов, парящая картинка */
.promo-emblem-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.promo-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 242, 254, 0.25));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.promo-item-row:hover .promo-emblem-img {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 6px 20px rgba(0, 242, 254, 0.5));
}

.promo-emblem-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px dashed rgba(0, 242, 254, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* Правая часть: заголовок, бейдж и описание */
.promo-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(240, 147, 251, 0.15) 100%);
    border: 1px solid rgba(0, 242, 254, 0.45);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
    white-space: nowrap;
}

.promo-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Админка: Управление акциями (Вкладки и живые карточки) */
.admin-subnav-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.28);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    overflow-x: auto;
}

.admin-subnav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-subnav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.admin-subnav-btn.active {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.12);
}

.admin-subnav-count {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-weight: 700;
}

.admin-subnav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.admin-subnav-dot.on {
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(56, 249, 215, 0.6);
}

.admin-subnav-dot.off {
    background: #ff6b6b;
    opacity: 0.7;
}

/* Панель настроек раздела акций */
.admin-promo-cat-panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-promo-cat-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-promo-cat-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-promo-status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-promo-status-text strong {
    font-size: 0.92rem;
    color: #fff;
}

.status-indicator-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.status-indicator-text.enabled {
    color: var(--accent-green);
}

.status-indicator-text.disabled {
    color: #ff6b6b;
}

.admin-promo-cat-inputs-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-promo-section-title-row {
    margin-bottom: 14px;
}

.admin-promo-section-title-row h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

/* Живые карточки акций в админке */
.admin-promo-live-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-promo-live-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.admin-promo-live-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
}

.admin-promo-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.admin-promo-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.admin-promo-empty-state p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.admin-promo-modal-emblem-box {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1.5px dashed rgba(0, 242, 254, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Модальное окно настройки акции с верхним live preview */
.admin-promo-studio-modal {
    max-width: 820px !important;
    width: 100%;
}

.admin-promo-modal-scroll {
    overflow-y: auto;
    max-height: calc(92vh - 110px);
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-promo-modal-scroll::-webkit-scrollbar {
    width: 6px;
}
.admin-promo-modal-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.admin-promo-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.admin-promo-top-preview {
    background: rgba(10, 11, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.admin-promo-preview-card {
    width: 100%;
    margin: 0;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: none;
    pointer-events: none;
}

@media (max-width: 640px) {
    .admin-promo-inputs-row {
        grid-template-columns: 1fr !important;
    }
}

/* Админка: Управление видео (вкладки и живые карточки) */
.admin-video-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.admin-video-card-box {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.admin-video-card-box:hover {
    border-color: rgba(0, 242, 254, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.admin-video-box-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.admin-video-studio-modal {
    max-width: 980px !important;
}

.admin-video-preview-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 680px) {
    .promo-item-row {
        gap: 16px;
        padding: 16px 8px;
    }
    .promo-emblem-wrap {
        width: 52px;
        height: 52px;
    }
    .promo-title {
        font-size: 1rem;
    }
    .promo-desc {
        font-size: 0.86rem;
    }
    .service-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    #serviceSearchInput.service-search-input,
    .service-search-input {
        padding-left: 46px !important;
        padding-right: 42px !important;
    }
    .service-search-stats {
        align-self: flex-start;
    }
    .service-pills-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 4px 14px 4px;
        margin: -4px -4px 0 -4px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .service-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* ==============================================================
   БЛОК ВЕРТИКАЛЬНЫХ ВИДЕО (VK КЛИПЫ) В КАТЕГОРИЯХ
   ============================================================== */
.category-video-section {
    margin: 45px 0 25px;
    background: rgba(18, 22, 36, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 26px 30px 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.category-video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), rgba(240, 147, 251, 0.4), transparent);
}

.category-video-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.category-video-head-left {
    display: flex;
    align-items: center;
}

.category-video-title-wrap h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-video-title-wrap p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.category-video-nav-arrows {
    display: flex;
    gap: 8px;
}

.video-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-nav-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: scale(1.06);
}

/* Трек с вертикальными карточками: увеличенные отступы исключают срезание свечения и приподнятой карточки */
.category-video-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 24px 20px 32px;
    margin: -10px -20px -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-video-track::-webkit-scrollbar {
    display: none;
}

.vertical-video-card {
    flex: 0 0 215px;
    width: 215px;
    height: 350px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(26, 32, 54, 0.85) 0%, rgba(12, 15, 28, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.vertical-video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.65);
    box-shadow: 0 14px 34px rgba(0, 242, 254, 0.28), 0 0 18px rgba(0, 242, 254, 0.15);
}

.v-card-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.vertical-video-card:hover .v-card-poster-img {
    transform: scale(1.08);
}

.v-card-bg-art {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.25), transparent 60%),
                radial-gradient(circle at bottom left, rgba(240, 147, 251, 0.2), transparent 60%),
                #0f1423;
    opacity: 0.85;
    transition: transform 0.5s ease, opacity 0.3s ease;
    z-index: 0;
}

.vertical-video-card:hover .v-card-bg-art {
    transform: scale(1.08);
    opacity: 1;
}

.v-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 10, 20, 0.95) 0%, rgba(8, 10, 20, 0.22) 50%, rgba(8, 10, 20, 0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

.v-card-top {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.v-card-duration {
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

.v-card-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.18);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transition: all 0.3s ease;
}

.v-card-center-play svg {
    margin-left: 3px;
    transition: transform 0.25s ease;
}

.vertical-video-card:hover .v-card-center-play {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
}

.v-card-bottom {
    position: relative;
    z-index: 3;
}

.v-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.v-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.v-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* ==============================================================
   МОДАЛЬНЫЙ ПЛЕЕР (ВАРИАНТ Б: ВСПЛЫВАЮЩИЙ STORIES-ПЛЕЕР)
   ============================================================== */
.video-modal-backdrop {
    background: rgba(4, 6, 14, 0.92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-video-player-modal {
    height: min(88vh, 760px);
    aspect-ratio: 9 / 16;
    width: auto;
    max-width: 94vw;
    border-radius: 24px;
    background: #000000;
    border: 1.5px solid rgba(0, 242, 254, 0.45);
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.25), 0 30px 80px rgba(0, 0, 0, 0.95);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: videoPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 50;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.video-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg) scale(1.1);
}

@keyframes videoPopIn {
    0% {
        opacity: 0;
        transform: scale(0.88) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 20, 35, 0.85);
    border: 1.5px solid rgba(0, 242, 254, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transition: var(--transition);
}

.video-nav-arrow:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    transform: translateY(-50%) scale(1.12);
}

.video-nav-arrow.prev {
    left: -70px;
}

.video-nav-arrow.next {
    right: -70px;
}

@media (max-width: 720px) {
    .video-nav-arrow.prev {
        left: 8px;
        background: rgba(0, 0, 0, 0.75);
    }
    .video-nav-arrow.next {
        right: 8px;
        background: rgba(0, 0, 0, 0.75);
    }
    .vertical-video-player-modal {
        height: 85vh;
        max-height: 85vh;
        border-radius: 18px;
    }
}

.vertical-video-content {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
}

.vertical-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
    display: block;
    background: #000;
    transform: none;
}

.video-pause-shield {
    position: absolute;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    border-radius: 24px;
}

.video-pause-shield.visible {
    opacity: 1;
    pointer-events: auto;
}

.video-resume-btn {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #040814;
    border: none;
    border-radius: 30px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.65);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.92);
    white-space: nowrap;
}

.video-pause-shield.visible .video-resume-btn,
.video-resume-btn.visible {
    transform: scale(1);
}

.video-resume-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 38px rgba(0, 242, 254, 0.9);
}

.vertical-video-native {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    background: #000;
}

/* Интерактивная заглушка видео */
.video-stub-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    background: radial-gradient(circle at 50% 30%, #1e294b 0%, #090d18 100%);
    overflow: hidden;
}

.stub-bg-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4) blur(3px);
    transform: scale(1.06);
}

.stub-bg-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.6) 0%, rgba(8, 12, 24, 0.88) 100%);
    z-index: 2;
}

.stub-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.stub-top-bar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stub-center-player {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stub-play-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(240, 147, 251, 0.2));
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.5);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: stubPulse 2s infinite;
}

@keyframes stubPulse {
    0% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.4); }
    50% { box-shadow: 0 0 45px rgba(0, 242, 254, 0.8), 0 0 60px rgba(240, 147, 251, 0.4); }
    100% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.4); }
}

.stub-play-ring:hover {
    transform: scale(1.12);
    background: var(--accent-cyan);
    color: #000;
}

.stub-notice-box {
    background: rgba(0, 0, 0, 0.7);
    border: 1px dashed rgba(0, 242, 254, 0.45);
    border-radius: 14px;
    padding: 14px 16px;
    max-width: 320px;
    backdrop-filter: blur(10px);
}

.stub-notice-box h4 {
    font-size: 0.92rem;
    color: var(--accent-cyan);
    margin-bottom: 4px;
    font-weight: 700;
}

.stub-notice-box p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stub-bottom-info {
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stub-video-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.stub-timeline-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stub-timeline-progress {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 2px;
}

.stub-video-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ==============================================================
   АДМИНКА: УПРАВЛЕНИЕ ВИДЕОРОЛИКАМИ
   ============================================================== */
.admin-video-category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 22px;
}

.admin-video-category-card.disabled-category {
    opacity: 0.55;
    border-color: rgba(255, 255, 255, 0.04);
}

.admin-video-cat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.admin-video-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.admin-video-item-row {
    background: rgba(10, 14, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-video-item-row:hover {
    border-color: rgba(0, 242, 254, 0.35);
}

.admin-video-item-row .video-status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-video-item-row .video-status-badge.status-active {
    background: rgba(64, 192, 87, 0.15);
    color: #40c057;
    border: 1px solid rgba(64, 192, 87, 0.3);
}

.admin-video-item-row .video-status-badge.status-empty {
    background: rgba(250, 176, 5, 0.15);
    color: #fab005;
    border: 1px solid rgba(250, 176, 5, 0.3);
}

.video-item-btn-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.admin-video-modal-thumb-box {
    width: 76px;
    height: 102px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px dashed rgba(0, 242, 254, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.admin-video-thumb-row {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-row-thumb-preview {
    width: 52px;
    height: 72px;
    border-radius: 8px;
    background: #090d18;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.admin-row-thumb-preview:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    transform: scale(1.04);
}

.admin-row-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-row-thumb-placeholder {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    padding: 4px;
    line-height: 1.15;
}

.admin-video-empty-state {
    grid-column: 1 / -1;
    padding: 32px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-secondary);
}

.admin-video-empty-state p {
    margin-bottom: 12px;
    font-size: 0.92rem;
}

/* ==============================================================
   АДАПТАЦИЯ БЛОКОВ ВИДЕО ПОД СВЕТЛУЮ ТЕМУ
   ============================================================== */
[data-theme="light"] .category-video-section {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .category-video-section::before {
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.4), rgba(217, 70, 239, 0.35), transparent);
}

[data-theme="light"] .category-promo-head {
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .promo-item-row {
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .promo-item-row:hover {
    background: rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .promo-emblem-placeholder {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .promo-badge {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--accent-blue);
    box-shadow: none;
}

[data-theme="light"] .admin-subnav-tabs {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .admin-subnav-btn {
    color: #475569;
}

[data-theme="light"] .admin-subnav-btn.active {
    background: #ffffff;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .admin-promo-cat-panel {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .admin-promo-status-text strong {
    color: #0f172a;
}

[data-theme="light"] .admin-promo-live-card {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .admin-promo-live-card:hover {
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.02);
}

[data-theme="light"] .admin-promo-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
}

[data-theme="light"] .admin-promo-top-preview {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .admin-promo-preview-card {
    background: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .admin-video-card-box {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .admin-video-card-box:hover {
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.02);
}

[data-theme="light"] .category-video-title-wrap h3 {
    color: #0f172a;
}

[data-theme="light"] .category-video-title-wrap p {
    color: #475569;
}

[data-theme="light"] .video-nav-btn {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .video-nav-btn:hover {
    background: rgba(2, 132, 199, 0.1);
    border-color: #0284c7;
    color: #0284c7;
}

[data-theme="light"] .vertical-video-card {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .vertical-video-card:hover {
    border-color: rgba(2, 132, 199, 0.65);
    box-shadow: 0 14px 34px rgba(2, 132, 199, 0.22), 0 0 16px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .v-card-bg-art {
    background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.14), transparent 60%),
                radial-gradient(circle at bottom left, rgba(217, 70, 239, 0.1), transparent 60%),
                #f1f5f9;
    opacity: 0.95;
}

[data-theme="light"] .v-card-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.7) 100%);
}

[data-theme="light"] .v-card-tag {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.35);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .v-card-duration {
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
}

[data-theme="light"] .v-card-center-play {
    background: rgba(2, 132, 199, 0.15);
    border: 2px solid #0284c7;
    color: #0284c7;
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .vertical-video-card:hover .v-card-center-play {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.5);
}

[data-theme="light"] .v-card-title {
    color: #0f172a;
}

[data-theme="light"] .v-card-meta {
    color: #475569;
}

/* Модальный плеер в светлой теме */
[data-theme="light"] .vertical-video-player-modal {
    background: #ffffff;
    border: 1.5px solid rgba(2, 132, 199, 0.45);
    box-shadow: 0 0 50px rgba(2, 132, 199, 0.2), 0 30px 80px rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .video-nav-arrow {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(2, 132, 199, 0.35);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .video-nav-arrow:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.5);
}

[data-theme="light"] .video-stub-container {
    background: radial-gradient(circle at 50% 30%, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .stub-bg-grid {
    background-image: linear-gradient(rgba(2, 132, 199, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(2, 132, 199, 0.07) 1px, transparent 1px);
}

[data-theme="light"] .stub-play-ring {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(217, 70, 239, 0.15));
    border: 2px solid #0284c7;
    color: #0284c7;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .stub-play-ring:hover {
    background: #0284c7;
    color: #ffffff;
}

[data-theme="light"] .stub-notice-box {
    background: rgba(255, 255, 255, 0.95);
    border: 1px dashed rgba(2, 132, 199, 0.5);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .stub-notice-box h4 {
    color: #0284c7;
}

[data-theme="light"] .stub-notice-box p {
    color: #475569;
}

[data-theme="light"] .stub-bottom-info {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .stub-video-title {
    color: #0f172a;
}

[data-theme="light"] .stub-timeline-bar {
    background: rgba(148, 163, 184, 0.3);
}

[data-theme="light"] .stub-video-meta-row {
    color: #64748b;
}

/* Админка в светлой теме */
[data-theme="light"] .admin-video-category-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .admin-video-item-row {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

/* ==============================================================
   РАЗДЕЛ «О НАС» (ABOUT SECTION) & СТОЛПЫ С SVG-ИЛЛЮСТРАЦИЯМИ
   ============================================================== */
.about-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
    align-self: flex-start;
}

.about-badge-chip.yandex-badge {
    background: rgba(252, 63, 29, 0.12);
    border-color: rgba(252, 63, 29, 0.35);
    color: #ff6b4a;
    align-self: center;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 40px;
}

.about-hero-card {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 16px 0 14px;
    color: var(--text-primary);
}

.about-hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.about-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Правая карточка: Хаб */
.about-hub-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.08), transparent 60%), var(--bg-glass-card);
}

.hub-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hub-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.25); }
}

.hub-location-pin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.hub-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hub-card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.about-hub-ill-box {
    margin: 8px 0 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hub-time-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 9px 12px;
}

.hub-time-pill .time-lbl {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 600;
}

.hub-time-pill strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Факты и цифры */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.about-stat-item {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.about-stat-svg-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(240, 147, 251, 0.15));
    border: 1px solid rgba(0, 242, 254, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.about-stat-content {
    display: flex;
    flex-direction: column;
}

.about-stat-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.about-stat-lbl {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Таймлайн истории развития */
.timeline-section-card {
    padding: 40px 32px;
    margin-bottom: 40px;
}

.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 36px;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 11px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-pink));
}

.timeline-step {
    position: relative;
}

.timeline-node {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2.5px solid var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-node-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
}

.timeline-step.active .timeline-node {
    border-color: var(--accent-pink);
    box-shadow: 0 0 14px rgba(240, 147, 251, 0.7);
}

.timeline-step.active .timeline-node-inner {
    background: var(--accent-pink);
}

.timeline-content-box {
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-year-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    background: rgba(0, 242, 254, 0.14);
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.timeline-step.active .timeline-year-tag {
    background: rgba(240, 147, 251, 0.18);
    color: var(--accent-pink);
}

.timeline-content-box h4,
.timeline-content-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-content-box p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 4 Столпа с SVG-иллюстрациями */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.pillar-card {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.pillar-svg-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.25s ease;
}

.pillar-card:hover .pillar-svg-box {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.06);
}

.pillar-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
}

.pillar-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.pillar-link:hover {
    color: var(--accent-pink);
    transform: translateX(3px);
}

/* Реальные отзывы с Яндекс Карт */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.review-quote-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.review-quote-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 176, 5, 0.35);
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.author-avatar.cat-avatar {
    background: #fff4e6;
    border-color: #ffd8a8;
}

.author-avatar.bear-avatar {
    background: #f3d9b1;
    border-color: #d0b49f;
}

.author-avatar.letter-avatar {
    background: #40c057;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
}

.author-meta strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
}

.yandex-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars-flex {
    display: flex;
    gap: 2px;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.review-text {
    font-size: 0.91rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.about-reviews-cta-row {
    text-align: center;
    margin-bottom: 46px;
}

.about-yandex-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.about-yandex-btn:hover {
    background: rgba(252, 63, 29, 0.1);
    border-color: #fc3f1d;
    transform: translateY(-2px);
    color: #fff;
}

/* CTA баннер */
.about-cta-banner {
    padding: 36px 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.06), rgba(240, 147, 251, 0.06)), var(--bg-glass-card);
    border-color: rgba(0, 242, 254, 0.25);
}

.about-cta-content {
    max-width: 740px;
    margin: 0 auto;
}

.about-cta-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.about-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.about-cta-sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.about-cta-sub-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(0, 242, 254, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.about-cta-sub-btn.phone-sub-btn svg {
    color: var(--accent-cyan);
    transition: transform 0.2s ease;
}

.about-cta-sub-btn:hover svg {
    transform: scale(1.1);
}

/* Адаптивность для «О нас» */
@media (max-width: 1100px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-hero-title {
        font-size: 1.85rem;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .timeline-track {
        padding-left: 28px;
    }
    .timeline-node {
        left: -28px;
        width: 20px;
        height: 20px;
    }
    .timeline-track::before {
        left: 9px;
    }
}

@media (max-width: 580px) {
    .about-hero-card, .about-hub-card, .timeline-section-card, .about-cta-banner {
        padding: 22px 18px;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-btns, .about-cta-btns {
        flex-direction: column;
        width: 100%;
    }
    .about-hero-btns .btn, .about-cta-btns .btn, .about-cta-btns a {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================================
   СВЕТЛАЯ ТЕМА ДЛЯ РАЗДЕЛА «О НАС»
   ============================================================== */
[data-theme="light"] .about-hero-card,
[data-theme="light"] .about-hub-card,
[data-theme="light"] .about-stat-item,
[data-theme="light"] .timeline-section-card,
[data-theme="light"] .pillar-card,
[data-theme="light"] .review-quote-card,
[data-theme="light"] .about-cta-banner {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .about-stat-item:hover,
[data-theme="light"] .pillar-card:hover,
[data-theme="light"] .review-quote-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .timeline-content-box {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .timeline-node {
    background: #ffffff;
}

[data-theme="light"] .about-stat-svg-box {
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.25);
    color: #0284c7;
}

[data-theme="light"] .pillar-svg-box {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

[data-theme="light"] .hub-time-pill {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="light"] .about-hub-ill-box {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .about-yandex-btn {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .about-yandex-btn:hover {
    background: rgba(252, 63, 29, 0.08);
    border-color: #fc3f1d;
    color: #0f172a;
}

[data-theme="light"] .about-cta-sub-btn {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .about-cta-sub-btn:hover {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.4);
    color: #0284c7;
}

[data-theme="light"] .about-cta-sub-btn.phone-sub-btn svg {
    color: #0284c7;
}

/* ==============================================================
   ПРОГРАММА ЛОЯЛЬНОСТИ И КЛУБНЫЕ КАРТЫ (4 УРОВНЯ)
   ============================================================== */

/* Сквозные плашки-виджеты в Аренде и Сервисе */
.loyalty-cross-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 242, 254, 0.04) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.loyalty-cross-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.45);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.loyalty-cross-badge-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.loyalty-badge-gem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.loyalty-cross-badge:hover .loyalty-badge-gem {
    transform: scale(1.1) rotate(4deg);
}

.loyalty-gem-svg {
    width: 30px;
    height: 30px;
    color: var(--accent-cyan, #00f2fe);
    stroke: var(--accent-cyan, #00f2fe);
    flex-shrink: 0;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
    transition: var(--transition);
}

.loyalty-gem-svg .gem-bg {
    fill: rgba(0, 242, 254, 0.16);
}

[data-theme="light"] .loyalty-gem-svg {
    color: #4f46e5 !important;
    stroke: #4f46e5 !important;
    filter: drop-shadow(0 2px 6px rgba(79, 70, 229, 0.25)) !important;
}

[data-theme="light"] .loyalty-gem-svg .gem-bg {
    fill: rgba(79, 70, 229, 0.12) !important;
}

.loyalty-cross-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.loyalty-cross-badge-text strong {
    font-size: 0.98rem;
    color: var(--text-primary);
}

.loyalty-cross-badge-text span {
    font-size: 0.86rem;
    color: #9aa2be;
}

.loyalty-cross-badge-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-cyan);
    white-space: nowrap;
    transition: var(--transition);
}

.loyalty-cross-badge:hover .loyalty-cross-badge-action {
    transform: translateX(4px);
    color: #fff;
}

/* Секция лояльности на Главной странице */
.loyalty-program-section {
    margin-bottom: 60px;
}

/* Сетка из 4 карт в один ряд на десктопе */
.loyalty-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.loyalty-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    perspective: 1200px;
    min-width: 0;
}

/* Физическая клубная карта (ISO 7810 ID-1 proportions ~ 1.586) */
.loyalty-card {
    aspect-ratio: 1.586 / 1;
    min-height: 204px;
    border-radius: 18px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.25s ease;
    user-select: none;
    cursor: pointer;
}

.loyalty-card:hover {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), 0 0 25px var(--card-glow, rgba(0, 242, 254, 0.3));
}

/* Блик света на пластике */
.loyalty-card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    border-radius: 18px;
}

.loyalty-card:hover .loyalty-card-glare {
    opacity: 1;
}

/* Элементы пластиковой карты */
.loyalty-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.loyalty-card-brand {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.loyalty-card-bolt {
    color: #ffcc00;
    filter: drop-shadow(0 0 4px rgba(255, 204, 0, 0.6));
    flex-shrink: 0;
}

.loyalty-card-contactless {
    opacity: 0.75;
    color: #fff;
    flex-shrink: 0;
}

/* Золотистый/серебряный чип EMV */
.emv-chip {
    width: 38px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4af37 0%, #fff4c2 50%, #aa820a 100%);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    margin: 6px 0 4px 0;
    z-index: 2;
    flex-shrink: 0;
}

.emv-chip::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.emv-chip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.35);
}

.loyalty-card-mid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin: 2px 0;
    flex-shrink: 0;
}

.loyalty-card-discount-val {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.loyalty-card-discount-val small {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 2px;
}

.loyalty-card-discount-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.loyalty-card-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 6px;
    gap: 8px;
    flex-shrink: 0;
}

.loyalty-card-holder {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.loyalty-card-badge {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ТЕМЫ МЕТАЛЛОВ ДЛЯ 4 КАРТ */
/* 1. Бронза */
.tier-bronze .loyalty-card {
    background: linear-gradient(135deg, #2c1810 0%, #5c3524 45%, #8f533a 75%, #3b2216 100%);
    border: 1px solid rgba(226, 135, 102, 0.45);
    --card-glow: rgba(226, 135, 102, 0.3);
}
.tier-bronze .loyalty-card-badge {
    color: #fbd3c4;
    border-color: rgba(226, 135, 102, 0.4);
}

/* 2. Серебро */
.tier-silver .loyalty-card {
    background: linear-gradient(135deg, #18202c 0%, #3a4759 45%, #6e7e94 75%, #242e3d 100%);
    border: 1px solid rgba(197, 213, 232, 0.5);
    --card-glow: rgba(197, 213, 232, 0.3);
}
.tier-silver .emv-chip {
    background: linear-gradient(135deg, #b0bec5 0%, #ffffff 50%, #78909c 100%);
}
.tier-silver .loyalty-card-badge {
    color: #e8f0fe;
    border-color: rgba(197, 213, 232, 0.4);
}

/* 3. Золото */
.tier-gold .loyalty-card {
    background: linear-gradient(135deg, #2a1f05 0%, #694d0c 35%, #c2a132 70%, #ffd966 85%, #523b08 100%);
    border: 1px solid rgba(255, 215, 0, 0.6);
    --card-glow: rgba(255, 215, 0, 0.35);
}
.tier-gold .loyalty-card-badge {
    color: #fff2b2;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(0, 0, 0, 0.45);
}

/* 4. Платина */
.tier-platinum .loyalty-card {
    background: linear-gradient(135deg, #090c12 0%, #151f2e 35%, #182c40 65%, #00f2fe 120%);
    border: 1px solid rgba(0, 242, 254, 0.6);
    --card-glow: rgba(0, 242, 254, 0.4);
}
.tier-platinum .emv-chip {
    background: linear-gradient(135deg, #00f2fe 0%, #ffffff 50%, #4facfe 100%);
}
.tier-platinum .loyalty-card-badge {
    color: #e0fcff;
    border-color: rgba(0, 242, 254, 0.5);
    background: rgba(0, 242, 254, 0.15);
}

/* Бокс с условиями и привилегиями под картой */
.loyalty-perks-box {
    padding: 22px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
    transition: var(--transition);
}

.loyalty-perks-box:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.loyalty-condition-block {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.loyalty-condition-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.loyalty-condition-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.loyalty-perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loyalty-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.loyalty-perk-icon {
    flex-shrink: 0;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.tier-bronze .loyalty-perk-icon { color: #e28766; }
.tier-silver .loyalty-perk-icon { color: #c5d5e8; }
.tier-gold .loyalty-perk-icon { color: #ffd700; }
.tier-platinum .loyalty-perk-icon { color: #00f2fe; }

/* Админка: 4 живые карточки программы лояльности (сетка 2х2) */
.admin-loyalty-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1040px;
    gap: 22px;
    align-items: stretch;
}

.admin-loyalty-card-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.admin-loyalty-card-box:hover {
    border-color: rgba(0, 242, 254, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.admin-loyalty-card-box .loyalty-card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-loyalty-box-actions {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
}

.admin-loyalty-box-actions .btn {
    width: 100%;
}

.admin-loyalty-studio-modal {
    max-width: 980px !important;
}

#loyaltyLivePreviewContainer .loyalty-card-wrapper {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
}

/* Светлая тема для программы лояльности */
[data-theme="light"] .loyalty-cross-badge {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .loyalty-cross-badge:hover {
    border-color: #0284c7;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .loyalty-cross-badge-text strong {
    color: #0f172a;
}

[data-theme="light"] .loyalty-cross-badge-text span {
    color: #475569;
}

[data-theme="light"] .loyalty-cross-badge-action {
    color: #0284c7;
}

[data-theme="light"] .loyalty-perks-box {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .loyalty-perks-box:hover {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .loyalty-condition-block {
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .loyalty-condition-label {
    color: #64748b;
}

[data-theme="light"] .loyalty-condition-val {
    color: #0f172a;
}

[data-theme="light"] .loyalty-perk-item {
    color: #334155;
}

[data-theme="light"] .admin-loyalty-card-box {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .admin-loyalty-card-box:hover {
    border-color: #0284c7;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .admin-loyalty-box-actions {
    border-top-color: rgba(148, 163, 184, 0.2);
}

@media (max-width: 820px) {
    .admin-loyalty-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .loyalty-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 680px) {
    .loyalty-cross-badge {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 12px;
    }
    .loyalty-cross-badge-action {
        align-self: flex-end;
    }
    .loyalty-cards-grid {
        display: flex;
        overflow-x: auto;
        padding: 10px 4px 18px 4px;
        gap: 16px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .loyalty-card-wrapper {
        min-width: 280px;
        max-width: 300px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .admin-loyalty-cards-grid {
        grid-template-columns: 1fr;
    }
}