﻿/* 
========================================================================
   DIGIVAULT PREMIUM DIGITAL MARKETPLACE STYLESHEET
   Aesthetic: Dark Futuristic SaaS, Glowing Gradients, Glassmorphism
========================================================================
*/

/* 1. CSS VARIABLES & SYSTEM DESIGN TOKENS */
:root {
    /* Color Palette */
    --bg-darker: #06070a;
    --bg-dark: #0c0e17;
    --bg-card: #131724;
    --bg-card-hover: #1b2133;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(59, 130, 246, 0.3);
    
    /* Branding Accent Gradients */
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --grad-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --grad-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    --grad-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --grad-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
    /* Text Colors */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --text-white: #ffffff;
    
    /* Fonts & Radii */
    --font-sans: 'Outfit', 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
    --shadow-blue-glow: 0 0 25px rgba(59, 130, 246, 0.25);
}

/* 2. BASE RESET & GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* Helper Utility Classes */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glow-text {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}
.highlight-cyan {
    color: var(--accent-cyan);
}
.highlight-green {
    color: var(--accent-green);
}
.hide {
    display: none !important;
}

/* 3. CORE LAYOUT VIEW CONTROLLER (SPA ROUTER) */
.page-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding-top: 100px;
    min-height: calc(100vh - 400px);
}

.page-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 4. PREMIUM NAVIGATION HEADER */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 7, 10, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-glowing {
    background: var(--grad-primary);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 3s infinite alternate;
}

.logo-svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-part-1 {
    color: var(--text-white);
}

.logo-part-2 {
    color: #a78bfa;
}

.logo-domain {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active-nav {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active-nav::after {
    width: 100%;
}

/* Navigation Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-purple);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-primary {
    background: var(--grad-primary);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    cursor: pointer;
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    padding: 60px 0 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 10;
}

.hero-tag {
    align-self: flex-start;
    background: var(--grad-glow);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.btn-premium-glow {
    background: var(--grad-primary);
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-premium-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

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

/* Ebook Stack and Glow Orbs */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.collage-container {
    position: relative;
    width: 440px;
    height: 480px;
}

.collage-badge {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--accent-cyan);
    color: var(--bg-darker);
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    z-index: 50;
    transform: rotate(-10deg);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.book-mockup {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: 12px;
    display: flex;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.book-spine {
    width: 14px;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px 0 0 12px;
}

.book-cover {
    flex: 1;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0 12px 12px 0;
}

.book-cover h4 {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 15px;
    color: var(--text-white);
}

.book-cover p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.book-cover .book-badge {
    align-self: flex-start;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
}

/* Individual Book Positioning */
.book-1 {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    top: 40px;
    left: 40px;
    transform: rotate(-12deg);
    z-index: 10;
}
.book-2 {
    background: linear-gradient(135deg, #6d28d9, #4c1d95);
    top: 60px;
    left: 200px;
    transform: rotate(6deg);
    z-index: 20;
}
.book-3 {
    background: linear-gradient(135deg, #0f766e, #115e59);
    top: 200px;
    left: 20px;
    transform: rotate(-4deg);
    z-index: 30;
}
.book-4 {
    background: linear-gradient(135deg, #b45309, #78350f);
    top: 220px;
    left: 180px;
    transform: rotate(15deg);
    z-index: 40;
}

.book-mockup:hover {
    transform: scale(1.1) translateY(-10px) rotate(0deg);
    z-index: 100;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.45;
}

.glow-1 {
    background: var(--accent-purple);
    top: 10%;
    right: 10%;
}

.glow-2 {
    background: var(--accent-blue);
    bottom: 20%;
    left: 20%;
}

/* 6. CATEGORIES GRID */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-header span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin-top: 4px;
}

.categories-container {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.category-pill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-pill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue-glow);
}

.category-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.category-pill-card:hover .category-icon-box {
    background: var(--grad-primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.category-pill-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* 7. PREMIUM PRODUCTS SECTION & SKELETONS */
.products-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.section-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-top-row .section-header {
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
}

.view-all-link {
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-all-link:hover {
    color: var(--text-white);
}

.view-all-link:hover i {
    transform: translateX(4px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card Design */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.prod-thumbnail-wrapper {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
    background: #0f121d;
}

.prod-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .prod-thumbnail {
    transform: scale(1.08);
}

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--grad-danger);
    color: var(--text-white);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 10;
}

.badge-category {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(6, 7, 10, 0.7);
    backdrop-filter: blur(4px);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.prod-info-block {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #eab308;
}

.prod-rating span {
    color: var(--text-muted);
    margin-left: 4px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.product-card h3:hover {
    color: #a78bfa;
}

.prod-desc-short {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-footer-row {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prod-price-box {
    display: flex;
    flex-direction: column;
}

.price-strike-sm {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.price-active-lg {
    font-size: 1.25rem;
    font-weight: 800;
    color: #60a5fa;
}

.btn-card-buy {
    width: 38px;
    height: 38px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card:hover .btn-card-buy {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.btn-card-buy:hover {
    transform: scale(1.1);
}

/* Skeleton Loading Loader Styles */
.skeleton-card {
    height: 350px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-thumb {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.skeleton-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.skeleton-line.half {
    width: 60%;
}

.skeleton-line.third {
    width: 40%;
}

.skeleton-animate {
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

@keyframes skeletonPulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* 8. LIMITED TIME OFFER BANNER WITH COOPERATIVE COUNTDOWN */
.limited-banner-section {
    padding: 40px 0;
}

.offer-banner-card {
    background: linear-gradient(135deg, #10121d 0%, #151a2e 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.offer-banner-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--grad-primary);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.banner-left {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 5;
}

.offer-alert-badge {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

.banner-left h2 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
}

.banner-left p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 5;
}

.countdown-box {
    display: flex;
    gap: 12px;
}

.countdown-unit {
    width: 80px;
    height: 80px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.countdown-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

/* 9. WHY CHOOSE US (FEATURES & BENEFITS) */
.features-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.25s ease;
}

.feature-benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #a78bfa;
    flex-shrink: 0;
}

.feature-benefit-card:hover .feature-icon-wrapper {
    background: var(--grad-primary);
    color: var(--text-white);
}

.feature-text-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text-wrapper p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 10. TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-darker) 0%, rgba(12, 14, 23, 0.3) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.review-stars {
    display: flex;
    gap: 4px;
    font-size: 0.95rem;
    color: #eab308;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 24px;
}

.reviewer-meta-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}

.reviewer-avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.reviewer-details h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.reviewer-details span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 11. CENTRALIZED VISUAL CUSTOMIZER CMS SIDEBAR */
.customizer-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.customizer-sidebar.open {
    right: 0;
}

.customizer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customizer-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-customizer {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-close-customizer:hover {
    background: rgba(255, 255, 255, 0.08);
}

.customizer-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-color);
}

.custom-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.custom-tab-btn.active {
    color: var(--text-white);
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.02);
}

.customizer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.customizer-tab-content {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.customizer-tab-content.active {
    display: flex;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group input,
.input-group textarea,
.input-group select {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    width: 100%;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-purple);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.color-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.color-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.color-picker-item label {
    font-size: 0.75rem;
    font-weight: 600;
}

.color-picker-item input[type="color"] {
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    background: none;
}

.customizer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-export-config {
    width: 100%;
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.customizer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.customizer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.floating-customizer-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
    z-index: 999999; /* Higher than everything else on the screen! */
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulseGlow 2.5s infinite ease-in-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-customizer-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5), 0 0 15px rgba(139, 92, 246, 0.2);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6), 0 0 25px rgba(139, 92, 246, 0.4);
    }
}

/* 12. SHOP PAGE (SEARCH, CATALOG, FILTERS & CAROUSEL) */
.shop-page-wrapper {
    padding: 40px 0 80px 0;
}

.shop-catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

/* Sidebar Filters */
.catalog-filters-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.filter-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.filter-widget h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-purple);
    padding-left: 8px;
}

.filter-categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-cat-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.filter-cat-item:hover,
.filter-cat-item.active-cat {
    color: var(--text-white);
    font-weight: 600;
}

/* Main Shop Catalog */
.shop-content-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.catalog-search-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input-wrapper input {
    width: 100%;
    font-size: 0.95rem;
}

.catalog-sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sort-box select {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

/* 13. PRODUCT DETAIL VIEW */
.detail-grid-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.detail-main-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gallery-visual-wrapper {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.gallery-visual-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-title-block h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.detail-meta-strip {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-text-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.detail-text-block p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Sidebar Buy Panel */
.detail-purchase-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.detail-pricing {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-buy-primary {
    width: 100%;
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.btn-buy-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-add-cart-outline {
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-add-cart-outline:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.locker-delivery-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* 14. AUTHENTICATION SCREENS (SIGNUP, LOGIN, RESET) */
.auth-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.auth-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.auth-form-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
}

.auth-form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-top: -12px;
}

.btn-auth-submit {
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-auth-submit:hover {
    box-shadow: var(--shadow-glow);
}

.auth-card-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-card-footer a {
    color: #a78bfa;
    font-weight: 600;
}

/* 15. DYNAMIC COOPERATIVE USER DASHBOARD */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.dash-sidebar-nav {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: fit-content;
}

.dash-nav-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dash-nav-item:hover,
.dash-nav-item.active-dash {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
}

.dash-nav-item.active-dash {
    border-left: 3px solid var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
}

.dash-content-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dash-section-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.dash-section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

.downloads-locker-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.locker-item-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.locker-item-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.locker-item-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-download-now {
    background: var(--grad-success);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-download-now:hover {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* 16. ADMINISTRATIVE CONTROL PORTAL */
.admin-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-tile-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.metric-tile-card:nth-child(2) .metric-tile-icon {
    background: rgba(139, 92, 246, 0.08);
    color: #a78bfa;
}

.metric-tile-card:nth-child(3) .metric-tile-icon {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
}

.metric-tile-card:nth-child(4) .metric-tile-icon {
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24;
}

.metric-tile-data h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.metric-tile-data span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Admin Dashboard Tables */
.admin-table-container {
    overflow-x: auto;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admin-data-table th,
.admin-data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-data-table th {
    background: rgba(0, 0, 0, 0.15);
    font-weight: 700;
    color: var(--text-white);
}

.admin-data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.badge-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-status.paid {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-status.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-admin-add {
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
}

.btn-action-sm {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.btn-action-sm.edit {
    background: rgba(59, 130, 246, 0.05);
    color: #60a5fa;
}

.btn-action-sm.delete {
    background: rgba(239, 68, 68, 0.05);
    color: var(--accent-red);
}

/* 17. SHOPPING CART SYSTEM & CHECKOUT LOCKER MODAL */
.shopping-cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.shopping-cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-items-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-card-details h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

.cart-item-card-details span {
    font-size: 0.85rem;
    color: #60a5fa;
    font-weight: 700;
}

.btn-remove-cart {
    background: none;
    color: var(--text-dim);
    cursor: pointer;
}

.btn-remove-cart:hover {
    color: var(--accent-red);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-coupon-box {
    display: flex;
    gap: 10px;
}

.cart-coupon-box input {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    flex: 1;
}

.btn-coupon-apply {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-coupon-apply:hover {
    border-color: var(--border-hover);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-checkout-trigger {
    width: 100%;
    background: var(--grad-primary);
    color: var(--text-white);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

/* Simulated Checkout Gateway Overlay Modal */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkout-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gateway-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.gateway-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.gateway-tab-btn.active {
    color: var(--text-white);
    border-bottom: 2px solid var(--accent-purple);
}

.gateway-panel {
    display: none;
}

.gateway-panel.active {
    display: block;
}

.upi-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

.upi-qr-code {
    width: 160px;
    height: 160px;
    background: var(--text-white);
    padding: 8px;
    border-radius: 8px;
}

.upi-details-meta {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 18. LEGAL & POLICY PAGES Layout */
.legal-page-wrapper {
    padding: 60px 0 100px 0;
}

.legal-content-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-content-box h1 {
    font-size: 2.4rem;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.legal-content-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 16px;
    color: #a78bfa;
}

.legal-content-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-content-box ul {
    list-style-type: disc;
    padding-left: 24px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 19. PROFESSIONAL FOOTER */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px 0;
    margin-top: 80px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col a:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-badge-logos {
    display: flex;
    gap: 20px;
}

.footer-badge-logos span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 20. TOAST NOTIFICATION TICKER POPUPS */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-alert {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-purple);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px 20px;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    transform: translateX(-120%);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-alert.show {
    transform: translateX(0);
}

.toast-alert.success {
    border-left-color: var(--accent-green);
}

.toast-alert.error {
    border-left-color: var(--accent-red);
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-content h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

.toast-content p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Social Ticker purchases */
.purchase-ticker-box {
    position: fixed;
    bottom: 96px;
    left: 24px;
    background: rgba(19, 23, 36, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.purchase-ticker-box.show {
    transform: translateY(0);
    opacity: 1;
}

.ticker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ticker-desc {
    display: flex;
    flex-direction: column;
}

.ticker-desc h6 {
    font-size: 0.82rem;
    font-weight: 700;
}

.ticker-desc span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Keyframe Animations */
@keyframes pulseGlow {
    0% { box-shadow: var(--shadow-glow); }
    100% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); }
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 21. RESPONSIVENESS AND DEVICE SCALING */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .shop-catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .detail-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-metrics-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offer-banner-card {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 32px;
    }
    
    .banner-left {
        align-items: center;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .customizer-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-modal-card {
        padding: 20px;
    }
    
    .admin-metrics-row {
        grid-template-columns: 1fr;
    }
}

/* Admin Tab Content Toggle */
.admin-tab-content {
    display: none !important;
}
.admin-tab-content.active {
    display: block !important;
}

/* ==========================================
   LOADING OVERLAY (FOUC PREVENTION) & SPINNER
   ========================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #06070a; /* Same as --bg-darker */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-purple);
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   LIGHT/DARK THEME CUSTOMIZATIONS
   ========================================== */
body.light-theme {
    --bg-darker: #f0f2f5;
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-hover: #edf2f7;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(59, 130, 246, 0.5);
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --text-dim: #718096;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.light-theme .loading-overlay {
    background: #f0f2f5;
}

/* Specific light theme text readability fixes */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.85);
}
body.light-theme .nav-links a.active-nav,
body.light-theme .logo-part-1,
body.light-theme .logo-text-fallback,
body.light-theme .logo-link {
    color: #1a202c !important;
}
body.light-theme .nav-links a {
    color: #4a5568;
}
body.light-theme .nav-links a:hover {
    color: #1a202c;
}
body.light-theme .footer-links-col h4,
body.light-theme .footer-brand h4 {
    color: #1a202c !important;
}
body.light-theme .footer-tagline,
body.light-theme .footer-links-col a,
body.light-theme .footer-bottom-bar p {
    color: #4a5568 !important;
}
body.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.02);
    color: #1a202c;
}
body.light-theme .admin-sidebar {
    background: #edf2f7;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}
body.light-theme .custom-tab-btn {
    color: #718096;
}
body.light-theme .custom-tab-btn.active {
    color: #1a202c;
}
body.light-theme .theme-icon-sun {
    display: none !important;
}
body.light-theme .theme-icon-moon {
    display: inline-block !important;
    color: #1a202c;
}
body.light-theme .icon-btn i {
    color: #1a202c;
}
