/*
═══════════════════════════════════════════════════════════════════════════
N-VERSE E-COMMERCE - ULTRA PREMIUM DARK LUXURY STYLESHEET
Your world. Your rules. Our solutions.
Powered by Nexus Studio: Digital Innovation
═══════════════════════════════════════════════════════════════════════════
*/

/* ═══════════════════════════════════════════════════════════════════════
   IMPORT FONTS
   ═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════
   CSS VARIABLES - COLOR PALETTE & DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --color-gold: #FFD700;
    --color-deep-navy: #0A1F44;
    --color-deeper-navy: #05111F;
    --color-cyan: #00D9FF;
    --color-purple: #6B2C91;
    --color-cosmic-blue: #1E3A8A;
    --color-orange: #FF6B35;
    
    /* Text Colors */
    --color-text-light: #E5E7EB;
    --color-text-gray: #D1D5DB;
    --color-text-dark: #9CA3AF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A1F44 0%, #05111F 100%);
    --gradient-secondary: linear-gradient(180deg, #05111F 0%, #0A1F44 50%, #05111F 100%);
    --gradient-cyan: linear-gradient(90deg, #00D9FF, #0099CC);
    --gradient-gold: linear-gradient(90deg, #FFD700, #FFA500);
    --gradient-purple: radial-gradient(circle at center, rgba(107, 44, 145, 0.1), transparent);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;
    --spacing-3xl: 120px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 8px 25px rgba(255, 215, 0, 0.4);
    --shadow-cyan: 0 8px 25px rgba(0, 217, 255, 0.4);
    
    /* Effects */
    --blur-sm: 10px;
    --blur-md: 20px;
    --blur-lg: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-primary);
    color: var(--color-text-light);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Selection */
::selection {
    background: var(--color-gold);
    color: var(--color-deeper-navy);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-deeper-navy);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-deeper-navy);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold), var(--color-orange));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-subheading);
    color: var(--color-cyan);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-family: var(--font-subheading);
    color: var(--color-cyan);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-gray);
}

a {
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition-normal);
}

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

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-cyan {
    color: var(--color-cyan);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.py-xl {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.6);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.btn-outlined {
    background: transparent;
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
}

.btn-outlined:hover {
    background: var(--gradient-cyan);
    color: white;
    border-color: transparent;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* Ripple Effect */
.btn::after {
    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:active::after {
    width: 300px;
    height: 300px;
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVBAR / HEADER
   ═══════════════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 31, 68, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(5, 17, 31, 0.95);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.7);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-logo img {
    height: 50px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    transition: var(--transition-normal);
}

.navbar-logo:hover img {
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    font-weight: 700;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    font-family: var(--font-subheading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    padding: 8px 0;
    position: relative;
    transition: var(--transition-normal);
}

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

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-cyan);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.navbar-icon {
    position: relative;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.navbar-icon:hover {
    color: var(--color-cyan);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-gold);
    color: var(--color-deeper-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.cart-total {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--color-gold);
    margin-left: 8px;
}

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

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

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

/* Scroll Progress Bar — see navbar-enhanced.css for actual styles */
/* .scroll-progress { } — removed to avoid conflict with navbar-enhanced.css */

/* ═══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05), transparent);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem; /* Reduced from var(--spacing-3xl) */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Reduced vertical spacing */
}

.hero-logo {
    height: 180px;
    width: auto;
    max-width: 90%;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
    animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1), pulse-glow 2s infinite;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-title {
    animation: fadeInUp 1s 0.3s backwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeInUp 1s 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.9s backwards;
    margin-bottom: var(--spacing-2xl);
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 215, 0, 0.7);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 5;
}

.scroll-indicator i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--color-gold), transparent);
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

/* Professional spacing for blocks */
.container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
}

img {
    margin-bottom: var(--spacing-sm);
}

.card, .product-card, .dimension-card {
    margin-bottom: var(--spacing-lg);
}

/* ═══════════════════════════════════════════════════════════════════════
   DIMENSION CARDS (Three Dimensions Section)
   ═══════════════════════════════════════════════════════════════════════ */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.dimension-card {
    background: rgba(10, 31, 68, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.dimension-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.dimension-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.dimension-card:hover::before {
    opacity: 1;
}

.dimension-icon {
    font-size: 5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.dimension-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.dimension-label {
    font-family: var(--font-subheading);
    font-size: 1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.dimension-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.dimension-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 127, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 17, 31, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.dimension-card.coming-soon {
    opacity: 0.7;
}

.dimension-card.coming-soon:hover {
    transform: scale(1.02);
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-xl);
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}

.product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.product-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-orange);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.product-wishlist {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.product-wishlist:hover {
    background: var(--color-gold);
    transform: scale(1.1);
}

.product-wishlist i {
    color: white;
    font-size: 1.2rem;
}

.product-quick-view {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-cyan);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

.product-card:hover .product-quick-view {
    bottom: 15px;
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 0.85rem;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-stars {
    color: var(--color-gold);
}

.product-reviews {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-sm);
}

.product-price-old {
    font-size: 1rem;
    color: var(--color-text-dark);
    text-decoration: line-through;
}

.product-price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.product-add-cart {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    font-family: var(--font-subheading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.product-add-cart:hover {
    background: var(--gradient-cyan);
    color: white;
    border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════
   WHY N-VERSE SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.why-nverse {
    background: var(--color-deeper-navy);
    position: relative;
    overflow: hidden;
}

.why-nverse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.why-text h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.why-text h4 {
    margin-bottom: var(--spacing-lg);
}

.features-list {
    display: grid;
    gap: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    flex-shrink: 0;
}

.feature-content h5 {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--color-text-gray);
}

.why-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--gradient-purple);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: rgba(10, 31, 68, 0.6);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
}

.testimonial-info h5 {
    font-family: var(--font-subheading);
    color: white;
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* ═══════════════════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════════════════ */
.newsletter {
    background: linear-gradient(90deg, var(--color-deeper-navy), rgba(255, 215, 0, 0.1));
    text-align: center;
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

.newsletter h2 {
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    gap: 0;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-right: none;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.newsletter-input:focus {
    border-color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.newsletter-input::placeholder {
    color: var(--color-text-dark);
}

.newsletter-submit {
    padding: 15px 30px;
    background: var(--gradient-gold);
    border: none;
    color: white;
    font-family: var(--font-subheading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-submit:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
    background: linear-gradient(180deg, #05111F 0%, #0A1F44 50%, #05111F 100%);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, #FFD700, #00D9FF, #FFD700, transparent) 1;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.05), transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(0, 217, 255, 0.03), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(255, 107, 53, 0.03), transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    font-family: 'Cinzel', serif;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #00D9FF);
    border-radius: 2px;
}

.footer-logo {
    width: 400px;
    max-width: 100%;
    margin-bottom: var(--spacing-sm);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

.footer-tagline {
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #00D9FF);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    border-color: #00D9FF;
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

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

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

.footer-links a {
    color: var(--color-text-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-cyan);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-gray);
    margin-bottom: 8px;
}

.footer-contact strong {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
    background: rgba(5, 17, 31, 0.5);
    margin: 0 calc(var(--spacing-md) * -1);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.footer-copyright {
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.footer-payments {
    display: flex;
    gap: var(--spacing-sm);
    opacity: 0.5;
    filter: grayscale(100%);
}

.footer-payments img {
    height: 30px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.9));
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Particle Animation Variants */
.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; }

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════ */

/* Tablets */
@media (max-width: 991px) {
    .navbar-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .hero-logo {
        width: 300px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --spacing-3xl: 60px;
        --spacing-2xl: 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 280px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 14px 30px;
    }
    
    .dimensions-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-md);
    }
    
    .newsletter-input {
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    .newsletter-submit {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY ANIMATIONS (AOS-like)
   ═══════════════════════════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.8s forwards;
}

/* Stagger delays for child elements */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ═══════════════════════════════════════════════════════════════════════
   LOGO FIXES - Correct sizes and proportions
   ═══════════════════════════════════════════════════════════════════════ */
.hero-logo {
    width: 600px !important;
    height: auto !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 auto var(--spacing-lg) !important;
    object-fit: contain !important;
}

.footer-logo {
    width: 450px !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    margin-bottom: var(--spacing-md) !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.2)) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT CARDS - E-COMMERCE
   ═══════════════════════════════════════════════════════════════════════ */

.product-card {
    background: rgba(10, 31, 68, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FF4757, #D32F2F);
    color: #FFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-subheading);
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0A1F44;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-subheading);
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

.product-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 12px;
    min-height: 50px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.star {
    color: #FFD700;
    font-size: 16px;
}

.star-empty {
    color: rgba(255, 215, 0, 0.2);
}

.review-count {
    font-size: 14px;
    color: #B0B8C8;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    margin-top: auto;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #00D9FF;
    font-family: var(--font-subheading);
    line-height: 1;
}

.product-price-old {
    font-size: 16px;
    color: #6B7280;
    text-decoration: line-through;
    margin-left: 8px;
}

.stock-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

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

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

.product-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #00D9FF, #0099CC);
    color: #FFF;
    border: 2px solid #FFD700;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--font-subheading);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #0099CC, #0077AA);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
    border-color: #00D9FF;
}

.btn-add-to-cart:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-wishlist {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 10px;
    color: #FFD700;
    font-size: 20px;
}

.btn-wishlist:hover {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0A1F44;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn-wishlist.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0A1F44;
}

.btn-wishlist.active i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCTS GRID
   ═══════════════════════════════════════════════════════════════════════ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .product-image {
        padding-top: 80%; /* Slightly taller on mobile */
    }
    
    .product-name {
        font-size: 16px;
        min-height: 44px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .btn-add-to-cart {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   LOADER & ERROR STATES
   ═══════════════════════════════════════════════════════════════════════ */

.loader-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.no-products,
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #B0B8C8;
}

.error-message {
    color: #EF4444;
}

/* Old styles kept for compatibility */
.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.wishlist-btn:hover {
    background: var(--color-gold);
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 1.2rem;
    color: var(--color-deep-navy);
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCTS GRID & FILTERS
   ═══════════════════════════════════════════════════════════════════════ */

.products-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.filters-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-section select,
.filter-section input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.filter-section select:focus,
.filter-section input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.2rem;
    color: var(--color-text-dark);
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════ */

.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--color-gold);
    color: var(--color-deep-navy);
    border-color: var(--color-gold);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.pagination-page {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pagination-page:hover,
.pagination-page.active {
    background: var(--color-gold);
    color: var(--color-deep-navy);
    border-color: var(--color-gold);
}

.pagination-dots {
    padding: 0 0.5rem;
    color: var(--color-text-dark);
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

#product-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-gold);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 1rem;
}

#product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

#product-description {
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--color-text-light);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.qty-btn:hover {
    background: var(--color-gold);
    color: var(--color-deep-navy);
}

#quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions .btn {
    flex: 1;
}

/* Reviews Section */
.reviews-section {
    margin-top: 4rem;
}

.reviews-section h2 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 2rem;
}

#reviews-container {
    display: grid;
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.review-author {
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--color-text-gray);
    line-height: 1.7;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-dark);
}

/* ═══════════════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.cart-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

#cart-items {
    display: grid;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.2rem;
    color: var(--color-gold);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
}

.cart-item-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
}

.cart-item-remove {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    color: #ff4444;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.cart-item-remove:hover {
    background: #ff4444;
    color: white;
}

#cart-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

#cart-summary h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--color-text-gray);
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    margin-top: 1rem;
    padding-top: 1rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.empty-cart h2 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--color-text-gray);
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.checkout-form h2 {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#checkout-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

#checkout-summary h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--color-text-gray);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--color-text-gray);
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    margin-top: 1rem;
    padding-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(10, 31, 68, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    color: var(--color-text-light);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(100px);
    transition: all var(--transition-slow);
    z-index: 9999;
    min-width: 300px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-left: 4px solid #10b981;
}

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

.toast-info {
    border-left: 4px solid var(--color-cyan);
}

/* ═══════════════════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════════════════ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ═══════════════════════════════════════════════════════════════════════ */

#categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(255, 215, 0, 0.3);
}

.category-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .products-page {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 1 / -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #products-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-controls {
        flex-direction: column;
    }
    
    .toast {
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }
}
