/* ═══════════════════════════════════════════════════════
   AvenShop — Главный стиль (Фиолетовая тема)
   ═══════════════════════════════════════════════════════ */

/* ─── CSS-переменные ───────────────────────────────── */
:root {
    --bg-primary: #0a0015;
    --bg-secondary: #110020;
    --bg-card: rgba(124, 58, 237, 0.06);
    --bg-card-hover: rgba(124, 58, 237, 0.12);
    --bg-glass: rgba(20, 5, 40, 0.7);

    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-300: #c4b5fd;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    --purple-900: #4c1d95;

    --accent: #a855f7;
    --accent-light: #c084fc;
    --accent-glow: rgba(168, 85, 247, 0.4);

    --text-primary: #f0e6ff;
    --text-secondary: #b8a5d4;
    --text-muted: #7a6896;

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    --border: rgba(124, 58, 237, 0.2);
    --border-hover: rgba(124, 58, 237, 0.5);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;

    --shadow: 0 4px 30px rgba(124, 58, 237, 0.1);
    --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.2);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Сброс ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; }

/* ─── Скроллбар ────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--purple-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple-600); }

/* ─── Контейнер ────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Частицы (фон) ────────────────────────────────── */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ─── Навигация ────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 0, 21, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.logo i { color: var(--accent); font-size: 1.3rem; }
.logo-accent { color: var(--accent); }
.logo:hover { color: var(--text-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}
.nav-link.active { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dropdown */
.nav-dropdown { position: relative !important; display: inline-flex; align-items: center; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(15, 3, 30, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition);
}
.nav-dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ─── UI Controls (тема, язык, проверка заказа) ───── */
.ui-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.theme-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}
.theme-switch:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.ts-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 0 6px var(--accent-glow);
}
.ts-thumb i {
    font-size: 0.6rem;
    color: #fff;
}
.light-theme .ts-thumb {
    left: calc(100% - 20px);
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}
.lang-pill {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.lp-item {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.lp-item:hover {
    color: var(--text-primary);
}
.lp-item.active {
    color: #fff;
    background: var(--accent);
}
.nav-check-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-check-btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    color: var(--accent-light) !important;
}
.nav-account-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-account-btn:hover {
    background: rgba(124,58,237,0.2);
    border-color: var(--accent);
    color: var(--accent-light) !important;
}
.nav-account-name { font-weight: 700; }
.nav-account-balance {
    background: rgba(124,58,237,0.2);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-light);
}
.nav-link-free-dlc {
    background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 0.45rem 1rem !important;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px var(--accent-glow);
    transition: var(--transition);
}
.nav-link-free-dlc:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #c084fc 0%, #7c3aed 100%);
}

/* ─── Кнопки ───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--purple-600), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--accent-light);
}
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    color: #fff;
}
.btn-success { background: var(--success); color: #fff; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn-glow {
    animation: btnGlow 2s ease-in-out infinite alternate;
}
@keyframes btnGlow {
    0% { box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
    100% { box-shadow: 0 4px 30px rgba(124, 58, 237, 0.6); }
}

/* ─── Стеклянная карточка ──────────────────────────── */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* ─── Формы ────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(10, 0, 21, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}
.form-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}
.checkmark { display: none; }

/* ─── Флеш-сообщения ──────────────────────────────── */
.flash-container {
    position: fixed;
    top: 80px;
    right: 1.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.flash-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    animation: slideInRight 0.3s ease;
    min-width: min(300px, calc(100vw - 3rem));
}
.flash-success { border-color: var(--success); }
.flash-success i { color: var(--success); }
.flash-error { border-color: var(--danger); }
.flash-error i { color: var(--danger); }
.flash-warning { border-color: var(--warning); }
.flash-warning i { color: var(--warning); }
.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ─── Модалка ──────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    width: 100%;
    max-width: 450px;
    animation: modalIn 0.3s ease;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
}
.modal-body { padding: 1.5rem; }
@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ─── Герой ────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(109, 40, 217, 0.1) 0%, transparent 40%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 2rem;
    row-gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-layout .hero-stats {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 700px;
    margin: 1rem auto 0;
    justify-self: center;
}
.hero-content {
    text-align: left;
}
.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-mascot-img {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 80px rgba(168, 85, 247, 0.2));
    animation: mascotFloat 6s ease-in-out infinite, mascotBreathe 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes mascotBreathe {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 80px rgba(168, 85, 247, 0.2)); }
    50% { filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 100px rgba(168, 85, 247, 0.35)); }
}

/* Аура за маскотом */
.mascot-aura {
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
    animation: auraPulse 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes auraPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Магический шар в руке (overlay) */
.mascot-orb {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 28%;
    left: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.9) 0%, rgba(139, 92, 246, 0.5) 40%, transparent 70%);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(139, 92, 246, 0.3), 0 0 60px rgba(192, 132, 252, 0.2);
    animation: orbPulse 2s ease-in-out infinite, mascotFloat 6s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(139, 92, 246, 0.3); }
    50% { transform: scale(1.3); box-shadow: 0 0 30px rgba(168, 85, 247, 0.8), 0 0 60px rgba(139, 92, 246, 0.5), 0 0 80px rgba(192, 132, 252, 0.3); }
}

/* Частицы вокруг маскота */
.mascot-particles {
    position: absolute;
    inset: -20px;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 6px #c084fc, 0 0 12px rgba(192, 132, 252, 0.5);
    animation: particleFloat 3s ease-in-out infinite;
    opacity: 0;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-80px) scale(0); }
}
.p1 { top: 80%; left: 15%; animation-delay: 0s; animation-duration: 3.5s; }
.p2 { top: 70%; left: 85%; animation-delay: 0.5s; animation-duration: 3s; background: #a855f7; box-shadow: 0 0 6px #a855f7; }
.p3 { top: 90%; left: 50%; animation-delay: 1s; animation-duration: 2.8s; }
.p4 { top: 60%; left: 5%; animation-delay: 1.5s; animation-duration: 3.2s; background: #e9d5ff; box-shadow: 0 0 6px #e9d5ff; width: 3px; height: 3px; }
.p5 { top: 85%; left: 70%; animation-delay: 2s; animation-duration: 3.8s; background: #a855f7; }
.p6 { top: 75%; left: 30%; animation-delay: 0.8s; animation-duration: 2.5s; width: 3px; height: 3px; }
.p7 { top: 95%; left: 40%; animation-delay: 1.8s; animation-duration: 3.3s; background: #e9d5ff; box-shadow: 0 0 6px #e9d5ff; }
.p8 { top: 65%; left: 90%; animation-delay: 2.5s; animation-duration: 2.7s; width: 5px; height: 5px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 2rem;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 0;
    padding: 1.2rem 2rem;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    animation: statsSlideUp 0.8s ease-out 0.3s both;
}
@keyframes statsSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-4px);
}
.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.3rem;
    color: var(--accent);
    transition: all 0.3s ease;
    animation: iconGlow 3s ease-in-out infinite;
}
.stat-item:hover .stat-icon-wrap {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transform: scale(1.1);
}
@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(139, 92, 246, 0); }
    50% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.2); }
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ─── Секции ───────────────────────────────────────── */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}
.section-dark {
    background: var(--bg-secondary);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.page-header {
    padding: 6rem 0 2rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
}
.page-header-sm { padding: 5.5rem 0 1.5rem; }
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.6rem; }

/* ─── Карточки категорий ───────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    display: block;
    color: var(--text-primary);
    min-height: 220px;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
    color: var(--text-primary);
}
.category-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.category-card-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: var(--transition);
}
.category-card:hover .category-card-bg img {
    opacity: 0.45;
    transform: scale(1.05);
}
.category-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-900), var(--bg-primary));
    font-size: 3rem;
    color: var(--purple-700);
}
.category-card-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10, 0, 21, 0.9) 30%, transparent);
}
.category-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.category-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.category-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.category-arrow {
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}
.category-card:hover .category-arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ─── Карточки товаров ─────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
}
.product-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-card-image img {
    transform: scale(1.05);
}
.product-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--purple-700);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}
.product-status {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.status-undetected {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-undetected .status-dot {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: statusPulse 2s ease-in-out infinite;
}
.status-detected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.status-detected .status-dot {
    background: var(--danger);
    box-shadow: 0 0 6px var(--danger);
}
.status-updating {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.status-updating .status-dot {
    background: var(--warning);
    box-shadow: 0 0 6px var(--warning);
    animation: statusPulse 1s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.product-card-body { padding: 1.25rem; }
.product-category-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-price { display: flex; align-items: center; gap: 0.5rem; }
.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
}

/* ─── Фичи (преимущества) ──────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
}
.feature-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-600), var(--accent));
    border-radius: var(--radius);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── FAQ ──────────────────────────────────────────── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.faq-question i {
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Страница товара ──────────────────────────────── */
.product-layout {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 2rem;
    align-items: start;
}
.product-media {
    position: sticky;
    top: 90px;
    align-self: start;
    min-width: 0;
    overflow: hidden;
}
.product-image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}
.product-placeholder-large {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--purple-700);
}
.product-status-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.status-dot-lg {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-undetected .status-dot-lg {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: statusPulse 2s ease-in-out infinite;
}
.status-detected .status-dot-lg {
    background: var(--danger);
    box-shadow: 0 0 10px var(--danger);
}
.status-updating .status-dot-lg {
    background: var(--warning);
    box-shadow: 0 0 10px var(--warning);
    animation: statusPulse 1s ease-in-out infinite;
}
.product-video { margin-top: 1rem; }

/* Стрелки галереи */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 5;
    backdrop-filter: blur(4px);
}
.gallery-arrow:hover {
    background: rgba(124, 58, 237, 0.7);
    border-color: var(--accent);
}
.gallery-arrow-left { left: 10px; }
.gallery-arrow-right { right: 10px; }

/* Точки-индикаторы */
.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}
.gallery-dot.active {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}
.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}
.video-container {
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.product-short-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}
/* ─── Инфо-карточки (Статус / Наличие / Обновлено) ─── */
.product-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}
.info-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
}
.info-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.info-card-icon.status-undetected {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}
.info-card-icon.status-detected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}
.info-card-icon.status-updating {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}
.info-card-icon.info-icon-stock {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}
.info-card-icon.info-icon-date {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}
.info-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.info-card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}
.info-card-value.status-undetected { color: var(--success); }
.info-card-value.status-detected { color: var(--danger); }
.info-card-value.status-updating { color: var(--warning); }

@media (max-width: 480px) {
    .product-info-cards {
        grid-template-columns: 1fr;
    }
}
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--text-muted) !important; }
.fw-bold { font-weight: 700 !important; }
.text-center { text-align: center !important; }
.text-xl { font-size: 1.3rem !important; }

/* ─── Тарифы ───────────────────────────────────────── */
.tariffs-section { margin-bottom: 1.5rem; }
.tariffs-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.tariff-card {
    position: relative;
    padding: 1.25rem 1rem;
    padding-top: 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: visible;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
}
.tariff-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}
.tariff-card.selected {
    border-color: var(--accent);
    border-width: 3px;
    background: rgba(124, 58, 237, 0.2);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25), 0 0 30px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}
.tariff-popular {
    border-style: dashed;
    border-color: rgba(124, 58, 237, 0.4);
}
.tariff-popular.selected {
    border-style: solid;
    border-width: 3px;
    border-color: var(--accent);
}
.tariff-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    padding: 0.15rem 0.6rem;
    background: linear-gradient(135deg, var(--purple-600), var(--accent));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
}
.tariff-discount {
    position: absolute;
    top: -8px; right: -8px;
    padding: 0.15rem 0.5rem;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
}
.tariff-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.tariff-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.tariff-price .price-old {
    display: block;
    font-size: 0.78rem;
}
.tariff-price .price-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-light);
}

/* Тариф без ключей */
.tariff-card.tariff-disabled {
    opacity: 1;
    cursor: not-allowed;
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
    position: relative;
    overflow: visible;
}
.tariff-card.tariff-disabled:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.06);
    transform: none;
}
.tariff-card.tariff-disabled .tariff-name,
.tariff-card.tariff-disabled .tariff-duration,
.tariff-card.tariff-disabled .tariff-price .price-main {
    color: var(--text-muted);
}
.tariff-card.tariff-disabled .tariff-price .price-old {
    color: var(--text-muted);
}
.tariff-badge-sold {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    white-space: nowrap;
    max-width: calc(100% + 16px);
    text-overflow: ellipsis;
    overflow: hidden;
}
.tariff-sold-overlay {
    display: none;
}

.buy-section { margin-top: 1rem; }
.buy-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--success);
}
.buy-trust-badges i {
    margin-right: 0.3rem;
    font-size: 0.75rem;
}

/* Фичи-список */
.product-features { margin-top: 1.5rem; }
.product-features h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}
.features-list li:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}
.features-list li i { color: var(--success); flex-shrink: 0; }

/* ─── Системные требования ─────────────────────────── */
.product-sysreq {
    margin-top: 1.5rem;
}
.product-sysreq h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-sysreq h3 i { color: var(--accent); }
.sysreq-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.sysreq-row {
    display: flex;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}
.sysreq-row:last-child { border-bottom: none; }
.sysreq-row:hover { background: var(--bg-card-hover); }
.sysreq-label {
    flex: 0 0 40%;
    font-weight: 600;
    color: var(--text-secondary);
}
.sysreq-value {
    flex: 1;
    color: var(--text-primary);
}

.product-description {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.product-description h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
}
.description-content p { margin-bottom: 1rem; }

.related-products { margin-top: 3rem; }
.related-products h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subcategory-section { margin-bottom: 3rem; }
.subcategory-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.subcategory-desc {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ─── Чекаут ───────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: start;
}
.checkout-product {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}
.checkout-product-image {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.checkout-product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-placeholder-sm {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--purple-700);
    font-size: 1.5rem;
}
.product-status-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.3rem;
}
.checkout-product-info h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.checkout-details { display: flex; flex-direction: column; gap: 0.5rem; }
.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.checkout-divider {
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}
.checkout-total { font-size: 1.1rem; }

/* Промокод */
.promo-input-group {
    display: flex;
    gap: 0.5rem;
}
.promo-input-group .form-control { flex: 1; }
.promo-message {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.promo-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.promo-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Способы оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.payment-option {
    cursor: pointer;
    display: block;
}
.payment-option input { display: none; }
.payment-option-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}
.payment-option-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.payment-option:hover .payment-option-content {
    border-color: rgba(124,58,237,0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124,58,237,0.12);
}
.payment-option:hover .payment-option-content::before {
    opacity: 1;
}
.payment-option.selected .payment-option-content {
    border-color: var(--accent);
    background: rgba(124,58,237,0.08);
    box-shadow: 0 0 0 1px rgba(124,58,237,0.3), 0 4px 24px rgba(124,58,237,0.18);
}
.payment-option.selected .payment-option-content::before {
    opacity: 1;
}
/* Иконка платёжки */
.payment-option-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(var(--pm-color), 0.15);
    background-color: color-mix(in srgb, var(--pm-color, #7c3aed) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--pm-color, #7c3aed) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--pm-color, var(--accent));
    transition: all 0.22s ease;
    flex-shrink: 0;
}
.payment-option.selected .payment-option-icon {
    background-color: color-mix(in srgb, var(--pm-color, #7c3aed) 25%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--pm-color, #7c3aed) 40%, transparent);
}
/* Текст */
.payment-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}
.payment-option-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.3;
}
.payment-option-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}
/* Галочка */
.payment-option-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.payment-option-check i {
    font-size: 0.55rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.payment-option.selected .payment-option-check {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(124,58,237,0.5);
}
.payment-option.selected .payment-option-check i {
    opacity: 1;
}
.form-agreement {
    margin-bottom: 1.5rem;
}
.form-agreement a {
    color: var(--accent);
    text-decoration: underline;
}

/* ─── Страница оплаты ──────────────────────────────── */
.payment-page {
    max-width: 500px;
    margin: 0 auto;
}
.payment-card { text-align: center; }
.payment-header { margin-bottom: 1.5rem; }
.payment-icon {
    width: 70px; height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-600), var(--accent));
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}
.payment-info {
    text-align: left;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.stub-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 0.85rem;
    color: var(--warning);
}
.mock-card-form { margin-bottom: 1.5rem; text-align: left; }
.payment-footer { margin-top: 1.5rem; }
.payment-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.payment-secure i { color: var(--success); }

/* ─── Страница успеха ──────────────────────────────── */
.order-success-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}
.order-success-card { text-align: center; }
.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}
.success-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.success-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.key-delivery-box {
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.key-delivery-box h3 { margin-bottom: 0.75rem; }
.key-value {
    padding: 1rem;
    background: rgba(10, 0, 21, 0.8);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--accent-light);
    word-break: break-all;
    margin-bottom: 0.75rem;
}
.key-instruction {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.key-instruction h4 { margin-bottom: 0.5rem; }
.key-instruction pre {
    padding: 1rem;
    background: rgba(10, 0, 21, 0.6);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: pre-wrap;
    line-height: 1.6;
}
.email-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    text-align: left;
}
.email-notice i { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.pending-icon, .cancelled-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.pending-icon { color: var(--warning); }
.cancelled-icon { color: var(--danger); }
.order-details-summary {
    text-align: left;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.order-details-summary h4 { margin-bottom: 0.75rem; }
.order-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ─── Логин ────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
}
.login-card { text-align: center; }
.login-header { margin-bottom: 2rem; }
.login-header .logo {
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.login-header h2 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}
.login-card .form-group { text-align: left; }
.password-input {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}
.login-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.login-footer a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.login-footer a:hover { color: var(--accent); }

/* ─── Пустое состояние ─────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-state i { font-size: 4rem; color: var(--purple-700); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ─── Ошибка ───────────────────────────────────────── */
.error-page {
    text-align: center;
    padding: 8rem 2rem;
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-600), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}
.error-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ─── Футер ────────────────────────────────────────── */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.footer-logo i { color: var(--accent); }
.footer-logo:hover { color: var(--text-primary); }
.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: var(--transition-fast);
}
.footer-col a:hover { color: var(--accent); padding-left: 0.3rem; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── Анимации ─────────────────────────────────────── */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}
.animate-scale-in {
    opacity: 0;
    transform: scale(0.5);
    animation: scaleIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* Ленивые анимации (срабатывают при скролле) */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Бейджи статусов заказа ───────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-lg {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}
.order-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.order-paid { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.order-delivered { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.order-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.order-refunded { background: rgba(168, 85, 247, 0.15); color: var(--accent); }

/* ─── Пагинация ────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.5rem 0 0.5rem;
}
.pagination-link {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.pagination-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination-link.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination-dots { color: var(--text-muted); padding: 0 0.3rem; }

/* ─── Адаптив ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; gap: 2rem; }
    .hero-mascot { order: -1; }
    .hero-mascot-img { max-width: 300px; }
    .mascot-orb { width: 35px; height: 35px; top: 26%; left: 24%; }
    .product-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-media { position: static; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 1.5rem; padding: 1.2rem 1rem; }
    .stat-number { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .payment-methods { grid-template-columns: 1fr; }

    /* Навигация */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .nav-dropdown { width: 100%; position: relative !important; display: block; }
    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        display: none;
        padding: 0 0 0 1rem;
    }
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu { display: block; }
    .nav-check-text { display: none; }

    /* Контент */
    .features-list { grid-template-columns: 1fr; }
    .product-title { font-size: 1.5rem; }
    .product-info-cards { grid-template-columns: 1fr 1fr; }
    .glass-card { padding: 1.25rem; }
    .product-description { padding: 1.25rem; }
    .breadcrumb { flex-wrap: wrap; }
    .error-code { font-size: 5rem; }
    .hero { min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px); }

    /* Флеш-сообщения */
    .flash-container { right: 1rem; left: 1rem; }
    .flash-message { min-width: auto; max-width: 100%; }

    /* Модалка */
    .modal { max-width: calc(100vw - 2rem); margin: 0 1rem; }

    /* Системные требования */
    .sysreq-row { flex-direction: column; gap: 0.2rem; }
    .sysreq-label { flex: none; }

    /* Увеличение тач-таргетов */
    .gallery-dot { width: 12px; height: 12px; }
    .thumb-arrow { width: 40px; height: 40px; font-size: 0.85rem; }
    .gallery-arrow { width: 42px; height: 42px; }
    .lp-item { padding: 0.35rem 0.75rem; font-size: 0.8rem; min-height: 32px; display: flex; align-items: center; }

    /* Чекаут */
    .checkout-product { flex-wrap: wrap; }
    .checkout-product-image { width: 60px; height: 60px; }

    /* Покупка */
    .buy-trust-badges { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1rem; }
    .stat-icon-wrap { width: 40px; height: 40px; font-size: 1.1rem; }
    .hero-mascot-img { max-width: 220px; }
    .mascot-orb { width: 25px; height: 25px; top: 25%; left: 26%; }
    .mascot-particles .particle { width: 3px; height: 3px; }
    .tariffs-grid { grid-template-columns: 1fr 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }

    .product-title { font-size: 1.3rem; }
    .product-info-cards { grid-template-columns: 1fr; }
    .product-card-image { height: 180px; }
    .error-code { font-size: 4rem; }
    .error-text { font-size: 1rem; }
    .order-actions { flex-direction: column; }
    .order-actions .btn { width: 100%; }
    .key-value { font-size: 0.85rem; padding: 0.75rem; }
    .flash-container { top: 75px; right: 0.5rem; left: 0.5rem; }

    /* Футер */
    .footer { padding: 2rem 0 1rem; }
    .footer-grid { gap: 1.25rem; }
    .footer-col h4 { margin-bottom: 0.5rem; }

    /* Тарифы */
    .tariff-card { min-height: 110px; padding: 1rem 0.75rem; }
    .tariff-price .price-main { font-size: 1.05rem; }

    /* Навигация */
    .navbar .container { height: 60px; }
    .logo { font-size: 1.3rem; }
    .nav-links { top: 60px; }
    .main-content { padding-top: 60px; }
    .hero { padding-top: 60px; }
}

/* ─── Утилиты ──────────────────────────────────────── */
.main-content {
    min-height: calc(100vh - 70px);
    padding-top: 70px;
    position: relative;
    z-index: 1;
}
s { text-decoration: line-through; }
code {
    padding: 0.2rem 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--accent-light);
}

/* ─── Поиск на главной ─────────────────────────────── */
.site-search-wrap {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 100;
}
.site-search-inner {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    gap: 0.6rem;
    transition: var(--transition);
}
.site-search-inner:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.site-search-ico {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.site-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
}
.site-search-input::placeholder {
    color: var(--text-muted);
}
.site-search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.2rem;
    transition: var(--transition-fast);
}
.site-search-clear:hover { color: var(--text-primary); }
.site-search-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0; right: 0;
    background: rgba(15, 3, 30, 0.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 380px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
}
.site-search-dropdown.active,
.site-search-dropdown.open { display: block; }

/* ── Элементы выпадающего списка поиска ── */
.ssd-group-label {
    padding: 0.5rem 1rem 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ssd-group-label i { color: var(--accent); font-size: 0.7rem; }
.ssd-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}
.ssd-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.ssd-thumb {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.ssd-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 1rem;
}
.ssd-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ssd-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ssd-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.ssd-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.site-search-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}
.site-search-dropdown a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}
.site-search-dropdown a img {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.site-search-dropdown .search-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── Светлая тема ─────────────────────────────────── */
.light-theme {
    --bg-primary: #f8f6ff;
    --bg-secondary: #ede9fe;
    --bg-card: rgba(124, 58, 237, 0.06);
    --bg-card-hover: rgba(124, 58, 237, 0.12);
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #1a0530;
    --text-secondary: #4a3860;
    --text-muted: #8878a0;
    --border: rgba(124, 58, 237, 0.18);
    --border-hover: rgba(124, 58, 237, 0.4);
    --shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
    --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.12);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
}
.light-theme .navbar {
    background: rgba(248, 246, 255, 0.9);
    border-bottom-color: rgba(124, 58, 237, 0.12);
}
.light-theme .footer {
    background: #ede9fe;
    border-top-color: rgba(124, 58, 237, 0.12);
}
.light-theme ::-webkit-scrollbar-track { background: #f8f6ff; }
.light-theme ::-webkit-scrollbar-thumb { background: var(--purple-300); }
.light-theme .hero { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%); }
.light-theme .hero-title { color: #1a0530; }
.light-theme .gradient-text { background: linear-gradient(135deg, #7c3aed, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.light-theme .particle { background: rgba(124, 58, 237, 0.15); }
.light-theme .product-image-main { background: #fff; }
.light-theme .dropdown-menu { background: rgba(255, 255, 255, 0.95); }
.light-theme .site-search-inner { background: #fff; }
.light-theme .site-search-dropdown { background: rgba(255, 255, 255, 0.98); }
.light-theme .category-card-content {
    color: #fff;
}
.light-theme .category-card-content h3 {
    color: #fff;
}
.light-theme .category-card-content p {
    color: rgba(255, 255, 255, 0.8);
}
.light-theme .category-card-content .category-meta {
    color: rgba(255, 255, 255, 0.7);
}
.light-theme .category-card-content .category-arrow {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.light-theme .product-card-title {
    color: #1a0530;
}

/* ─── Навигация миниатюр ──────────────────────────── */
.thumbs-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    position: relative;
}
.thumb-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
    z-index: 2;
}
.thumb-arrow:hover {
    background: rgba(124, 58, 237, 0.7);
    border-color: var(--accent);
}

/* ─── Галерея миниатюр товара ──────────────────────── */
.product-thumbs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255,255,255,0.08);
    flex: 1;
    min-width: 0;
}
.product-thumbs::-webkit-scrollbar {
    height: 6px;
}
.product-thumbs::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
}
.product-thumbs::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}
.product-thumbs img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.product-thumbs img:hover,
.product-thumbs img.active {
    opacity: 1;
    border-color: var(--accent);
}

/* ─── Лайтбокс (просмотр фото) ────────────────────── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    cursor: zoom-out;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    user-select: none;
    cursor: default;
    transition: transform 0.3s;
}
.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
    user-select: none;
}
.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lightbox-arrow.prev { left: 1.5rem; }
.lightbox-arrow.next { right: 1.5rem; }
.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    z-index: 10001;
}

/* SEO текстовый блок */
.seo-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}
.seo-text h2 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}
.seo-text p {
    margin-bottom: 0.8rem;
}
.seo-text ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}
.seo-text ul li {
    margin-bottom: 0.4rem;
}
.seo-text strong {
    color: var(--text-primary);
}
.light-theme .seo-text {
    color: rgba(0, 0, 0, 0.6);
}
.light-theme .seo-text h2,
.light-theme .seo-text strong {
    color: var(--text-primary);
}
