/* ==========================================================================
   ZNAHIDKY.COM - Multilingual Electric Orange Style System (UA | RU | EN)
   ========================================================================== */

:root {
    /* Unified Brand Palette (Temu Electric Orange & Deep Amber) */
    --primary: #FF5722;
    --primary-glow: #FF6F00;
    --primary-gradient: linear-gradient(135deg, #FF6F00 0%, #FF3D00 50%, #E65100 100%);
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    
    /* Dark Theme Default Tokens */
    --bg-main: #090A0F;
    --bg-card: rgba(18, 20, 29, 0.78);
    --bg-card-hover: rgba(26, 29, 42, 0.92);
    --bg-subtle: rgba(255, 255, 255, 0.05);
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(255, 87, 34, 0.4);
    --glass-blur: blur(20px);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    --neon-glow: 0 0 30px rgba(255, 87, 34, 0.35);

    /* Fonts & Radius */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --dock-height: 64px;
}

/* Light Theme Tokens */
body.theme-light {
    --bg-main: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(255, 87, 34, 0.3);
    --card-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    --neon-glow: 0 0 25px rgba(255, 87, 34, 0.2);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: calc(var(--dock-height) + 30px);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Glowing Background Mesh */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.glow-1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.45) 0%, rgba(0,0,0,0) 70%);
    top: -50px; left: -50px;
}

.glow-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.35) 0%, rgba(0,0,0,0) 70%);
    top: 35%; right: -100px;
}

.glow-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(0,0,0,0) 70%);
    bottom: 10%; left: 10%;
}

.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Glass Card Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Live Top Bar */
.live-bar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 700;
}

.live-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-ring {
    width: 8px; height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: ringPulse 1.8s infinite;
}

@keyframes ringPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text { color: #E2E8F0; letter-spacing: 0.5px; }

/* Language Switcher Pill (UA | RU | EN) */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    padding: 2px;
    border-radius: var(--radius-full);
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: #FFFFFF;
}

/* Header */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.header-content.header-center {
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-spark {
    width: 34px; height: 34px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Glowing & Pulsing Header Button (Single Prominent Button) */
.glowing-pulsing-btn.orange-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 520px;
    background: var(--primary-gradient);
    color: #FFFFFF;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
    animation: orangeGlowPulse 2.2s infinite ease-in-out;
}

.spin-sparkle {
    animation: spinSlow 6s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orangeGlowPulse {
    0% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 87, 34, 0.5), 0 0 0 0 rgba(255, 87, 34, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 0 24px rgba(255, 87, 34, 0.85), 0 0 0 8px rgba(255, 87, 34, 0); }
    100% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 87, 34, 0.5), 0 0 0 0 rgba(255, 87, 34, 0); }
}

/* Segmented Control Navigation (2 CLEAN TABS) */
.segmented-control.grid-2-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    margin: 18px 0 24px 0;
    gap: 4px;
}

.segmented-control.grid-3-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4px;
    margin: 18px 0 24px 0;
    gap: 4px;
}

.segment-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.segment-tab i { width: 18px; height: 18px; }

.segment-tab.active {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

/* Tab Panes */
.tab-pane {
    display: none;
    animation: paneFadeIn 0.3s ease;
}

.tab-pane.active { display: block; }

@keyframes paneFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-intro { margin-bottom: 20px; }
.section-intro h2 { font-size: 1.5rem; margin-bottom: 4px; }
.section-intro p { font-size: 0.88rem; color: var(--text-muted); }

/* ==========================================================================
   UNIFIED ELECTRIC ORANGE INFLUENCER STAGE STYLES
   ========================================================================== */
.influencer-stage-container {
    position: relative;
    margin-bottom: 28px;
}

.orange-ring {
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    filter: blur(12px);
    opacity: 0.6;
    animation: ringGlowPulse 3s infinite ease-in-out;
}

@keyframes ringGlowPulse {
    0%, 100% { opacity: 0.4; filter: blur(10px); }
    50% { opacity: 0.85; filter: blur(16px); }
}

.influencer-stage-card.orange-stage {
    position: relative;
    background: linear-gradient(135deg, rgba(24, 20, 29, 0.95) 0%, rgba(12, 10, 18, 0.98) 100%);
    backdrop-filter: var(--glass-blur);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), var(--neon-glow);
}

.creator-badge-line { margin-bottom: 14px; }

.orange-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 87, 34, 0.15);
    border: 1px solid rgba(255, 87, 34, 0.4);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.orange-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotFade 1.2s infinite;
}

@keyframes dotFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.creator-main-title {
    font-size: 2.2rem;
    line-height: 1.12;
    margin-bottom: 12px;
}

.creator-main-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.social-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.strip-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.holo-code-box.orange-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.holo-code-box.orange-box:hover {
    transform: translateY(-2px);
    background: rgba(255, 87, 34, 0.1);
}

.holo-code-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.holo-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.holo-val.orange-text {
    font-family: monospace;
    font-size: 1.45rem;
    color: var(--primary);
    letter-spacing: 1px;
}

/* 3D Perks Grid */
.creator-perks-3d-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.perk-card-3d.orange-border {
    background: var(--bg-card);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.perk-card-3d.orange-border:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.perk-card-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.orange-glow { background: var(--primary); box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4); }

.perk-card-3d h3 { font-size: 1.15rem; margin-bottom: 6px; }
.perk-card-3d p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }

.perk-link-btn.orange-link {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.creator-criteria-card.orange-border {
    padding: 22px;
    border: 1px solid rgba(255, 87, 34, 0.3);
    margin-bottom: 30px;
}

.creator-criteria-card h3 { font-size: 1.15rem; margin-bottom: 14px; }

.creator-faq-wrapper {
    margin-bottom: 28px;
}

.creator-bottom-banner.orange-banner {
    padding: 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.12) 0%, rgba(18, 20, 29, 0.95) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.creator-bottom-banner h3 { font-size: 1.35rem; margin-bottom: 6px; }
.creator-bottom-banner p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }

/* Hero Mega Card (Coupons) */
.hero-mega-card {
    margin-bottom: 24px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: var(--card-shadow), var(--neon-glow);
}

.hero-card-glow {
    position: absolute;
    top: -50%; right: -20%;
    width: 250px; height: 250px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.badge-fire {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
}

.timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-discount-group { margin-bottom: 16px; }

.hero-number {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light .hero-number {
    background: linear-gradient(180deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-number .currency { font-size: 2.2rem; color: var(--primary); -webkit-text-fill-color: var(--primary); }
.hero-title { font-size: 1.15rem; margin-top: 6px; }
.hero-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.coupons-preview-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.stack-item {
    background: var(--bg-subtle);
    border: 1px dashed var(--border-glass);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
}

.stack-item.primary {
    background: rgba(255, 87, 34, 0.12);
    border-color: rgba(255, 87, 34, 0.4);
    color: var(--text-main);
}

.stack-badge { font-size: 0.6rem; font-weight: 800; color: var(--primary); }

.hero-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-copy-wrapper {
    background: var(--bg-subtle);
    border: 2px dashed var(--border-glow);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.code-display { display: flex; flex-direction: column; }
.code-label { font-size: 0.65rem; font-weight: 800; color: var(--text-muted); }
.code-value { font-family: monospace; font-size: 1.35rem; color: var(--primary); letter-spacing: 1px; }

.copy-action-btn {
    background: var(--primary-gradient);
    color: #FFF;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-gradient-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
}

/* Cards Stack */
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.deal-card { padding: 20px; }
.deal-card.green-accent { border-left: 4px solid var(--accent-green); }
.deal-card.orange-accent { border-left: 4px solid var(--primary); }

.deal-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.deal-icon-bg {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.1rem;
}

.deal-icon-bg.green { background: var(--accent-green); }
.deal-icon-bg.orange { background: var(--primary); }

.deal-tag { font-size: 0.65rem; font-weight: 800; color: var(--primary); }
.deal-card-top h3 { font-size: 1.15rem; }
.deal-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }

.deal-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-subtle);
    padding: 14px;
    border-radius: var(--radius-md);
}

.opt-step { font-size: 0.65rem; font-weight: 800; color: var(--text-muted); display: block; margin-bottom: 6px; }

.btn-glass-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-gradient);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glass-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.55);
    filter: brightness(1.08);
}

.code-pill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.code-pill-row code { font-family: monospace; font-size: 1.15rem; font-weight: 700; color: var(--primary); }

.btn-copy-chip {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Finds Categories & Product Grid */
.categories-scroll-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.categories-scroll-wrapper::-webkit-scrollbar { display: none; }

.cat-pill-btn {
    white-space: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.cat-pill-btn.active {
    background: var(--text-main);
    color: var(--bg-main);
    border-color: var(--text-main);
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.m-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.m-product-img {
    position: relative;
    aspect-ratio: 1;
    background: #1E293B;
}

.m-product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.m-badge-discount {
    position: absolute;
    top: 8px; left: 8px;
    background: #EF4444;
    color: #FFF;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.m-product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.m-product-info h4 {
    font-size: 0.85rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.m-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 10px;
}

.m-price { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.m-old-price { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; }

.checklist { display: flex; flex-direction: column; gap: 12px; }

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
}

.check-icon {
    width: 22px; height: 22px;
    background: var(--accent-green);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card { overflow: hidden; }

.faq-trigger {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-trigger .arrow { transition: transform 0.3s ease; }
.faq-card.open .faq-trigger .arrow { transform: rotate(180deg); }

.faq-body {
    padding: 0 16px 16px 16px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: none;
}

.faq-card.open .faq-body { display: block; }

/* Footer */
.footer-modern {
    border-top: 1px solid var(--border-glass);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.footer-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.footer-nav-row { display: flex; justify-content: center; gap: 16px; }

.footer-nav-row a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Glass Mobile Dock */
.glass-mobile-dock {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 440px;
    height: var(--dock-height);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

body.theme-light .glass-mobile-dock {
    background: rgba(255, 255, 255, 0.9);
}

.dock-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.dock-item.active { color: var(--primary); }

.dock-item.creator-dock-pulse {
    color: var(--primary);
    font-weight: 800;
}

.dock-sparkle {
    animation: orangePulseIcon 2s infinite;
}

@keyframes orangePulseIcon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 87, 34, 0.5)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.9)); }
}

/* Toast */
.toast-glass {
    position: fixed;
    bottom: calc(var(--dock-height) + 24px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: #0F172A;
    color: #FFF;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    box-shadow: 0 12px 36px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 360px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-glass.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

.toast-inner { display: flex; align-items: center; gap: 12px; }

.toast-check {
    width: 26px; height: 26px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

/* Spanish Showroom Section Styling */
.spanish-stage-container {
    margin-bottom: 24px;
}

.spanish-stage-card {
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(255, 87, 34, 0.3);
    background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.12), rgba(15, 23, 42, 0.95));
}

.spanish-badge-line {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.spanish-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 87, 34, 0.15);
    border: 1px solid rgba(255, 87, 34, 0.4);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.spanish-main-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.spanish-main-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.insta-showcase-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
    margin: 0 auto;
}

.insta-handle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.insta-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}

.insta-handle-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 2px 0;
    color: var(--text-main);
}

.insta-handle-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Responsiveness */
@media (min-width: 640px) {
    .modern-product-grid, .creator-perks-3d-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glass-mobile-dock { display: none; }
    body { padding-bottom: 0; }
}

/* ==========================================================================
   Modal Overlay & Checkout Order Form
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 87, 34, 0.15);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-header {
    margin-bottom: 20px;
    text-align: left;
}

.modal-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.checkout-product-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
}

.checkout-product-preview img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.preview-badge {
    font-size: 0.72rem;
    color: var(--accent-green);
    font-weight: 700;
}

/* Form inputs */
.form-row {
    display: flex;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    text-align: left;
    flex: 1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.3);
}

.delivery-options {
    display: flex;
    gap: 10px;
}

.delivery-radio {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.delivery-radio input[type="radio"] {
    display: none;
}

.delivery-radio input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px #121216;
}

.delivery-radio input[type="radio"]:checked ~ .radio-label {
    color: var(--primary);
}

.radio-custom {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

/* Spanish Showroom Store Extensions */
.live-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.4; transform: scale(0.9); }
}

.spanish-cta-group {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
}

.btn-glass-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.stock-tag-in {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.stock-tag-order {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.brand-tag-pill {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #FFF;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9900;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-cart-btn.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.cart-btn-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    color: #FFF;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cart-badge-count {
    background: #FFF;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 12px;
}

/* Cart Items Container */
.cart-items-container {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-right: 4px;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: 12px;
}

.cart-item-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
    text-align: left;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.cart-item-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.qty-val {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
    min-width: 16px;
    text-align: center;
}

.cart-delete-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-delete-btn:hover {
    color: #EF4444;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.cart-total-row strong {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Subcategories Bar */
.subcategories-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.subcategories-wrapper.hidden {
    display: none;
}

.subcategories-scroll-inner {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.subcat-chip-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subcat-chip-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #FFF;
}

.subcat-chip-btn.active {
    background: var(--primary-gradient);
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* Product Detail Modal Gallery & Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-gallery-main {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 4px;
}

.detail-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.detail-thumb:hover, .detail-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.detail-attr-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-attr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
}

.detail-attr-row .attr-label {
    color: var(--text-muted);
    font-weight: 600;
}

.detail-attr-row .attr-val {
    color: var(--text-main);
    font-weight: 800;
    text-align: right;
}




