/* ==========================================================================
   Self-Hosted Variable Fonts (Outfit, Plus Jakarta Sans, JetBrains Mono)
   Zero external network calls, zero FOUT font swap delay
   ========================================================================== */

/* Outfit (Display font: headings, hero, badge) */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans (Body font) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* JetBrains Mono (Monospace font) */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button,
a,
input,
select,
textarea,
.product-card,
.btn,
.nav-item,
.filter-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

i[data-lucide],
svg.lucide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 1.2em;
    height: 1.2em;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
}

.lang-flag-img {
    width: 20px;
    height: 15px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
}

/* Anti-FOUC language loading guard */
html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-placeholder] {
    visibility: hidden !important;
}

/* i18n elements — no transition needed, instant visibility */

:root {
    /* Typography Tokens */
    --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Dark Palette — Deep Obsidian & Machined Carbon */
    --bg-primary: #09090b;
    --bg-secondary: #0f1014;
    --bg-card: #131419;
    --bg-card-hover: #181a21;

    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.14);
    --surface-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
    --shadow-card: 0 18px 40px -16px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 28px 60px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(16, 185, 129, 0.28);

    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Considered Singular Accent — Calibrated Emerald & Jade (Zero AI Purple) */
    --accent-primary: #10b981;
    --accent-primary-rgb: 16, 185, 129;
    --accent-secondary: #0d9488;
    --accent-orange: #f59e0b;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;

    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-cool: linear-gradient(135deg, #10b981 0%, #0d9488 100%);

    /* Layout */
    --container-width: 100%;
    --container-max-width: 1360px;
    --section-padding: 108px 0;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    /* Spring Physics Transitions */
    --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    /* System */
    --navbar-h: 74px;
}

/* ===== Light Theme — Warm Architectural Alabaster & Stone ===== */
html.light-theme,
body.light-theme {
    --bg-primary: #faf9f5;
    --bg-secondary: #f2f0e9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;

    --border-subtle: rgba(17, 17, 19, 0.08);
    --border-light: rgba(17, 17, 19, 0.15);
    --surface-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    --shadow-card: 0 14px 34px -12px rgba(17, 17, 19, 0.05), 0 1px 3px rgba(17, 17, 19, 0.03);
    --shadow-card-hover: 0 24px 48px -12px rgba(17, 17, 19, 0.09), 0 0 0 1px rgba(5, 150, 105, 0.25);

    --text-primary: #111113;
    --text-secondary: #52525b;
    --text-muted: #71717a;

    --accent-primary: #059669;
    --accent-primary-rgb: 5, 150, 105;
    --accent-secondary: #0f766e;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
    background-color: #faf9f5;
}

html {
    background-color: #09090b;
}

html.light-theme {
    background-color: #faf9f5;
}

body.light-theme .bg-effects {
    opacity: 0.22;
}

body.light-theme .navbar {
    background: rgba(250, 249, 245, 0.82) !important;
    border-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 32px -8px rgba(17, 17, 19, 0.07), 0 1px 2px rgba(17, 17, 19, 0.04);
}

body.light-theme .nav-logo {
    color: #111113;
}

body.light-theme .product-card {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: var(--shadow-card);
}

body.light-theme .product-card:hover {
    background: #ffffff;
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: var(--shadow-card-hover);
}

body.light-theme .product-name {
    color: #111113;
}

body.light-theme footer {
    background: #f2f0e9 !important;
    border-top-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .footer-bottom {
    border-top-color: rgba(17, 17, 19, 0.07);
}

body.light-theme .section-tag {
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.18);
    color: #047857;
}

body.light-theme .hero-title {
    color: #111113;
}

/* Light theme — contact modal */
body.light-theme .contact-modal {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: 0 24px 64px rgba(17, 17, 19, 0.12);
}

body.light-theme .contact-modal-title {
    color: #111113;
}

body.light-theme .contact-modal-desc {
    color: #52525b;
}

body.light-theme .contact-btn {
    background: rgba(17, 17, 19, 0.04);
    border-color: rgba(17, 17, 19, 0.08);
    color: #111113;
}

body.light-theme .contact-btn:hover {
    background: rgba(17, 17, 19, 0.08);
}

/* Light theme — filter bar */
body.light-theme .filter-btn {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    color: #52525b;
    box-shadow: 0 1px 2px rgba(17, 17, 19, 0.03);
}

body.light-theme .filter-btn:hover {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.18);
    color: #111113;
}

body.light-theme .filter-btn.active {
    background: #111113;
    border-color: #111113;
    color: #faf9f5;
    box-shadow: 0 6px 16px rgba(17, 17, 19, 0.14);
}

/* Light theme — search overlay */
body.light-theme .search-overlay {
    background: transparent;
}

body.light-theme .search-overlay-backdrop {
    background: rgba(250, 249, 245, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.light-theme .search-input-wrap input {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.1);
    color: #111113;
}

body.light-theme .search-result-item {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.06);
}

/* Light theme — mobile bottom nav */
body.light-theme .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.92);
    border-top-color: rgba(17, 17, 19, 0.08);
    box-shadow: 0 -4px 24px rgba(17, 17, 19, 0.06);
}

body.light-theme .bottom-nav-item {
    color: #71717a;
}

body.light-theme .bottom-nav-item.active {
    color: #111113;
    background: rgba(17, 17, 19, 0.06);
}

body.light-theme .bottom-nav-item.active i,
body.light-theme .bottom-nav-item.active svg,
body.light-theme .bottom-nav-item.active i[data-lucide],
body.light-theme .bottom-nav-item.active svg.lucide {
    color: #059669 !important;
}

/* Light theme — sidebar */
body.light-theme .nav-links {
    background: #faf9f5 !important;
    border-right-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .nav-links a {
    color: #52525b;
}

body.light-theme .nav-links a:hover {
    color: #111113;
    background: rgba(17, 17, 19, 0.05);
}

body.light-theme .nav-links::before {
    color: #111113;
}

/* Light theme — lang selector */
body.light-theme .lang-toggle {
    background: rgba(17, 17, 19, 0.04);
    border-color: rgba(17, 17, 19, 0.08);
    color: #52525b;
}

body.light-theme .lang-dropdown {
    background: #ffffff !important;
    border-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .lang-option {
    color: #111113;
}

body.light-theme .lang-option:hover {
    background: rgba(17, 17, 19, 0.04);
}

/* Light theme — hamburger */
body.light-theme .hamburger {
    background: rgba(17, 17, 19, 0.04);
    border-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .hamburger:hover {
    background: rgba(17, 17, 19, 0.08);
}

/* Light theme — hero orbs & grid */
body.light-theme .orb {
    opacity: 0.08;
}

body.light-theme .grid-overlay {
    opacity: 0.03;
}

body.light-theme .hero-subtitle {
    color: #52525b;
}

body.light-theme .hero-desc {
    color: #52525b;
}

/* Light theme — buttons */
body.light-theme .btn-ghost {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.12);
    color: #111113;
    box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04);
}

body.light-theme .btn-ghost:hover {
    background: #f3f1ec;
    border-color: rgba(17, 17, 19, 0.22);
}

/* Light theme — product details */
body.light-theme .product-desc {
    color: #52525b;
}

body.light-theme .product-price {
    color: #111113;
}

body.light-theme .product-footer {
    border-top-color: rgba(17, 17, 19, 0.06);
}

body.light-theme .product-badge {
    background: rgba(17, 17, 19, 0.06);
    color: #27272a;
}

body.light-theme .badge-sale {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

body.light-theme .badge-popular {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

body.light-theme .badge-new {
    background: rgba(14, 116, 144, 0.1);
    color: #0e7490;
}

/* Light theme — discount timer */
body.light-theme .discount-timer-wrap {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.12);
}

/* Light theme — FAQ / Accordion */
body.light-theme .faq-list {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 19, 0.08);
    border-radius: 24px;
    padding: 8px 28px;
    box-shadow: var(--shadow-card);
}

body.light-theme .faq-item,
body.light-theme .accordion-item {
    border-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .faq-question,
body.light-theme .accordion-header {
    color: #111113;
}

body.light-theme .faq-answer,
body.light-theme .accordion-body {
    color: #52525b;
}

body.light-theme .faq-icon {
    color: #71717a;
}

body.light-theme .faq-item.active .faq-icon {
    color: var(--accent-primary);
}

/* Light theme — features / info cards */
body.light-theme .feature-card,
body.light-theme .pd-info-card,
body.light-theme .info-card {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: var(--shadow-card);
}

body.light-theme .feature-card h3,
body.light-theme .pd-info-card h4 {
    color: #111113;
}

body.light-theme .feature-card p,
body.light-theme .pd-info-card p {
    color: #52525b;
}

/* Light theme — toast */
body.light-theme .toast {
    background: #ffffff;
    color: #111113;
    box-shadow: 0 12px 32px rgba(17, 17, 19, 0.12);
}

/* Light theme — footer */
body.light-theme .footer-title {
    color: #111113;
}

body.light-theme .footer-link {
    color: #52525b;
}

body.light-theme .footer-link:hover {
    color: #059669;
}

body.light-theme .footer-social a {
    background: rgba(17, 17, 19, 0.04);
    border-color: rgba(17, 17, 19, 0.08);
    color: #52525b;
}

body.light-theme .footer-social a:hover {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

body.light-theme .footer-copyright {
    color: #71717a;
}

/* Light theme — scroll to top */
body.light-theme .scroll-top-btn {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    color: #111113;
    box-shadow: 0 4px 16px rgba(17, 17, 19, 0.08);
}

/* Light theme — cookie banner */
body.light-theme .cookie-banner {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    color: #111113;
    box-shadow: 0 -4px 24px rgba(17, 17, 19, 0.08);
}

/* Light theme — contact section */
body.light-theme .contact-card {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: var(--shadow-card);
}

body.light-theme .contact-card:hover {
    background: #ffffff;
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: var(--shadow-card-hover);
}

body.light-theme .contact-card h3 {
    color: #111113;
}

body.light-theme .contact-card p {
    color: #52525b;
}

/* Light theme — about hero stats */
body.light-theme .stat-number {
    color: #111113;
}

body.light-theme .stat-label {
    color: #71717a;
}

/* Light theme - product detail page */
body.light-theme .pd-hero {
    background: #ffffff !important;
    border-color: rgba(17, 17, 19, 0.08);
    box-shadow: var(--shadow-card);
}

body.light-theme .pd-title {
    color: #111113;
}

body.light-theme .pd-desc,
body.light-theme .pd-long-desc {
    color: #52525b;
}

body.light-theme .pd-price {
    color: #111113;
}

body.light-theme .pd-meta-item {
    background: rgba(17, 17, 19, 0.03);
    border-color: rgba(17, 17, 19, 0.07);
    color: #52525b;
}

body.light-theme .pd-meta-value {
    color: #111113;
}

/* Light theme — skeleton shimmer */
body.light-theme .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(17, 17, 19, 0.04) 25%, rgba(17, 17, 19, 0.08) 50%, rgba(17, 17, 19, 0.04) 75%) !important;
}

/* Light theme — about-hero (used on about, apps pages) */
body.light-theme .about-hero {
    background: linear-gradient(180deg, rgba(242, 240, 233, 0.7), transparent) !important;
}

/* Light theme — btn-outline hover */
body.light-theme .btn-outline:hover {
    background: rgba(17, 17, 19, 0.04);
    border-color: rgba(17, 17, 19, 0.2);
}

/* Light theme — btn-apps */
body.light-theme .btn-apps {
    color: #111113 !important;
    background: #ffffff !important;
    border-color: rgba(17, 17, 19, 0.14) !important;
}

body.light-theme .btn-apps:hover {
    background: #f2f0e9 !important;
    border-color: rgba(17, 17, 19, 0.28) !important;
}

/* Light theme — loading spinner */
body.light-theme .loading-spinner {
    border-color: rgba(17, 17, 19, 0.08);
    border-top-color: var(--accent-primary);
}

/* Light theme — duration selector */
body.light-theme .duration-selector {
    background: rgba(17, 17, 19, 0.03);
}

body.light-theme .duration-btn:hover {
    background: rgba(17, 17, 19, 0.04);
}

/* Light theme — toggle slider */
body.light-theme .toggle-slider {
    background: rgba(17, 17, 19, 0.12);
}

/* Light theme — out of stock btn */
body.light-theme .product-buy-btn.out-of-stock,
body.light-theme .product-card:hover .product-buy-btn.out-of-stock,
body.light-theme .product-buy-btn.out-of-stock:hover {
    background: rgba(220, 38, 38, 0.09);
    border-color: rgba(220, 38, 38, 0.28);
    color: #dc2626;
    box-shadow: none;
}

/* Light theme — modal close */
body.light-theme .modal-close {
    background: rgba(17, 17, 19, 0.05);
}

body.light-theme .modal-close:hover {
    background: rgba(17, 17, 19, 0.1);
}

/* Light theme — search elements */
body.light-theme .nav-search-toggle {
    background: rgba(24, 24, 27, 0.04);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #52525b;
}

body.light-theme .nav-search-toggle:hover {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.25);
    color: #059669;
}

body.light-theme .site-search-box {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(17, 17, 19, 0.12);
}

body.light-theme .search-clear-btn {
    background: rgba(17, 17, 19, 0.06);
}

body.light-theme .search-clear-btn:hover {
    background: rgba(17, 17, 19, 0.1);
}

body.light-theme .search-result-item:hover {
    background: rgba(17, 17, 19, 0.04);
}

/* Light theme — messages panel */
body.light-theme .messages-panel {
    border-left-color: rgba(17, 17, 19, 0.08);
}

body.light-theme .messages-header {
    border-bottom-color: rgba(17, 17, 19, 0.08);
}

/* Light theme — cookie consent */
body.light-theme .cookie-consent-banner {
    background: #ffffff;
    border-top: 1px solid rgba(17, 17, 19, 0.08);
    box-shadow: 0 -4px 20px rgba(17, 17, 19, 0.08);
}

body.light-theme .btn-cookie-secondary {
    background: rgba(17, 17, 19, 0.05);
    border-color: rgba(17, 17, 19, 0.1);
}

body.light-theme .cookie-settings-panel {
    border-top-color: rgba(17, 17, 19, 0.06);
}

body.light-theme .cookie-option+.cookie-option {
    border-top-color: rgba(17, 17, 19, 0.05);
}

body.light-theme .cookie-slider {
    background: rgba(17, 17, 19, 0.12);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    color: var(--text-secondary);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

body.light-theme .theme-toggle {
    background: rgba(24, 24, 27, 0.04);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #52525b;
}

.theme-toggle:hover {
    background: rgba(var(--accent-primary-rgb), 0.12);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.theme-toggle i,
.theme-toggle svg {
    width: 18px;
    height: 18px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    min-height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tactile Analog Noise Overlay (High-Craft Anti-Sterility) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, .hero-title, .section-title, .pd-title {
    font-family: var(--font-display);
    text-wrap: balance;
}

p, .hero-subtitle, .section-subtitle, .product-desc {
    text-wrap: pretty;
}

/* Background decorative effects container */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 28px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Global SVG Icon Normalization ===== */
i[data-lucide] {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke: currentColor;
    transition: color var(--transition-fast), stroke var(--transition-fast);
}

.feature-card:hover i[data-lucide],
.product-card:hover i[data-lucide],
.nav-links a:hover i[data-lucide] {
    color: var(--accent-primary);
}

/* ===== Navbar (Floating Glass Island on Desktop) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(9, 9, 11, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
    .navbar {
        top: 14px;
        left: 24px;
        right: 24px;
        max-width: 1300px;
        margin: 0 auto;
        height: 60px;
        border-radius: 9999px;
        border: 1px solid var(--border-subtle);
        box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.45), var(--surface-specular);
    }

    .navbar .nav-container {
        padding: 0 12px 0 22px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px !important;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.25rem !important;
}

.logo-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 1.4rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}

i[data-lucide].logo-icon,
svg.lucide.logo-icon {
    width: 22px !important;
    height: 22px !important;
}

.logo-accent {
    color: var(--accent-primary);
}

/* ===== Mobile Sidebar Overlay ===== */
.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #0d0e12;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-right: 1px solid var(--border-subtle);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.nav-links.open {
    transform: translateX(0);
}

/* Sidebar header — logo area */
.nav-links::before {
    content: '⚡ ElnurStore';
    display: block;
    padding: 24px 24px 20px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 8px;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar links — with icon support */
.nav-links li {
    list-style: none;
    padding: 0 12px;
}

.nav-links a {
    padding: 13px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 9999px;
    color: var(--text-secondary);
    transition: color var(--transition-fast), background var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a i,
.nav-links a svg {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.nav-links a:hover i,
.nav-links a:hover svg {
    color: var(--accent-primary);
}

/* Sidebar login item — hidden on desktop, shown in sidebar on mobile */
.sidebar-login-item {
    margin-top: auto;
    padding: 12px 12px 24px !important;
    border-top: 1px solid var(--border-subtle);
}

.sidebar-login-link {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    justify-content: center;
}

.sidebar-login-link i {
    color: var(--bg-primary) !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-right>* {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Override .btn defaults inside navbar */
.nav-right .btn {
    width: auto;
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.78rem;
}

.nav-right .btn-topup {
    min-height: auto;
    height: 28px;
    padding: 4px 10px;
    font-size: 0.72rem;
}

/* Nav login button */
.nav-login-btn {
    gap: 6px;
}

.nav-login-btn .login-text {
    display: inline;
}

/* Hamburger — improved styling */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger:hover {
    background: rgba(var(--accent-primary-rgb), 0.12);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-1px);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 1.8px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.active {
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons (High-Craft Tactile Hardware) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    border-radius: 9999px;
    cursor: pointer;
    transition: opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
    white-space: nowrap;
    width: 100%;
    min-height: 44px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    min-height: 40px;
}

.btn-lg {
    padding: 12px 26px;
    font-size: 0.95rem;
    min-height: 50px;
}

.btn-block {
    width: 100%;
    padding: 14px 24px;
}

.btn-primary {
    background: #f4f4f5;
    color: #09090b;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-theme .btn-primary {
    background: #111113;
    color: #faf9f5;
    border-color: #111113;
    box-shadow: 0 12px 28px -8px rgba(17, 17, 19, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 16px 34px -8px rgba(16, 185, 129, 0.25);
}

body.light-theme .btn-primary:hover {
    background: #27272a;
    box-shadow: 0 16px 34px -8px rgba(17, 17, 19, 0.35);
}

.btn-icon-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(9, 9, 11, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
    transition: transform var(--transition-base), background-color var(--transition-base);
}

body.light-theme .btn-icon-pill {
    background: rgba(255, 255, 255, 0.14);
}

.btn-primary:hover .btn-icon-pill {
    transform: translateX(3px);
    background: var(--accent-primary);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.btn-apps {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
}

.btn-apps:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px);
}

/* ===== Hero Section (Editorial Split Architecture) ===== */
.hero {
    position: relative;
    min-height: 92dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 136px 0 88px;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.16;
    pointer-events: none;
}

.orb-1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.55) 0%, rgba(16, 185, 129, 0.15) 45%, transparent 72%);
    top: -180px;
    right: -100px;
}

.orb-2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, rgba(20, 184, 166, 0.1) 45%, transparent 72%);
    bottom: -220px;
    left: -120px;
}

.orb-3 {
    display: none;
}

@keyframes messagePop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Online Status Indicator (GPU-composited pulse via ::after transform/opacity, zero box-shadow repaint) */
.status-online-dot,
.hero-live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-online-dot::after,
.hero-live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.55);
    animation: pulse-green 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    pointer-events: none;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(2.4);
        opacity: 0;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at 50% 35%, black 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, black 20%, transparent 72%);
}

.hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-split {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        gap: 64px;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 0;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--surface-specular);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.gradient-text {
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    width: 100%;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.68;
}

@media (min-width: 1024px) {
    .hero-split-grid .hero-subtitle {
        margin: 0 0 34px;
    }
}

.about-hero .hero-subtitle {
    margin: 0 auto 24px !important;
    text-align: center !important;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-actions .btn {
    flex: 0 1 auto;
    min-width: 175px;
}

.hero-trust-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .hero-trust-strip {
        justify-content: flex-start;
    }
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-val {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-trust-lbl {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border-subtle);
}

/* Double-Bezel Hero Bento Showcase */
.hero-showcase {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.hero-bento-shell {
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card), var(--surface-specular);
    max-width: 100%;
    overflow: hidden;
}

body.light-theme .hero-bento-shell {
    background: rgba(17, 17, 19, 0.025);
    border-color: rgba(17, 17, 19, 0.08);
}

.hero-bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 12px;
}

.hero-bento-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-bento-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ===== Animate In ===== */
.animate-in {
    opacity: 0;
    transform: translateY(22px);
    animation: slide-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-in:nth-child(1) {
    animation-delay: 0.06s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.14s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.22s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.3s;
}

.animate-in:nth-child(5) {
    animation-delay: 0.38s;
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Common ===== */
.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    background: rgba(var(--accent-primary-rgb), 0.08);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
    border-radius: 9999px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-secondary);
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: #f4f4f5;
    color: #09090b;
    border-color: #f4f4f5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

/* ===== Skeleton Loaders ===== */
@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: skeletonFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes skeletonFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.skeleton-shimmer {
    background: linear-gradient(110deg,
            rgba(255, 255, 255, 0.03) 8%,
            rgba(255, 255, 255, 0.08) 38%,
            rgba(255, 255, 255, 0.03) 54%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    border-radius: var(--radius-sm);
}

.grid-sk-fade-out {
    animation: gridSkeletonFadeOut 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes gridSkeletonFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Sentinel & Loading Spinner */
.load-more-sentinel {
    width: 100%;
    height: 1px;
    visibility: hidden;
}

.loading-spinner-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0;
    width: 100%;
}

.loading-spinner-wrap.hidden {
    display: none;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Image Fade-In (Premium Load) ===== */
img.img-fade-ready {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img.img-loaded {
    opacity: 1;
}

/* CLS Prevention — reserve space for product/app icon images */
.product-icon img,
.pd-hero-icon img {
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Product & App Cards (Machined Tactile Hardware Surface) ===== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card), var(--surface-specular);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 390px;
}

/* Defer layout/paint of off-screen catalog cards once revealed (preserves staging preload) */
#products-grid .product-card.visible,
#apps-grid .product-card.visible {
    content-visibility: auto;
    contain-intrinsic-size: auto 390px;
}

/* Confined ambient top-left brand aura (GPU-safe radial gradient, zero iOS WebKit blur memory) */
.product-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.24) 0%, rgba(var(--accent-primary-rgb), 0.06) 45%, transparent 70%);
    opacity: 0.85;
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

body.light-theme .product-card::before {
    opacity: 0.55;
}

.product-card:hover,
.product-card:focus {
    border-color: rgba(var(--accent-primary-rgb), 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover), var(--surface-specular);
    outline: none;
}

.product-card:hover::before,
.product-card:focus::before {
    opacity: 0.24;
    transform: scale(1.18);
}

body.light-theme .product-card:hover::before,
body.light-theme .product-card:focus::before {
    opacity: 0.16;
}

.product-card>* {
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 56px;
    height: 56px;
    aspect-ratio: 1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

body.light-theme .product-icon {
    box-shadow: 0 6px 16px rgba(17, 17, 19, 0.08);
    border-color: rgba(17, 17, 19, 0.08);
}

.product-icon i[data-lucide],
.product-icon svg.lucide {
    width: 28px;
    height: 28px;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.55;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.product-price {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.product-price .currency-sm {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ===== Duration Selector ===== */
.duration-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.duration-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.duration-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.duration-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.badge-popular {
    background: rgba(var(--accent-primary-rgb), 0.12);
    border-color: rgba(var(--accent-primary-rgb), 0.24);
    color: var(--accent-primary);
}

.badge-new {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.24);
    color: var(--accent-cyan);
}

.badge-sale {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.26);
    color: var(--accent-orange);
}

.badge-free {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.24);
    color: #10b981;
}

.badge-premium {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.28);
    color: #fbbf24;
}

.badge-mod {
    background: rgba(20, 184, 166, 0.14);
    border-color: rgba(20, 184, 166, 0.26);
    color: #2dd4bf;
}

.badge-updated {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.26);
    color: #60a5fa;
}

.badge-top {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.28);
    color: #34d399;
}

.badge-beta {
    background: rgba(161, 161, 170, 0.14);
    border-color: rgba(161, 161, 170, 0.24);
    color: #a1a1aa;
}

.badge-exclusive {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.28);
    color: #eab308;
}

/* ===== Discount Timer System ===== */
.badge-timer {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    position: relative;
    top: 1px;
}

.product-card.has-discount .product-badge.badge-sale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #f87171;
    font-size: 0.68rem;
    padding: 4px 9px;
    white-space: nowrap;
}

body.light-theme .product-card.has-discount .product-badge.badge-sale {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.22);
    color: #dc2626;
}

.product-card.has-discount .product-badge.badge-sale .badge-label,
.product-card .product-badge.badge-sale .badge-label,
.product-badge.badge-sale .badge-label {
    display: none !important;
}

.product-card.has-discount .product-badge .badge-svg-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: block;
    color: currentColor;
}

/* Duration Button Embedded Timer Pill */
.duration-timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #f87171;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 4px;
}

.duration-timer-pill .badge-svg-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: #f87171;
}

body.light-theme .duration-timer-pill {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.22);
    color: #dc2626;
}

body.light-theme .duration-timer-pill .badge-svg-icon {
    color: #dc2626;
}

/* Mobile responsive for discount badge */
@media (max-width: 768px) {
    .product-card.has-discount .product-badge.badge-sale {
        font-size: 0.62rem;
        padding: 3px 7px;
        gap: 3px;
        top: 10px;
        right: 10px;
    }

    .product-card .product-badge.badge-sale .badge-label {
        display: none !important;
    }

    .price-original {
        font-size: 0.72rem;
    }

    .price-discounted {
        font-size: 0.9rem;
    }
}

.price-original {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 6px;
}

.price-discounted {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--accent-primary);
    font-weight: 700;
}

.product-card.has-discount {
    border-color: rgba(var(--accent-primary-rgb), 0.24);
}

.product-card.has-discount:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.45);
}

/* Product detail page discount styles */
.pd-discount-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fca5a5;
}

.pd-discount-timer .timer-icon {
    font-size: 1.2rem;
}

.pd-discount-timer .timer-text {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.pd-price-original {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 8px;
}

.pd-price-discounted {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--accent-primary) !important;
}

/* ===== Features Section (Asymmetric Bento Grid) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
    }

    .feature-card:nth-child(1) {
        grid-column: span 7;
    }

    .feature-card:nth-child(2) {
        grid-column: span 5;
    }

    .feature-card:nth-child(3) {
        grid-column: span 5;
    }

    .feature-card:nth-child(4) {
        grid-column: span 7;
    }

    .feature-card:nth-child(5) {
        grid-column: span 6;
    }

    .feature-card:nth-child(6) {
        grid-column: span 6;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card), var(--surface-specular);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover), var(--surface-specular);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 52ch;
}


/* ===== FAQ Section (Editorial 2-Column Split on Desktop) ===== */
.faq-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 992px) {
    .faq-split-container {
        display: grid;
        grid-template-columns: 0.82fr 1.18fr;
        gap: 64px;
        align-items: start;
    }

    .faq-editorial-header {
        text-align: left;
        position: sticky;
        top: 110px;
        margin-bottom: 0;
    }

    .faq-editorial-header .section-subtitle {
        margin: 0;
    }
}

.faq-list {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 8px 28px;
    box-shadow: var(--shadow-card), var(--surface-specular);
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 22px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-card), var(--surface-specular);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth);
    display: block;
}

.contact-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover), var(--surface-specular);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 56px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 36px;
}

.footer-brand {
    grid-column: 1;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.7;
    max-width: 360px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.86rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Below-the-fold content visibility optimization for rendering performance */
.features,
.faq,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* Footer mobile — brand on top, 3 link columns side by side */
@media (max-width: 768px) {
    .footer {
        padding-top: 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Wrap the 3 link columns in a row */
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-brand {
        width: 100%;
        margin-bottom: 8px;
    }

    .footer-links {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .footer-links h4 {
        font-size: 0.82rem;
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
}

/* ===== Scroll Reveal ===== */
@keyframes pdRevealIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    opacity: 0;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth) !important;
}

.reveal.visible {
    opacity: 1;
    animation: pdRevealIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}


/* ===== Product Buy Button (Tactile Hardware Action) ===== */
.product-buy-btn {
    width: 100%;
    margin-top: 14px;
    padding: 11px 18px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.light-theme .product-buy-btn {
    background: #f3f1ec;
    color: #111113;
    border-color: rgba(17, 17, 19, 0.08);
}

.product-card:hover .product-buy-btn,
.product-buy-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.25);
}

body.light-theme .product-card:hover .product-buy-btn,
body.light-theme .product-buy-btn:hover {
    background: #111113;
    color: #faf9f5;
    border-color: #111113;
    box-shadow: 0 8px 20px -4px rgba(17, 17, 19, 0.2);
}

.product-buy-btn.out-of-stock,
.product-card:hover .product-buy-btn.out-of-stock,
.product-buy-btn.out-of-stock:hover {
    background: rgba(239, 68, 68, 0.13);
    border-color: rgba(239, 68, 68, 0.32);
    color: #f87171;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* App login-required button (for guest users) */
.app-login-required-btn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.25)) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    color: #fbbf24 !important;
    text-decoration: none;
    font-size: 0.8rem;
}

.app-login-required-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.35)) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
    transform: translateY(-1px);
}

.product-stock-info {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ===== Modal Overlay (shared) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px;
    width: 100%;
    max-width: 480px;
    position: relative;
    animation: modal-appear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-panel-sm {
    width: 100%;
    max-width: 400px;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.modal-panel-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 12px;
}

.modal-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.modal-panel-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.modal-actions .btn {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    font-size: 1rem;
}



/* ===== Modal Form Groups ===== */
.modal-form-group {
    margin-bottom: 18px;
}

.modal-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.modal-form-group input[type="text"],
.modal-form-group input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.modal-form-group input:focus {
    border-color: rgba(var(--accent-primary-rgb), 0.5);
}

.modal-form-group input::placeholder {
    color: var(--text-muted);
}



/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: toast-in 0.35s ease both;
    min-width: 260px;
}

.toast.success {
    border-left: 3px solid var(--accent-green);
}

.toast.error {
    border-left: 3px solid #ef4444;
}

.toast.info {
    border-left: 3px solid var(--accent-primary);
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* ===== Mobile additions — merged into mobile-first defaults and breakpoints ===== */

/* Duplicate .product-card, .fab-suggest, .suggest-form blocks removed — definitions kept above */

/* ===== End of File Media Queries ===== */

/* ── Tablet-portrait and below (≤768px) ── */
@media (max-width: 768px) {
    /* Mobile GPU scroll optimization: skip fullscreen SVG feTurbulence overlay & lighten heavy glass blur */
    body::after {
        display: none;
    }

    .navbar,
    .navbar.scrolled {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .balance-widget {
        padding: 4px 6px;
    }

    .balance-icon {
        font-size: 0.85rem;
    }

    .balance-amount {
        font-size: 0.78rem;
    }

    #btn-topup {
        padding: 3px 8px;
        font-size: 0.7rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: start;
    }

    .product-card {
        padding: 12px;
        align-self: start;
        min-height: auto;
    }

    #products-grid .product-card.visible,
    #apps-grid .product-card.visible {
        contain-intrinsic-size: auto 280px;
    }

    .product-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .product-name {
        font-size: 0.88rem;
    }

    .product-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 10px;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-buy-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        min-height: 42px;
        margin-top: 10px;
    }

    .product-stock-info {
        font-size: 0.65rem;
    }

    .duration-selector {
        margin-bottom: 14px;
    }

    .duration-btn {
        padding: 6px 6px;
        font-size: 0.72rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        margin-bottom: 36px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .stat-divider {
        height: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .contact-card {
        padding: 24px;
    }

    .faq-question {
        font-size: 0.92rem;
        padding: 16px 0;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-container {
        gap: 32px;
    }

    .modal-panel {
        padding: 28px 20px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .product-card.mobile-expanded {
        transform: scale(1.03) translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.3);
        z-index: 10;
        border-color: var(--accent-primary);
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    }

    .product-card.mobile-expanded::before {
        opacity: 0.22;
        transform: scale(1.05);
    }
}

/* ── Phone (≤600px) — single-column products, compact everything ── */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    /* ── Navbar ── */
    .navbar {
        height: 64px !important;
    }

    .logo {
        font-size: 1.25rem !important;
        gap: 8px !important;
    }

    .logo-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 1.5rem !important;
    }

    .nav-right {
        gap: 5px;
    }

    .nav-right .btn {
        padding: 5px 10px;
        font-size: 0.72rem;
        min-height: 32px;
    }

    .nav-login-btn {
        padding: 5px 8px !important;
    }

    .balance-widget {
        padding: 3px 6px;
        gap: 5px;
    }

    .balance-amount {
        font-size: 0.72rem;
    }

    .topup-text,
    .login-text {
        display: none;
    }

    .topup-icon {
        margin-right: 0 !important;
    }

    .nav-login-btn {
        padding: 0 !important;
        min-height: 44px !important;
        width: 44px !important;
        border-radius: 12px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-topup {
        padding: 5px !important;
        min-height: 28px !important;
        width: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #btn-topup {
        padding: 3px 6px;
        font-size: 0.65rem;
        height: 24px;
    }

    .btn-inbox {
        width: 32px;
        height: 32px;
    }

    .user-avatar {
        width: 26px;
        height: 26px;
    }

    .user-profile {
        padding: 3px 5px 3px 3px;
        gap: 5px;
    }

    .hamburger span {
        width: 20px;
    }

    .hamburger,
    .nav-search-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
    }

    /* Hide login text on phone, show icon only */
    .nav-login-btn .login-text {
        display: none;
    }

    /* ── Hero ── */
    .hero {
        padding: 90px 0 36px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin: 0 auto 24px;
        line-height: 1.6;
    }

    .badge {
        padding: 6px 14px;
        font-size: 0.75rem;
        margin-bottom: 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 28px;
    }

    .hero-actions .btn {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .stat-divider {
        height: 24px;
    }

    /* ── Section spacing ── */
    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: clamp(1.25rem, 5.5vw, 1.8rem);
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* ── Products Grid — 2 COLUMN (1:1) ── */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card {
        padding: 10px;
        min-height: 280px;
        overflow: hidden;
    }

    .product-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .product-name {
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .product-desc {
        font-size: 0.72rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 0.88rem;
    }

    .product-buy-btn {
        padding: 9px 12px;
        font-size: 0.82rem;
        min-height: 38px;
        margin-top: 8px;
    }

    .product-stock-info {
        font-size: 0.65rem;
        margin-top: 4px;
    }

    .duration-selector {
        margin-bottom: 16px;
        gap: 3px;
        padding: 3px;
    }

    .duration-btn {
        padding: 7px 8px;
        font-size: 0.75rem;
    }

    .filter-bar {
        gap: 6px;
        margin-bottom: 28px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    /* ── Features ── */
    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.82rem;
    }

    /* ── FAQ ── */
    .faq-question {
        font-size: 0.88rem;
        padding: 14px 0;
        gap: 10px;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    /* ── Contact ── */
    .contact-grid {
        gap: 12px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-icon {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .contact-card h3 {
        font-size: 0.92rem;
    }

    .contact-card p {
        font-size: 0.8rem;
    }

    /* ── Footer ── */
    .footer {
        padding-top: 32px;
    }

    .footer-container {
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-desc {
        font-size: 0.8rem;
    }

    .footer-links h4 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding: 14px 0 20px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }

    /* ── FAB ── */
    .fab-suggest {
        width: 48px;
        height: 48px;
        bottom: 16px;
        left: 16px;
        font-size: 1.2rem;
    }

    /* ── Modals ── */
    .modal-overlay {
        padding: 10px;
    }

    .modal-panel {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .modal-panel-title {
        font-size: 1.1rem;
    }

    .modal-panel-desc {
        font-size: 0.8rem;
    }

    .modal-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .modal-actions .btn {
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .payment-info-box {
        padding: 12px;
    }

    .payment-info-row {
        font-size: 0.8rem;
    }

    /* ── Toast ── */
    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: auto;
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    /* ── Sidebar ── */
    .nav-links {
        padding: 70px 20px 20px;
        width: 85%;
    }

    .nav-links a {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
}



/* ===== Mobile-First Breakpoints (Upwards Scaling) ===== */
@media (min-width: 768px) {
    .btn {
        width: auto;
    }

    .user-name {
        display: block;
    }
}

@media (min-width: 1024px) {

    .nav-links,
    body.light-theme .nav-links {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-right: none;
        padding: 0;
        flex-direction: row;
        gap: 4px;
        transform: none;
        transition: none;
        overflow: visible;
    }

    .nav-links::before {
        display: none;
    }

    .nav-links li {
        padding: 0;
    }

    .nav-links a {
        padding: 8px 14px;
        font-size: 0.88rem;
        gap: 6px;
    }

    .nav-links a i,
    .nav-links a svg {
        display: none;
    }

    .sidebar-login-item {
        display: none;
    }

    .sidebar-theme-item {
        display: none !important;
    }

    .hamburger {
        display: none;
    }

    .sidebar-backdrop {
        display: none;
    }

    /* aspect-ratio reset removed as it's no longer needed */
}





/* ===== Contact Modal (Buy → Contact) ===== */
.contact-modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.contact-modal-btn svg {
    flex-shrink: 0;
}

.contact-modal-btn span {
    font-size: 1rem;
    font-weight: 600;
}

.contact-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.contact-whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
    border-color: rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.contact-telegram {
    background: rgba(0, 136, 204, 0.12);
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.25);
}

.contact-telegram:hover {
    background: rgba(0, 136, 204, 0.22);
    border-color: rgba(0, 136, 204, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.2);
}

.contact-instagram {
    background: rgba(225, 48, 108, 0.12);
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.25);
}

.contact-instagram:hover {
    background: rgba(225, 48, 108, 0.22);
    border-color: rgba(225, 48, 108, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.2);
}

/* ===== Nav Search Toggle ===== */
.nav-search-toggle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.nav-search-toggle i,
.nav-search-toggle svg {
    width: 18px !important;
    height: 18px !important;
}

.nav-search-toggle:hover {
    background: rgba(var(--accent-primary-rgb), 0.12);
    color: var(--accent-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-1px);
}

/* ===== Search Overlay ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: searchFadeIn 0.2s ease;
}

.search-overlay.hidden {
    display: none;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 560px;
    z-index: 1;
    animation: searchDropIn 0.25s ease;
}

@keyframes searchFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.site-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15), 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.site-search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
}

.site-search-box input::placeholder {
    color: var(--text-muted);
}

.search-clear-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    animation: searchDropIn 0.2s ease;
}

.search-results.hidden {
    display: none;
}

@keyframes searchDropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item+.search-result-item {
    border-top: 1px solid var(--border-subtle);
}

.search-result-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.search-result-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.search-type-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.search-type-badge.type-account {
    background: rgba(var(--accent-primary-rgb), 0.15);
    color: var(--accent-primary);
}

.search-type-badge.type-app {
    background: rgba(34, 211, 238, 0.15);
    color: var(--accent-cyan);
}

.search-no-results {
    padding: 32px 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-no-results i {
    display: block;
    margin: 0 auto 8px;
    opacity: 0.4;
}

.product-desc,
.app-modal-desc {
    white-space: pre-wrap;
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 560px;
    background: rgba(15, 15, 18, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 76px;
        width: calc(100% - 16px);
        padding: 16px 14px;
        border-radius: 16px;
    }
}

.cookie-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-content p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 560px) {
    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-actions #acceptCookies {
        grid-column: span 2;
        order: -1;
    }

    .btn-cookie {
        width: 100%;
        padding: 10px 6px;
        font-size: 0.8rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.btn-cookie {
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-cookie-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-cookie-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-cookie-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: cookieSettingsIn 0.25s ease;
}

@keyframes cookieSettingsIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cookie-settings-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cookie-settings-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.cookie-settings-close:hover {
    color: var(--text-primary);
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.cookie-option+.cookie-option {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option-info strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.cookie-option-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input:checked+.cookie-slider {
    background: var(--accent-primary);
}

.cookie-toggle input:checked+.cookie-slider::before {
    transform: translateX(20px);
}

.cookie-toggle.disabled .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    margin-top: 14px;
}

/* ===== Legal Sections (Privacy & Terms) ===== */
.legal-section {
    padding: 120px 0 80px;
    min-height: 70dvh;
}

.legal-container {
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-content ul li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== End of file overrides ===== */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-card {
        padding: 22px 18px;
        text-align: left;
    }

    .feature-icon {
        margin-bottom: 14px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.84rem;
        display: block;
    }

    .contact-card {
        padding: 18px 14px;
    }

    .contact-icon {
        margin-bottom: 8px;
    }

    .contact-card h3 {
        font-size: 0.9rem;
    }

    .contact-card p {
        font-size: 0.75rem;
        word-break: break-all;
    }
}

/* ===== Language Selector ===== */
.lang-selector {
    position: relative;
    z-index: 99;
}

.lang-toggle,
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 11px;
    padding: 0 11px;
    height: 40px;
    min-width: 40px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

body.light-theme .lang-toggle,
body.light-theme .lang-btn {
    background: rgba(24, 24, 27, 0.04);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #52525b;
}

.lang-toggle:hover,
.lang-btn:hover {
    background: rgba(var(--accent-primary-rgb), 0.12);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.lang-toggle .lang-flag-img,
.lang-btn .lang-flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lang-toggle .lang-chevron,
.lang-btn .lang-chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lang-dropdown.open+.lang-toggle .lang-chevron,
.lang-dropdown.open~.lang-toggle .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 15, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    min-width: 150px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.light-theme .lang-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: 0 16px 40px rgba(24, 24, 27, 0.1);
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(var(--accent-primary-rgb), 0.12);
    color: var(--accent-primary);
}

.lang-option .lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .lang-check {
    width: 14px;
    height: 14px;
    opacity: 0;
    color: var(--accent-primary);
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* ===== About Page ===== */
.about-hero {
    padding: 132px 0 48px;
    text-align: center;
    position: relative;
}

.about-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero .hero-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-hero .hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-section {
    padding: 60px 0;
}

.about-mission {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-mission h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-mission p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.about-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.about-step-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-4px);
}

.about-step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

.about-step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.about-step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-why-list {
    max-width: 650px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.about-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-why-list li:last-child {
    border-bottom: none;
}

.about-why-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-green);
    font-size: 0.75rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.about-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {

    /* Marquee is included: infinite animations are disabled for motion-sensitive users (a11y).
       Cards stack statically instead of scrolling. */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Mobile Bottom Navigation Bar ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(9, 9, 11, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

body.light-theme .mobile-bottom-nav {
    background: rgba(250, 249, 245, 0.92);
    border-top-color: rgba(24, 24, 27, 0.08);
    box-shadow: 0 -8px 24px rgba(24, 24, 27, 0.06);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bottom-nav-item i,
.bottom-nav-item svg,
.bottom-nav-item i[data-lucide],
.bottom-nav-item svg.lucide {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    stroke-width: 2 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-nav-item span {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.bottom-nav-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

body.light-theme .bottom-nav-item.active {
    background: rgba(24, 24, 27, 0.06);
}

.bottom-nav-item.active i,
.bottom-nav-item.active svg,
.bottom-nav-item.active i[data-lucide],
.bottom-nav-item.active svg.lucide {
    color: var(--accent-primary) !important;
    transform: translateY(-1px);
}

.bottom-nav-item.active span {
    color: var(--text-primary);
    font-weight: 700;
}

.bottom-nav-item:not(.active):active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.04);
}

/* Footer adjustment for bottom nav */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .nav-search-toggle {
        display: none !important;
    }

    footer {
        padding-bottom: 80px !important;
    }
}

/* ===== Hero Bento Showcase Tiles (Replaces 3D Floating Hero Cards) ===== */
.hero-3d-cards {
    position: relative;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    z-index: 1;
    pointer-events: auto;
}

.hero-bento-shell .hero-3d-cards.is-marquee {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: 316px;
    overflow: hidden;
    align-items: start;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
}

.hero-marquee-col {
    display: flex;
    flex-direction: column;
    height: max-content;
    will-change: transform;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.hero-marquee-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
    min-width: 0;
    max-width: 100%;
}

.hero-marquee-col.col-up {
    animation: heroMarqueeUp var(--marquee-dur-up, 12s) linear infinite;
}

.hero-marquee-col.col-down {
    animation: heroMarqueeDown var(--marquee-dur-down, 14s) linear infinite;
}

.hero-bento-shell .hero-3d-cards.is-marquee.marquee-paused .hero-marquee-col {
    animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) {
    .hero-bento-shell .hero-3d-cards.is-marquee:hover .hero-marquee-col {
        animation-play-state: paused;
    }
}

@keyframes heroMarqueeUp {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(0, -50%, 0);
    }
}

@keyframes heroMarqueeDown {
    0% {
        transform: translate3d(0, -50%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.float-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}

.float-card:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

body.light-theme .float-card {
    background: #faf9f5;
    border-color: rgba(24, 24, 27, 0.06);
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.03), inset 0 1px 0 #ffffff;
}

body.light-theme .float-card:hover {
    background: #ffffff;
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

.fc-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.fc-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.float-card i,
.float-card svg {
    width: 20px;
    height: 20px;
    filter: none;
}

.float-card .fc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.float-card .fc-info span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.float-card .fc-info small {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--accent-primary);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hero-3d-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-bento-shell .hero-3d-cards.is-marquee {
        height: 268px;
    }

    .hero-marquee-group {
        gap: 8px;
        padding-bottom: 8px;
    }

    .float-card {
        padding: 10px 11px;
        gap: 9px;
    }

    .fc-icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .float-card .fc-info span {
        font-size: 0.78rem;
    }

    .float-card .fc-info small {
        font-size: 0.7rem;
    }
}

/* ==================== PWA Install Banner ==================== */
.pwa-install-banner {
    position: fixed;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9998;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 16px);
    max-width: 480px;
    box-sizing: border-box;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

@media (min-width: 769px) {
    .pwa-install-banner {
        bottom: 24px;
        width: calc(100% - 32px);
        max-width: 440px;
    }
}

.pwa-install-banner.pwa-install-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.pwa-install-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pwa-install-text strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.pwa-install-text span {
    color: var(--text-secondary);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-install-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.pwa-install-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.pwa-install-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.pwa-install-dismiss:hover {
    color: var(--text-primary);
}

.light-theme .pwa-install-banner {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: 0 12px 32px rgba(24, 24, 27, 0.1);
}

/* ==================== Notification Permission Top Banner ==================== */
.es-notif-top-banner {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 9998;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 16px);
    max-width: 480px;
    box-sizing: border-box;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

@media (min-width: 769px) {
    .es-notif-top-banner {
        top: 86px;
        width: calc(100% - 32px);
        max-width: 440px;
    }
}

.es-notif-top-banner.es-notif-banner-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.es-notif-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.es-notif-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.es-notif-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.es-notif-banner-text strong {
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
}

.es-notif-banner-text span {
    color: var(--text-secondary);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.es-notif-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.es-notif-banner-btn {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.es-notif-banner-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.es-notif-banner-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.es-notif-banner-dismiss:hover {
    color: var(--text-primary);
}

.light-theme .es-notif-top-banner {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: 0 12px 32px rgba(24, 24, 27, 0.1);
}

/* ===== Assistant Floating Widget ===== */
.es-assistant-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.es-assistant-wrapper.es-assistant-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.es-assistant-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    background: #141418;
    color: #fafafa;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.86rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

body.light-theme .es-assistant-trigger {
    background: #18181b;
    color: #fafafa;
    border-color: rgba(24, 24, 27, 0.2);
    box-shadow: 0 10px 28px rgba(24, 24, 27, 0.22);
}

.es-assistant-trigger:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.18);
}

.es-assistant-trigger-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.es-assistant-modal {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(20px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9995;
}

.es-assistant-modal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.es-assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 12px;
}

.es-assistant-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.es-assistant-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #10b981, #047857);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.es-assistant-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.es-assistant-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.es-assistant-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.es-assistant-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.es-assistant-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.es-assistant-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.es-assistant-cat-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.es-assistant-cat-btn:hover,
.es-assistant-cat-btn.active {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--accent-primary);
}

.es-assistant-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

.es-assistant-results::-webkit-scrollbar {
    width: 4px;
}

.es-assistant-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.es-assistant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.es-assistant-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.es-assistant-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.es-assistant-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.es-assistant-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.es-assistant-item-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent-primary);
    font-weight: 600;
}

.es-assistant-item-link {
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.es-assistant-item-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.es-assistant-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.es-assistant-support-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}

.es-assistant-support-btn:hover {
    color: var(--accent-primary);
}

/* Light Theme support */
.light-theme .es-assistant-modal {
    background: #ffffff;
    border-color: rgba(24, 24, 27, 0.08);
    box-shadow: 0 20px 50px rgba(24, 24, 27, 0.12);
}

.light-theme .es-assistant-header {
    border-bottom-color: rgba(24, 24, 27, 0.06);
}

.light-theme .es-assistant-cat-btn {
    background: rgba(24, 24, 27, 0.03);
    border-color: rgba(24, 24, 27, 0.08);
    color: var(--text-secondary);
}

.light-theme .es-assistant-cat-btn:hover,
.light-theme .es-assistant-cat-btn.active {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.28);
    color: var(--accent-primary);
}

.light-theme .es-assistant-item {
    background: #faf9f5;
    border-color: rgba(24, 24, 27, 0.06);
}

.light-theme .es-assistant-item-link {
    background: rgba(24, 24, 27, 0.06);
    color: var(--text-primary);
}

.light-theme .es-assistant-item-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.light-theme .es-assistant-footer {
    border-top-color: rgba(24, 24, 27, 0.06);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .es-assistant-wrapper {
        bottom: 85px !important;
        right: 16px !important;
        z-index: 100000 !important;
    }

    .es-assistant-modal {
        bottom: 56px !important;
        right: 0 !important;
        width: 320px !important;
        max-width: calc(100vw - 32px) !important;
        max-height: 70dvh !important;
        overflow-y: auto !important;
        padding: 16px !important;
        z-index: 100005 !important;
    }
}

@media (max-width: 600px) {
    .es-assistant-trigger {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .es-assistant-btn-text {
        display: none !important;
    }
}

/* Live Status & WhatsApp Support Improvements */
.es-assistant-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-top: 2px;
}

.es-assistant-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: es-dot-pulse 1.8s infinite;
}

@keyframes es-dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.6;
    }
}

/* WhatsApp Support Button */
.es-assistant-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    border: none;
}

.es-assistant-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Floating Welcome Tooltip Speech Bubble */
.es-assistant-tooltip {
    position: absolute;
    bottom: 58px;
    right: 0;
    background: rgba(17, 17, 20, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: es-tooltip-bounce 3s infinite ease-in-out;
    z-index: 9989;
    transition: opacity 0.3s, transform 0.3s;
}

@keyframes es-tooltip-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.es-assistant-tooltip-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
}

.es-assistant-tooltip-close:hover {
    color: var(--text-primary);
}

.light-theme .es-assistant-tooltip {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(24, 24, 27, 0.1);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.1);
}

/* ===== Universal Modal Scroll Lock ===== */
body.modal-scroll-lock {
    overflow: hidden !important;
}

.modal-overlay,
#contact-modal-overlay,
.es-assistant-modal,
.search-overlay {
    overscroll-behavior: contain !important;
}

/* Performans / CLS Optimizasiyaları */
.products-grid {
    min-height: 420px;
}

.float-card .fc-info small {
    display: inline-block;
    min-width: 42px;
    min-height: 14px;
}

/* ===== Immediate 1-Frame Touch & Click Visual Feedback ===== */
button,
a,
.btn,
.product-card,
.product-buy-btn,
.duration-btn,
.filter-btn,
.bottom-nav-item,
.es-assistant-trigger,
.es-assistant-cat-btn,
.theme-toggle,
.contact-btn,
.pricing-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button:active,
a.btn:active,
.product-buy-btn:active,
.duration-btn:active,
.filter-btn:active,
.bottom-nav-item:active,
.es-assistant-trigger:active,
.es-assistant-cat-btn:active,
.theme-toggle:active {
    transform: scale(0.96) !important;
    transition: transform 0.06s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}


/* ===== Catalog Sort & In-Stock Toolbar ===== */
.catalog-controls-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -12px auto 28px;
}

.catalog-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    height: 38px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.catalog-sort-wrap:hover,
.catalog-sort-wrap:focus-within {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.06);
}

.catalog-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 4px;
}

.catalog-sort-select option {
    background: #141418;
    color: #f4f4f5;
}

.stock-only-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 15px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.stock-only-chip:hover {
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--text-primary);
}

.stock-only-chip .stock-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(244, 244, 245, 0.28);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.stock-only-chip.active {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.stock-only-chip.active .stock-chip-dot {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.65);
}

body.light-theme .catalog-sort-wrap,
body.light-theme .stock-only-chip {
    background: #ffffff;
    border-color: rgba(17, 17, 19, 0.1);
    color: #27272a;
}

body.light-theme .catalog-sort-select option {
    background: #ffffff;
    color: #18181b;
}

body.light-theme .stock-only-chip .stock-chip-dot {
    background: rgba(24, 24, 27, 0.25);
}

body.light-theme .stock-only-chip.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.45);
    color: #059669;
}

.catalog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Restock Lead-Capture Button ("Stoka düşəndə xəbər et") ===== */
.product-buy-btn.notify-restock-btn,
.pd-buy-btn.notify-restock-btn {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.38) !important;
    color: #fbbf24 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.product-buy-btn.notify-restock-btn {
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.76rem;
    gap: 5px;
    overflow: hidden;
}

.product-buy-btn.notify-restock-btn .restock-bell-icon,
.product-buy-btn.notify-restock-btn svg.lucide {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-right: 0 !important;
}

.product-buy-btn.notify-restock-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .product-buy-btn.notify-restock-btn {
        height: 38px;
        min-height: 38px;
        padding: 0 6px;
        font-size: 0.65rem;
        gap: 4px;
        letter-spacing: -0.015em;
    }

    .product-buy-btn.notify-restock-btn .restock-bell-icon,
    .product-buy-btn.notify-restock-btn svg.lucide {
        width: 12px;
        height: 12px;
    }
}

.product-buy-btn.notify-restock-btn:hover,
.pd-buy-btn.notify-restock-btn:hover {
    background: rgba(245, 158, 11, 0.22) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    transform: translateY(-1px);
}

body.light-theme .product-buy-btn.notify-restock-btn,
body.light-theme .pd-buy-btn.notify-restock-btn {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(217, 119, 6, 0.38) !important;
    color: #b45309 !important;
}

/* ===== Compact Sold Counter (Minimal Inline Text) ===== */
.product-stock-info {
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-sold-inline {
    color: inherit;
    font-weight: inherit;
}

.pd-sold-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    white-space: nowrap;
}

body.light-theme .pd-sold-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.28);
    color: #047857;
}

/* ===== Contact Modal Package / Duration Selector ===== */
.contact-modal-variants {
    margin: -8px 0 18px;
    text-align: left;
}

.cm-variants-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.cm-variants-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 195px;
    overflow-y: auto;
}

.cm-variant-chip {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.cm-variant-chip:hover {
    border-color: rgba(16, 185, 129, 0.45);
}

.cm-variant-chip.active {
    background: rgba(16, 185, 129, 0.14);
    border-color: #10b981;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.cm-v-name {
    font-weight: 600;
    text-align: left;
}

.cm-v-name small {
    font-weight: 500;
    opacity: 0.7;
}

.cm-v-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #34d399;
    white-space: nowrap;
}

.cm-v-price s {
    font-weight: 500;
    opacity: 0.5;
    color: var(--text-muted);
    font-size: 0.76rem;
}

body.light-theme .cm-variant-chip {
    background: #f8fafc;
    border-color: rgba(17, 17, 19, 0.1);
    color: #18181b;
}

body.light-theme .cm-variant-chip.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: #059669;
}

body.light-theme .cm-v-price {
    color: #047857;
}
