/* ============================================
   OFFICIAL KEYS STORE - Global Stylesheet
   Premium Digital Licensing Marketplace
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0a1628;
    --primary-light: #111d32;
    --primary-lighter: #1a2744;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: rgba(37, 99, 235, 0.3);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(148, 163, 184, 0.15);
    --card-bg: rgba(17, 29, 50, 0.7);
    --card-border: rgba(148, 163, 184, 0.12);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #111d32 40%, #1a2744 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb, #3b82f6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--primary);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;min-height:100vh}
a{color:var(--accent-light);text-decoration:none;transition:color .2s}a:hover{color:var(--accent)}
img{max-width:100%;height:auto;display:block}
button{cursor:pointer;font-family:inherit;border:none;outline:none}
ul{list-style:none}

/* Typography */
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.2;color:var(--text)}
h1{font-size:clamp(1.75rem,4vw,2.75rem)}
h2{font-size:clamp(1.5rem,3vw,2.25rem)}
h3{font-size:clamp(1.125rem,2vw,1.5rem)}
p{color:var(--text-muted);font-size:1rem;line-height:1.7}

/* Layout */
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1.5rem}
.section{padding:4rem 0}
.section-header{text-align:center;margin-bottom:3rem}
.section-header h2{margin-bottom:.75rem}
.section-header p{max-width:600px;margin:0 auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.75rem;font-size:.9375rem;font-weight:600;border-radius:var(--radius-md);transition:all .3s;cursor:pointer;border:none}
.btn-primary{background:var(--gradient-accent);color:#fff;box-shadow:0 4px 15px rgba(37,99,235,.3)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(37,99,235,.4);color:#fff}
.btn-gold{background:var(--gradient-gold);color:#1e293b;font-weight:700;box-shadow:0 4px 15px rgba(245,158,11,.3)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(245,158,11,.4);color:#1e293b}
.btn-outline{background:transparent;color:var(--text);border:1.5px solid var(--border)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent-light)}
.btn-sm{padding:.625rem 1.25rem;font-size:.875rem}
.btn-lg{padding:1rem 2.5rem;font-size:1rem}
.btn-full{width:100%}

/* Cards */
.card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);overflow:hidden;transition:all .3s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-glow),var(--shadow-lg);border-color:rgba(37,99,235,.2)}
.card-body{padding:1.25rem}

/* Badge */
.badge{display:inline-flex;align-items:center;padding:.375rem .875rem;font-size:.75rem;font-weight:600;border-radius:9999px}
.badge-gold{background:rgba(245,158,11,.15);color:var(--gold-light);border:1px solid rgba(245,158,11,.25)}
.badge-accent{background:rgba(37,99,235,.15);color:var(--accent-light);border:1px solid rgba(37,99,235,.25)}
.badge-success{background:rgba(16,185,129,.15);color:var(--success);border:1px solid rgba(16,185,129,.25)}

/* Stars */
.stars{display:inline-flex;gap:.125rem;color:var(--gold);font-size:.875rem}

/* Sale Tag */
.sale-tag{position:absolute;top:.75rem;left:.75rem;background:linear-gradient(135deg,var(--danger),#f87171);color:#fff;font-size:.6875rem;font-weight:700;padding:.25rem .625rem;border-radius:var(--radius-sm);z-index:2;text-transform:uppercase;letter-spacing:.025em}

/* Price */
.price{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.price-current{font-size:1.25rem;font-weight:700;color:#fff}
.price-original{font-size:.875rem;color:var(--text-dim);text-decoration:line-through}
.price-save{font-size:.75rem;color:var(--success);font-weight:600}

/* WhatsApp FAB */
.whatsapp-fab{position:fixed;bottom:1.5rem;right:1.5rem;width:60px;height:60px;background:linear-gradient(135deg,#25d366,#128c7e);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,.4);z-index:999;transition:all .3s}
.whatsapp-fab:hover{transform:scale(1.1) translateY(-2px);box-shadow:0 8px 30px rgba(37,211,102,.5)}
.whatsapp-fab svg{width:30px;height:30px;fill:#fff}

/* ==================== HEADER ==================== */
.header{position:sticky;top:0;z-index:100;background:rgba(10,22,40,.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:1.5rem}

/* Logo */
.logo{display:flex;align-items:center;gap:.625rem;flex-shrink:0}
.logo img{height:44px;width:auto}
.logo-text{display:flex;flex-direction:column;line-height:1}
.logo-brand{font-size:1.375rem;font-weight:800;color:#fff;letter-spacing:-.02em}
.logo-store{font-size:.8125rem;font-weight:700;color:var(--accent-light);letter-spacing:.18em;text-transform:uppercase;margin-top:.125rem}

/* Desktop Nav */
.nav-desktop{display:flex;align-items:center;gap:2.5rem}
.nav-desktop a{color:var(--text-muted);font-size:.9375rem;font-weight:500;transition:color .2s;position:relative}
.nav-desktop a:hover,.nav-desktop a.active{color:#fff}
.nav-desktop a.active::after{content:'';position:absolute;bottom:-4px;left:0;right:0;height:2px;background:var(--gradient-accent);border-radius:2px}

/* Search */
.search-form{position:relative;flex:1;max-width:400px}
.search-form input{width:100%;padding:.625rem 1rem .625rem 2.5rem;background:var(--primary-lighter);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text);font-size:.875rem;transition:border-color .2s}
.search-form input:focus{outline:none;border-color:var(--accent)}
.search-form input::placeholder{color:var(--text-dim)}
.search-form svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--text-dim);pointer-events:none}

/* Mobile Menu Toggle */
.menu-toggle{display:none;flex-direction:column;gap:5px;padding:.5rem;background:none;border:none;cursor:pointer}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ==================== HERO ==================== */
.hero{position:relative;padding:5rem 0 4rem;overflow:hidden;background:var(--gradient-hero)}
.hero::before{content:'';position:absolute;inset:0;background:url('../images/hero-bg.jpg') center/cover no-repeat;opacity:.12}
.hero::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(37,99,235,.08) 0%,transparent 70%)}
.hero .container{position:relative;z-index:1}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:rgba(37,99,235,.12);border:1px solid rgba(37,99,235,.2);border-radius:9999px;color:var(--accent-light);font-size:.875rem;font-weight:600;margin-bottom:1.5rem}
.hero h1{margin-bottom:1.25rem}
.hero h1 span{color:var(--accent-light)}
.hero>p{font-size:1.125rem;color:var(--text-muted);margin-bottom:2rem;max-width:540px}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2.5rem}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.hero-stat{text-align:center;padding:1rem;background:rgba(17,29,50,.5);border:1px solid var(--card-border);border-radius:var(--radius-md);backdrop-filter:blur(10px)}
.hero-stat-number{font-size:1.5rem;font-weight:800;color:var(--accent-light)}
.hero-stat-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-top:.25rem}
.hero-image{position:relative}
.hero-image img{width:100%;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);border:1px solid var(--card-border)}

/* ==================== TRUST BAR ==================== */
.trust-bar{padding:1.5rem 0;background:rgba(17,29,50,.5);border-bottom:1px solid var(--border)}
.trust-inner{display:flex;justify-content:center;align-items:center;gap:2.5rem;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted)}
.trust-item svg{width:20px;height:20px;color:var(--accent-light);flex-shrink:0}

/* ==================== CATEGORIES ==================== */
.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.category-card{position:relative;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);overflow:hidden;transition:all .3s;display:block}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-glow);border-color:rgba(37,99,235,.2)}
.category-card img{width:100%;height:140px;object-fit:cover;opacity:.85;transition:opacity .3s}
.category-card:hover img{opacity:1}
.category-card-body{padding:1rem;text-align:center}
.category-card h3{font-size:1rem;margin-bottom:.25rem}
.category-card p{font-size:.75rem;color:var(--text-dim)}

/* ==================== PRODUCT GRID ==================== */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.product-card{position:relative;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);overflow:hidden;transition:all .3s;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-glow),var(--shadow-lg);border-color:rgba(37,99,235,.2)}
.product-img{position:relative;height:180px;overflow:hidden;background:var(--primary-lighter);display:flex;align-items:center;justify-content:center}
.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product-card:hover .product-img img{transform:scale(1.05)}
.product-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.product-body h3{font-size:1rem;margin-bottom:.5rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-body p{font-size:.8125rem;color:var(--text-dim);margin-bottom:.75rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-meta{margin-top:auto;display:flex;flex-direction:column;gap:.75rem}
.product-rating{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--text-muted)}

/* ==================== FILTERS ==================== */
.filters{display:flex;gap:.75rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}
.filter-btn{padding:.5rem 1rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:9999px;color:var(--text-muted);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}
.filter-btn:hover,.filter-btn.active{background:var(--gradient-accent);color:#fff;border-color:transparent}

/* ==================== PRODUCT PAGE ==================== */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin:2rem 0}
.product-gallery{position:relative}
.product-gallery .main-img{width:100%;border-radius:var(--radius-lg);border:1px solid var(--card-border);background:var(--primary-lighter);min-height:350px;object-fit:contain;padding:1rem}
.product-info h1{margin-bottom:1rem}
.product-info .rating{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;font-size:.9375rem}
.product-info .rating .stars{font-size:1rem}
.product-info .price{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.product-info .price-current{font-size:2rem}
.product-info .price-original{font-size:1.125rem}
.product-features{margin-bottom:2rem}
.product-features li{display:flex;align-items:flex-start;gap:.625rem;padding:.5rem 0;color:var(--text-muted);font-size:.9375rem}
.product-features li svg{width:20px;height:20px;color:var(--success);flex-shrink:0;margin-top:.125rem}

/* Tabs */
.tabs{display:flex;gap:0;border-bottom:2px solid var(--border);margin-bottom:2rem}
.tab-btn{padding:.875rem 1.5rem;font-size:.9375rem;font-weight:600;color:var(--text-muted);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all .2s}
.tab-btn:hover{color:var(--text)}
.tab-btn.active{color:var(--accent-light);border-bottom-color:var(--accent)}
.tab-content{display:none}
.tab-content.active{display:block}

/* Review */
.review{padding:1.25rem 0;border-bottom:1px solid var(--border)}
.review:last-child{border-bottom:none}
.review-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}
.review-avatar{width:40px;height:40px;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:.875rem}
.review-meta h4{font-size:.9375rem;margin-bottom:.125rem}
.review-meta .stars{font-size:.75rem}
.review p{font-size:.875rem;margin-top:.5rem}

/* FAQ */
.faq-item{border:1px solid var(--card-border);border-radius:var(--radius-md);margin-bottom:.75rem;overflow:hidden}
.faq-question{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;cursor:pointer;background:var(--card-bg);transition:background .2s}
.faq-question:hover{background:var(--primary-lighter)}
.faq-question h4{font-size:.9375rem;font-weight:600}
.faq-question svg{width:20px;height:20px;color:var(--text-muted);transition:transform .3s;flex-shrink:0}
.faq-item.active .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.active .faq-answer{max-height:500px}
.faq-answer-inner{padding:0 1.25rem 1rem;color:var(--text-muted);font-size:.9375rem;line-height:1.7}

/* Breadcrumbs */
.breadcrumbs{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-dim);margin-bottom:1.5rem;flex-wrap:wrap}
.breadcrumbs a{color:var(--text-muted);transition:color .2s}
.breadcrumbs a:hover{color:var(--accent-light)}
.breadcrumbs span{color:var(--text-dim)}

/* ==================== FOOTER ==================== */
.footer{background:var(--primary-light);border-top:1px solid var(--border);padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:3rem}
.footer-brand .logo{margin-bottom:1rem}
.footer-brand>p{font-size:.875rem;margin-bottom:1.5rem;max-width:280px}
.footer-social{display:flex;gap:.75rem}
.footer-social a{width:38px;height:38px;border-radius:var(--radius-md);background:var(--primary-lighter);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:all .2s}
.footer-social a:hover{background:var(--accent);border-color:var(--accent);transform:translateY(-2px)}
.footer-social a:hover svg{fill:#fff}
.footer-social a svg{width:18px;height:18px;fill:var(--text-muted)}
.footer h4{font-size:1rem;margin-bottom:1.25rem;color:#fff}
.footer-links li{margin-bottom:.625rem}
.footer-links a{font-size:.875rem;color:var(--text-muted);transition:color .2s}
.footer-links a:hover{color:var(--accent-light)}
.footer-contact li{display:flex;align-items:flex-start;gap:.625rem;margin-bottom:.875rem;font-size:.875rem;color:var(--text-muted)}
.footer-contact li svg{width:18px;height:18px;color:var(--accent-light);flex-shrink:0;margin-top:.125rem}
.footer-bottom{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;color:var(--text-dim)}

/* ==================== PAGE HEADER ==================== */
.page-header{background:var(--gradient-hero);padding:3rem 0;text-align:center;border-bottom:1px solid var(--border);position:relative;overflow:hidden}
.page-header::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(37,99,235,.06) 0%,transparent 70%)}
.page-header .container{position:relative;z-index:1}
.page-header h1{margin-bottom:.5rem}
.page-header p{max-width:600px;margin:0 auto}

/* ==================== UTILITY PAGES ==================== */
.content-page{max-width:800px;margin:0 auto;padding:3rem 0}
.content-page h2{margin:2rem 0 1rem;font-size:1.5rem}
.content-page p{margin-bottom:1rem}
.content-page ul{margin:.75rem 0 1rem 1.5rem;list-style:disc}
.content-page ul li{color:var(--text-muted);margin-bottom:.375rem}
.content-page a{color:var(--accent-light)}
.content-page a:hover{text-decoration:underline}

/* ==================== CONTACT PAGE ==================== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin:2rem 0}
.contact-info-item{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}
.contact-info-item svg{width:24px;height:24px;color:var(--accent-light);flex-shrink:0;margin-top:.125rem}
.contact-info-item h4{font-size:1rem;margin-bottom:.25rem}
.contact-info-item p{font-size:.875rem}
.contact-social{display:flex;gap:1rem;margin-top:1.5rem}
.contact-social a{padding:.625rem 1.25rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-md);display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted);transition:all .2s}
.contact-social a:hover{border-color:var(--accent);color:var(--accent-light);transform:translateY(-2px)}

/* ==================== CHECKOUT CTA ==================== */
.checkout-cta{background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(245,158,11,.05));border:1px solid rgba(37,99,235,.2);border-radius:var(--radius-lg);padding:2rem;text-align:center;margin-top:2rem}
.checkout-cta h3{margin-bottom:.5rem}
.checkout-cta p{margin-bottom:1.25rem}

/* ==================== RESPONSIVE ==================== */
@media(max-width:1024px){
    .footer-grid{grid-template-columns:1fr 1fr}
    .hero-inner{gap:2rem}
}
@media(max-width:768px){
    .menu-toggle{display:flex}
    .nav-desktop{display:none;position:absolute;top:72px;left:0;right:0;background:var(--primary);border-bottom:1px solid var(--border);padding:1rem 1.5rem;flex-direction:column;gap:0}
    .nav-desktop.active{display:flex}
    .nav-desktop a{padding:.875rem 0;border-bottom:1px solid var(--border);width:100%}
    .nav-desktop a:last-child{border-bottom:none}
    .search-form{order:1;max-width:none;margin-top:.5rem;display:none}
    .search-form.active{display:block}
    .hero-inner{grid-template-columns:1fr;text-align:center}
    .hero>p{margin:0 auto 2rem}
    .hero-actions{justify-content:center}
    .hero-stats{max-width:400px;margin:0 auto}
    .hero-image{display:none}
    .product-detail{grid-template-columns:1fr}
    .contact-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr;gap:2rem}
    .footer-bottom{flex-direction:column;gap:1rem;text-align:center}
    .categories-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .categories-grid{grid-template-columns:1fr}
    .products-grid{grid-template-columns:1fr}
    .hero-stats{grid-template-columns:1fr}
    .section{padding:2.5rem 0}
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.animate-fade{animation:fadeIn .6s ease forwards}
.animate-slide{animation:slideIn .5s ease forwards}

/* Scrollbar */
::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:var(--primary)}
::-webkit-scrollbar-thumb{background:var(--primary-lighter);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--accent)}

/* Selection */
::selection{background:rgba(37,99,235,.3);color:#fff}

/* ============================================
   FLASH SALE BANNER
   ============================================ */
.flash-sale-banner{background:linear-gradient(90deg,#0f172a 0%,#1e1b4b 30%,#312e81 60%,#0f172a 100%);border-bottom:2px solid var(--gold);position:relative;z-index:99}
.flash-sale-inner{max-width:1280px;margin:0 auto;padding:.625rem 1.5rem;display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;position:relative}
.flash-sale-left{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.flash-badge{background:linear-gradient(135deg,var(--danger),#f87171);color:#fff;font-size:.6875rem;font-weight:800;padding:.25rem .625rem;border-radius:var(--radius-sm);animation:pulse 2s infinite}
.flash-text{color:var(--text);font-size:.9375rem}.flash-text strong{color:var(--gold-light);font-size:1.125rem}
.flash-sale-center{display:flex;align-items:center;gap:.5rem}
.flash-ends{color:var(--text-muted);font-size:.8125rem;margin-right:.25rem}
.flash-countdown{display:flex;align-items:center;gap:.25rem}
.flash-time{text-align:center;background:rgba(0,0,0,.3);border-radius:var(--radius-sm);padding:.25rem .5rem;min-width:42px}
.flash-time span{display:block;font-size:1rem;font-weight:700;color:#fff;line-height:1}.flash-time label{font-size:.5625rem;color:var(--text-dim);letter-spacing:.05em}
.flash-sep{color:var(--gold);font-weight:700;font-size:1rem}
.flash-sale-dismiss{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:none;background:rgba(255,255,255,.1);color:var(--text-muted);font-size:1.125rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}
.flash-sale-dismiss:hover{background:rgba(255,255,255,.2);color:#fff}
@media(max-width:768px){.flash-sale-inner{padding:.5rem 2.5rem .5rem 1rem;gap:.75rem}.flash-text{font-size:.8125rem}.flash-sale-center{order:3;width:100%;justify-content:center}}

/* ============================================
   SALES POPUP NOTIFICATIONS
   ============================================ */
.sales-popup{position:fixed;bottom:1.5rem;left:1.5rem;z-index:1000;transform:translateX(-120%);transition:transform .5s cubic-bezier(.175,.885,.32,1.275);max-width:340px;width:calc(100% - 2rem)}
.sales-popup.show{transform:translateX(0)}
.sales-popup-inner{display:flex;align-items:center;gap:.75rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);padding:.875rem 1rem;box-shadow:var(--shadow-lg);backdrop-filter:blur(10px)}
.sales-popup-avatar{width:42px;height:42px;border-radius:50%;background:var(--gradient-accent);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:.875rem;flex-shrink:0}
.sales-popup-content{flex:1;min-width:0}
.sales-popup-text{font-size:.8125rem;color:var(--text);margin:0;line-height:1.5}.sales-popup-text strong{color:var(--accent-light)}
.sales-popup-time{font-size:.6875rem;color:var(--text-dim);display:block;margin-top:.125rem}
.sales-popup-close{width:26px;height:26px;border-radius:50%;border:none;background:rgba(255,255,255,.08);color:var(--text-muted);font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s;padding:0;line-height:1}
.sales-popup-close:hover{background:rgba(255,255,255,.15);color:#fff}
@media(max-width:480px){.ales-popup{bottom:5rem;left:1rem;right:1rem;max-width:none;width:auto}}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */
.exit-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(5px);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s ease;padding:1rem}
.exit-popup-overlay.show{opacity:1;visibility:visible}
.exit-popup{background:var(--primary-light);border:1px solid var(--card-border);border-radius:var(--radius-xl);padding:2.5rem;text-align:center;max-width:480px;width:100%;position:relative;box-shadow:var(--shadow-glow),var(--shadow-lg);transform:scale(.9);transition:transform .3s ease}
.exit-popup-overlay.show .exit-popup{transform:scale(1)}
.exit-popup-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;border:none;background:var(--primary-lighter);color:var(--text-muted);font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0;line-height:1}
.exit-popup-close:hover{background:var(--danger);color:#fff}
.exit-popup-badge{display:inline-block;background:linear-gradient(135deg,var(--danger),#f87171);color:#fff;font-size:.75rem;font-weight:800;padding:.375rem 1rem;border-radius:9999px;margin-bottom:1rem;animation:pulse 2s infinite}
.exit-popup h2{font-size:1.75rem;margin-bottom:.75rem;color:#fff}
.exit-popup>p{color:var(--text-muted);font-size:1rem;margin-bottom:1.5rem}
.exit-popup-code{background:rgba(37,99,235,.1);border:2px dashed var(--accent);border-radius:var(--radius-md);padding:1rem;margin:1.5rem 0;display:flex;align-items:center;justify-content:center;gap:.75rem}
.exit-popup-code span{color:var(--text-muted);font-size:.875rem}.exit-popup-code strong{color:var(--gold-light);font-size:1.5rem;font-weight:800;letter-spacing:.1em}
.exit-popup-note{color:var(--text-dim);font-size:.8125rem;margin-top:1.25rem}#exit-timer{color:var(--danger);font-weight:700}
