﻿/* =========================================
   MINEDEV Premium Layer — Obsidian + Salad
   Подключается после style.css / store.css
   ========================================= */

:root {
    --bg-color: #060606;
    --bg-elevated: #0d0d0d;
    --text-color: #f6f5f1;
    --text-muted: rgba(246, 245, 241, 0.58);
    --accent-color: #8cff00;
    --accent-soft: rgba(140, 255, 0, 0.14);
    --accent-glow: rgba(140, 255, 0, 0.32);
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);
    --nav-bg: rgba(6, 6, 6, 0.78);
    --nav-border: rgba(255, 255, 255, 0.07);
    --vignette-color: #060606;
    --shadow-soft: 0 22px 55px rgba(0, 0, 0, 0.48);
    --radius-lg: 22px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --primary-color: #8cff00;
    --accent: #8cff00;
    --accent-rgb: 140, 255, 0;
    --font-display: 'Onest', system-ui, sans-serif;
    --font-body: 'Onest', system-ui, sans-serif;
}

body.light-theme {
    --bg-color: #f2f2ef;
    --bg-elevated: #ffffff;
    --text-color: #121212;
    --text-muted: rgba(18, 18, 18, 0.58);
    --accent-color: #6bc400;
    --accent-soft: rgba(107, 196, 0, 0.12);
    --accent-glow: rgba(107, 196, 0, 0.2);
    --surface: rgba(255, 255, 255, 0.82);
    --surface-hover: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.14);
    --nav-bg: rgba(255, 255, 255, 0.82);
    --nav-border: rgba(0, 0, 0, 0.07);
    --vignette-color: #f2f2ef;
    --shadow-soft: 0 20px 48px rgba(18, 18, 18, 0.09);
    --primary-color: #6bc400;
    --accent: #6bc400;
}

html {
    font-size: 15px;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: rgba(140, 255, 0, 0.38);
    color: var(--text-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(140, 255, 0, 0.38);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(140, 255, 0, 0.55);
}
body.light-theme ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); }

/* Atmosphere — чистый тёмный фон, без зелёного свечения */
.pattern-bg {
    opacity: 1;
    overflow: hidden;
    background: #050505;
}

.pattern-bg::before,
.pattern-bg::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

body.light-theme .pattern-bg {
    background: #f4f4f1;
}

/* Секции по очереди: тёмный / градиент / тёмный / градиент */
.services-section,
.shop-preview-section,
.reviews-section,
.faq-section {
    position: relative;
    isolation: isolate;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: inherit;
}
.services-section::before,
.shop-preview-section::before,
.reviews-section::before,
.faq-section::before {
    display: none;
    content: none;
}

/* 1 — Услуги: просто тёмный */
.services-section {
    background: #050505 !important;
}
/* 2 — Магазин: лайм + тёмный градиент */
.shop-preview-section {
    background:
        radial-gradient(ellipse 80% 70% at 12% 0%, rgba(140, 255, 0, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 60% at 100% 80%, rgba(120, 180, 70, 0.08), transparent 50%),
        linear-gradient(165deg, #0b1008 0%, #070807 45%, #050505 100%) !important;
}
.shop-preview-section::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 85% 20%, rgba(140, 255, 0, 0.07), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(140, 255, 0, 0.05), transparent 42%);
    pointer-events: none;
}
/* 3 — Отзывы: просто тёмный */
.reviews-section {
    background: #050505 !important;
}
/* 4 — FAQ: лайм + тёмный градиент */
.faq-section {
    background:
        radial-gradient(ellipse 80% 70% at 12% 0%, rgba(140, 255, 0, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 60% at 100% 80%, rgba(120, 180, 70, 0.08), transparent 50%),
        linear-gradient(165deg, #0b1008 0%, #070807 45%, #050505 100%) !important;
}
.faq-section::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 85% 20%, rgba(140, 255, 0, 0.07), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(140, 255, 0, 0.05), transparent 42%);
    pointer-events: none;
}

body.light-theme .services-section,
body.light-theme .reviews-section {
    background: #f2f2ef !important;
}
body.light-theme .shop-preview-section,
body.light-theme .faq-section {
    background:
        radial-gradient(ellipse 80% 70% at 12% 0%, rgba(107, 196, 0, 0.12), transparent 55%),
        linear-gradient(165deg, #eef3e6 0%, #f2f2ef 50%, #eeeeea 100%) !important;
}
body.light-theme .shop-preview-section::before,
body.light-theme .faq-section::before {
    display: none;
    content: none;
}

/* Nav */
.navbar {
    height: 76px;
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-bottom: 1px solid var(--nav-border);
}
.navbar.scrolled {
    height: 62px;
    background: rgba(6, 6, 6, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.nav-links { gap: 2.6rem; }
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.nav-links a::after {
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-color); }
.nav-actions .btn-primary {
    padding: 0.7rem 1.35rem;
    font-size: 0.82rem;
}
.nav-actions .btn-primary,
.nav-actions-mobile .btn-primary {
    background: #8cff00 !important;
    border-color: #8cff00 !important;
    color: #121212 !important;
    box-shadow: none !important;
}
.nav-actions .btn-primary:hover,
.nav-actions-mobile .btn-primary:hover {
    background: #b8ff4a !important;
    border-color: #b8ff4a !important;
    color: #121212 !important;
}

/* Buttons — иерархия: fill / ghost */
.btn-primary,
a.btn-primary,
button.btn-primary,
.reviews-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 1rem 2.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: lowercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.35s var(--ease-premium),
        border-color 0.35s var(--ease-premium),
        color 0.35s var(--ease-premium),
        transform 0.35s var(--ease-premium) !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-primary.btn-fill,
a.btn-primary.btn-fill {
    background: #8cff00 !important;
    border-color: #8cff00 !important;
    color: #121212 !important;
    box-shadow: none !important;
}
.btn-primary.btn-fill:hover,
a.btn-primary.btn-fill:hover {
    background: #b8ff4a !important;
    border-color: #b8ff4a !important;
    color: #121212 !important;
    transform: translateY(-3px);
}
.btn-primary.btn-ghost,
a.btn-primary.btn-ghost,
.reviews-more-btn.btn-ghost {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.btn-primary.btn-ghost:hover,
a.btn-primary.btn-ghost:hover,
.reviews-more-btn.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(140, 255, 0, 0.55) !important;
    color: #fff !important;
    transform: translateY(-3px);
}
.btn-primary:hover,
a.btn-primary:hover,
.reviews-more-btn:hover {
    transform: translateY(-3px);
}
.nav-actions .btn-primary,
.nav-actions-mobile .btn-primary {
    padding: 0.7rem 1.35rem;
    font-size: 0.82rem;
}
.product-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}
body.light-theme .btn-primary.btn-fill,
body.light-theme a.btn-primary.btn-fill,
body.light-theme .nav-actions .btn-primary {
    background: #6bc400 !important;
    border-color: #6bc400 !important;
    color: #fff !important;
}
body.light-theme .btn-primary.btn-fill:hover,
body.light-theme a.btn-primary.btn-fill:hover,
body.light-theme .nav-actions .btn-primary:hover {
    background: #5f9628 !important;
    border-color: #5f9628 !important;
}
body.light-theme .btn-primary.btn-ghost,
body.light-theme a.btn-primary.btn-ghost,
body.light-theme .reviews-more-btn.btn-ghost,
body.light-theme .hero-actions .btn-ghost {
    background: transparent !important;
    border-color: #121212 !important;
    color: #121212 !important;
}
body.light-theme .btn-primary.btn-ghost:hover,
body.light-theme a.btn-primary.btn-ghost:hover {
    background: rgba(18, 18, 18, 0.05) !important;
    border-color: #5a9900 !important;
}

/* Hero — уже, по центру */
.hero-wrapper {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5.5rem 1.5rem 2.5rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.hero-showcase {
    position: relative;
    max-width: 1080px !important;
    width: 100% !important;
    min-height: clamp(380px, 48vh, 480px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2.75rem !important;
    background: #050505 !important;
    transition: border-color 0.45s ease, box-shadow 0.45s ease;
}
.hero-showcase::before {
    background-image: none !important;
    background:
        radial-gradient(ellipse 55% 70% at 88% 45%, rgba(140, 255, 0, 0.14), transparent 58%),
        radial-gradient(ellipse 40% 50% at 75% 80%, rgba(255, 255, 255, 0.04), transparent 55%),
        linear-gradient(145deg, #0a0a0a 0%, #050505 55%, #030303 100%) !important;
}
.hero-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 22%);
}
.hero-showcase:hover {
    transform: none !important;
}
.hero-overlay {
    display: none !important;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 520px;
}
.hero-title {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: clamp(3rem, 6.5vw, 5rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0 0 0.85rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #fff;
    filter: none !important;
    text-shadow: none;
}
.hero-grad {
    background: linear-gradient(100deg, #f4f4f4 0%, #cfd3d8 28%, #8cff00 68%, #7acc00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.58);
    max-width: 420px;
    margin: 0 0 1.5rem;
}
.hero-actions {
    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.35rem;
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem 1.6rem;
    padding-top: 0.25rem;
}
.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.hero-proof-item b {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}
.hero-proof-item span {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}
body.light-theme .hero-proof-item b { color: #121212; }
body.light-theme .hero-proof-item span { color: rgba(18, 18, 18, 0.5); }
.hero-visual {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    pointer-events: none;
}
.hero-torus {
    width: min(100%, 460px);
    height: auto;
    object-fit: contain;
    filter: none;
    animation: heroTorusFloat 8s ease-in-out infinite alternate;
}

@keyframes heroTorusFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

body.light-theme .hero-showcase {
    background: #ffffff !important;
    border: 1.5px solid rgba(18, 18, 18, 0.14) !important;
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.light-theme .hero-showcase::before {
    background:
        radial-gradient(ellipse 55% 70% at 88% 45%, rgba(140, 255, 0, 0.22), transparent 58%),
        radial-gradient(ellipse 40% 50% at 20% 90%, rgba(140, 255, 0, 0.08), transparent 55%),
        linear-gradient(145deg, #ffffff 0%, #f7ffe8 55%, #ffffff 100%) !important;
}
body.light-theme .hero-showcase::after {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    background: none;
}
body.light-theme .hero-title {
    color: #121212 !important;
    text-shadow: none;
}
body.light-theme .hero-subtitle {
    color: rgba(18, 18, 18, 0.62) !important;
}
body.light-theme .hero-grad {
    background: linear-gradient(100deg, #4a8800 0%, #6bc400 40%, #8cff00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-theme .hero-overlay { display: none !important; }

/* Section headers */
.section-title {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: clamp(2rem, 4vw, 2.85rem);
    letter-spacing: -0.03em;
}
.section-title span {
    color: var(--accent-color);
}
.section-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Services — 3 крупных + 3 компактных */
.services-section > .section-header,
.services-section > .services-featured {
    max-width: 1120px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.services-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.service-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition:
        transform 0.45s var(--ease-premium),
        border-color 0.35s var(--ease-premium);
}
.service-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 255, 0, 0.4);
}
.service-feature-media {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #0a0a0a;
}
.service-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-feature-body {
    padding: 1.25rem 1.3rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.service-feature-body h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.service-feature-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.service-feature-cta {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-color);
}
body.light-theme .service-feature {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 28px rgba(0, 0, 0, 0.04);
}
body.light-theme .service-feature-body p {
    color: rgba(18, 18, 18, 0.58);
}

@media (max-width: 1000px) {
    .services-featured {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .services-featured {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   Каждая секция главной — на весь экран
   ========================================= */
.services-section,
.shop-preview-section,
.reviews-section,
.faq-section {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 120px 1.5rem 5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.shop-preview-section > .section-header,
.shop-preview-section > .shop-preview-grid,
.shop-preview-section > .shop-preview-actions,
.shop-preview-section > .shop-preview-promo {
    max-width: 1120px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.reviews-section > .section-header,
.reviews-section > .reviews-carousel,
.reviews-section > .reviews-actions {
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.faq-section > .section-header,
.faq-section > .faq-container {
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Shop preview */
.home-product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.45s var(--ease-premium),
        border-color 0.35s var(--ease-premium),
        box-shadow 0.45s var(--ease-premium) !important;
}
.home-product-card:hover {
    border-color: rgba(140, 255, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}
.home-product-mc {
    background: linear-gradient(135deg, #b8ff4a, #8cff00);
    color: #121212;
    box-shadow: 0 4px 14px rgba(140, 255, 0, 0.35);
}
.home-product-body { padding: 1.1rem 1.15rem 1.2rem; gap: 0.55rem; }
.home-product-body h3 { font-size: 1.02rem; letter-spacing: -0.01em; }
.home-product-body p { font-size: 0.86rem; font-weight: 500; }
.home-product-price { color: var(--accent-color); }
.home-product-meta {
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
}
.home-product-price.home-product-free,
.home-product-downloads {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.home-product-downloads {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}
.home-product-downloads .dl-icon,
.home-product-free .dl-icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.home-product-card.is-free .home-product-price {
    color: var(--accent-color);
}
body.light-theme .home-product-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
}
body.light-theme .home-product-meta { border-top-color: rgba(0, 0, 0, 0.06); }

.shop-preview-promo b { color: var(--accent-color); }

/* Reviews */
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-height: 230px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.45s var(--ease-premium),
        border-color 0.35s var(--ease-premium) !important;
}
.review-card:hover {
    border-color: rgba(140, 255, 0, 0.35);
    background: var(--surface-hover);
    transform: translateY(-4px);
}
.review-user h4 { letter-spacing: -0.01em; }
.reviews-nav {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
}
.reviews-nav:hover {
    border-color: rgba(140, 255, 0, 0.45);
    background: var(--accent-soft);
}
body.light-theme .review-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* FAQ */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.faq-item[open] {
    background: var(--surface-hover);
    border-color: rgba(140, 255, 0, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.faq-question {
    font-size: 1.02rem;
    padding: 1.35rem 1.6rem;
}
.faq-question::after { color: var(--accent-color); }
.faq-answer {
    font-family: var(--font-body);
    border-top-color: var(--border);
}
body.light-theme .faq-item {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
}

/* Footer — спокойное закрытие */
.footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 !important;
}
.footer::before { display: none; }
.footer-premium {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
}
.footer-premium-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-premium-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-premium-brand .logo-img {
    width: 42px;
    height: 42px;
}
.footer-premium-brand p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 28ch;
}
.footer-premium-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.35rem;
}
.footer-premium-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-premium-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}
.footer-premium-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s var(--ease-premium);
}
.footer-premium-links a:hover {
    color: var(--accent-color);
}
body.light-theme .footer {
    background: #fff;
    border-top-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .footer-premium-top {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .footer-premium-brand p,
body.light-theme .footer-premium-bottom p,
body.light-theme .footer-premium-links a {
    color: rgba(18, 18, 18, 0.55);
}
body.light-theme .footer-premium-links a:hover {
    color: #5a9900;
}

@media (max-width: 640px) {
    .footer-premium-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Motions + reveal */
@keyframes premiumFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content {
    animation: premiumFadeUp 1s var(--ease-premium) 0.08s both;
}
.hero-visual {
    animation: premiumFadeUp 1.15s var(--ease-premium) 0.18s both;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s var(--ease-premium),
        transform 0.9s var(--ease-premium);
    will-change: opacity, transform;
}
.reveal.reveal-delay-1 { transition-delay: 0.08s; }
.reveal.reveal-delay-2 { transition-delay: 0.16s; }
.reveal.reveal-delay-3 { transition-delay: 0.24s; }
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 0.5rem;
}
.section-desc {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-content,
    .hero-visual,
    .hero-torus,
    .home-product-card,
    .review-card,
    .service-feature,
    .service-compact,
    .btn-primary {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ========== STORE ========== */
.store-hero h1,
.store-hero .section-title {
    letter-spacing: -0.02em;
}
.store-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.category-btn {
    border-radius: 11px;
    border-color: var(--border);
    font-family: var(--font-body);
    font-weight: 600;
}
.category-btn.active {
    background: var(--accent-soft);
    border-color: rgba(140, 255, 0, 0.45);
    color: var(--text-color);
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(140, 255, 0, 0.4);
    box-shadow: var(--shadow-soft);
}
.product-mc-badge,
.home-product-mc {
    background: linear-gradient(135deg, #b8ff4a, #8cff00);
    color: #121212;
}
.product-title { letter-spacing: -0.01em; }
.product-desc { font-weight: 500; }
.product-overview-btn {
    border-radius: 10px;
    font-family: var(--font-body);
    border-color: var(--border);
}
.product-overview-btn:hover {
    border-color: rgba(140, 255, 0, 0.45);
    background: var(--accent-soft);
}
.price-free { color: #3ecf8e; }
.price-paid { color: var(--accent-color); }

.cart-badge {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.12);
}
body.light-theme .cart-badge {
    background: #fff;
    color: #111;
}

.cart-modal,
.checkout-modal,
.auth-modal,
.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}
.cart-item {
    background: var(--surface);
    border-color: var(--border);
    border-radius: 14px;
}
.cart-item-mc { color: var(--accent-color); }
.promo-apply-btn:hover,
.promo-apply-btn {
    border-color: var(--border);
}
.checkout-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.checkout-btn:hover:not(:disabled) {
    background: rgba(140, 255, 0, 0.18) !important;
    border-color: rgba(140, 255, 0, 0.5);
}

.product-modal-chip {
    border-color: var(--border);
    background: var(--surface);
}
.product-modal-section h3 {
    color: var(--accent-color);
    font-size: 0.95rem;
}

body.light-theme .store-sidebar,
body.light-theme .product-card,
body.light-theme .cart-modal,
body.light-theme .modal-content {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .category-btn.active {
    background: rgba(107, 196, 0, 0.12);
    border-color: rgba(107, 196, 0, 0.4);
    color: #121212;
}

/* Theme toggle polish */
.theme-toggle {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.theme-toggle:hover {
    border-color: rgba(140, 255, 0, 0.4);
    background: var(--accent-soft);
}

/* =========================================
   STORE — категории на всю ширину + компактный фильтр
   ========================================= */
.store-hero {
    padding: 7.5rem 1.5rem 1.25rem !important;
    text-align: center;
}
.store-hero .section-title span {
    color: var(--accent-color);
}

.store-content {
    display: flex !important;
    flex-direction: row !important;
    max-width: 1200px !important;
    gap: 2rem !important;
    padding: 2rem 1.5rem 4rem !important;
    align-items: flex-start !important;
}

.store-sidebar {
    display: block !important;
    width: 250px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 100px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}
.store-sidebar > h3 {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    margin-bottom: 1.1rem !important;
    color: var(--text-color) !important;
}

.category-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.category-btn {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0.55rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-family: var(--font-body) !important;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.category-btn:hover {
    background: var(--surface-hover) !important;
    color: var(--text-color) !important;
    border-color: var(--border-strong) !important;
}
.category-btn.active {
    background: var(--accent-soft) !important;
    border-color: rgba(140, 255, 0, 0.45) !important;
    color: var(--text-color) !important;
    font-weight: 700 !important;
}

.store-main {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.store-toolbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
    margin-bottom: 1.25rem !important;
}

.store-search-container {
    flex: 1 1 auto;
    min-width: 180px;
    width: 300px !important;
    max-width: 420px;
}

.price-filter-widget {
    display: block !important;
    margin-top: 1.75rem !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}
.price-filter-widget h3 {
    display: block !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    margin: 0 0 1rem !important;
    color: var(--text-color) !important;
}
.price-filter-label { display: none !important; }
.price-filter-widget .price-inputs {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
}
.price-filter-widget .price-input-group {
    flex: 1;
    padding: 0.55rem 0.65rem !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    background: var(--surface) !important;
}
.price-filter-widget .price-input-group input {
    width: 100% !important;
    font-size: 0.9rem !important;
    text-align: center;
    background: transparent !important;
    border: none !important;
    color: var(--text-color) !important;
}
.price-input-separator {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.range-slider-container {
    display: block !important;
}
.range-slider-track {
    background: var(--accent-color) !important;
    box-shadow: 0 0 12px rgba(140, 255, 0, 0.35) !important;
}
.range-slider-track-bg {
    background: rgba(255, 255, 255, 0.1) !important;
}
body.light-theme .range-slider-track-bg {
    background: rgba(0, 0, 0, 0.1) !important;
}

.store-controls {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-left: 0;
    flex-shrink: 0;
}

/* Крупнее кнопки checkout */
.checkout-btn {
    min-height: 3rem !important;
    padding: 0.85rem 1.35rem !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
}

@media (max-width: 900px) {
    .store-content {
        flex-direction: column !important;
    }
    .store-sidebar {
        position: static !important;
        width: 100% !important;
    }
    .category-list {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .category-btn {
        width: auto !important;
    }
    .store-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .store-search-container {
        width: 100% !important;
        max-width: none;
    }
    .store-controls {
        width: 100%;
        justify-content: space-between;
    }
}


.store-search-input,
.custom-select-trigger,
.promo-input {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    color: var(--text-color) !important;
    font-family: var(--font-body) !important;
    backdrop-filter: blur(10px);
}
.store-search-input:focus,
.custom-select-trigger:hover,
.promo-input:focus {
    border-color: rgba(140, 255, 0, 0.45) !important;
    background: var(--surface-hover) !important;
    outline: none;
}
.store-search-container svg { color: var(--text-muted) !important; }

.store-toolbar {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.store-results {
    font-family: var(--font-body);
    color: var(--text-muted);
}

.product-grid {
    display: grid !important;
    /* с сайдбаром — 3 в ряд, ширина карточки близка к «Новые товары» */
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.35rem !important;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.product-card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.product-card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(140, 255, 0, 0.4) !important;
    box-shadow: var(--shadow-soft) !important;
}
.product-media {
    width: 100%;
    overflow: hidden;
}
.product-img,
.product-img-placeholder {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
}
.product-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    padding: 1.1rem 1.15rem 1.2rem !important;
    flex-grow: 1 !important;
}
.product-title {
    font-family: var(--font-display) !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--text-color) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}
.product-desc {
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    font-size: 0.86rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.product-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.6rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px solid var(--border) !important;
    margin-top: auto !important;
}
.product-price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    letter-spacing: -0.02em;
}
.product-price-free,
.product-downloads {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}
.product-downloads {
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}
.product-cat-label {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
}
.product-footer {
    display: none !important;
}
.product-head {
    display: none !important;
}
.product-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
    width: 100%;
    margin-top: 0.15rem;
}
.product-actions .product-btn,
.product-actions a.product-btn,
.product-actions .product-overview-btn {
    width: 100% !important;
    min-height: 2.85rem !important;
    padding: 0.7rem 0.55rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    border-radius: 11px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}
.product-actions .product-overview-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-color) !important;
    cursor: pointer;
}
.product-actions .product-overview-btn:hover {
    background: var(--accent-soft) !important;
    border-color: rgba(140, 255, 0, 0.45) !important;
}
.product-actions .add-to-cart-btn.in-cart {
    background: #ef4444 !important;
    color: #fff !important;
    border-color: #ef4444 !important;
}
.product-download-btn .dl-icon {
    flex-shrink: 0;
}

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr !important;
    }
    .product-actions {
        grid-template-columns: 1fr !important;
    }
}

.pagination,
#pagination {
    display: none !important;
}
.page-btn {
    display: none !important;
}

.store-cart-trigger {
    color: var(--text-color) !important;
}
.cart-badge {
    background: #fff !important;
    color: #111 !important;
}

.cart-modal,
.checkout-modal,
.auth-modal,
.modal-content,
.tier-modal-content {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    border-radius: 22px !important;
    box-shadow: var(--shadow-soft) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.product-overview-modal {
    max-width: 720px !important;
}
.product-overview-title {
    font-family: var(--font-display) !important;
    color: var(--text-color) !important;
}
.product-overview-footer {
    border-top-color: var(--border) !important;
}
body.light-theme .product-overview-footer {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}
.cart-header h2,
.checkout-header h2,
.auth-header h2,
#modalProductTitle,
.tier-modal-title {
    font-family: var(--font-display) !important;
    color: var(--text-color) !important;
}
.cart-item {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}
.promo-apply-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-color) !important;
    border-radius: 10px !important;
    font-family: var(--font-body) !important;
}
.promo-apply-btn:hover {
    background: var(--accent-soft) !important;
    border-color: rgba(140, 255, 0, 0.45) !important;
}
.tier-card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
}
.tier-card:hover,
.tier-card.selected {
    border-color: rgba(140, 255, 0, 0.45) !important;
    background: var(--accent-soft) !important;
}

body.light-theme .store-sidebar,
body.light-theme .product-card,
body.light-theme .cart-modal,
body.light-theme .checkout-modal,
body.light-theme .modal-content,
body.light-theme .page-btn,
body.light-theme .store-search-input,
body.light-theme .custom-select-trigger {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .category-btn {
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--text-muted) !important;
    background: transparent !important;
}
body.light-theme .category-btn.active {
    background: rgba(107, 196, 0, 0.12) !important;
    border-color: rgba(107, 196, 0, 0.4) !important;
    color: #121212 !important;
}
body.light-theme .range-slider-track-bg {
    background: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .price-input-group {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .product-footer,
body.light-theme .product-overview-btn {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* =========================================
   DOCS (policy / terms)
   ========================================= */
.doc-container {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 7.5rem auto 4rem;
    padding: 2rem 1.75rem 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
}
.doc-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}
.doc-content h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-family: var(--font-display);
}
.doc-content p,
.doc-content li {
    margin-bottom: 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
    font-family: var(--font-body);
}
.doc-content a {
    color: var(--accent-color) !important;
    text-decoration: none;
}
.doc-content a:hover {
    text-decoration: underline;
}
body.light-theme .doc-container {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

/* =========================================
   CHECKOUT / PAY LOADER — как корзина
   ========================================= */
.cart-overlay,
.pay-loader-overlay {
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Оформление: без затемнения и без blur */
.checkout-overlay {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.checkout-modal,
.cart-modal,
.pay-loader-box {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    border-radius: 22px !important;
    box-shadow: var(--shadow-soft) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.checkout-modal {
    width: 92% !important;
    max-width: 440px !important;
    overflow: hidden;
}

.checkout-header {
    padding: 1.25rem 1.35rem 1rem !important;
    border-bottom: 1px solid var(--border) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 1rem !important;
}
.checkout-header h2 {
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    margin: 0 !important;
    color: var(--text-color) !important;
}
.checkout-body {
    padding: 1.15rem 1.25rem 1.35rem !important;
}
.checkout-desc {
    display: none !important;
}

.checkout-info-banner {
    display: flex !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    background: var(--accent-soft) !important;
    border: 1px solid rgba(140, 255, 0, 0.28) !important;
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    margin-bottom: 1rem !important;
}
.checkout-info-banner svg {
    color: var(--accent-color) !important;
    flex-shrink: 0;
    margin-top: 1px;
}
.checkout-info-banner span {
    font-family: var(--font-body) !important;
    font-size: 0.86rem !important;
    color: var(--text-muted) !important;
    line-height: 1.45 !important;
}
.checkout-info-banner b {
    color: var(--text-color) !important;
    font-weight: 700;
}

.payment-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
}

.payment-method {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0.95rem 1rem !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    color: inherit !important;
    font: inherit !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}
.payment-method:hover:not(.disabled) {
    background: var(--surface-hover) !important;
    border-color: rgba(140, 255, 0, 0.4) !important;
    transform: translateY(-1px);
}
.payment-method.payment-method-primary {
    background: var(--accent-soft) !important;
    border-color: rgba(140, 255, 0, 0.45) !important;
}
.payment-method.payment-method-primary:hover:not(.disabled) {
    background: rgba(140, 255, 0, 0.22) !important;
    border-color: rgba(140, 255, 0, 0.6) !important;
}
.payment-method.payment-method-primary .payment-icon {
    background: rgba(140, 255, 0, 0.22) !important;
    color: var(--accent-color) !important;
}

.payment-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: var(--text-color) !important;
}
.payment-icon svg {
    stroke: currentColor !important;
}
.payment-info h4 {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.15rem !important;
    color: var(--text-color) !important;
}
.payment-info span {
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.pay-loader-overlay {
    z-index: 99999 !important;
}
.pay-loader-box {
    padding: 2rem 1.75rem !important;
    min-width: 280px !important;
    max-width: 360px !important;
    gap: 0.75rem !important;
}
.pay-spinner {
    background: var(--accent-soft) !important;
    color: var(--accent-color) !important;
}
.pay-loader-title {
    font-family: var(--font-display) !important;
    font-size: 1.1rem !important;
    color: var(--text-color) !important;
}
.pay-loader-sub {
    font-family: var(--font-body) !important;
    color: var(--text-muted) !important;
}
.pay-dismiss-btn {
    margin-top: 0.5rem !important;
    padding: 0.75rem 1.4rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--border) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-color) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
}
.pay-dismiss-btn:hover {
    background: var(--accent-soft) !important;
    border-color: rgba(140, 255, 0, 0.45) !important;
}

body.light-theme .checkout-modal,
body.light-theme .pay-loader-box {
    background: #fff !important;
}
body.light-theme .payment-method {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .payment-method.payment-method-primary {
    background: rgba(107, 196, 0, 0.1) !important;
    border-color: rgba(107, 196, 0, 0.35) !important;
}
body.light-theme .payment-icon {
    background: rgba(0, 0, 0, 0.04) !important;
}
body.light-theme .checkout-info-banner {
    background: rgba(107, 196, 0, 0.1) !important;
    border-color: rgba(107, 196, 0, 0.25) !important;
}

/* Единый шрифт Manrope на весь UI */
body,
button,
input,
select,
textarea,
.btn-primary,
.btn-secondary,
.service-btn,
.product-btn,
.product-overview-btn,
.category-btn,
.store-search-input,
.custom-select-trigger,
.custom-option,
.promo-input,
.promo-apply-btn,
.checkout-btn,
.nav-links a,
.product-price,
.home-product-price,
.product-desc,
.product-meta,
.product-title,
.home-product-body h3,
.store-results,
.price-filter-label,
.hero-subtitle,
.hero-title,
.section-title,
.section-desc,
.faq-question,
.faq-answer,
.footer,
.cart-modal,
.checkout-modal {
    font-family: var(--font-body) !important;
}

.product-preorder {
    color: #ef4444;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.1);
    font-family: var(--font-body);
}

/* =========================================
   Phone CTA banner (как на референсе)
   ========================================= */
.phone-cta-section {
    padding: 2rem 1.5rem 1rem;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}
.phone-cta-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
    min-height: 340px;
    padding: 2.4rem 2.6rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(ellipse 55% 70% at 85% 40%, rgba(140, 255, 0, 0.18), transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 90%, rgba(140, 255, 0, 0.08), transparent 55%),
        linear-gradient(145deg, #0c120a 0%, #070807 48%, #050505 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.phone-cta-copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
}
.phone-cta-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.85rem;
    color: #fff;
}
.phone-cta-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 1.5rem;
}
.phone-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.phone-cta-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.phone-cta-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.phone-mock {
    position: absolute;
    width: 168px;
    height: 340px;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: #111;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.phone-mock-back {
    right: 18%;
    bottom: -40px;
    transform: rotate(14deg) scale(0.92);
    opacity: 0.45;
    filter: blur(1.5px);
    background:
        linear-gradient(160deg, rgba(140, 255, 0, 0.35), rgba(20, 30, 10, 0.9));
}
.phone-mock-front {
    right: 8%;
    bottom: -56px;
    transform: rotate(-8deg);
    z-index: 2;
    background: #0a0a0a;
}
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 10px;
    border-radius: 999px;
    background: #1a1a1a;
    z-index: 3;
}
.phone-screen {
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(140, 255, 0, 0.35), transparent 45%),
        linear-gradient(165deg, #1a2412 0%, #0c100a 55%, #080808 100%);
    padding: 1.35rem 0.85rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.phone-screen-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.phone-pill {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111;
    background: #8cff00;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}
.phone-online {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}
.phone-chat {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.35rem;
}
.phone-bubble {
    max-width: 92%;
    padding: 0.55rem 0.7rem;
    border-radius: 14px;
    font-size: 0.68rem;
    line-height: 1.35;
    font-weight: 500;
}
.phone-bubble.in {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    border-bottom-left-radius: 4px;
}
.phone-bubble.out {
    align-self: flex-end;
    background: rgba(140, 255, 0, 0.22);
    color: #e8ffc4;
    border: 1px solid rgba(140, 255, 0, 0.28);
    border-bottom-right-radius: 4px;
}
.phone-screen-glow {
    margin-top: auto;
    height: 56px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 40%, rgba(140, 255, 0, 0.45), transparent 55%),
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
}

body.light-theme .phone-cta-banner {
    background:
        radial-gradient(ellipse 55% 70% at 85% 40%, rgba(107, 196, 0, 0.16), transparent 60%),
        linear-gradient(145deg, #eef5e4 0%, #f4f4f1 55%, #eeeeea 100%);
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .phone-cta-title { color: #121212; }
body.light-theme .phone-cta-desc { color: rgba(18, 18, 18, 0.65); }

@media (max-width: 900px) {
    .phone-cta-banner {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem 0;
        min-height: 0;
    }
    .phone-cta-visual {
        height: 260px;
    }
    .phone-mock-front {
        right: 50%;
        transform: translateX(55%) rotate(-6deg);
        bottom: -70px;
    }
    .phone-mock-back {
        right: 50%;
        transform: translateX(10%) rotate(10deg) scale(0.9);
        bottom: -50px;
    }
}
@media (max-width: 560px) {
    .phone-cta-actions { width: 100%; }
    .phone-cta-actions .btn-primary { width: 100%; }
}

/* =========================================
   MOBILE — адаптация под телефон
   ========================================= */
@media (max-width: 900px) {
    .hero-wrapper {
        min-height: 100svh !important;
        padding: 5.5rem 1rem 2rem !important;
    }
    .hero-showcase {
        min-height: auto !important;
        padding: 2.25rem 1.35rem 1.75rem !important;
        border-radius: 22px !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        text-align: center !important;
        justify-items: center;
    }
    .hero-content {
        max-width: 100% !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: clamp(2.4rem, 11vw, 3.4rem) !important;
        letter-spacing: -0.03em !important;
        text-align: center;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        max-width: 34ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }
    .hero-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-primary {
        width: 100%;
        max-width: none;
    }
    .hero-proof {
        width: 100%;
        justify-content: center;
        gap: 1rem 1.25rem;
    }
    .hero-proof-item {
        align-items: center;
        text-align: center;
        min-width: 4.5rem;
    }
    .hero-visual {
        min-height: 220px;
        order: -1;
        width: 100%;
        justify-content: center;
    }
    .hero-torus {
        width: min(78%, 280px);
    }
    .hero-overlay {
        display: none !important;
    }

    .services-section,
    .shop-preview-section,
    .reviews-section,
    .faq-section,
    .phone-cta-section {
        min-height: auto !important;
        padding: 4.5rem 1rem 3rem !important;
        justify-content: flex-start !important;
    }

    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
    }
    .section-desc {
        font-size: 0.95rem !important;
        padding: 0 0.25rem;
    }

    .shop-preview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        margin-top: 1.5rem !important;
    }

    .btn-primary,
    a.btn-primary,
    button.btn-primary,
    .reviews-more-btn {
        padding: 0.9rem 1.25rem !important;
        font-size: 0.95rem !important;
        width: 100%;
        max-width: 420px;
    }
    .hero-actions .btn-primary,
    .shop-preview-actions .btn-primary {
        max-width: none;
    }

    .shop-preview-actions {
        flex-direction: column;
        width: 100%;
    }
    .shop-preview-actions .btn-primary {
        width: 100%;
    }

    .reviews-carousel {
        gap: 0.35rem !important;
    }
    .reviews-nav {
        width: 34px !important;
        height: 34px !important;
    }

    /* Store */
    .store-hero {
        padding: 6.5rem 1rem 1.25rem !important;
    }
    .store-content {
        padding: 1rem 1rem 3rem !important;
        gap: 1.25rem !important;
    }
    .store-sidebar > h3,
    .price-filter-widget h3 {
        font-size: 1.05rem !important;
    }
    .category-list {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0.5rem !important;
        padding-bottom: 0.35rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-list::-webkit-scrollbar { display: none; }
    .category-btn {
        width: auto !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 0.55rem 0.9rem !important;
        font-size: 0.86rem !important;
    }

    .product-overview-modal {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 18px !important;
    }
    .product-overview-layout {
        grid-template-columns: 1fr !important;
        max-height: calc(92dvh - 1.5rem) !important;
    }
    .product-overview-media {
        max-width: 140px !important;
        margin: 0 auto;
    }
    .product-overview-footer {
        flex-wrap: wrap;
    }
    .product-overview-footer .product-btn,
    .product-overview-footer a.product-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .shop-preview-grid {
        grid-template-columns: 1fr !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .services-grid {
        max-width: 360px !important;
        gap: 0.9rem !important;
    }
    .product-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .phone-cta-section {
        padding: 1.5rem 0.85rem 0.5rem !important;
    }
    .phone-cta-banner {
        border-radius: 22px !important;
        padding: 1.6rem 1.15rem 0 !important;
    }
    .phone-cta-title {
        font-size: 1.55rem !important;
    }
    .phone-cta-desc {
        font-size: 0.92rem !important;
        margin-bottom: 1.15rem !important;
    }
    .phone-cta-visual {
        height: 210px !important;
    }
    .phone-mock {
        width: 132px !important;
        height: 268px !important;
        border-radius: 22px !important;
    }
    .phone-mock-back {
        display: none !important;
    }
    .phone-mock-front {
        right: 50% !important;
        transform: translateX(50%) rotate(-4deg) !important;
        bottom: -48px !important;
    }
    .phone-screen {
        inset: 8px !important;
        border-radius: 18px !important;
        padding: 1.1rem 0.7rem 0.7rem !important;
    }
    .phone-bubble {
        font-size: 0.62rem !important;
    }

    .faq-container {
        gap: 0.75rem !important;
    }
    .faq-question {
        font-size: 0.95rem !important;
        padding: 1rem 1.1rem !important;
    }

    .cart-modal,
    .checkout-modal,
    .auth-modal {
        width: calc(100% - 1.25rem) !important;
        max-height: 92dvh !important;
        border-radius: 18px !important;
    }

    .home-product-body,
    .product-body {
        padding: 0.95rem 1rem 1.05rem !important;
    }
    .home-product-body h3,
    .product-title {
        font-size: 0.98rem !important;
    }

    .footer {
        padding: 2.5rem 1rem 1.5rem !important;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.9rem !important;
    }
    .hero-actions .btn-primary {
        font-size: 0.95rem !important;
        padding: 0.85rem 1rem !important;
    }
}
