/* ========================================
   OHA Shop - Modern E-Commerce Design
   UI/UX Moderne avec Animations 3D
   ======================================== */

:root {
    /* Dark Theme with Orange Accents - Professional */
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary: #f59e0b;
    --accent: #f97316;
    --accent-orange: #fb923c;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --orange-glow: #f97316;
    
    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-darker: #14141f;
    --bg-card: rgba(20, 20, 31, 0.85);
    --bg-card-hover: rgba(30, 30, 45, 0.95);
    --bg-glass: rgba(20, 20, 31, 0.75);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #d1d1d8;
    --text-muted: #8a8a95;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #f97316;
    
    /* Professional Orange Gradients */
    --gradient-primary: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #dc2626 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #14141f 50%, #1a1a2e 100%);
    --gradient-card: linear-gradient(145deg, rgba(20, 20, 31, 0.9) 0%, rgba(15, 15, 25, 0.85) 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-glass: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 146, 60, 0.08) 100%);
    
    /* Professional Dark Shadows with Orange Glow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.5);
    --shadow-orange: 0 0 30px rgba(249, 115, 22, 0.6);
    --shadow-3d: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(249, 115, 22, 0.3);
    
    /* Borders */
    --border-color: #e2e8f0;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 3D Perspective */
    --perspective: 1000px;
}

/* Mode Clair */
[data-theme="light"] {
    /* Light Theme Backgrounds */
    --bg-dark: #ffffff;
    --bg-darker: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(248, 249, 250, 0.98);
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    /* Light Theme Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    /* Light Theme Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);
    --shadow-orange: 0 0 30px rgba(249, 115, 22, 0.4);
    --shadow-3d: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(249, 115, 22, 0.2);
    
    /* Light Theme Borders */
    --border-color: #e2e8f0;
    
    /* Light Theme Gradients */
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
}

/* ========================================
   Base Styles & Typography
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mode Clair - Background */
[data-theme="light"] body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #14141f 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mode Clair - Background */
[data-theme="light"] body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Animated 3D/4D Background Elements (optimisé pour performance) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f97316' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    animation: backgroundMove 60s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(249, 115, 22, 0.02) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(251, 146, 60, 0.02) 50%, transparent 100%);
    background-size: 300px 300px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    will-change: transform;
    transform: translateZ(0);
    animation: gridMove 40s linear infinite;
}

/* 3D Animated Background Particles */
body {
    position: relative;
}

body::before {
    animation: backgroundMove 30s linear infinite, backgroundRotate 60s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(10px, 10px, 0);
    }
    50% {
        transform: translate3d(-10px, 20px, 0);
    }
    75% {
        transform: translate3d(20px, -10px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes backgroundRotate {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate3d(0, 0, 0) rotate(180deg) scale(1.05);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(360deg) scale(1);
    }
}

@keyframes gridMove {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(300px, 300px, 0);
    }
}

/* Optimisation des transitions pour performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Isolation des animations pour meilleure performance */
.product-card,
.category-card,
.stat-card {
    contain: layout style paint;
    will-change: transform;
    transform: translateZ(0);
}


main {
    position: relative;
    z-index: 1;
}

/* Floating 3D Elements */
.animated-bg-element {
    position: fixed;
    width: 200px;
    height: 200px;
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: float3D 20s ease-in-out infinite;
}

.animated-bg-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.animated-bg-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.animated-bg-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 35s;
}

@keyframes float3D {
    0%, 100% {
        transform: translate(0, 0) translateZ(0) rotateY(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) translateZ(50px) rotateY(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 80px) translateZ(100px) rotateY(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(80px, 30px) translateZ(50px) rotateY(270deg);
        opacity: 0.5;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* ========================================
   Keyframe Animations
   ======================================== */

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: rotateY(5deg) rotateX(2deg);
    }
    100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-20px) translateZ(10px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(249, 115, 22, 0.8), 0 0 60px rgba(251, 146, 60, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ========================================
   Navigation - Glassmorphism
   ======================================== */

.navbar-custom {
    background: rgba(20, 20, 31, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(249, 115, 22, 0.25);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(249, 115, 22, 0.15);
    animation: fadeInDown 0.6s ease-out;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 20px rgba(249, 115, 22, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    perspective: var(--perspective);
}

.navbar-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.4));
}

.navbar-logo:hover {
    transform: scale(1.1) translateZ(20px);
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.7));
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    z-index: -1;
    opacity: 0.1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.btn-register {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: 2px solid var(--accent) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius-full) !important;
    font-weight: 700 !important;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4) !important;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:hover::before {
    width: 300px;
    height: 300px;
}

.btn-register:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px) translateZ(10px);
}

/* Cart Icon */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    margin-right: 0;
}

.theme-toggle:hover {
    background: var(--bg-card);
    color: var(--accent);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: var(--transition-fast);
    margin-right: 0;
    line-height: 1;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: var(--transition-fast);
    margin-right: 0;
    line-height: 1;
}

.cart-link {
    position: relative;
    perspective: var(--perspective);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Search Form */
.search-form .input-group {
    border-radius: var(--border-radius-full);
    overflow: hidden;
    border: 2px solid rgba(249, 115, 22, 0.35);
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.search-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    background: rgba(30, 30, 45, 0.85);
}

.search-form .form-control {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.search-form .form-control::placeholder {
    color: var(--text-muted);
}

.search-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.btn-search {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-normal);
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Dropdown */
.dropdown-menu {
    background: rgba(20, 20, 31, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.25);
    animation: fadeInDown 0.3s ease-out;
}

[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--text-secondary) !important;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-weight: 500;
}

[data-theme="light"] .dropdown-item {
    color: #1a1a2e !important;
}

.dropdown-item:hover {
    background: var(--gradient-primary) !important;
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: var(--border-color);
}

/* ========================================
   Hero Section - 3D Effects
   ======================================== */

.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 10rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    perspective: var(--perspective);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(251, 146, 60, 0.12) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f97316' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: float 20s ease-in-out infinite, backgroundRotate 60s linear infinite;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: var(--perspective);
    animation: slideInRight 0.8s ease-out;
}

.hero-logo-large {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.hero-logo-large img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(249, 115, 22, 0.6));
    animation: float 6s ease-in-out infinite, rotate3D 10s ease-in-out infinite;
    transition: var(--transition-slow);
}

.hero-logo-large:hover img {
    transform: rotateY(15deg) rotateX(5deg) translateZ(30px) scale(1.1);
    filter: drop-shadow(0 0 80px rgba(249, 115, 22, 0.9));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: var(--bg-dark);
}

/* ========================================
   Stats Section - 3D Cards
   ======================================== */

.stats-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(249, 115, 22, 0.15);
    animation: fadeInUp 0.6s ease-out both;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card:hover {
    transform: translateY(-12px) translateZ(20px) rotateX(2deg);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary);
    background: rgba(30, 30, 45, 0.85);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.stat-card:hover .stat-icon {
    transform: rotateY(360deg) scale(1.1) translateZ(20px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header h2 i {
    color: var(--accent);
    margin-right: 0.75rem;
    animation: pulse 2s ease-in-out infinite;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
}

/* ========================================
   Categories Section - 3D Flip Cards
   ======================================== */

.categories-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
    display: block;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: var(--perspective);
    box-shadow: var(--shadow-sm), 0 0 20px rgba(249, 115, 22, 0.15);
    animation: fadeInUp 0.6s ease-out both;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-slow);
    transform: rotate(45deg);
}

.category-card:hover::before {
    opacity: 0.1;
    top: -100%;
    left: -100%;
}

.category-card:hover {
    transform: translateY(-15px) translateZ(30px) rotateY(5deg);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary);
    background: rgba(30, 30, 45, 0.85);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
}

.category-card:hover .category-icon {
    transform: rotateY(360deg) scale(1.15) translateZ(30px);
    box-shadow: var(--shadow-glow);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   Products Grid - 3D Cards
   ======================================== */

.new-products-section {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(249, 115, 22, 0.15);
    animation: fadeInUp 0.6s ease-out both;
}

[data-theme="light"] .product-card {
    background: white !important;
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .product-card .product-info,
[data-theme="light"] .product-card .product-footer {
    background: white !important;
}

[data-theme="light"] .product-card .product-name {
    color: #1a1a2e !important;
}

[data-theme="light"] .product-card .product-description {
    color: #4a5568 !important;
}

[data-theme="light"] .product-card .product-price {
    color: var(--primary) !important;
}

[data-theme="light"] .product-card .category-badge {
    background: rgba(249, 115, 22, 0.1) !important;
    color: var(--primary) !important;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 0.03;
}

.product-card:hover {
    transform: translateY(-15px) translateZ(30px) rotateX(2deg);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary);
    background: rgba(30, 30, 45, 0.9);
}


.product-image {
    height: 250px;
    background: rgba(15, 15, 30, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.product-card:hover .product-image::before {
    opacity: 0.05;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    position: relative;
    z-index: 0;
    transform-style: preserve-3d;
}

.product-card:hover .product-image img {
    transform: scale(1.15) translateZ(20px);
}

.no-image {
    color: var(--text-muted);
    font-size: 4rem;
    position: relative;
    z-index: 0;
}

.product-info {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.product-category {
    display: inline-block;
    background: rgba(249, 115, 22, 0.25);
    color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(249, 115, 22, 0.4);
}

.product-card:hover .product-category {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.product-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-stock {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-stock.in-stock {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.product-stock.in-stock i {
    color: #10b981;
    font-size: 1rem;
}

.product-stock.out-stock {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.product-stock.out-stock i {
    color: #ef4444;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

/* ========================================
   Buttons - 3D Effects
   ======================================== */

.btn {
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-full);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-4px) translateZ(15px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-warning {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px) translateZ(15px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--text-muted);
    transform: translateY(-4px) translateZ(15px);
}

.btn-outline-light {
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
    background: rgba(249, 115, 22, 0.15) !important;
    font-weight: 700 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3) !important;
}

.btn-outline-light:hover {
    background: var(--gradient-primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.6) !important;
    transform: translateY(-3px) translateZ(10px);
}

.btn-light {
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
    border-color: var(--primary);
    transform: translateY(-4px) translateZ(15px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

/* ========================================
   Forms - Modern Style
   ======================================== */

.form-control,
.form-select {
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(249, 115, 22, 0.35);
    color: var(--text-primary);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    background: rgba(30, 30, 45, 0.85);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25), var(--shadow-glow);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* ========================================
   Products Page
   ======================================== */

.products-page {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.page-header h1 i {
    color: var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

.page-header .lead {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.filters-section {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: var(--shadow-md), 0 0 20px rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .filters-form {
    background: white !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}

.search-box .form-control {
    padding-left: 3.5rem;
}

[data-theme="light"] .search-box .form-control {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .search-box .form-control:focus {
    background: white !important;
    border-color: var(--accent) !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .search-box i {
    color: #4a5568 !important;
}

[data-theme="light"] .filter-group .form-select {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .filter-group .form-select:focus {
    background: white !important;
    border-color: var(--accent) !important;
    color: #1a1a2e !important;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

[data-theme="light"] .results-info {
    background: white !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .results-info p,
[data-theme="light"] .results-info span {
    color: #1a1a2e !important;
}

.results-info span {
    color: var(--text-secondary);
    font-weight: 600;
}

[data-theme="light"] .results-info span {
    color: #1a1a2e !important;
}

.no-products {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(20, 20, 31, 0.65);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(249, 115, 22, 0.35);
    animation: fadeIn 0.8s ease-out;
}

.no-products i {
    font-size: 5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-products h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.no-products p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ========================================
   Product Details Page
   ======================================== */

.product-details-page {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

.product-image-section .main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.product-image-section .main-image:hover {
    transform: scale(1.02) translateZ(10px);
    box-shadow: var(--shadow-xl);
}

.stock-section {
    margin: 1.5rem 0;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.stock-status.in-stock {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-weight: 700;
}

.stock-status.in-stock i {
    color: #10b981;
    font-size: 1.1rem;
}

.stock-status.out-of-stock {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-weight: 700;
}

.stock-status.out-of-stock i {
    color: #ef4444;
    font-size: 1.1rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, rgba(20, 20, 31, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(249, 115, 22, 0.25);
    border-bottom: 1px solid rgba(249, 115, 22, 0.25);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f97316' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: float 20s ease-in-out infinite, backgroundRotate 60s linear infinite;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: white;
}

.cta-content p {
    font-size: 1.35rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    color: white;
}

.cta-actions {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ========================================
   Auth Pages (Login, Register) - Professional
   ======================================== */

.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(251, 146, 60, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: authGlow 8s ease-in-out infinite;
}

@keyframes authGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.auth-container {
    background: rgba(20, 20, 31, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(249, 115, 22, 0.2);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    animation: fadeInUp 0.8s ease-out;
    transition: var(--transition-normal);
}

.auth-container:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.5);
}

.auth-container.register {
    max-width: 700px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.auth-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5), var(--shadow-md);
    position: relative;
    transform-style: preserve-3d;
    transition: var(--transition-normal);
    animation: pulse 3s ease-in-out infinite;
}

.auth-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.auth-container:hover .auth-icon {
    transform: rotateY(360deg) scale(1.1) translateZ(20px);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.7), var(--shadow-lg);
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.auth-form {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.auth-form .form-floating {
    margin-bottom: 1.5rem;
    position: relative;
}

.auth-form .form-floating .form-control {
    background: rgba(30, 30, 45, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(249, 115, 22, 0.3);
    color: var(--text-primary);
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition-normal);
    height: calc(3.5rem + 2px);
    line-height: 1.5;
}

.auth-form .form-floating .form-control:focus {
    background: rgba(30, 30, 45, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2), var(--shadow-glow);
    transform: translateY(-2px);
    padding-top: 1.75rem;
    padding-bottom: 0.25rem;
}

.auth-form .form-floating .form-control::placeholder {
    color: transparent;
}

.auth-form .form-floating label {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 1.5rem 1.5rem;
    font-size: 0.95rem;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: var(--transition-normal);
    transform-origin: 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
}

.auth-form .form-floating .form-control:focus ~ label,
.auth-form .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-light);
    transform: scale(0.85) translateY(-0.25rem) translateX(0.5rem);
    padding: 0.5rem 1.5rem;
    opacity: 1;
    height: auto;
}

.auth-form .form-floating label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.form-check {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(30, 30, 45, 0.7);
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-check-label {
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: var(--transition-fast);
}

.form-check-label:hover {
    color: var(--text-primary);
}

.auth-form .btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: var(--transition-normal);
}

.auth-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.auth-form .btn-primary:hover {
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.6), var(--shadow-glow);
}

.auth-form .btn-success {
    background: var(--gradient-success);
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.auth-form .btn-success:hover {
    transform: translateY(-4px) translateZ(15px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.auth-form .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-form .btn:hover::before {
    width: 400px;
    height: 400px;
}

.auth-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.auth-footer a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.auth-footer a:hover::after {
    width: 100%;
}

.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.alert-danger i {
    margin-right: 0.5rem;
    color: #ef4444;
}

.form-section {
    background: rgba(30, 30, 45, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    animation: fadeInUp 0.6s ease-out both;
}

.form-section:hover {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(30, 30, 45, 0.7);
    transform: translateY(-2px);
}

.form-section h5 {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h5 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.text-danger {
    color: #fca5a5 !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(249, 115, 22, 0.25);
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: footerGlow 10s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.5));
    transition: var(--transition-normal);
}

.footer-logo:hover {
    filter: drop-shadow(0 0 25px rgba(249, 115, 22, 0.7));
    transform: scale(1.05);
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.footer-social h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(249, 115, 22, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition-normal);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px) translateZ(10px) scale(1.1);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.8);
}

[data-theme="light"] .social-icons a {
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
}

[data-theme="light"] .social-icons a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.footer-commitments {
    position: relative;
    z-index: 1;
}

.footer-commitments h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.commitment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(20, 20, 31, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.commitment-item:hover {
    background: rgba(30, 30, 45, 0.6);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.commitment-item i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.commitment-item:hover i {
    transform: scale(1.1);
    color: var(--primary-light);
}

.commitment-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

[data-theme="light"] .commitment-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .commitment-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

[data-theme="light"] .commitment-item span {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .commitment-item {
        padding: 0.75rem;
    }
    
    .commitment-item i {
        font-size: 1.5rem;
    }
    
    .commitment-item span {
        font-size: 0.8rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(249, 115, 22, 0.25);
    position: relative;
    z-index: 1;
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .product-details-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1rem 7rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .filters-form {
        flex-direction: column;
    }
    
    .search-box,
    .filter-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */

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

.fade-in-on-scroll {
    opacity: 0;
    animation: scrollFadeIn 0.8s ease-out forwards;
}

/* ========================================
   Utility Classes
   ======================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Promotions & Black Friday Styles
   ======================================== */

.black-friday-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.1) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.black-friday-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(251, 146, 60, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.black-friday-section .container {
    position: relative;
    z-index: 1;
}

.black-friday-section .section-header {
    position: relative;
    z-index: 1;
}

.black-friday-section .products-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.black-friday-section .product-card {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.black-friday-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.black-friday-title h2 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.black-friday-title i {
    color: var(--accent);
    font-size: 2.5rem;
    animation: fire 1.5s ease-in-out infinite;
}

@keyframes fire {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

.promotion-badge {
    display: inline-block;
    background: var(--gradient-orange);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    animation: glow 2s ease-in-out infinite;
}

.promotion-badge-large {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-orange);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.7);
    z-index: 10;
    animation: glow 2s ease-in-out infinite;
}

.promotion-banner {
    background: var(--gradient-orange);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    animation: glow 2s ease-in-out infinite;
}

.promotion-banner i {
    font-size: 1.5rem;
    animation: fire 1.5s ease-in-out infinite;
}

.promotion-banner span {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promotion-banner small {
    margin-left: auto;
    opacity: 0.9;
}

.promotion-card {
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.4);
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { 
        box-shadow: 0 0 40px rgba(249, 115, 22, 0.4);
        border-color: var(--accent);
    }
    50% { 
        box-shadow: 0 0 60px rgba(249, 115, 22, 0.7);
        border-color: var(--primary-light);
    }
}

.promotion-card:hover {
    transform: translateY(-20px) translateZ(40px) rotateX(3deg);
    box-shadow: 0 0 80px rgba(249, 115, 22, 0.8);
}

.price-with-promotion {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-with-promotion .original-price,
.product-price.original-price,
.price.original-price {
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #fff !important;
    text-decoration-style: solid !important;
    -webkit-text-decoration-line: line-through !important;
    -webkit-text-decoration-thickness: 2px !important;
    -webkit-text-decoration-color: #fff !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-size: 1rem;
    font-weight: 500;
    opacity: 1 !important;
    position: relative;
    display: inline-block;
}

.price-with-promotion .discounted-price {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
}

.product-footer .price-with-promotion .discounted-price {
    font-size: 1.2rem;
}

.discount-amount {
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.price-section .price-with-promotion {
    margin: 1rem 0;
}

.price-section .price-with-promotion .discounted-price {
    font-size: 2.5rem;
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    }
    50% { 
        box-shadow: 0 0 40px rgba(249, 115, 22, 0.8);
    }
}

/* ========================================
   Mode Clair - Styles supplémentaires
   ======================================== */

[data-theme="light"] .category-card,
[data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(249, 115, 22, 0.2);
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="light"] .btn-outline-primary:hover {
    background: var(--accent);
    color: white;
}

[data-theme="light"] .price-with-promotion .original-price,
[data-theme="light"] .product-price.original-price,
[data-theme="light"] .price.original-price {
    color: #666 !important;
    text-decoration-color: #666 !important;
    -webkit-text-fill-color: #666 !important;
}

/* ========================================
   Mode Sombre - S'assurer que les éléments sont sombres
   ======================================== */

[data-theme="dark"] .auth-container {
    background: rgba(20, 20, 31, 0.85) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(249, 115, 22, 0.2);
}

[data-theme="dark"] .form-control {
    background: rgba(30, 30, 45, 0.6) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:focus {
    background: rgba(30, 30, 45, 0.8) !important;
    border-color: var(--accent) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

[data-theme="dark"] .form-floating > label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .form-select {
    background: rgba(30, 30, 45, 0.6) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-select:focus {
    background: rgba(30, 30, 45, 0.8) !important;
    border-color: var(--accent) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

[data-theme="dark"] .admin-orders-page .orders-list-section,
[data-theme="dark"] .admin-orders-page .order-details-section {
    background: rgba(20, 20, 31, 0.85) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.15);
}

[data-theme="dark"] .admin-table th {
    background: rgba(30, 30, 45, 0.6) !important;
    color: var(--primary-light) !important;
}

[data-theme="dark"] .admin-table td {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .admin-table tr.selected {
    background: rgba(249, 115, 22, 0.15) !important;
    border-left: 3px solid var(--primary);
}

[data-theme="dark"] .admin-table tr:hover {
    background: rgba(30, 30, 45, 0.5) !important;
}

[data-theme="dark"] .order-details-section .info-section {
    background: rgba(30, 30, 45, 0.6) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

[data-theme="dark"] .order-details-section .info-section h3 {
    color: var(--primary-light) !important;
}

[data-theme="dark"] .order-details-section .info-section p,
[data-theme="dark"] .order-details-section .info-section label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .order-details-section .info-section strong {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .order-item-card {
    background: rgba(30, 30, 45, 0.6) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

[data-theme="dark"] .order-item-card .item-name {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .order-item-card .item-price {
    color: var(--primary-light) !important;
}

/* ========================================
   Mode Clair - Pages d'authentification
   ======================================== */

[data-theme="light"] .auth-container {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 40px rgba(249, 115, 22, 0.1);
}

[data-theme="light"] .auth-header h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .auth-header p {
    color: #4a5568;
}

[data-theme="light"] .form-floating > label {
    color: #4a5568;
}

[data-theme="light"] .form-control {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .form-control:focus {
    background: #ffffff !important;
    border-color: var(--accent) !important;
    color: #1a1a2e !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

/* ========================================
   Mode Clair - Pages d'administration
   ======================================== */

[data-theme="light"] .admin-orders-page .orders-list-section,
[data-theme="light"] .admin-orders-page .order-details-section {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px rgba(249, 115, 22, 0.1);
}

[data-theme="light"] .admin-orders-page .orders-list-section h2,
[data-theme="light"] .admin-orders-page .order-details-section h2 {
    color: var(--primary) !important;
}

[data-theme="light"] .admin-table th {
    background: rgba(249, 115, 22, 0.1) !important;
    color: var(--primary) !important;
}

[data-theme="light"] .admin-table td {
    color: #1a1a2e !important;
}

[data-theme="light"] .admin-table tr.selected {
    background: rgba(249, 115, 22, 0.15) !important;
    border-left: 3px solid var(--primary);
}

[data-theme="light"] .admin-table tr:hover {
    background: rgba(249, 115, 22, 0.08) !important;
}

[data-theme="light"] .admin-orders-page .page-header h1 {
    color: var(--primary) !important;
}

[data-theme="light"] .admin-orders-page .page-header .btn-outline-secondary {
    border-color: rgba(249, 115, 22, 0.3);
    color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

[data-theme="light"] .admin-orders-page .page-header .btn-outline-secondary:hover {
    border-color: var(--primary);
    color: white;
    background: var(--gradient-primary);
}

[data-theme="light"] .status-badge {
    color: #1a1a2e !important;
}

[data-theme="light"] .order-details-section .info-section {
    background: rgba(248, 249, 250, 0.8) !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

[data-theme="light"] .order-details-section .info-section h3 {
    color: var(--primary) !important;
}

[data-theme="light"] .order-details-section .info-section p,
[data-theme="light"] .order-details-section .info-section label {
    color: #4a5568 !important;
}

[data-theme="light"] .order-details-section .info-section strong {
    color: #1a1a2e !important;
}

[data-theme="light"] .order-item-card {
    background: rgba(248, 249, 250, 0.8) !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

[data-theme="light"] .order-item-card .item-name {
    color: #1a1a2e !important;
}

[data-theme="light"] .order-item-card .item-price {
    color: var(--primary) !important;
}

[data-theme="light"] .form-select {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .form-select:focus {
    background: #ffffff !important;
    border-color: var(--accent) !important;
    color: #1a1a2e !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

/* ========================================
   Mode Sombre - Page Mes commandes (par défaut)
   ======================================== */

.orders-page .order-card {
    background: rgba(20, 20, 31, 0.85) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.15);
}

[data-theme="dark"] .orders-page .order-card {
    background: rgba(20, 20, 31, 0.85) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(249, 115, 22, 0.15);
}

.orders-page .order-card .order-info h3 {
    color: var(--primary-light) !important;
}

[data-theme="dark"] .orders-page .order-card .order-info h3 {
    color: var(--primary-light) !important;
}

.orders-page .order-card .order-date {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .orders-page .order-card .order-date {
    color: var(--text-secondary) !important;
}

.orders-page .order-card .order-items h4 {
    color: var(--primary-light) !important;
}

.orders-page .order-card .order-item {
    background: rgba(30, 30, 45, 0.6);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.orders-page .order-card .item-name {
    color: var(--text-primary) !important;
}

.orders-page .order-card .item-quantity {
    color: var(--text-secondary) !important;
}

.orders-page .order-card .item-price {
    color: var(--primary-light) !important;
}

.orders-page .order-card .order-shipping p {
    color: var(--text-secondary) !important;
}

.orders-page .order-card .order-shipping strong {
    color: var(--text-primary) !important;
}

.orders-page .order-card .total-label {
    color: var(--text-secondary) !important;
}

.orders-page .order-card .total-amount {
    color: var(--primary-light) !important;
}

.orders-page .order-header {
    border-bottom-color: rgba(249, 115, 22, 0.3) !important;
}

.orders-page .order-items {
    border-bottom-color: rgba(249, 115, 22, 0.3) !important;
}

.orders-page .page-header h1 {
    color: var(--primary-light) !important;
}

.orders-page .page-header p {
    color: var(--text-secondary) !important;
}

/* ========================================
   Mode Clair - Page Mes commandes
   ======================================== */

[data-theme="light"] .orders-page .order-card {
    background: white !important;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .orders-page .order-card .order-info h3 {
    color: var(--primary) !important;
}

[data-theme="light"] .orders-page .order-card .order-date {
    color: #4a5568 !important;
}

[data-theme="light"] .orders-page .order-card .order-items h4 {
    color: var(--primary) !important;
}

[data-theme="light"] .orders-page .order-card .item-name {
    color: #1a1a2e !important;
}

[data-theme="light"] .orders-page .order-card .item-quantity {
    color: #4a5568 !important;
}

[data-theme="light"] .orders-page .order-card .item-price {
    color: var(--primary) !important;
}

[data-theme="light"] .orders-page .order-card .order-shipping p {
    color: #4a5568 !important;
}

[data-theme="light"] .orders-page .order-card .order-shipping strong {
    color: #1a1a2e !important;
}

[data-theme="light"] .orders-page .order-card .total-label {
    color: #4a5568 !important;
}

[data-theme="light"] .orders-page .order-card .total-amount {
    color: var(--primary) !important;
}

[data-theme="light"] .orders-page .order-header {
    border-bottom-color: #dee2e6 !important;
}

[data-theme="light"] .orders-page .order-items {
    border-bottom-color: #dee2e6 !important;
}

[data-theme="light"] .orders-page .order-footer {
    border-top-color: #dee2e6 !important;
}

[data-theme="light"] .orders-page .order-item {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6;
}

[data-theme="light"] .orders-page .page-header h1 {
    color: var(--primary) !important;
}

[data-theme="light"] .orders-page .page-header p {
    color: #4a5568 !important;
}

/* Badges de statut en mode clair */
[data-theme="light"] .orders-page .status-badge.status-pending {
    background: #fff3cd !important;
    color: #856404 !important;
}

[data-theme="light"] .orders-page .status-badge.status-confirmed {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
}

[data-theme="light"] .orders-page .status-badge.status-shipped {
    background: #cce5ff !important;
    color: #004085 !important;
}

[data-theme="light"] .orders-page .status-badge.status-delivered {
    background: #d4edda !important;
    color: #155724 !important;
}

[data-theme="light"] .orders-page .empty-state h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] .orders-page .empty-state p {
    color: #4a5568 !important;
}

[data-theme="light"] .orders-page .empty-state i {
    color: #4a5568 !important;
}

/* Badges de statut (par défaut - mode sombre) */
.orders-page .status-badge.status-pending {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #f59e0b !important;
}

.orders-page .status-badge.status-confirmed {
    background: rgba(249, 115, 22, 0.25) !important;
    color: var(--primary-light) !important;
}

.orders-page .status-badge.status-shipped {
    background: rgba(8, 145, 178, 0.2) !important;
    color: #0891b2 !important;
}

.orders-page .status-badge.status-delivered {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
}

.orders-page .empty-state h2 {
    color: var(--text-primary) !important;
}

.orders-page .empty-state p {
    color: var(--text-secondary) !important;
}

.orders-page .empty-state i {
    color: var(--text-secondary) !important;
}
