/* ========================================
   B-22 FOOTWEAR - UNIFIED CSS FILE
   Bootstrap 5+ Compatible | Production Ready */
/* Version: 1.0 | Last Updated: 2025 */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Light Theme Colors */
    --neumorphic-bg: #f0f0f3;
    --neumorphic-bg-inset: #e6e6ea;
    --neumorphic-shadow-light: 255, 255, 255;
    --neumorphic-shadow-dark: 170, 170, 170;
    --neumorphic-border: rgba(0, 0, 0, 0.08);
    
    /* Brand Colors */
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows - using premium versions as final */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06), -2px -2px 4px rgba(255,255,255,0.8);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08), -4px -4px 8px rgba(255,255,255,0.8);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.12), -12px -12px 24px rgba(255,255,255,0.8);
    --shadow-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    
    /* Premium Shadows */
    --premium-shadow-sm: 0 2px 4px rgba(0,0,0,0.06), -2px -2px 4px rgba(255,255,255,0.8);
    --premium-shadow-md: 0 4px 8px rgba(0,0,0,0.08), -4px -4px 8px rgba(255,255,255,0.8);
    --premium-shadow-lg: 0 8px 16px rgba(0,0,0,0.1), -8px -8px 16px rgba(255,255,255,0.8);
    --premium-shadow-xl: 0 12px 24px rgba(0,0,0,0.12), -12px -12px 24px rgba(255,255,255,0.8);
    --premium-shadow-inset: inset 4px 4px 8px rgba(0,0,0,0.08), inset -4px -4px 8px rgba(255,255,255,0.8);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.3s ease;
    
    /* Product Grid Variables */
    --bg-primary: #fafbfc;
    --bg-secondary: #f1f3f4;
    --bg-tertiary: #e5e7eb;
    --border-color: #e5e7eb;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-orange: #f59e0b;
    
    /* Premium Colors */
    --premium-primary: #2563eb;
    --premium-primary-light: #3b82f6;
    --premium-primary-dark: #1d4ed8;
    --premium-success: #10b981;
    --premium-danger: #ef4444;
    --premium-warning: #f59e0b;
    --premium-gold: #fbbf24;
    
    /* Premium Gradients */
    --premium-gradient: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --premium-gradient-dark: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    
    /* Card Variables */
    --card-w: 280px;
    --bg: #ffffff;
    --shadow-dark: #d1d5db;
    --shadow-light: #ffffff;
    --card-bg: #ffffff;
    --inner-shadow-dark: #e5e7eb;
    --inner-shadow-light: #f9fafb;
}

/* Dark Theme */
[data-theme="dark"] {
    --neumorphic-bg: #2d3748;
    --neumorphic-bg-inset: #1a202c;
    --neumorphic-shadow-light: 45, 55, 72;
    --neumorphic-shadow-dark: 0, 0, 0;
    --neumorphic-border: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Product Grid Dark Theme */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: #4b5563;
    --accent-blue: #60a5fa;
    --accent-green: #34d399;
    --accent-red: #f87171;
    --accent-orange: #fbbf24;
    
    /* Dark neumorphic variables */
    --card-w: 280px;
    --bg: #1f2937;
    --shadow-dark: #111827;
    --shadow-light: #374151;
    --card-bg: #1f2937;
    --inner-shadow-dark: #111827;
    --inner-shadow-light: #374151;
    
    /* Premium Dark Shadows */
    --premium-shadow-sm: 0 2px 4px rgba(0,0,0,0.3), -2px -2px 4px rgba(255,255,255,0.05);
    --premium-shadow-md: 0 4px 8px rgba(0,0,0,0.4), -4px -4px 8px rgba(255,255,255,0.05);
    --premium-shadow-lg: 0 8px 16px rgba(0,0,0,0.5), -8px -8px 16px rgba(255,255,255,0.05);
    --premium-shadow-xl: 0 12px 24px rgba(0,0,0,0.6), -12px -12px 24px rgba(255,255,255,0.05);
    --premium-shadow-inset: inset 4px 4px 8px rgba(0,0,0,0.3), inset -4px -4px 8px rgba(255,255,255,0.05);
}

/* ==================== GLOBAL RESET ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--neumorphic-bg) 0%, #f8f9fa 100%);
    transition: all var(--transition-normal);
}

/* ==================== PRODUCT GALLERY - FRESH REDESIGN ==================== */

/* Main Image Container */
.main-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    background: var(--neumorphic-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--premium-shadow-lg);
    border: 1px solid var(--neumorphic-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--premium-shadow-xl);
}

.main-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image-container:hover .main-product-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Dark Mode Override for Main Image Container */
[data-theme="dark"] .main-image-container {
    background: #2d3748 !important;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

[data-theme="dark"] .main-image-container:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.4),
        -12px -12px 24px rgba(255, 255, 255, 0.05) !important;
}

/* Image Overlay Controls */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Action Buttons */
.image-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.main-image-container:hover .image-actions {
    opacity: 1;
    transform: translateY(0);
}

.image-action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05);
    color: #374151;
}

.image-action-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.3),
        0 6px 20px rgba(59, 130, 246, 0.2);
}

.image-action-btn i {
    font-size: 18px;
    transition: color 0.3s ease;
}

/* Dark Mode Overlay Controls */
[data-theme="dark"] .image-action-btn {
    background: rgba(45, 55, 72, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e5e7eb;
}

[data-theme="dark"] .image-action-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    margin-top: 24px;
    padding: 20px;
    background: var(--neumorphic-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--premium-shadow-md);
    border: 1px solid var(--neumorphic-border);
}

/* Dark Mode Override for Thumbnail Gallery */
[data-theme="dark"] .thumbnail-gallery {
    background: #2d3748 !important;
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.3),
        -6px -6px 12px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

/* Ultra-specific overrides to ensure dark mode works */
body[data-theme="dark"] .main-image-container {
    background: #2d3748 !important;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

body[data-theme="dark"] .thumbnail-gallery {
    background: #2d3748 !important;
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.3),
        -6px -6px 12px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

.thumbnail-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
}

.thumbnail-item {
    position: relative;
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    background: #f8fafc;
}

.thumbnail-item:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: #3b82f6;
    box-shadow: 
        0 12px 24px rgba(59, 130, 246, 0.2),
        0 6px 12px rgba(59, 130, 246, 0.1);
}

.thumbnail-item.active {
    border-color: #3b82f6;
    box-shadow: 
        0 0 0 2px rgba(59, 130, 246, 0.2),
        0 8px 16px rgba(59, 130, 246, 0.15);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Thumbnail Overlay */
.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: white;
    font-size: 24px;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay i {
    transform: scale(1);
}

/* Thumbnail Actions */
.thumbnail-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-actions {
    opacity: 1;
    transform: scale(1);
}

.thumbnail-actions .btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-actions .btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

/* ==================== NEUMORPHIC CLASSES ==================== */
.neumorphic-card {
    background: var(--neumorphic-bg);
    border-radius: var(--radius-xl);
    box-shadow: 
        8px 8px 16px rgba(var(--neumorphic-shadow-dark), 0.15),
        -8px -8px 16px rgba(var(--neumorphic-shadow-light), 0.8);
    border: 1px solid var(--neumorphic-border);
    transition: all var(--transition-normal);
    padding: var(--spacing-lg);
}

.neumorphic-inset {
    background: var(--neumorphic-bg-inset);
    box-shadow: var(--shadow-inset);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
}

.neumorphic-btn {
    background: var(--neumorphic-bg);
    border: 1px solid var(--neumorphic-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 
        4px 4px 8px rgba(var(--neumorphic-shadow-dark), 0.1),
        -4px -4px 8px rgba(var(--neumorphic-shadow-light), 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-family: var(--font-primary);
}

.neumorphic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(var(--neumorphic-shadow-dark), 0.15),
        -6px -6px 12px rgba(var(--neumorphic-shadow-light), 0.8);
}

.neumorphic-btn:active {
    transform: translateY(0);
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8);
}

.neumorphic-btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    box-shadow: 
        4px 4px 8px rgba(37, 99, 235, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.1);
}

.neumorphic-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    box-shadow: 
        6px 6px 12px rgba(37, 99, 235, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.1);
}

.neumorphic-badge {
    background: var(--neumorphic-bg);
    border: 1px solid var(--neumorphic-border);
    border-radius: var(--radius-full);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8);
}

.neumorphic-breadcrumb {
    background: var(--neumorphic-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: 
        4px 4px 8px rgba(var(--neumorphic-shadow-dark), 0.1),
        -4px -4px 8px rgba(var(--neumorphic-shadow-light), 0.8);
    border: 1px solid var(--neumorphic-border);
}

.neumorphic-thumbnail {
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--neumorphic-bg);
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8);
}

.neumorphic-thumbnail:hover,
.neumorphic-thumbnail.active {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 
        4px 4px 8px rgba(var(--neumorphic-shadow-dark), 0.15),
        -4px -4px 8px rgba(var(--neumorphic-shadow-light), 0.8);
}

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

@media (min-width: 576px) {
    .container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 768px) {
    .container { padding: 0 var(--spacing-xl); }
}

@media (min-width: 992px) {
    .container { padding: 0 var(--spacing-2xl); }
}

.main-content {
    flex-grow: 1;
    min-height: calc(100vh - 200px);
    padding: var(--spacing-lg) 0;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail-section {
    padding: 60px 0 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 100px);
    position: relative;
}

[data-theme="dark"] .product-detail-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.product-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    opacity: 0.3;
}

/* Premium Breadcrumb */
.neumorphic-breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .neumorphic-breadcrumb {
    background: rgba(30, 41, 59, 0.8);
    border-color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-link {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .breadcrumb-link {
    color: #94a3b8;
}

.breadcrumb-link:hover {
    color: #3b82f6;
}

.breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: #f1f5f9;
}

/* Enhanced Product Gallery */
.product-gallery {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .product-gallery {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.08);
}



.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

/* Enhanced Image Overlay */
.image-overlay {
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.image-overlay .neumorphic-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1e293b;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .image-overlay .neumorphic-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.image-overlay .neumorphic-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
}

/* Premium Product Badges */
.product-badges {
    z-index: 10;
}

.product-badges .neumorphic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.product-badges .badge.bg-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: 1px solid #059669;
}

.product-badges .badge.bg-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border: 1px solid #dc2626;
}

.product-badges .badge.bg-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: 1px solid #2563eb;
}

.product-badges .badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: 1px solid #d97706;
    color: white !important;
}

.product-badges .badge.bg-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    border: 1px solid #0891b2;
}

/* Enhanced Thumbnail Gallery */
.thumbnail-gallery {
    margin-top: 20px;
}

.thumbnail-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

[data-theme="dark"] .thumbnail-scroll::-webkit-scrollbar-track {
    background: #334155;
}

[data-theme="dark"] .thumbnail-scroll::-webkit-scrollbar-thumb {
    background: #64748b;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: #3b82f6;
}

.thumbnail-item.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
    border-radius: 10px;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

/* Enhanced Product Information Section */

.product-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .product-title {
    color: #f1f5f9;
}

/* Enhanced Product Meta */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .product-meta-item {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.product-meta-item i {
    color: #3b82f6;
    font-size: 0.9rem;
}

/* Enhanced Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .product-rating {
    background: linear-gradient(135deg, #334155, #475569);
    border-color: #475569;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .bi-star-fill {
    color: #f59e0b;
    font-size: 1rem;
}

.rating-stars .bi-star {
    color: #cbd5e1;
    font-size: 1rem;
}

.rating-text {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

[data-theme="dark"] .rating-text {
    color: #94a3b8;
}

.rating-count {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rating-count:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Enhanced Price Section */
.product-price-section {
    margin-bottom: 32px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    border: 1px solid #bae6fd;
}

[data-theme="dark"] .product-price-section {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
    border-color: #1e40af;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #3b82f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.current-price::before {
    content: '₹';
    font-size: 1.5rem;
    position: absolute;
    top: 8px;
    left: -20px;
    color: #64748b;
}

.original-price {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Enhanced Divider */
.neumorphic-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 32px 0;
    position: relative;
}

[data-theme="dark"] .neumorphic-divider {
    background: linear-gradient(90deg, transparent, #334155, transparent);
}

.neumorphic-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 6px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

/* Enhanced Size Selection */
.size-selection {
    margin-bottom: 24px;
}

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-header .form-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    margin: 0;
}

[data-theme="dark"] .size-header .form-label {
    color: #f1f5f9;
}

.size-header .neumorphic-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] .size-header .neumorphic-btn {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.size-header .neumorphic-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.size-dropdown {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.size-dropdown select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

[data-theme="dark"] .size-dropdown select {
    background: #1e293b;
    border-color: #475569;
    color: #f1f5f9;
}

/* Dark Mode Styles for Filter Select Options - Categories Page */
[data-theme="dark"] .filter-select {
    background: transparent !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .filter-select option {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: none !important;
    padding: 8px 12px !important;
}

[data-theme="dark"] .filter-select option:hover,
[data-theme="dark"] .filter-select option:checked {
    background: #334155 !important;
    color: #3b82f6 !important;
}

[data-theme="dark"] .filter-select option:focus {
    background: #334155 !important;
    color: #f1f5f9 !important;
    outline: none !important;
}

/* Additional specific selectors for better browser compatibility */
body[data-theme="dark"] .filter-select option {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

body[data-theme="dark"] .filter-select option:hover,
body[data-theme="dark"] .filter-select option:checked {
    background: #334155 !important;
    color: #3b82f6 !important;
}

/* AGGRESSIVE DARK MODE FOR SELECTS - CATEGORIES PAGE */
.search-filter-section .filter-select {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: none !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
    outline: none !important;
    text-transform: capitalize !important;
    letter-spacing: 0.025em !important;
    min-width: 80px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2364748b" d="M6 9L2 5h8z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    background-size: 12px !important;
    padding-right: 24px !important;
}

[data-theme="dark"] .search-filter-section .filter-select {
    color: #f1f5f9 !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23f1f5f9" d="M6 9L2 5h8z"/></svg>') !important;
}

[data-theme="dark"] .search-filter-section .filter-select:focus {
    color: #f1f5f9 !important;
}

/* Force dark options with maximum specificity */
html body[data-theme="dark"] .search-filter-section .filter-select option,
html[data-theme="dark"] body .search-filter-section .filter-select option,
body[data-theme="dark"] .search-filter-section .filter-select option {
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

html body[data-theme="dark"] .search-filter-section .filter-select option:hover,
html[data-theme="dark"] body .search-filter-section .filter-select option:hover,
body[data-theme="dark"] .search-filter-section .filter-select option:hover,
html body[data-theme="dark"] .search-filter-section .filter-select option:checked,
html[data-theme="dark"] body .search-filter-section .filter-select option:checked,
body[data-theme="dark"] .search-filter-section .filter-select option:checked {
    background-color: #334155 !important;
    background: #334155 !important;
    color: #3b82f6 !important;
}

.size-dropdown select:hover {
    border-color: #3b82f6;
}

.size-dropdown select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.size-dropdown::after {
    content: '\f078';
    font-family: 'Bootstrap Icons';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .size-dropdown::after {
    color: #94a3b8;
}

.size-dropdown:hover::after {
    color: #3b82f6;
}

.size-error {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== BEAUTIFUL PRODUCT ACTIONS ==================== */

/* Main container */
.product-actions-beautiful {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

/* Size and quantity container */
.size-quantity-container {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-end;
}

/* Size selection */
.size-section {
    flex: 1;
}

.size-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] .size-label {
    color: #f3f4f6;
}

.size-select-wrapper {
    position: relative;
}

.size-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] .size-select {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

.size-select:hover {
    border-color: #3b82f6;
}

.size-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.size-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s ease;
}

[data-theme="dark"] .size-select-arrow {
    color: #9ca3af;
}

.size-select:hover + .size-select-arrow {
    color: #3b82f6;
}

.size-guide-btn {
    margin-top: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] .size-guide-btn {
    background: #374151;
    border-color: #4b5563;
    color: #9ca3af;
}

.size-guide-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Quantity selection */
.quantity-section {
    flex: 0 0 140px;
}

.quantity-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] .quantity-label {
    color: #f3f4f6;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    height: 48px;
    overflow: hidden;
}

[data-theme="dark"] .quantity-control {
    background: #1f2937;
    border-color: #374151;
}

.quantity-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: #f9fafb;
    color: #6b7280;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .quantity-btn {
    background: #374151;
    color: #9ca3af;
}

.quantity-btn:hover {
    background: #3b82f6;
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input:focus {
    outline: none;
}

/* Add to cart button */
.add-to-cart-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.add-to-cart-btn:active:not(:disabled) {
    transform: translateY(0);
}

.add-to-cart-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

.add-to-cart-btn.loading {
    pointer-events: none;
}

.add-to-cart-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.add-to-cart-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.add-to-cart-btn:hover:not(:disabled) i {
    transform: rotate(10deg);
}

/* Secondary actions */
.secondary-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.secondary-btn {
    flex: 1;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="dark"] .secondary-btn {
    background: #374151;
    border-color: #4b5563;
    color: #9ca3af;
}

.secondary-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

/* Error message */
.size-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.size-error.show {
    display: flex;
}

/* Mobile responsive */

/* Enhanced Quantity Selection */
.quantity-selection {
    margin-bottom: 32px;
}

.quantity-selection .form-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 16px;
    display: block;
}

[data-theme="dark"] .quantity-selection .form-label {
    color: #f1f5f9;
}

.quantity-control {
    display: flex;
    align-items: center;
    max-width: 180px;
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quantity-control {
    background: #1e293b;
    border-color: #475569;
}

.quantity-control:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.quantity-control .btn-decrease,
.quantity-control .btn-increase {
    position: absolute;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .quantity-control .btn-decrease,
[data-theme="dark"] .quantity-control .btn-increase {
    background: #334155;
    color: #94a3b8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quantity-control .btn-decrease {
    left: 5px;
}

.quantity-control .btn-increase {
    right: 5px;
}

.quantity-control .btn-decrease:hover,
.quantity-control .btn-increase:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    z-index: 10;
}

.quantity-control .btn-decrease:active,
.quantity-control .btn-increase:active {
    transform: translateY(-50%) scale(0.95);
}

.quantity-input-wrapper {
    flex: 1;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input-wrapper .form-control {
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    height: 46px;
    padding: 0 50px;
    width: 100%;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quantity-input-wrapper .form-control {
    color: #f1f5f9;
}

.quantity-input-wrapper .form-control:focus {
    outline: none;
    background: rgba(59, 130, 246, 0.05);
}

.quantity-input-wrapper .form-control::-webkit-inner-spin-button,
.quantity-input-wrapper .form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.quantity-input-wrapper .form-control[type=number] {
-moz-appearance: textfield;
appearance: textfield;
}

/* Enhanced Product Actions */
.product-actions {
    margin-bottom: 32px;
}

.primary-actions .neumorphic-btn-primary {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.4),
        0 4px 12px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.primary-actions .neumorphic-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.primary-actions .neumorphic-btn-primary:hover::before {
    left: 100%;
}

.primary-actions .neumorphic-btn-primary:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    box-shadow: 
        0 12px 32px rgba(59, 130, 246, 0.5),
        0 6px 16px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-actions .neumorphic-btn-primary:active:not(:disabled) {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.primary-actions .neumorphic-btn-primary:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: 
        0 4px 12px rgba(148, 163, 184, 0.2),
        0 2px 6px rgba(148, 163, 184, 0.1);
}

.primary-actions .neumorphic-btn-primary i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.primary-actions .neumorphic-btn-primary:hover:not(:disabled) i {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

/* Loading state for add to cart */
.primary-actions .neumorphic-btn-primary.loading {
    pointer-events: none;
    opacity: 0.8;
}

.primary-actions .neumorphic-btn-primary.loading i {
    animation: spin 1s linear infinite;
}

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

/* Success state for add to cart - only apply when explicitly added */
.primary-actions .neumorphic-btn-primary.added-to-cart {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.4),
        0 4px 12px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.primary-actions .neumorphic-btn-primary.added-to-cart:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    box-shadow: 
        0 12px 32px rgba(16, 185, 129, 0.5),
        0 6px 16px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-actions .neumorphic-btn-primary.added-to-cart i::before {
    content: '\f26c'; /* Bootstrap check icon */
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
}

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

.toast-content {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

[data-theme="dark"] .toast-content {
    background: #1e293b;
    color: #f1f5f9;
}

.toast-error .toast-content {
    border-left-color: #ef4444;
    color: #dc2626;
}

.toast-error .toast-content i {
    color: #ef4444;
}

.toast-success .toast-content {
    border-left-color: #10b981;
    color: #059669;
}

.toast-success .toast-content i {
    color: #10b981;
}

.toast-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Size Guide Modal */
.size-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.size-guide-modal.show {
    display: flex;
}

.size-guide-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .size-guide-content {
    background: #1e293b;
}

.size-guide-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .size-guide-header {
    border-bottom-color: #334155;
}

.size-guide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

[data-theme="dark"] .size-guide-title {
    color: #f1f5f9;
}

.size-guide-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .size-guide-close {
    background: #334155;
    color: #94a3b8;
}

.size-guide-close:hover {
    background: #ef4444;
    color: white;
}

.size-guide-body {
    padding: 24px;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.size-guide-table th,
.size-guide-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .size-guide-table th,
[data-theme="dark"] .size-guide-table td {
    border-color: #334155;
}

.size-guide-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

[data-theme="dark"] .size-guide-table th {
    background: #334155;
    color: #f1f5f9;
}

.size-guide-table td {
    background: #ffffff;
    color: #64748b;
}

[data-theme="dark"] .size-guide-table td {
    background: #1e293b;
    color: #94a3b8;
}

.size-guide-instructions {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

[data-theme="dark"] .size-guide-instructions {
    background: #334155;
}

.size-guide-instructions h4 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

[data-theme="dark"] .size-guide-instructions h4 {
    color: #f1f5f9;
}

.size-guide-instructions p {
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.6;
}

[data-theme="dark"] .size-guide-instructions p {
    color: #94a3b8;
}

.secondary-actions {
    display: flex;
    gap: 12px;
}

.secondary-actions .neumorphic-btn {
    flex: 1;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

[data-theme="dark"] .secondary-actions .neumorphic-btn {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.secondary-actions .neumorphic-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .product-gallery {
        padding: 16px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .main-product-image {
        max-height: 300px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .current-price::before {
        font-size: 1.2rem;
        left: -16px;
        top: 6px;
    }
    
    .original-price {
        font-size: 1.2rem;
    }
    
    .size-options {
        gap: 8px;
    }
    
    .size-dropdown {
        max-width: 180px;
    }
    
    .size-dropdown select {
        padding: 10px 36px 10px 14px;
        font-size: 0.9rem;
    }
    
    .quantity-control {
        max-width: 150px;
    }
    
    .quantity-control .btn-decrease,
    .quantity-control .btn-increase {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .quantity-input-wrapper .form-control {
        height: 42px;
        padding: 0 42px;
        font-size: 1rem;
    }
    
    .secondary-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 32px 0 48px 0;
    }
    
    .product-gallery {
        padding: 12px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .current-price::before {
        font-size: 1rem;
        left: -14px;
        top: 4px;
    }
    
    .original-price {
        font-size: 1rem;
    }
    
    .size-option {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .size-dropdown {
        max-width: 160px;
    }
    
    .size-dropdown select {
        padding: 10px 34px 10px 12px;
        font-size: 0.85rem;
    }
    
    .quantity-control {
        max-width: 130px;
    }
    
    .quantity-control .btn-decrease,
    .quantity-control .btn-increase {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .quantity-input-wrapper .form-control {
        height: 38px;
        padding: 0 38px;
        font-size: 0.9rem;
    }
    
    .primary-actions .neumorphic-btn-primary {
        padding: 16px 20px;
        font-size: 1.1rem;
    }
    
    .secondary-actions .neumorphic-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding: 24px 0 40px 0;
    }
    
    .product-gallery {
        padding: 8px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-meta {
        gap: 8px;
    }
    
    .product-meta-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .product-rating {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .current-price::before {
        font-size: 0.9rem;
        left: -12px;
        top: 2px;
    }
    
    .original-price {
        font-size: 0.9rem;
    }
    
    .discount-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .size-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .size-header .neumorphic-btn {
        align-self: stretch;
        text-align: center;
    }
    
    .size-options {
        gap: 6px;
    }
    
    .size-option {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
    
    .size-dropdown {
        max-width: 140px;
    }
    
    .size-dropdown select {
        padding: 8px 32px 8px 10px;
        font-size: 0.8rem;
    }
    
    .size-guide-modal {
        padding: 10px;
    }
    
    .size-guide-content {
        max-width: 95%;
        border-radius: 12px;
    }
    
    .size-guide-header {
        padding: 16px;
    }
    
    .size-guide-title {
        font-size: 1.2rem;
    }
    
    .size-guide-body {
        padding: 16px;
    }
    
    .size-guide-table th,
    .size-guide-table td {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .quantity-control {
        max-width: 120px;
    }
    
    .quantity-control .btn-decrease,
    .quantity-control .btn-increase {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .quantity-input-wrapper .form-control {
        height: 34px;
        padding: 0 34px;
        font-size: 0.9rem;
    }
    
    .primary-actions .neumorphic-btn-primary {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .secondary-actions {
        gap: 8px;
    }
    
    .secondary-actions .neumorphic-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .product-detail-section {
        padding: var(--spacing-md) 0;
    }
    
    .neumorphic-card {
        padding: var(--spacing-md);
    }
    
    .price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}

/* ==================== NEUMORPHIC UTILITIES ==================== */
.neu-convex {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .neu-convex {
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

.neu-inset {
    background: linear-gradient(145deg, #e2e8f0 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-inset);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .neu-inset {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

.neu-convex:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ==================== BOOTSTRAP UTILITIES ==================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--spacing-sm) * -1);
    margin-left: calc(var(--spacing-sm) * -1);
}

.col, [class*="col-"] {
    flex: 1 0 0%;
    padding-right: var(--spacing-sm);
    padding-left: var(--spacing-sm);
}

.col-lg-6 { flex: 0 0 50%; }
.col-12 { flex: 0 0 100%; }

.g-4 > * + * { margin-top: var(--spacing-md); }
.g-lg-5 > * + * { margin-top: var(--spacing-xl); }
@media (min-width: 992px) {
    .g-lg-5 > * + * { margin-top: var(--spacing-xl); }
}

.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
.align-items-stretch { align-items: stretch; }

.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.start-0 { left: 0; }
.end-0 { right: 0; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-grow-1 { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.me-1 { margin-right: var(--spacing-xs); }
.me-2 { margin-right: var(--spacing-sm); }
.me-3 { margin-right: var(--spacing-md); }

.ms-3 { margin-left: var(--spacing-md); }
.mx-3 { margin-left: var(--spacing-md); margin-right: var(--spacing-md); }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.my-3 { margin-top: var(--spacing-md); margin-bottom: var(--spacing-md); }
.my-4 { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-lg); }

.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.pt-3 { padding-top: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-md); }

.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }

.text-decoration-line-through { text-decoration: line-through; }

.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

.small { font-size: 0.875rem; }
.btn-sm { padding: var(--spacing-xs) var(--spacing-sm); font-size: 0.875rem; }
.btn-lg { padding: var(--spacing-md) var(--spacing-lg); font-size: 1.125rem; }

.rounded-3 { border-radius: var(--radius-lg); }
.rounded-4 { border-radius: var(--radius-xl); }
.rounded-circle { border-radius: var(--radius-full); }
.rounded-pill { border-radius: var(--radius-full); }

.img-fluid { max-width: 100%; height: auto; }

.shadow-sm { box-shadow: var(--shadow-sm); }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--breadcrumb-divider, "/");
    float: left;
    padding-right: var(--spacing-sm);
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb-link:hover {
    color: var(--accent-hover);
}

/* Size and Quantity Controls */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.size-option {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.size-option.selected,
.size-option.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-color: var(--accent-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    max-width: 150px;
}

/* Product Actions */
.product-actions .primary-actions {
    margin-bottom: var(--spacing-md);
}

.product-actions .secondary-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.secondary-actions .neumorphic-btn {
    flex: 1;
}

/* Product Features */
.product-features {
    margin-top: var(--spacing-lg);
}

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

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* Trust Badges */
.trust-badges-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

.trust-badges-section .row {
    gap: 1.5rem;
}

.trust-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.95),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.trust-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.trust-card:hover .trust-icon {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
}

.trust-icon i {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.trust-card:hover .trust-icon i {
    transform: scale(1.1) rotate(5deg);
}

.trust-icon .text-primary {
    color: #2563eb !important;
    background: linear-gradient(145deg, #4299e1, #2b6cb0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.trust-icon .text-success {
    color: #10b981 !important;
    background: linear-gradient(145deg, #34d399, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.trust-icon .text-info {
    color: #06b6d4 !important;
    background: linear-gradient(145deg, #22d3ee, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.trust-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.trust-card:hover .trust-title {
    color: #2563eb;
}

.trust-text {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.trust-card:hover .trust-text {
    color: #475569;
}

/* Dark mode for trust badges */
[data-theme="dark"] .trust-badges-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .trust-card {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.4),
        -8px -8px 16px rgba(255, 255, 255, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .trust-card:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.5),
        -12px -12px 24px rgba(51, 65, 85, 0.4),
        inset 1px 1px 2px rgba(51, 65, 85, 0.4);
}

[data-theme="dark"] .trust-icon {
    background: linear-gradient(145deg, #374151, #1f2937);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(75, 85, 99, 0.3),
        inset 2px 2px 4px rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .trust-card:hover .trust-icon {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.5),
        -6px -6px 12px rgba(75, 85, 99, 0.4),
        inset 1px 1px 2px rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .trust-icon .text-primary {
    color: #60a5fa !important;
    background: linear-gradient(145deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

[data-theme="dark"] .trust-icon .text-success {
    color: #34d399 !important;
    background: linear-gradient(145deg, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.6);
}

[data-theme="dark"] .trust-icon .text-info {
    color: #22d3ee !important;
    background: linear-gradient(145deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
}

[data-theme="dark"] .trust-title {
    color: #e5e7eb;
}

[data-theme="dark"] .trust-card:hover .trust-title {
    color: #60a5fa;
}

[data-theme="dark"] .trust-text {
    color: #d1d5db !important;
}

[data-theme="dark"] .trust-card:hover .trust-text {
    color: #e5e7eb !important;
}

/* Override Bootstrap classes in dark mode */
[data-theme="dark"] .trust-card .text-muted {
    color: #d1d5db !important;
}

[data-theme="dark"] .trust-card:hover .text-muted {
    color: #e5e7eb !important;
}

/* Force override all text color classes in dark mode */
[data-theme="dark"] .trust-card .text-primary,
[data-theme="dark"] .trust-card .text-success,
[data-theme="dark"] .trust-card .text-info,
[data-theme="dark"] .trust-card .text-warning,
[data-theme="dark"] .trust-card .text-danger,
[data-theme="dark"] .trust-card .text-secondary,
[data-theme="dark"] .trust-card .text-dark,
[data-theme="dark"] .trust-card .text-light,
[data-theme="dark"] .trust-card .text-muted,
[data-theme="dark"] .trust-card .text-white {
    color: #d1d5db !important;
}

[data-theme="dark"] .trust-card:hover .text-primary,
[data-theme="dark"] .trust-card:hover .text-success,
[data-theme="dark"] .trust-card:hover .text-info,
[data-theme="dark"] .trust-card:hover .text-warning,
[data-theme="dark"] .trust-card:hover .text-danger,
[data-theme="dark"] .trust-card:hover .text-secondary,
[data-theme="dark"] .trust-card:hover .text-dark,
[data-theme="dark"] .trust-card:hover .text-light,
[data-theme="dark"] .trust-card:hover .text-muted,
[data-theme="dark"] .trust-card:hover .text-white {
    color: #e5e7eb !important;
}

/* Tabs */
.nav-pills {
    display: flex;
    border-bottom: 2px solid var(--neumorphic-border);
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.nav-pills .nav-link {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.nav-pills .nav-link.active {
    background: var(--neumorphic-bg);
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 
        0 -2px 0 var(--neumorphic-bg),
        4px 4px 8px rgba(var(--neumorphic-shadow-dark), 0.1),
        -4px -4px 8px rgba(var(--neumorphic-shadow-light), 0.8);
}

.tab-content {
    padding: var(--spacing-lg) 0;
}

.tab-pane {
    display: none;
}

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

/* Form Controls */
.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--neumorphic-border);
    border-radius: var(--radius-lg);
    background: var(--neumorphic-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Error states */
.size-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Responsive fixes */
@media (max-width: 768px) {
    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-pills .nav-link {
        flex-shrink: 0;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.875rem;
    }
    
    .product-actions .secondary-actions {
        flex-direction: column;
    }
    
    .trust-badges-section .row {
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .size-options {
        justify-content: center;
    }
    
    .quantity-control {
        max-width: 120px;
    }
}

/* ==================== CUSTOM NAVBAR ==================== */
.custom-navbar {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    padding: 16px 0 20px 0;
    margin: 0;
    position: relative;
    z-index: 1000;
    width: 100%;
    min-height: auto;
}

[data-theme="dark"] .custom-navbar {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

/* Navbar Actions Container */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    border: 1px solid #dc2626;
}

/* Cart Toggle Button */
.cart-toggle {
    position: relative;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
}

@media (min-width: 576px) {
    .navbar-container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 768px) {
    .navbar-container { padding: 0 var(--spacing-xl); }
}

@media (min-width: 992px) {
    .navbar-container { padding: 0 var(--spacing-2xl); }
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1e293b;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar-brand {
    color: #f1f5f9;
    background: #334155;
    border-color: #475569;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar-brand:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 1.8rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.brand-wrapper:hover .brand-icon {
    transform: rotate(15deg) scale(1.1);
    color: #2563eb;
}

.brand-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

[data-theme="dark"] .brand-text {
    color: #f1f5f9;
}

.brand-wrapper:hover .brand-text {
    color: #3b82f6;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 40px;
    height: 40px;
    justify-content: center;
}

[data-theme="dark"] .mobile-menu-toggle {
    background: #334155;
    border-color: #475569;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

[data-theme="dark"] .mobile-menu-toggle:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hamburger-line {
    width: 20px;
    height: 2.5px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .hamburger-line {
    background: #f1f5f9;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #3b82f6;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #3b82f6;
}

/* Navigation Menu */
.navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-top: none;
    padding: var(--spacing-lg);
    z-index: 999;
}

[data-theme="dark"] .navbar-menu {
    background: #1e293b;
    border-color: #334155;
}

.navbar-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

@media (min-width: 992px) {
    .navbar-menu {
        display: flex;
        position: static;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 0;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 8px;
    }
    
    .navbar-actions {
        align-items: center;
    }
}

@media (max-width: 991px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0 0 var(--spacing-lg) 0;
        gap: 4px;
    }
    
    .navbar-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid #e2e8f0;
    }
    
    [data-theme="dark"] .navbar-actions {
        border-top-color: #334155;
    }
}

.nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

@media (min-width: 992px) {
    .nav-menu {
        flex-direction: row;
        margin: 0;
        gap: var(--spacing-sm);
    }
}

/* Navigation Items */
.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    gap: 8px;
    font-size: 0.95rem;
    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] .nav-link {
    color: #cbd5e1;
}

.nav-link:hover {
    color: #3b82f6;
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .nav-link:hover {
    background: #334155;
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Action Buttons */
.action-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

[data-theme="dark"] .action-icon-btn {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

.action-icon-btn:hover {
    transform: translateY(-2px);
    color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.action-icon-btn i {
    transition: all 0.3s ease;
}

.action-icon-btn:hover i {
    transform: scale(1.1);
}

.action-btn-text,
.action-btn-primary {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.action-btn-text {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .action-btn-text {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

.action-btn-text:hover {
    transform: translateY(-2px);
    color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.action-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* ==================== PREMIUM MINI CART ==================== */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    min-width: 380px;
    max-width: 420px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
    display: none;
}

[data-theme="dark"] .mini-cart-dropdown {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
}

.mini-cart-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Premium Cart Header */
.mini-cart-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

[data-theme="dark"] .mini-cart-header {
    border-bottom-color: #334155;
    background: #334155;
}

.mini-cart-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mini-cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icon-background {
    color: white;
    font-size: 1.4rem;
}

.cart-count-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.mini-cart-title-section {
    flex: 1;
}

.mini-cart-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] .mini-cart-title {
    color: #f1f5f9;
}

.mini-cart-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

[data-theme="dark"] .mini-cart-subtitle {
    color: #94a3b8;
}

.mini-cart-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

[data-theme="dark"] .mini-cart-close-btn {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.mini-cart-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* Cart Items Container */
.mini-cart-items-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px 20px;
}

.mini-cart-items-container::-webkit-scrollbar {
    width: 6px;
}

.mini-cart-items-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.mini-cart-items-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Premium Cart Items */
.mini-cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    align-items: flex-start; /* Better alignment for different item heights */
}

[data-theme="dark"] .mini-cart-item {
    background: #334155;
    border-color: #475569;
}

.mini-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mini-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Prevents flex item from overflowing */
}

.mini-cart-item-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}

[data-theme="dark"] .mini-cart-item-name {
    color: #f1f5f9;
}

.mini-cart-item-price {
    font-weight: 800;
    color: #3b82f6;
    font-size: 1rem;
    margin: 0;
}

.mini-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.mini-cart-quantity-controls {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    gap: 0;
    height: 32px;
}

[data-theme="dark"] .mini-cart-quantity-controls {
    background: #475569;
    border-color: #64748b;
}

.mini-cart-quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 0;
    flex-shrink: 0; /* Prevents button from shrinking */
}

[data-theme="dark"] .mini-cart-quantity-btn {
    color: #cbd5e1;
}

.mini-cart-quantity-btn:hover {
    background: #3b82f6;
    color: white;
}

.mini-cart-quantity-btn:active {
    background: #2563eb;
    transform: scale(0.95);
}

.mini-cart-quantity-value {
    width: 40px;
    height: 32px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    line-height: 32px;
    border-radius: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.mini-cart-quantity-value:focus {
    outline: none;
    background: #f8fafc;
}

[data-theme="dark"] .mini-cart-quantity-value {
    color: #f1f5f9;
}

[data-theme="dark"] .mini-cart-quantity-value:focus {
    background: #374151;
}

.mini-cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.mini-cart-item-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Enhanced Mini Cart Item Styles */
.mini-cart-item.enhanced {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.mini-cart-item.enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

[data-theme="dark"] .mini-cart-item.enhanced {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: #334155;
}

[data-theme="dark"] .mini-cart-item.enhanced:hover {
    border-color: #475569;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mini-cart-item-image-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .mini-cart-item-image-wrapper {
    background: #334155;
    border-color: #475569;
}

.mini-cart-item.enhanced .mini-cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mini-cart-item.enhanced:hover .mini-cart-item-image {
    transform: scale(1.05);
}

.mini-cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.mini-cart-item.enhanced .mini-cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-item-name {
    color: #f8fafc;
}

.mini-cart-item.enhanced .mini-cart-item-remove {
    position: static;
    background: none;
    border: none;
    color: #ef4444;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.mini-cart-item.enhanced .mini-cart-item-remove:hover {
    background: #fef2f2;
    color: #dc2626;
    transform: scale(1.1);
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-item-remove:hover {
    background: #7f1d1d;
}

.mini-cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.mini-cart-item.enhanced .mini-cart-item-price {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.mini-cart-item-subtotal {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-item-price {
    color: #94a3b8;
}

[data-theme="dark"] .mini-cart-item-subtotal {
    color: #f8fafc;
}

.mini-cart-item.enhanced .mini-cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-quantity-controls {
    background: #334155;
    border-color: #475569;
}

.mini-cart-item.enhanced .mini-cart-quantity-btn {
    background: none;
    border: none;
    color: #64748b;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.mini-cart-item.enhanced .mini-cart-quantity-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mini-cart-item.enhanced .mini-cart-quantity-btn.decrease:hover {
    background: #fee2e2;
    color: #dc2626;
}

.mini-cart-item.enhanced .mini-cart-quantity-btn.increase:hover {
    background: #dcfce7;
    color: #16a34a;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-quantity-btn {
    color: #94a3b8;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-quantity-btn:hover {
    background: #475569;
    color: #f8fafc;
}

.mini-cart-item.enhanced .mini-cart-quantity-value {
    background: none;
    border: none;
    width: 32px;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

[data-theme="dark"] .mini-cart-item.enhanced .mini-cart-quantity-value {
    color: #f8fafc;
}

/* Premium Cart Footer */
.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

[data-theme="dark"] .mini-cart-footer {
    border-top-color: #334155;
    background: #334155;
}

.mini-cart-summary {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
}

.summary-label {
    color: #64748b;
    font-weight: 500;
}

[data-theme="dark"] .summary-label {
    color: #94a3b8;
}

.summary-value {
    color: #1e293b;
    font-weight: 600;
}

[data-theme="dark"] .summary-value {
    color: #f1f5f9;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

[data-theme="dark"] .summary-divider {
    background: #475569;
}

.total-row {
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .total-row {
    border-top-color: #475569;
}

.total-label,
.total-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #3b82f6;
}

.mini-cart-actions {
    display: flex;
    gap: 12px;
}

.mini-cart-actions .premium-btn.secondary-outlined {
    background: transparent;
    border: 2px solid #64748b;
    color: #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mini-cart-actions .premium-btn.secondary-outlined {
    border-color: #cbd5e1;
    color: #cbd5e1;
}

.mini-cart-actions .premium-btn.secondary-outlined:hover {
    transform: translateY(-2px);
    background: #f8fafc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mini-cart-actions .premium-btn.primary-filled {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
    font-weight: 600;
}

.mini-cart-actions .premium-btn.primary-filled:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.5);
}

.mini-cart-actions .premium-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mini-cart-actions .premium-btn.secondary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mini-cart-actions .premium-btn.secondary {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

.mini-cart-actions .premium-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mini-cart-actions .premium-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mini-cart-actions .premium-btn.primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Empty and Loading States */
.mini-cart-empty,
.mini-cart-loading {
    padding: 40px 20px;
    text-align: center;
}

.empty-cart-content,
.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.empty-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 2rem;
}

[data-theme="dark"] .empty-icon-wrapper {
    background: #334155;
    border-color: #475569;
}

.empty-cart-message h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

[data-theme="dark"] .empty-cart-message h6 {
    color: #f1f5f9;
}

.empty-cart-message p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

[data-theme="dark"] .empty-cart-message p {
    color: #94a3b8;
}

.loading-spinner {
    font-size: 2rem;
    color: #3b82f6;
    animation: spin 1s linear infinite;
}

/* Mobile Menu Toggle Visibility */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-actions {
        flex-direction: column;
        gap: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    [data-theme="dark"] .navbar-actions {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    min-height: 0;
    padding: 0;
    margin: 0;
}

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

.brand-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.brand-text {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.navbar-toggler {
    border: none;
    background: var(--neumorphic-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8);
    border: 1px solid var(--neumorphic-border);
}

.navbar-toggler:focus {
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8),
        0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
    background: var(--neumorphic-bg);
}

.nav-link.active {
    color: var(--accent-color);
    background: var(--neumorphic-bg);
    box-shadow: 
        2px 2px 4px rgba(var(--neumorphic-shadow-dark), 0.1),
        -2px -2px 4px rgba(var(--neumorphic-shadow-light), 0.8);
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        margin: 0;
    }
}

/* Additional navbar styles */
.navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-hover) !important;
}

.navbar-brand i {
    font-size: 1.8rem;
    margin-right: var(--spacing-sm);
}

/* Navigation Links */
.nav-link {
    color: var(--text-secondary) !important;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(59, 130, 246, 0.15);
    font-weight: var(--font-weight-semibold);
}

.nav-link i {
    margin-right: var(--spacing-xs);
    font-size: 0.9rem;
}

/* Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

[data-theme="dark"] .dropdown-menu {
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item {
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-weight: var(--font-weight-medium);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Cart Dropdown */
.cart-dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid white;
    z-index: 9999;
    box-shadow: rgba(255, 0, 0, 0.3) 0px 2px 8px;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .cart-count {
    border-color: var(--bg-surface);
}

.cart-count.badge-hidden {
  
    display: inline-flex !important;
}

.cart-count.badge-visible {
    display: flex !important;
}

.cart-count:hover {
    transform: scale(1.1);
    box-shadow: rgba(255, 0, 0, 0.5) 0px 4px 12px;
}

.mini-cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--neu-border-light);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    -4px -4px 16px rgba(255, 255, 255, 0.9),
    4px 4px 16px rgba(0, 0, 0, 0.05);
  min-width: 320px;
  max-width: 400px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  margin-top: var(--spacing-sm);
}

[data-theme="dark"] .mini-cart-dropdown {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.mini-cart-dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Mini Cart Styling */
.mini-cart-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

[data-theme="dark"] .mini-cart-header {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-bottom-color: var(--border-color);
}

.mini-cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: var(--spacing-md);
}

.mini-cart-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

[data-theme="dark"] .mini-cart-footer {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-top-color: var(--border-color);
}

/* Empty Cart State */
.empty-cart-state {
  text-align: center;
  padding: var(--spacing-xl);
}

.empty-cart-icon {
  margin-bottom: var(--spacing-lg);
}

.empty-cart-icon i {
  font-size: 4rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.empty-cart-state h5 {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.empty-cart-state p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.empty-cart-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.empty-cart-suggestions {
  margin-top: var(--spacing-lg);
}

.empty-cart-suggestions p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.empty-cart-suggestions .badge {
  margin: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.empty-cart-suggestions .badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Neumorphic Elements */
.neu-inset {
  background: linear-gradient(145deg, #e2e8f0 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .neu-inset {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4), inset -2px -2px 4px rgba(255, 255, 255, 0.05);
}

.neu-btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
}

[data-theme="dark"] .neu-btn-circle {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.neu-btn-circle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-color);
}

.neu-chip {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .neu-chip {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.neu-chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

/* ==================== Product Cards Grid UI ==================== */

/* CSS Variables for Light and Dark Themes - Exact Match to Screenshot */

/* ==================== Grid Container - 3 Cards Per Row ==================== */
.products-container.shop-grid,
#productsGrid.shop-grid,
.shop-grid .products-container,
.shop-grid #productsGrid,
.products-container.shop-grid #productsGrid,
.shop-grid .row,
.shop-grid .flex,
.shop-grid [class*="row"],
.shop-grid [class*="flex"] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1400px !important;
    padding: 0 !important;
    margin: 0 auto;
    flex-direction: unset !important;
    flex-wrap: unset !important;
}

/* Force cards to be direct grid children */
.shop-grid .card,
.products-container.shop-grid .card,
#productsGrid.shop-grid .card,
.shop-grid #productsGrid .card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    display: block !important;
    float: none !important;
    position: relative !important;
    grid-column: span 1 !important;
}

/* ==================== Responsive Grid ==================== */
@media (max-width: 1400px) {
    .products-container.shop-grid,
    #productsGrid.shop-grid,
    .products-container.shop-grid #productsGrid,
    .shop-grid #productsGrid,
    .shop-grid .products-container,
    .shop-grid .row,
    .shop-grid .flex,
    .shop-grid [class*="row"],
    .shop-grid [class*="flex"] {
        grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
        gap: 25px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .products-container.shop-grid,
    #productsGrid.shop-grid,
    .products-container.shop-grid #productsGrid,
    .shop-grid #productsGrid,
    .shop-grid .products-container,
    .shop-grid .row,
    .shop-grid .flex,
    .shop-grid [class*="row"],
    .shop-grid [class*="flex"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
    }
}

/* ==================== Card Styles - Exact Match to Screenshot ==================== */
.card {
    background: linear-gradient(145deg, #e8eef5, #ffffff) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 
        15px 15px 30px rgba(163, 177, 198, 0.4),
        -15px -15px 30px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8),
        inset -2px -2px 4px rgba(163, 177, 198, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.shop-grid .card {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 560px !important;
}

.card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 
        20px 20px 40px rgba(163, 177, 198, 0.5),
        -20px -20px 40px rgba(255, 255, 255, 1),
        inset 3px 3px 6px rgba(255, 255, 255, 0.9),
        inset -3px -3px 6px rgba(163, 177, 198, 0.15) !important;
    background: linear-gradient(145deg, #ffffff, #f0f4f8) !important;
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Handle animation delay from data attribute */
.card[data-animation-delay="0"] { animation-delay: 0s; }
.card[data-animation-delay="0.1"] { animation-delay: 0.1s; }
.card[data-animation-delay="0.2"] { animation-delay: 0.2s; }
.card[data-animation-delay="0.3"] { animation-delay: 0.3s; }
.card[data-animation-delay="0.4"] { animation-delay: 0.4s; }
.card[data-animation-delay="0.5"] { animation-delay: 0.5s; }
.card[data-animation-delay="0.6"] { animation-delay: 0.6s; }
.card[data-animation-delay="0.7"] { animation-delay: 0.7s; }
.card[data-animation-delay="0.8"] { animation-delay: 0.8s; }
.card[data-animation-delay="0.9"] { animation-delay: 0.9s; }

/* ==================== Badge Container ==================== */
.badge-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.badge.trending {
    background: var(--accent-orange);
}

.badge.featured {
    background: var(--accent-green);
}

.badge.sale {
    background: var(--accent-red);
}

/* ==================== Image Placeholder ==================== */
.img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: none;
    box-shadow: 
        inset 6px 6px 12px rgba(163, 177, 198, 0.2),
        inset -6px -6px 12px rgba(255, 255, 255, 0.9);
}

/* Product link wrapper */
.product-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
}

.img-placeholder a.product-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.img-placeholder a.product-link:hover img {
    transform: scale(1.05);
}

.card:hover .img-placeholder img {
    transform: scale(1.05);
}

/* ==================== Info Section ==================== */
.info {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--accent-orange);
    margin-bottom: 4px;
}

.info h3 {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
}

.info h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info h3 a:hover {
    color: var(--accent-blue);
}

.stock {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

.stock.in {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stock.out {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 8px 0;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    flex: 1;
    max-height: 2.7em;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* ==================== Card Actions ==================== */
.card-actions {
    padding: 16px 0 0;
    display: flex !important;
    gap: 8px;
    background: transparent;
    margin-top: auto;
    flex-shrink: 0;
}

.shop-grid .card-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn {
    flex: 1 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: linear-gradient(145deg, #e8eef5, #ffffff) !important;
    box-shadow: 
        4px 4px 8px rgba(163, 177, 198, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8),
        inset -1px -1px 2px rgba(163, 177, 198, 0.1) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: var(--text-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        6px 6px 12px rgba(163, 177, 198, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9),
        inset -2px -2px 4px rgba(163, 177, 198, 0.15) !important;
    background: linear-gradient(145deg, #ffffff, #f0f4f8) !important;
}

.btn:active {
    transform: scale(0.96) !important;
    box-shadow: 
        inset 3px 3px 6px rgba(163, 177, 198, 0.3),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8) !important;
}

.buy-btn {
    background: var(--accent-blue) !important;
    color: white !important;
    border-color: var(--accent-blue) !important;
}

.buy-btn:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light) !important;
}

.buy-btn:disabled {
    background: var(--text-muted) !important;
    border-color: var(--text-muted) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn:not(.buy-btn) {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

.btn:not(.buy-btn):hover {
    background: var(--accent-red) !important;
    color: white !important;
    border-color: var(--accent-red) !important;
    transform: translateY(-1px) !important;
    box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light) !important;
}

/* ==================== Enhanced Categories Sidebar ==================== */
.categories-sidebar {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0) !important;
    border-radius: 24px !important;
    padding: 28px !important;
    border: none !important;
    box-shadow: 
        12px 12px 24px rgba(148, 163, 184, 0.25),
        -8px -8px 16px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -1px -1px 2px rgba(148, 163, 184, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.categories-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green), var(--accent-orange));
    border-radius: 24px 24px 0 0;
}

.categories-sidebar:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        16px 16px 32px rgba(148, 163, 184, 0.3),
        -10px -10px 20px rgba(255, 255, 255, 0.8),
        inset 3px 3px 6px rgba(255, 255, 255, 0.7),
        inset -2px -2px 4px rgba(148, 163, 184, 0.2) !important;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 2px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.header-icon:hover {
    transform: scale(1.05);
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.25),
        -6px -6px 12px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(148, 163, 184, 0.15);
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.total-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        inset 3px 3px 6px rgba(148, 163, 184, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.6);
}

.badge-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.badge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Category Items - Enhanced Neumorphic */
.category-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(148, 163, 184, 0.1);
    text-decoration: none !important;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none !important;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(148, 163, 184, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.category-item.active {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb) !important;
    color: white !important;
    box-shadow: 
        6px 6px 12px rgba(59, 130, 246, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.4),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.02);
}

.category-item.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Category Icon - Enhanced */
.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        inset 3px 3px 6px rgba(148, 163, 184, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.category-icon img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    transform: scale(1.05);
    box-shadow: 
        inset 4px 4px 8px rgba(148, 163, 184, 0.2),
        inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}

.category-item:hover .category-icon img {
    transform: scale(1.1);
}

.category-item.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.3);
}

/* Category Content */
.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.category-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.category-item.active .category-name {
    color: white;
}

/* Neumorphic Count Badge */
.category-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.15),
        inset -1px -1px 2px rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-item:hover .category-count-badge {
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -1px -1px 2px rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.category-item.active .category-count-badge {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.15),
        inset -1px -1px 2px rgba(255, 255, 255, 0.3);
    color: white;
}

.category-meta {
    display: none; /* Hide the old meta section */
}

/* Category Arrow */
.category-arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.category-item:hover .category-arrow {
    color: var(--accent-blue);
    transform: translateX(4px);
    opacity: 1;
}

.category-item.active .category-arrow {
    color: white;
    transform: translateX(4px);
    opacity: 1;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
}

.btn-view-all {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(148, 163, 184, 0.1);
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-view-all:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(148, 163, 184, 0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: var(--accent-blue);
}

.btn-view-all:active {
    transform: scale(0.98);
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.6);
}

.btn-view-all i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

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

/* Dark Mode for Categories Sidebar */
[data-theme="dark"] .categories-sidebar {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.5),
        -8px -8px 16px rgba(51, 65, 85, 0.3),
        inset 2px 2px 4px rgba(51, 65, 85, 0.2),
        inset -1px -1px 2px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .categories-sidebar:hover {
    box-shadow: 
        16px 16px 32px rgba(0, 0, 0, 0.6),
        -10px -10px 20px rgba(51, 65, 85, 0.4),
        inset 3px 3px 6px rgba(51, 65, 85, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .header-icon {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -3px -3px 6px rgba(51, 65, 85, 0.2),
        inset 1px 1px 2px rgba(51, 65, 85, 0.15),
        inset -1px -1px 2px rgba(0, 0, 0, 0.25);
    color: #60a5fa;
}

[data-theme="dark"] .header-badge {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.25),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .category-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        -2px -2px 4px rgba(51, 65, 85, 0.2),
        inset 1px 1px 2px rgba(51, 65, 85, 0.15),
        inset -1px -1px 2px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .category-item:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -3px -3px 6px rgba(51, 65, 85, 0.3),
        inset 2px 2px 4px rgba(51, 65, 85, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .category-icon {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.25),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .btn-view-all {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        -2px -2px 4px rgba(51, 65, 85, 0.2),
        inset 1px 1px 2px rgba(51, 65, 85, 0.15),
        inset -1px -1px 2px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .btn-view-all:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    color: #60a5fa;
}

/* Dark Mode for Count Badge */
[data-theme="dark"] .category-count-badge {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.25),
        inset -1px -1px 2px rgba(51, 65, 85, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .category-item:hover .category-count-badge {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        inset -1px -1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .category-item.active .category-count-badge {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.25));
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        inset -1px -1px 2px rgba(255, 255, 255, 0.2);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-sidebar {
        padding: 20px;
        border-radius: 20px;
    }
    
    .sidebar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .category-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .category-icon {
        width: 44px;
        height: 44px;
    }
    
    .category-icon img {
        width: 30px;
        height: 30px;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
}

/* ==================== Dark Mode ==================== */
[data-theme="dark"] .card {
    background: linear-gradient(145deg, #2d3748, #1a202c) !important;
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.6),
        -12px -12px 24px rgba(74, 85, 104, 0.4),
        inset 3px 3px 6px rgba(74, 85, 104, 0.3),
        inset -3px -3px 6px rgba(0, 0, 0, 0.5) !important;
    border: none !important;
}

[data-theme="dark"] .card:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 
        18px 18px 36px rgba(0, 0, 0, 0.7),
        -18px -18px 36px rgba(74, 85, 104, 0.5),
        inset 4px 4px 8px rgba(74, 85, 104, 0.4),
        inset -4px -4px 8px rgba(0, 0, 0, 0.6) !important;
    background: linear-gradient(145deg, #1a202c, #2d3748) !important;
}

[data-theme="dark"] .img-placeholder {
    background: linear-gradient(145deg, #374151, #1f2937) !important;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.4),
        inset -4px -4px 8px rgba(74, 85, 104, 0.3) !important;
    border: none !important;
}

[data-theme="dark"] .btn {
    background: linear-gradient(145deg, #374151, #1f2937) !important;
    color: var(--text-primary) !important;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(74, 85, 104, 0.3),
        inset 1px 1px 2px rgba(74, 85, 104, 0.2),
        inset -1px -1px 2px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

[data-theme="dark"] .buy-btn {
    background: linear-gradient(145deg, #2563eb, #1e40af) !important;
    color: white !important;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(74, 85, 104, 0.3),
        inset 1px 1px 2px rgba(255, 255, 255, 0.2),
        inset -1px -1px 2px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

[data-theme="dark"] .buy-btn:hover {
    background: #2563eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .btn:not(.buy-btn):hover {
    background: var(--accent-red) !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    border-color: var(--accent-red) !important;
}

/* ==================== Enhanced Rating System ==================== */
.star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.9rem;
    color: #fbbf24;
    margin-bottom: 4px;
}

.star-rating .star {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.star-rating .star:hover {
    transform: scale(1.1);
}

.star-rating .star i {
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.star-rating .star:hover i {
    transform: scale(1.1);
    color: #f59e0b;
}

.star-rating .rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 400;
}

/* Product card rating specific */
.product-rating .star-rating {
    font-size: 0.85rem;
    margin-top: 4px;
}

.product-rating .star-rating .star i {
    font-size: 0.8rem;
}

/* Rating Modal Styles */
.rating-stars-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.rating-star {
    cursor: pointer;
    font-size: 2.5rem;
    color: #374151;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rating-star:hover {
    transform: scale(1.1);
    color: #fbbf24;
}

.rating-star i {
    transition: all 0.2s ease;
}

.rating-star:hover i {
    transform: scale(1.1);
}

.rating-star.filled i,
.rating-star:hover i {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-height: 1.2em;
}

/* Dark mode rating styles */
[data-theme="dark"] .star-rating {
    color: #fbbf24;
}

[data-theme="dark"] .star-rating .rating-count {
    color: var(--text-muted);
}

[data-theme="dark"] .rating-star {
    color: #4b5563;
}

[data-theme="dark"] .rating-star:hover {
    color: #fbbf24;
}

/* Hover effects for rating in product cards */
.card:hover .star-rating .star {
    animation: starPulse 1s ease-in-out infinite;
}

.card:hover .star-rating .star:nth-child(1) { animation-delay: 0s; }
.card:hover .star-rating .star:nth-child(2) { animation-delay: 0.1s; }
.card:hover .star-rating .star:nth-child(3) { animation-delay: 0.2s; }
.card:hover .star-rating .star:nth-child(4) { animation-delay: 0.3s; }
.card:hover .star-rating .star:nth-child(5) { animation-delay: 0.4s; }

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

/* Interactive rating display */
.star-rating[data-rating="0.5"] .star:nth-child(1) i { color: #fbbf24; }
.star-rating[data-rating="1"] .star:nth-child(1) i { color: #fbbf24; }
.star-rating[data-rating="1.5"] .star:nth-child(1) i,
.star-rating[data-rating="1.5"] .star:nth-child(2) i::before { color: #fbbf24; }
.star-rating[data-rating="2"] .star:nth-child(1) i,
.star-rating[data-rating="2"] .star:nth-child(2) i { color: #fbbf24; }
.star-rating[data-rating="2.5"] .star:nth-child(1) i,
.star-rating[data-rating="2.5"] .star:nth-child(2) i,
.star-rating[data-rating="2.5"] .star:nth-child(3) i::before { color: #fbbf24; }
.star-rating[data-rating="3"] .star:nth-child(1) i,
.star-rating[data-rating="3"] .star:nth-child(2) i,
.star-rating[data-rating="3"] .star:nth-child(3) i { color: #fbbf24; }
.star-rating[data-rating="3.5"] .star:nth-child(1) i,
.star-rating[data-rating="3.5"] .star:nth-child(2) i,
.star-rating[data-rating="3.5"] .star:nth-child(3) i,
.star-rating[data-rating="3.5"] .star:nth-child(4) i::before { color: #fbbf24; }
.star-rating[data-rating="4"] .star:nth-child(1) i,
.star-rating[data-rating="4"] .star:nth-child(2) i,
.star-rating[data-rating="4"] .star:nth-child(3) i,
.star-rating[data-rating="4"] .star:nth-child(4) i { color: #fbbf24; }
.star-rating[data-rating="4.5"] .star:nth-child(1) i,
.star-rating[data-rating="4.5"] .star:nth-child(2) i,
.star-rating[data-rating="4.5"] .star:nth-child(3) i,
.star-rating[data-rating="4.5"] .star:nth-child(4) i,
.star-rating[data-rating="4.5"] .star:nth-child(5) i::before { color: #fbbf24; }
.star-rating[data-rating="5"] .star:nth-child(1) i,
.star-rating[data-rating="5"] .star:nth-child(2) i,
.star-rating[data-rating="5"] .star:nth-child(3) i,
.star-rating[data-rating="5"] .star:nth-child(4) i,
.star-rating[data-rating="5"] .star:nth-child(5) i { color: #fbbf24; }

/* Ensure filled stars with fas fa-star show golden color */
.rating-star i.fas.fa-star {
    color: #fbbf24 !important;
}

.rating-star.filled i,
.rating-star.selected i,
.rating-star:hover i {
    color: #fbbf24;
}

/* Ensure selected stars maintain their color */
.rating-star.selected {
    color: #fbbf24;
}

.rating-star.selected i {
    color: #fbbf24;
}

.badge-visible {
  display: inline-block !important;
}

.mini-cart-actions .btn {
  flex: 1;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
  text-transform: none;
  letter-spacing: 0.2px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 0.8rem;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mini-cart-actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.mini-cart-actions .btn:hover::before {
  left: 100%;
}

.mini-cart-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.mini-cart-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mini-cart-actions .btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.mini-cart-actions .btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mini-cart-actions .btn-outline-secondary {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .mini-cart-actions .btn-outline-secondary {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.mini-cart-actions .btn-outline-secondary:hover {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .mini-cart-actions .btn-outline-secondary:hover {
  background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
  color: var(--text-primary);
}

/* Empty Cart Action Buttons */
.empty-cart-actions .btn {
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-xl);
  font-weight: var(--font-weight-semibold);
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 1rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.empty-cart-actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.empty-cart-actions .btn:hover::before {
  left: 100%;
}

.empty-cart-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.empty-cart-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #2563eb 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 6px 12px rgba(0, 0, 0, 0.15);
}

.empty-cart-actions .btn-outline-secondary {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .empty-cart-actions .btn-outline-secondary {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.empty-cart-actions .btn-outline-secondary:hover {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .empty-cart-actions .btn-outline-secondary:hover {
  background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
  color: var(--text-primary);
}

/* Button Icon Styling */
.mini-cart-actions .btn i,
.empty-cart-actions .btn i {
  font-size: 0.8rem;
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.mini-cart-actions .btn:hover i,
.empty-cart-actions .btn:hover i {
  opacity: 1;
  transform: scale(1.02);
}

/* Button Active States */
.mini-cart-actions .btn:active,
.empty-cart-actions .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Focus States for Accessibility */
.mini-cart-actions .btn:focus,
.empty-cart-actions .btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.mini-cart-actions .btn-success:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.mini-cart-actions .btn-outline-secondary:focus,
.empty-cart-actions .btn-outline-secondary:focus {
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.3);
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-sm);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar-toggler {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
}

.navbar-toggler:hover {
  transform: scale(1.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search Button in Header */
.btn-neumorphic {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

[data-theme="dark"] .btn-neumorphic {
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.btn-neumorphic:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: auto;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 1;
    transition: all var(--transition-normal);
    border-radius: var(--radius-2xl);
}

.search-modal.show {
    display: block;
    opacity: 1;
}

/* ===================================
   PRODUCT SCROLLER COMPONENT STYLES
   =================================== */

/* Related Products Section */
.related-products {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.related-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.related-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.related-title i {
    color: #ef4444;
    filter: drop-shadow(2px 2px 4px rgba(239, 68, 68, 0.3));
}

.lead {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Scroller Container */
.scroller-container {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroller-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.scroller-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    padding: 1rem;
}

.scroller-item {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
}

/* Product Card */
.scroller-product-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.scroller-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Product Image */
.scroller-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.scroller-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Product Badge */
.scroller-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.scroller-product-badge .badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Product Actions */
.scroller-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroller-product-card:hover .scroller-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.scroller-wishlist-btn,
.scroller-add-to-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroller-wishlist-btn {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.scroller-wishlist-btn:hover {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    color: white;
    transform: scale(1.1);
}

.scroller-add-to-cart {
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.scroller-add-to-cart:hover {
    background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
    transform: scale(1.1);
}

/* Product Info */
.scroller-product-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.scroller-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.scroller-product-meta .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.scroller-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.scroller-rating-stars i {
    font-size: 0.875rem;
    color: #fbbf24;
}

.scroller-rating-stars .text-secondary {
    color: #cbd5e1;
}

.scroller-rating-stars .small {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Product Title */
.scroller-product-title {
    margin-bottom: 0.75rem;
}

.scroller-product-title a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -moz-box;
    -moz-line-clamp: 2;
    -moz-box-orient: vertical;
    display: box;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.scroller-product-title a:hover {
    color: #3b82f6;
}

/* Product Description */
.scroller-product-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -moz-box;
    -moz-line-clamp: 2;
    -moz-box-orient: vertical;
    display: box;
    line-clamp: 2;
    box-orient: vertical;
    overflow: hidden;
}

/* Product Price */
.scroller-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.scroller-price-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroller-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroller-price-old {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.scroller-product-price .badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroller Controls */
.scroller-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.scroller-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 10;
}

.scroller-btn:hover {
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.scroller-btn:active {
    transform: scale(0.95);
}

/* Progress Bar */
.scroller-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 0 0 16px 16px;
    transition: width 0.3s ease;
    z-index: 5;
}

/* Indicators */
.scroller-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.scroller-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroller-indicator.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* Dark Mode Support */
[data-theme="dark"] .related-products {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .related-title {
    color: #f1f5f9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .lead {
    color: #94a3b8;
}

[data-theme="dark"] .scroller-container {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .scroller-product-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .scroller-product-info {
    background: rgba(30, 41, 59, 0.9);
}

[data-theme="dark"] .scroller-product-title a {
    color: #f1f5f9;
}

[data-theme="dark"] .scroller-product-title a:hover {
    color: #60a5fa;
}

[data-theme="dark"] .scroller-product-description {
    color: #94a3b8;
}

[data-theme="dark"] .scroller-price-value {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .scroller-btn {
    background: linear-gradient(145deg, #374151 0%, #4b5563 100%);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .scroller-btn:hover {
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .scroller-item {
        width: 250px;
        min-width: 250px;
    }
}

@media (max-width: 992px) {
    .scroller-item {
        width: 220px;
        min-width: 220px;
    }
    
    .related-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .scroller-item {
        width: 200px;
        min-width: 200px;
    }
    
    .related-title {
        font-size: 1.75rem;
    }
    
    .scroller-container {
        padding: 1rem;
    }
    
    .scroller-product-info {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .scroller-item {
        width: 180px;
        min-width: 180px;
    }
    
    .related-title {
        font-size: 1.5rem;
    }
    
    .scroller-controls {
        padding: 0 0.5rem;
    }
    
    .scroller-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.search-modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .search-modal-content {
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.search-modal.show .search-modal-content {
    transform: scale(1);
}

/* Search Modal Controls */
.search-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-minimize,
.btn-maximize,
.btn-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.15),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.6);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-minimize:hover,
.btn-maximize:hover {
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.1),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.7);
    color: var(--accent-blue);
    transform: scale(1.05);
}

.btn-close:hover {
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.1),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.7);
    color: var(--accent-red);
    transform: scale(1.05);
}

/* Modal States */
.search-modal.minimized {
    width: 320px !important;
    height: 70px !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.search-modal.minimized .search-modal-content {
    width: 100%;
    height: 100%;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 20px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    padding: 15px;
}

.search-modal.minimized .search-header {
    padding: 0;
    border-bottom: none;
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-modal.minimized .search-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-modal.minimized .search-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
}

.search-modal.minimized .btn-minimize,
.search-modal.minimized .btn-maximize,
.search-modal.minimized .btn-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 12px;
    background: linear-gradient(145deg, #f1f5f9, #ffffff);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.2),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.search-modal.minimized .btn-minimize:hover,
.search-modal.minimized .btn-maximize:hover {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.1),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.9);
    color: var(--accent-blue);
    transform: scale(1.1);
}

.search-modal.minimized .btn-close:hover {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.1),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.9);
    color: var(--accent-red);
    transform: scale(1.1);
}

/* Dark mode for minimized state */
[data-theme="dark"] .search-modal.minimized {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .search-modal.minimized .search-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .search-modal.minimized .btn-minimize,
[data-theme="dark"] .search-modal.minimized .btn-maximize,
[data-theme="dark"] .search-modal.minimized .btn-close {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.3),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.2);
    border-color: rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .search-modal.minimized .btn-minimize:hover,
[data-theme="dark"] .search-modal.minimized .btn-maximize:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.2),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.3);
    color: #60a5fa;
}

[data-theme="dark"] .search-modal.minimized .btn-close:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.2),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.3);
    color: #f87171;
}

.search-modal.minimized .search-body {
    display: none;
}

.search-modal.maximized {
    width: 95vw !important;
    height: 95vh !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 
        8px 8px 32px rgba(148, 163, 184, 0.12),
        -8px -8px 32px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.search-modal.maximized .search-modal-content {
    width: 100%;
    height: 100%;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: none;
    display: flex;
    flex-direction: column;
}

.search-modal.maximized .search-header {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 20px 24px;
    border-radius: 20px 20px 0 0;
}

.search-modal.maximized .search-header h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.search-modal.maximized .search-body {
    height: calc(100% - 80px);
    padding: 24px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 0 0 20px 20px;
}

.search-modal.maximized .search-input-group {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.search-modal.maximized .search-input-group input {
    background: transparent;
    border: none;
    color: var(--text-primary);
}

.search-modal.maximized .search-input-group input::placeholder {
    color: var(--text-muted);
}

.search-modal.maximized .search-results {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

/* Dark mode for maximized state */
[data-theme="dark"] .search-modal.maximized {
    background: rgba(30, 41, 59, 0.98);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        8px 8px 32px rgba(0, 0, 0, 0.3),
        -8px -8px 32px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .search-modal.maximized .search-modal-content {
    background: linear-gradient(145deg, #1e293b, #334155);
}

[data-theme="dark"] .search-modal.maximized .search-header {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-bottom-color: rgba(51, 65, 85, 0.4);
}

[data-theme="dark"] .search-modal.maximized .search-header h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .search-modal.maximized .search-body {
    background: linear-gradient(145deg, #1e293b, #334155);
}

[data-theme="dark"] .search-modal.maximized .search-input-group {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .search-modal.maximized .search-input-group input {
    color: var(--text-primary);
}

[data-theme="dark"] .search-modal.maximized .search-input-group input::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .search-modal.maximized .search-results {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

/* Dark mode for search results in maximized state */
[data-theme="dark"] .search-modal.maximized .search-result-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-bottom-color: rgba(51, 65, 85, 0.3);
    color: var(--text-primary);
}

[data-theme="dark"] .search-modal.maximized .search-result-item:hover {
    background: linear-gradient(145deg, #475569, #334155);
}

[data-theme="dark"] .search-modal.maximized .search-result-name {
    color: var(--text-primary);
}

[data-theme="dark"] .search-modal.maximized .search-result-price {
    color: #60a5fa;
}

[data-theme="dark"] .search-modal.maximized .search-result-description {
    color: var(--text-muted);
}

/* Dark mode for controls */
[data-theme="dark"] .btn-minimize,
[data-theme="dark"] .btn-maximize,
[data-theme="dark"] .btn-close {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.25),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.2);
    color: var(--text-muted);
}

[data-theme="dark"] .btn-minimize:hover,
[data-theme="dark"] .btn-maximize:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.2),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.3);
    color: #60a5fa;
}

[data-theme="dark"] .btn-close:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.2),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.3);
    color: #f87171;
}

[data-theme="dark"] .search-modal.minimized .search-modal-content {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.3);
}

/* Search Header - Enhanced */
.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.search-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.search-body {
    padding: var(--spacing-lg);
}

.search-box {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.search-input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.06), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .search-input {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), inset 2px 2px 4px rgba(0, 0, 0, 0.06), inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

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

.search-btn {
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--spacing-md) var(--spacing-lg);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.search-results {
    max-height: 400px;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid var(--border-color);
    margin-top: var(--spacing-md);
    padding: 20px;
}
[data-theme="dark"] .search-results {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-color: var(--border-color);
}

/* Enhanced Search Results with Neumorphic Design */
.search-result-item {
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5),
        inset -1px -1px 2px rgba(148, 163, 184, 0.1);
    border: none !important;
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.search-result-item:hover::before {
    left: 100%;
}

[data-theme="dark"] .search-result-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        -2px -2px 4px rgba(51, 65, 85, 0.2),
        inset 1px 1px 2px rgba(51, 65, 85, 0.15),
        inset -1px -1px 2px rgba(0, 0, 0, 0.25);
}

.search-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.search-result-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(148, 163, 184, 0.15);
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
}

[data-theme="dark"] .search-result-item:hover {
    background: linear-gradient(145deg, #1e293b, #334155);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -3px -3px 6px rgba(51, 65, 85, 0.3),
        inset 2px 2px 4px rgba(51, 65, 85, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.35);
}

.search-result-item.active {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb) !important;
    color: white !important;
    box-shadow: 
        4px 4px 8px rgba(59, 130, 246, 0.3),
        -3px -3px 6px rgba(255, 255, 255, 0.4),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.02);
}

.search-result-item.active::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Enhanced Search Result Image */
.search-result-item img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.15),
        inset -1px -1px 2px rgba(255, 255, 255, 0.6);
    padding: 2px;
    transition: all 0.3s ease;
    border: none !important;
}

.search-result-item:hover .search-result-item img {
    transform: scale(1.05);
    box-shadow: 
        inset 3px 3px 6px rgba(148, 163, 184, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .search-result-item img {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.25),
        inset -1px -1px 2px rgba(51, 65, 85, 0.2);
}

/* Enhanced Search Result Info */
.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item.active .search-result-name {
    color: white;
}

.search-result-price {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.search-result-price::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    border-radius: 50%;
    box-shadow: 
        inset 1px 1px 2px rgba(148, 163, 184, 0.15),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.6);
}

.search-result-item.active .search-result-price {
    color: rgba(255, 255, 255, 0.9);
}

.search-result-item.active .search-result-price::before {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.15),
        inset -0.5px -0.5px 1px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .search-result-price {
    color: #60a5fa;
}

[data-theme="dark"] .search-result-price::before {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.25),
        inset -0.5px -0.5px 1px rgba(51, 65, 85, 0.2);
}

/* Enhanced Description */
.search-result-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
}

.search-result-item.active .search-result-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Search Loading State */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    color: var(--text-muted);
}

.search-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: var(--spacing-sm);
}

/* Enhanced Header Navigation */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-slow);
}

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

/* Header Icons Container */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-icon-btn {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
}

[data-theme="dark"] .header-icon-btn {
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.header-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

/* Enhanced Logo Animation */
.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
}

.navbar-brand:hover::after {
    transform: translateX(100%);
}

/* ==================== End header (including all things in header) ==================== */

/* ==================== Start footer (including all things in footer) ==================== */

/* Main Footer */
footer {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  margin-top: var(--b22-spacing-2xl);
  border-radius: var(--b22-radius-2xl) var(--b22-radius-2xl) 0 0;
  box-shadow: 
    0 -8px 16px rgba(0, 0, 0, 0.08),
    0 -4px 8px rgba(0, 0, 0, 0.04),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.footer-content {
  padding: var(--b22-spacing-2xl) 0;
}

.footer-section h5 {
  color: #1e293b;
  font-weight: 800;
  margin-bottom: var(--b22-spacing-lg);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.footer-links li {
  margin-bottom: var(--b22-spacing-sm);
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: var(--b22-spacing-xs) 0;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 4px 0;
}

.footer-links a:hover {
  color: #3b82f6;
  transform: translateX(4px);
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  box-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.1),
    -2px -2px 4px rgba(255, 255, 255, 0.7);
}

.footer-links a i {
  margin-right: var(--b22-spacing-sm);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover i {
  opacity: 1;
  color: #3b82f6;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: var(--b22-spacing-md);
  margin-top: var(--b22-spacing-lg);
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: var(--b22-radius-full);
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.1),
    -4px -4px 8px rgba(255, 255, 255, 0.7),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.social-link:hover {
  color: #3b82f6;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.15),
    -8px -8px 16px rgba(255, 255, 255, 0.8),
    inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.youtube:hover { background: #ff0000; }

/* Newsletter Signup */
.newsletter-form {
  display: flex;
  gap: var(--b22-spacing-sm);
  margin-top: var(--b22-spacing-lg);
}

.newsletter-input {
  flex: 1;
  padding: var(--b22-spacing-md);
  border: 1px solid var(--neu-border-dark);
  border-radius: var(--b22-radius-lg);
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  color: #f8fafc;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--b22-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-button {
  padding: var(--b22-spacing-md) var(--b22-spacing-lg);
  background: var(--b22-primary);
  color: white;
  border: none;
  border-radius: var(--b22-radius-lg);
  font-weight: var(--b22-font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-button:hover {
  background: var(--b22-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  padding: 3rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  text-align: center;
  box-shadow: 
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
  text-align: left;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  flex-shrink: 0;
}

.payment-method {
  width: 56px;
  height: 36px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #64748b;
  box-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.1),
    -2px -2px 4px rgba(255, 255, 255, 0.7),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
  padding: 8px;
}

.payment-method:hover {
  transform: translateY(-2px);
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.15),
    -4px -4px 8px rgba(255, 255, 255, 0.8),
    inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

/* Dark mode for footer */
[data-theme="dark"] footer {
  background: linear-gradient(145deg, #1e293b, #334155);
  color: #e5e7eb;
  border-color: rgba(51, 65, 85, 0.4);
  box-shadow: 
    0 -8px 16px rgba(0, 0, 0, 0.4),
    0 -4px 8px rgba(0, 0, 0, 0.2),
    inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] footer::before {
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

[data-theme="dark"] .footer-section h5 {
  color: #e5e7eb;
  background: linear-gradient(145deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .footer-links a {
  color: #94a3b8;
  background: transparent;
}

[data-theme="dark"] .footer-links a:hover {
  color: #60a5fa;
  background: linear-gradient(145deg, #374151, #1f2937);
  box-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.3),
    -2px -2px 4px rgba(75, 85, 99, 0.4);
}

[data-theme="dark"] .footer-links a i {
  color: #94a3b8;
}

[data-theme="dark"] .footer-links a:hover i {
  color: #60a5fa;
}

[data-theme="dark"] .social-link {
  background: linear-gradient(145deg, #374151, #1f2937);
  border-color: rgba(51, 65, 85, 0.4);
  color: #94a3b8;
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.3),
    -4px -4px 8px rgba(75, 85, 99, 0.4),
    inset 1px 1px 2px rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .social-link:hover {
  color: #60a5fa;
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.4),
    -8px -8px 16px rgba(75, 85, 99, 0.5),
    inset 1px 1px 2px rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .footer-bottom {
  background: linear-gradient(145deg, #334155, #1e293b);
  border-color: rgba(51, 65, 85, 0.4);
  box-shadow: 
    inset 1px 1px 2px rgba(51, 65, 85, 0.3),
    inset -1px -1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .footer-bottom p {
  color: #94a3b8;
}

[data-theme="dark"] .payment-method {
  background: linear-gradient(145deg, #374151, #1f2937);
  border-color: rgba(51, 65, 85, 0.4);
  color: #94a3b8;
  box-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.3),
    -2px -2px 4px rgba(75, 85, 99, 0.4),
    inset 1px 1px 2px rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .payment-method:hover {
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.4),
    -4px -4px 8px rgba(75, 85, 99, 0.5),
    inset 1px 1px 2px rgba(75, 85, 99, 0.3);
}

/* ==================== End footer (including all things in footer) ==================== */

/* ==================== Start homepage ==================== */

/* Hero Section */
.hero-section {
  padding: var(--b22-spacing-2xl) 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0 0 var(--b22-radius-2xl) var(--b22-radius-2xl);
  margin-bottom: var(--b22-spacing-2xl);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--b22-font-weight-black);
  margin-bottom: var(--b22-spacing-lg);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--b22-spacing-2xl);
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--b22-spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero {
  padding: var(--b22-spacing-md) var(--b22-spacing-xl);
  border-radius: var(--b22-radius-full);
  font-weight: var(--b22-font-weight-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--b22-spacing-sm);
}

.btn-hero-primary {
  background: white;
  color: var(--b22-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--b22-primary);
  transform: translateY(-4px);
}

/* Featured Products */
.featured-products {
  padding: var(--b22-spacing-2xl) 0;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-2xl);
  margin-bottom: var(--b22-spacing-2xl);
}

[data-theme="dark"] .featured-products {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: var(--b22-font-weight-bold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  position: relative;
}

[data-theme="dark"] .section-title {
  color: #f8fafc;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--b22-primary);
  border-radius: var(--b22-radius-full);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--b22-spacing-xl);
  margin-top: var(--b22-spacing-2xl);
}

.product-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid var(--neu-border-light);
}

[data-theme="dark"] .product-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 0.9);
}

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

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

.product-name {
  font-size: 1.1rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-sm);
}

[data-theme="dark"] .product-name {
  color: #f8fafc;
}

.product-price {
  font-size: 1.25rem;
  font-weight: var(--b22-font-weight-bold);
  color: var(--b22-primary);
  margin-bottom: var(--b22-spacing-md);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--b22-spacing-sm);
  margin-bottom: var(--b22-spacing-md);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.rating-count {
  color: #64748b;
  font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
  padding: var(--b22-spacing-2xl) 0;
}

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

.category-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  text-align: center;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .category-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
  color: #f8fafc;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.12),
    -12px -12px 24px rgba(255, 255, 255, 0.9);
}

.category-icon {
  font-size: 3rem;
  color: var(--b22-primary);
  margin-bottom: var(--b22-spacing-md);
}

.category-name {
  font-weight: var(--b22-font-weight-semibold);
  font-size: 1.1rem;
  margin-bottom: var(--b22-spacing-xs);
}

.category-count {
  color: #64748b;
  font-size: 0.9rem;
}

/* Newsletter Section */
.home-newsletter {
  background: linear-gradient(135deg, var(--b22-primary) 0%, var(--b22-primary-dark) 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  color: white;
  text-align: center;
  margin: var(--b22-spacing-2xl) 0;
}

.home-newsletter h3 {
  font-size: 2rem;
  font-weight: var(--b22-font-weight-bold);
  margin-bottom: var(--b22-spacing-md);
}

.home-newsletter p {
  font-size: 1.1rem;
  margin-bottom: var(--b22-spacing-xl);
  opacity: 0.9;
}

.home-newsletter-form {
  display: flex;
  gap: var(--b22-spacing-md);
  max-width: 500px;
  margin: 0 auto;
}

.home-newsletter-input {
  flex: 1;
  padding: var(--b22-spacing-md);
  border: none;
  border-radius: var(--b22-radius-lg);
  font-size: 1rem;
}

.home-newsletter-button {
  padding: var(--b22-spacing-md) var(--b22-spacing-xl);
  background: white;
  color: var(--b22-primary);
  border: none;
  border-radius: var(--b22-radius-lg);
  font-weight: var(--b22-font-weight-bold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ==================== End homepage ==================== */

/* ==================== Start shop ==================== */

/* Shop Layout */
.shop-container {
  padding: var(--b22-spacing-2xl) 0;
}

.shop-header {
  margin-bottom: var(--b22-spacing-2xl);
}

.shop-title {
  font-size: 2.5rem;
  font-weight: var(--b22-font-weight-bold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .shop-title {
  color: #f8fafc;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--b22-spacing-sm);
  color: #64748b;
  font-size: 0.9rem;
}

.shop-breadcrumb a {
  color: var(--b22-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.shop-breadcrumb a:hover {
  color: var(--b22-primary-dark);
}

/* Shop Layout Grid */
.shop-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--b22-spacing-2xl);
}

@media (max-width: 992px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Filters */
.shop-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-section {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-lg);
  margin-bottom: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .filter-section {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.filter-title {
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-md);
  font-size: 1.1rem;
}

[data-theme="dark"] .filter-title {
  color: #f8fafc;
}

/* Category Filter */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: var(--b22-spacing-sm);
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--b22-spacing-sm);
  color: #475569;
  text-decoration: none;
  border-radius: var(--b22-radius-md);
  transition: all 0.3s ease;
}

[data-theme="dark"] .category-link {
  color: #cbd5e1;
}

.category-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--b22-primary);
  transform: translateX(4px);
}

.category-count {
  background: rgba(37, 99, 235, 0.1);
  color: var(--b22-primary);
  padding: 2px 8px;
  border-radius: var(--b22-radius-full);
  font-size: 0.8rem;
  font-weight: var(--b22-font-weight-semibold);
}

/* Price Range Filter */
.price-range {
  margin-top: var(--b22-spacing-md);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--b22-spacing-sm);
  margin-bottom: var(--b22-spacing-md);
}

.price-input {
  padding: var(--b22-spacing-sm);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-md);
  font-size: 0.9rem;
}

[data-theme="dark"] .price-input {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

/* Size Filter */
.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--b22-spacing-sm);
  margin-top: var(--b22-spacing-md);
}

.size-option {
  padding: var(--b22-spacing-sm);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  font-size: 0.9rem;
}

[data-theme="dark"] .size-option {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

.size-option:hover {
  border-color: var(--b22-primary);
  color: var(--b22-primary);
}

.size-option.selected {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

/* Color Filter */
.color-options {
  display: flex;
  gap: var(--b22-spacing-sm);
  margin-top: var(--b22-spacing-md);
  flex-wrap: wrap;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: var(--b22-radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.selected {
  border-color: var(--b22-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Shop Main Content */
.shop-main {
  min-height: 1000px;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--b22-spacing-lg);
  padding: var(--b22-spacing-md);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-lg);
  border: 1px solid var(--neu-border-light);
}

[data-theme="dark"] .shop-toolbar {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.results-count {
  color: #64748b;
  font-size: 0.9rem;
}

.sort-dropdown {
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-md);
  background: white;
  color: #1e293b;
  font-size: 0.9rem;
  cursor: pointer;
}

[data-theme="dark"] .sort-dropdown {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

/* View Toggle */
.view-toggle {
  display: flex;
  gap: var(--b22-spacing-xs);
}

.view-btn {
  padding: var(--b22-spacing-sm);
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: var(--b22-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
}

[data-theme="dark"] .view-btn {
  background: #1e293b;
  border-color: #374151;
  color: #cbd5e1;
}

.view-btn.active {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

/* Product Grid */
.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--b22-spacing-xl);
}

/* Product Card (Shop specific) */
.shop-product-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .shop-product-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.shop-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 0.9);
}

.product-badges {
  position: absolute;
  top: var(--b22-spacing-sm);
  left: var(--b22-spacing-sm);
  display: flex;
  gap: var(--b22-spacing-xs);
  z-index: 1;
}

.product-badge {
  padding: 4px 8px;
  border-radius: var(--b22-radius-md);
  font-size: 0.7rem;
  font-weight: var(--b22-font-weight-semibold);
  text-transform: uppercase;
}

.badge-new {
  background: #10b981;
  color: white;
}

.badge-sale {
  background: #ef4444;
  color: white;
}

.badge-hot {
  background: #f59e0b;
  color: white;
}

/* Quick Actions */
.product-quick-actions {
  position: absolute;
  top: var(--b22-spacing-sm);
  right: var(--b22-spacing-sm);
  display: flex;
  flex-direction: column;
  gap: var(--b22-spacing-xs);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.shop-product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--b22-radius-full);
  background: white;
  border: 1px solid var(--neu-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .quick-action-btn {
  background: #2d3748;
  border-color: var(--neu-border-dark);
  color: #cbd5e1;
}

.quick-action-btn:hover {
  background: var(--b22-primary);
  color: white;
  transform: scale(1.1);
}

/* Pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--b22-spacing-sm);
  margin-top: var(--b22-spacing-2xl);
}

.pagination-btn {
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: var(--b22-radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
  text-decoration: none;
}

[data-theme="dark"] .pagination-btn {
  background: #1e293b;
  border-color: #374151;
  color: #cbd5e1;
}

.pagination-btn:hover {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

.pagination-btn.active {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

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

/* ==================== End shop ==================== */

/* ==================== Start about ==================== */

/* About Page */
.about-container {
  padding: var(--b22-spacing-2xl) 0;
}

.about-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  color: white;
  text-align: center;
  margin-bottom: var(--b22-spacing-2xl);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="about-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23about-pattern)"/></svg>');
  opacity: 0.3;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 3rem;
  font-weight: var(--b22-font-weight-black);
  margin-bottom: var(--b22-spacing-lg);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.about-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--b22-spacing-lg);
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Content Sections */
.about-section {
  margin-bottom: var(--b22-spacing-2xl);
}

.about-section-title {
  font-size: 2rem;
  font-weight: var(--b22-font-weight-bold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  position: relative;
}

[data-theme="dark"] .about-section-title {
  color: #f8fafc;
}

.about-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--b22-primary);
  border-radius: var(--b22-radius-full);
}

/* Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--b22-spacing-2xl);
  align-items: center;
}

@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
  }
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
}

[data-theme="dark"] .story-text {
  color: #cbd5e1;
}

.story-image {
  border-radius: var(--b22-radius-xl);
  overflow: hidden;
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 0.8);
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--b22-spacing-xl);
  margin-top: var(--b22-spacing-xl);
}

.value-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  text-align: center;
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .value-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 0.9);
}

.value-icon {
  font-size: 3rem;
  color: var(--b22-primary);
  margin-bottom: var(--b22-spacing-lg);
}

.value-title {
  font-size: 1.25rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .value-title {
  color: #f8fafc;
}

.value-description {
  color: #64748b;
  line-height: 1.6;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--b22-spacing-xl);
  margin-top: var(--b22-spacing-xl);
}

.team-member {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  text-align: center;
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .team-member {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 0.9);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--b22-radius-full);
  margin: 0 auto var(--b22-spacing-lg);
  overflow: hidden;
  border: 4px solid var(--b22-primary);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.25rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-xs);
}

[data-theme="dark"] .member-name {
  color: #f8fafc;
}

.member-role {
  color: var(--b22-primary);
  font-weight: var(--b22-font-weight-medium);
  margin-bottom: var(--b22-spacing-md);
}

.member-bio {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--b22-spacing-md);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: var(--b22-spacing-sm);
}

.member-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--b22-radius-full);
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid var(--neu-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .member-social a {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
  color: #cbd5e1;
}

.member-social a:hover {
  background: var(--b22-primary);
  color: white;
  transform: scale(1.1);
}

/* Stats Section */
.about-stats {
  background: linear-gradient(135deg, var(--b22-primary) 0%, var(--b22-primary-dark) 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  margin: var(--b22-spacing-2xl) 0;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--b22-spacing-xl);
  text-align: center;
}

.stat-item {
  padding: var(--b22-spacing-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--b22-font-weight-black);
  margin-bottom: var(--b22-spacing-sm);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== End about ==================== */

/* ==================== Start contact ==================== */

/* Contact Page */
.contact-container {
  padding: var(--b22-spacing-2xl) 0;
}

.contact-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  color: white;
  text-align: center;
  margin-bottom: var(--b22-spacing-2xl);
}

.contact-title {
  font-size: 3rem;
  font-weight: var(--b22-font-weight-black);
  margin-bottom: var(--b22-spacing-lg);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--b22-spacing-lg);
  opacity: 0.9;
}

/* Contact Content */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--b22-spacing-2xl);
  margin-bottom: var(--b22-spacing-2xl);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.contact-form-section {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-form-section {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
}

[data-theme="dark"] .contact-form-title {
  color: #f8fafc;
}

.form-group {
  margin-bottom: var(--b22-spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--b22-spacing-sm);
  font-weight: var(--b22-font-weight-medium);
  color: #374151;
}

[data-theme="dark"] .form-label {
  color: #d1d5db;
}

.form-control {
  width: 100%;
  padding: var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-lg);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #1e293b;
}

[data-theme="dark"] .form-control {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--b22-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--b22-primary);
  color: white;
  border: none;
  padding: var(--b22-spacing-md) var(--b22-spacing-xl);
  border-radius: var(--b22-radius-lg);
  font-weight: var(--b22-font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-submit:hover {
  background: var(--b22-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* Contact Information */
.contact-info-section {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-info-section {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
}

[data-theme="dark"] .contact-info-title {
  color: #f8fafc;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--b22-spacing-xl);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--b22-spacing-md);
  color: var(--b22-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-info-icon {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
}

.contact-info-content h4 {
  font-size: 1.1rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-xs);
}

[data-theme="dark"] .contact-info-content h4 {
  color: #f8fafc;
}

.contact-info-content p {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .contact-info-content p {
  color: #cbd5e1;
}

/* Map Section */
.contact-map {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  overflow: hidden;
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  height: 400px;
  position: relative;
}

[data-theme="dark"] .contact-map {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #64748b;
  font-size: 1.1rem;
}

[data-theme="dark"] .map-placeholder {
  background: #1e293b;
  color: #cbd5e1;
}

/* FAQ Section */
.contact-faq {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-faq {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.faq-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  text-align: center;
}

[data-theme="dark"] .faq-title {
  color: #f8fafc;
}

.faq-item {
  margin-bottom: var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-lg);
  overflow: hidden;
}

[data-theme="dark"] .faq-item {
  border-color: #374151;
}

.faq-question {
  width: 100%;
  padding: var(--b22-spacing-md);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: none;
  text-align: left;
  font-weight: var(--b22-font-weight-medium);
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-theme="dark"] .faq-question {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  color: #f8fafc;
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.05);
}

.faq-question.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--b22-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--b22-spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #64748b;
  line-height: 1.6;
}

[data-theme="dark"] .faq-answer {
  color: #cbd5e1;
}

.faq-item.active .faq-answer {
  padding: var(--b22-spacing-md);
  max-height: 200px;
}

/* ==================== End contact ==================== */

/* ==================== Start account ==================== */

/* Account Dashboard */
.account-container {
  padding: var(--b22-spacing-2xl) 0;
}

.account-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  color: white;
  margin-bottom: var(--b22-spacing-2xl);
}

.account-header-content {
  display: flex;
  align-items: center;
  gap: var(--b22-spacing-xl);
}

@media (max-width: 768px) {
  .account-header-content {
    flex-direction: column;
    text-align: center;
  }
}

.account-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--b22-radius-full);
  border: 4px solid white;
  overflow: hidden;
  flex-shrink: 0;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-info h1 {
  font-size: 2rem;
  font-weight: var(--b22-font-weight-bold);
  margin-bottom: var(--b22-spacing-sm);
}

.account-info p {
  opacity: 0.9;
  margin: 0;
}

/* Account Layout */
.account-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--b22-spacing-2xl);
}

@media (max-width: 992px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}

/* Account Sidebar */
.account-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.account-nav {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .account-nav {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.account-nav-title {
  font-size: 1.1rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  padding-bottom: var(--b22-spacing-md);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .account-nav-title {
  color: #f8fafc;
  border-color: #374151;
}

.account-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account-nav-item {
  margin-bottom: var(--b22-spacing-xs);
}

.account-nav-link {
  display: flex;
  align-items: center;
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  color: #475569;
  text-decoration: none;
  border-radius: var(--b22-radius-md);
  transition: all 0.3s ease;
  font-weight: var(--b22-font-weight-medium);
}

[data-theme="dark"] .account-nav-link {
  color: #cbd5e1;
}

.account-nav-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--b22-primary);
  transform: translateX(4px);
}

.account-nav-link.active {
  background: var(--b22-primary);
  color: white;
}

.account-nav-link i {
  margin-right: var(--b22-spacing-sm);
  font-size: 1rem;
}

/* Account Content */
.account-content {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .account-content {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.account-section-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  padding-bottom: var(--b22-spacing-md);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .account-section-title {
  color: #f8fafc;
  border-color: #374151;
}

/* Profile Information */
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--b22-spacing-lg);
  margin-bottom: var(--b22-spacing-xl);
}

.profile-info-item {
  display: flex;
  flex-direction: column;
}

.profile-info-label {
  font-weight: var(--b22-font-weight-medium);
  color: #64748b;
  margin-bottom: var(--b22-spacing-xs);
  font-size: 0.9rem;
}

.profile-info-value {
  color: #1e293b;
  font-size: 1.1rem;
}

[data-theme="dark"] .profile-info-value {
  color: #f8fafc;
}

/* Account Forms */
.account-form {
  margin-bottom: var(--b22-spacing-xl);
}

.account-form-group {
  margin-bottom: var(--b22-spacing-lg);
}

.account-form-label {
  display: block;
  margin-bottom: var(--b22-spacing-sm);
  font-weight: var(--b22-font-weight-medium);
  color: #374151;
}

[data-theme="dark"] .account-form-label {
  color: #d1d5db;
}

.account-form-control {
  width: 100%;
  padding: var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-lg);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #1e293b;
}

[data-theme="dark"] .account-form-control {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

.account-form-control:focus {
  outline: none;
  border-color: var(--b22-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--b22-spacing-lg);
}

.order-item {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
  transition: all 0.3s ease;
}

[data-theme="dark"] .order-item {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--neu-border-dark);
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--b22-spacing-md);
}

.order-number {
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
}

[data-theme="dark"] .order-number {
  color: #f8fafc;
}

.order-status {
  padding: 4px 12px;
  border-radius: var(--b22-radius-full);
  font-size: 0.8rem;
  font-weight: var(--b22-font-weight-semibold);
  text-transform: uppercase;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.status-delivered {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--b22-spacing-md);
  margin-bottom: var(--b22-spacing-md);
}

.order-detail-item {
  display: flex;
  flex-direction: column;
}

.order-detail-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 2px;
}

.order-detail-value {
  font-weight: var(--b22-font-weight-medium);
  color: #1e293b;
}

[data-theme="dark"] .order-detail-value {
  color: #f8fafc;
}

.order-actions {
  display: flex;
  gap: var(--b22-spacing-sm);
  margin-top: var(--b22-spacing-md);
}

.order-action-btn {
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: var(--b22-radius-md);
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="dark"] .order-action-btn {
  background: #1e293b;
  border-color: #374151;
  color: #cbd5e1;
}

.order-action-btn:hover {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

/* Addresses List */
.addresses-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--b22-spacing-lg);
}

.address-card {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
  position: relative;
  transition: all 0.3s ease;
}

[data-theme="dark"] .address-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--neu-border-dark);
}

.address-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-default {
  position: absolute;
  top: var(--b22-spacing-sm);
  right: var(--b22-spacing-sm);
  background: var(--b22-success);
  color: white;
  padding: 4px 8px;
  border-radius: var(--b22-radius-md);
  font-size: 0.7rem;
  font-weight: var(--b22-font-weight-semibold);
}

.address-type {
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-sm);
}

[data-theme="dark"] .address-type {
  color: #f8fafc;
}

.address-text {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .address-text {
  color: #cbd5e1;
}

.address-actions {
  display: flex;
  gap: var(--b22-spacing-sm);
}

.address-action-btn {
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: var(--b22-radius-md);
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="dark"] .address-action-btn {
  background: #1e293b;
  border-color: #374151;
  color: #cbd5e1;
}

.address-action-btn:hover {
  background: var(--b22-primary);
  color: white;
  border-color: var(--b22-primary);
}

/* ==================== End account ==================== */

/* ==================== Start settings ==================== */

/* Settings Page */
.settings-container {
  padding: var(--b22-spacing-2xl) 0;
}

.settings-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--b22-radius-2xl);
  padding: var(--b22-spacing-2xl);
  color: white;
  margin-bottom: var(--b22-spacing-2xl);
  text-align: center;
}

.settings-title {
  font-size: 2.5rem;
  font-weight: var(--b22-font-weight-black);
  margin-bottom: var(--b22-spacing-md);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.settings-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Settings Layout */
.settings-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--b22-spacing-2xl);
}

@media (max-width: 992px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
}

/* Settings Sidebar */
.settings-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.settings-nav {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .settings-nav {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.settings-nav-title {
  font-size: 1.1rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  padding-bottom: var(--b22-spacing-md);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .settings-nav-title {
  color: #f8fafc;
  border-color: #374151;
}

.settings-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.settings-nav-item {
  margin-bottom: var(--b22-spacing-xs);
}

.settings-nav-link {
  display: flex;
  align-items: center;
  padding: var(--b22-spacing-sm) var(--b22-spacing-md);
  color: #475569;
  text-decoration: none;
  border-radius: var(--b22-radius-md);
  transition: all 0.3s ease;
  font-weight: var(--b22-font-weight-medium);
}

[data-theme="dark"] .settings-nav-link {
  color: #cbd5e1;
}

.settings-nav-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--b22-primary);
  transform: translateX(4px);
}

.settings-nav-link.active {
  background: var(--b22-primary);
  color: white;
}

.settings-nav-link i {
  margin-right: var(--b22-spacing-sm);
  font-size: 1rem;
}

/* Settings Content */
.settings-content {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .settings-content {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.settings-section {
  margin-bottom: var(--b22-spacing-2xl);
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
  padding-bottom: var(--b22-spacing-md);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .settings-section-title {
  color: #f8fafc;
  border-color: #374151;
}

/* Settings Forms */
.settings-form {
  margin-bottom: var(--b22-spacing-xl);
}

.settings-form-group {
  margin-bottom: var(--b22-spacing-lg);
}

.settings-form-label {
  display: block;
  margin-bottom: var(--b22-spacing-sm);
  font-weight: var(--b22-font-weight-medium);
  color: #374151;
}

[data-theme="dark"] .settings-form-label {
  color: #d1d5db;
}

.settings-form-control {
  width: 100%;
  padding: var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-lg);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: #1e293b;
}

[data-theme="dark"] .settings-form-control {
  background: #1e293b;
  border-color: #374151;
  color: #f8fafc;
}

.settings-form-control:focus {
  outline: none;
  border-color: var(--b22-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.settings-form-help {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: var(--b22-spacing-xs);
}

[data-theme="dark"] .settings-form-help {
  color: #94a3b8;
}

/* Toggle Switch */
.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--b22-spacing-md);
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .settings-toggle {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.toggle-info {
  flex: 1;
}

.toggle-label {
  font-weight: var(--b22-font-weight-medium);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-xs);
}

[data-theme="dark"] .toggle-label {
  color: #f8fafc;
}

.toggle-description {
  font-size: 0.9rem;
  color: #64748b;
}

[data-theme="dark"] .toggle-description {
  color: #94a3b8;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: #e2e8f0;
  border-radius: var(--b22-radius-full);
  cursor: pointer;
  transition: background 0.3s ease;
}

[data-theme="dark"] .toggle-switch {
  background: #374151;
}

.toggle-switch.active {
  background: var(--b22-primary);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: var(--b22-radius-full);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

/* Settings Cards */
.settings-card {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  margin-bottom: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
}

[data-theme="dark"] .settings-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--neu-border-dark);
}

.settings-card-title {
  font-weight: var(--b22-font-weight-semibold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .settings-card-title {
  color: #f8fafc;
}

.settings-card-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .settings-card-description {
  color: #94a3b8;
}

/* Danger Zone */
.danger-zone {
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  margin-top: var(--b22-spacing-xl);
}

[data-theme="dark"] .danger-zone {
  background: linear-gradient(145deg, #450a0a 0%, #7f1d1d 100%);
  border-color: #991b1b;
}

.danger-zone h3 {
  color: #991b1b;
  margin-bottom: var(--b22-spacing-md);
}

[data-theme="dark"] .danger-zone h3 {
  color: #fca5a5;
}

.danger-zone p {
  color: #7f1d1d;
  margin-bottom: var(--b22-spacing-lg);
}

[data-theme="dark"] .danger-zone p {
  color: #fecaca;
}

.danger-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: var(--b22-spacing-sm) var(--b22-spacing-lg);
  border-radius: var(--b22-radius-md);
  font-weight: var(--b22-font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.danger-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Settings Actions */
.settings-actions {
  display: flex;
  gap: var(--b22-spacing-md);
  margin-top: var(--b22-spacing-xl);
  padding-top: var(--b22-spacing-lg);
  border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .settings-actions {
  border-color: #374151;
}

.btn-settings {
  padding: var(--b22-spacing-md) var(--b22-spacing-xl);
  border: none;
  border-radius: var(--b22-radius-lg);
  font-weight: var(--b22-font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-settings-primary {
  background: var(--b22-primary);
  color: white;
}

.btn-settings-primary:hover {
  background: var(--b22-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn-settings-secondary {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

[data-theme="dark"] .btn-settings-secondary {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #374151;
}

.btn-settings-secondary:hover {
  background: #e2e8f0;
  color: #1e293b;
}

[data-theme="dark"] .btn-settings-secondary:hover {
  background: #374151;
  color: #f8fafc;
}

/* ==================== End settings ==================== */

/* ==================== Start checkout ==================== */

/* Checkout Page Styles */
.checkout-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--b22-spacing-lg);
}

/* Checkout Progress Steps */
.step-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: var(--b22-spacing-2xl);
}

.step-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

[data-theme="dark"] .step-line {
  background: #374151;
}

.step-item {
  width: 50px;
  height: 50px;
  border-radius: var(--b22-radius-full);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

[data-theme="dark"] .step-item {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: #374151;
  color: #94a3b8;
}

.step-item.active {
  background: var(--b22-primary);
  border-color: var(--b22-primary);
  color: white;
  transform: scale(1.1);
}

.step-item.completed {
  background: var(--b22-success);
  border-color: var(--b22-success);
  color: white;
}

/* Checkout Layout */
.checkout-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--b22-spacing-2xl);
  align-items: start;
}

@media (max-width: 992px) {
  .checkout-main {
    grid-template-columns: 1fr;
    gap: var(--b22-spacing-xl);
  }
}

/* Checkout Forms */
.checkout-forms {
  display: flex;
  flex-direction: column;
  gap: var(--b22-spacing-xl);
}

.checkout-form-title {
  font-size: 1.5rem;
  font-weight: var(--b22-font-weight-bold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
}

[data-theme="dark"] .checkout-form-title {
  color: #f8fafc;
}

/* Checkout Options */
.checkout-options {
  margin: var(--b22-spacing-lg) 0;
}

.checkout-option-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--neu-border-light);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

[data-theme="dark"] .checkout-option-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.checkout-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.12),
    -12px -12px 24px rgba(255, 255, 255, 0.9);
}

.checkout-option-icon {
  font-size: 2.5rem;
  color: var(--b22-primary);
  margin-bottom: var(--b22-spacing-md);
}

.option-features {
  margin-top: var(--b22-spacing-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--b22-spacing-sm);
  margin-bottom: var(--b22-spacing-xs);
  font-size: 0.9rem;
  color: #64748b;
}

[data-theme="dark"] .feature-item {
  color: #94a3b8;
}

.feature-item i {
  color: var(--b22-success);
  font-size: 0.8rem;
}

/* Payment Options */
.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--b22-spacing-lg);
  margin-bottom: var(--b22-spacing-xl);
}

.payment-option {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--neu-border-light);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .payment-option {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.payment-option:hover {
  transform: translateY(-4px);
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.12),
    -12px -12px 24px rgba(255, 255, 255, 0.9);
}

.payment-option.selected {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--b22-primary);
}

.payment-option i {
  font-size: 2rem;
  color: var(--b22-primary);
  margin-bottom: var(--b22-spacing-sm);
}

.payment-option strong {
  display: block;
  margin-bottom: var(--b22-spacing-xs);
  color: #1e293b;
}

[data-theme="dark"] .payment-option strong {
  color: #f8fafc;
}

.payment-option small {
  color: #64748b;
}

[data-theme="dark"] .payment-option small {
  color: #94a3b8;
}

/* Payment Forms */
.payment-form {
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  margin-bottom: var(--b22-spacing-lg);
  border: 1px solid var(--neu-border-light);
}

[data-theme="dark"] .payment-form {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--neu-border-dark);
}

/* Stripe Elements */
.stripe-element-container {
  padding: var(--b22-spacing-md);
  border: 1px solid #e2e8f0;
  border-radius: var(--b22-radius-lg);
  background: white;
}

[data-theme="dark"] .stripe-element-container {
  background: #1e293b;
  border-color: #374151;
}

/* Address Cards */
.address-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--neu-border-light);
  border-radius: var(--b22-radius-lg);
  padding: var(--b22-spacing-lg);
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .address-card {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.address-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-card.selected {
  border-color: var(--b22-primary);
  background: rgba(37, 99, 235, 0.05);
}

/* Checkout Sidebar */
.checkout-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

@media (max-width: 992px) {
  .checkout-sidebar {
    position: static;
    order: -1;
  }
}

/* Order Summary */
.order-summary {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--b22-radius-xl);
  padding: var(--b22-spacing-xl);
  border: 1px solid var(--neu-border-light);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .order-summary {
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
  border-color: var(--neu-border-dark);
}

.order-summary h5 {
  font-size: 1.25rem;
  font-weight: var(--b22-font-weight-bold);
  color: #1e293b;
  margin-bottom: var(--b22-spacing-lg);
}

[data-theme="dark"] .order-summary h5 {
  color: #f8fafc;
}

.cart-items {
  margin-bottom: var(--b22-spacing-lg);
}

.cart-items th {
  font-weight: var(--b22-font-weight-semibold);
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: var(--b22-spacing-sm);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .cart-items th {
  color: #94a3b8;
  border-color: #374151;
}

.cart-items td {
  padding: var(--b22-spacing-sm) 0;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .cart-items td {
  border-color: #334155;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--b22-spacing-sm);
}

.cart-product-image {
  width: 50px;
  height: 50px;
  border-radius: var(--b22-radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-product-name {
  font-weight: var(--b22-font-weight-medium);
  color: #1e293b;
  font-size: 0.9rem;
}

[data-theme="dark"] .cart-product-name {
  color: #f8fafc;
}

.order-totals {
  border-top: 1px solid #e2e8f0;
  padding-top: var(--b22-spacing-lg);
  margin-top: var(--b22-spacing-lg);
}

[data-theme="dark"] .order-totals {
  border-color: #374151;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--b22-spacing-sm);
}

.order-row.total {
  font-weight: var(--b22-font-weight-bold);
  font-size: 1.1rem;
  color: var(--b22-primary);
  padding-top: var(--b22-spacing-sm);
  border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .order-row.total {
  border-color: #374151;
}

/* Success Step */
.success-icon {
  font-size: 4rem;
  color: var(--b22-success);
  margin-bottom: var(--b22-spacing-lg);
}

.success-message {
  text-align: center;
  margin-bottom: var(--b22-spacing-xl);
}

.success-title {
  font-size: 2rem;
  font-weight: var(--b22-font-weight-bold);
  color: var(--b22-success);
  margin-bottom: var(--b22-spacing-md);
}

.success-description {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

[data-theme="dark"] .success-description {
  color: #94a3b8;
}

/* Password Strength */
.password-strength {
  margin-top: var(--b22-spacing-sm);
}

.password-strength .progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: var(--b22-radius-full);
  overflow: hidden;
}

[data-theme="dark"] .password-strength .progress {
  background: #374151;
}

.password-strength .progress-bar {
  transition: width 0.3s ease;
}

.password-strength-text {
  font-size: 0.8rem;
  margin-top: var(--b22-spacing-xs);
  color: #64748b;
}

[data-theme="dark"] .password-strength-text {
  color: #94a3b8;
}

/* ==================== End checkout ==================== */

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* ==================== RESPONSIVE UTILITIES ==================== */
@media (max-width: 1400px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .product-grid,
  .shop-products {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--b22-spacing-lg);
  }
  
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 var(--b22-spacing-md);
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .product-grid,
  .shop-products {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .payment-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .size-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .navbar,
  .footer,
  .checkout-sidebar,
  .account-sidebar,
  .settings-sidebar {
    display: none !important;
  }
  
  .checkout-main,
  .account-layout,
  .settings-layout {
    grid-template-columns: 1fr;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .neu-convex,
  .neu-inset {
    box-shadow: none !important;
    background: white !important;
    border: 1px solid #ccc !important;
  }
}

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

/* Focus styles for better accessibility */
*:focus {
  outline: 2px solid var(--b22-primary);
  outline-offset: 2px;
}

/* Enhanced Filters Section */
.horizontal-filters {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.12),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 24px !important;
    position: relative;
    overflow: hidden;
}

.horizontal-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.filter-item {
    position: relative;
}

.filter-item .form-control {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8) !important;
}

.filter-item .form-control:focus {
    outline: none;
    border-color: var(--accent-blue) !important;
    box-shadow: 
        inset 2px 2px 4px rgba(59, 130, 246, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.9),
        0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-1px);
}

.filter-item .form-control::placeholder {
    color: var(--text-muted) !important;
    font-weight: 400;
}

.filter-item .btn-outline-secondary {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
}

.filter-item .btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-item .btn-outline-secondary:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff) !important;
    border-color: var(--accent-blue) !important;
    color: var(--accent-blue) !important;
    transform: translateY(-2px);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.9) !important;
}

.filter-item .btn-outline-secondary:hover::before {
    left: 100%;
}

.filter-item .btn-outline-secondary.active {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb) !important;
    border-color: var(--accent-blue) !important;
    color: white !important;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

.filter-item .btn-outline-secondary.active::before {
    display: none;
}

/* Dark mode for horizontal filters */
[data-theme="dark"] .horizontal-filters {
    background: linear-gradient(145deg, #1e293b, #334155) !important;
    border-color: rgba(51, 65, 85, 0.4) !important;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3) !important;
}

[data-theme="dark"] .horizontal-filters::before {
    background: linear-gradient(90deg, transparent, rgba(51, 65, 85, 0.4), transparent);
}

[data-theme="dark"] .filter-item .form-control {
    background: linear-gradient(145deg, #334155, #1e293b) !important;
    border-color: rgba(51, 65, 85, 0.4) !important;
    color: var(--text-primary) !important;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2) !important;
}

[data-theme="dark"] .filter-item .form-control:focus {
    border-color: #60a5fa !important;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        inset -2px -2px 4px rgba(51, 65, 85, 0.3),
        0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

[data-theme="dark"] .filter-item .form-control::placeholder {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .filter-item .btn-outline-secondary {
    background: linear-gradient(145deg, #334155, #1e293b) !important;
    border-color: rgba(51, 65, 85, 0.4) !important;
    color: var(--text-secondary) !important;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2) !important;
}

[data-theme="dark"] .filter-item .btn-outline-secondary:hover {
    background: linear-gradient(145deg, #475569, #334155) !important;
    border-color: #60a5fa !important;
    color: #60a5fa !important;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(51, 65, 85, 0.2),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3) !important;
}

[data-theme="dark"] .filter-item .btn-outline-secondary.active {
    background: linear-gradient(145deg, #2563eb, #1d4ed8) !important;
    border-color: #2563eb !important;
    color: white !important;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Enhanced Price Range Inputs */
.filter-item input[type="text"] {
    min-width: 80px;
}

/* Filter Item Icons */
.filter-item .btn-outline-secondary i {
    margin-right: 6px;
    font-size: 0.85rem;
}

/* Responsive Filters */
@media (max-width: 768px) {
    .horizontal-filters {
        padding: 16px !important;
        border-radius: 16px !important;
    }
    
    .filter-item .form-control,
    .filter-item .btn-outline-secondary {
        padding: 10px 14px !important;
        font-size: 0.85rem;
    }
    
    .filter-item input[type="text"] {
        min-width: 70px;
    }
}

@media (max-width: 576px) {
    .horizontal-filters .d-flex {
        flex-direction: column;
        gap: 12px !important;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .filter-item input[type="text"] {
        min-width: auto;
        width: 100%;
    }
}

/* ==================== PRODUCT PAGE NEUMORPHIC STYLING ==================== */

/* Product Detail Section - Only styling, no layout overrides */
.product-detail {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    padding: 40px 0;
}

/* Product Gallery */
.product-gallery {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    backdrop-filter: blur(10px);
}

/* Main Image */

.main-image {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.main-image img {
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    width: 100%;
    height: auto;
    display: block;
}

.main-image img:hover {
    transform: scale(1.02);
    box-shadow: 
        12px 12px 24px rgba(148, 163, 184, 0.2),
        -12px -12px 24px rgba(255, 255, 255, 0.9);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.thumbnail-container {
    position: relative;
    display: inline-block;
}

.thumbnail {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.thumbnail:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
    border-color: var(--accent-blue);
}

.thumbnail.active {
    border-color: var(--accent-blue);
    box-shadow: 
        inset 2px 2px 4px rgba(59, 130, 246, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Thumbnail Actions - Hidden by default, shown on hover */
.thumbnail-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.thumbnail-container:hover .thumbnail-actions {
    opacity: 1;
    visibility: visible;
}

.zoom-btn,
.view360-btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.zoom-btn:hover,
.view360-btn:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: scale(1.1);
    box-shadow: 
        2px 2px 4px rgba(148, 163, 184, 0.2),
        -2px -2px 4px rgba(255, 255, 255, 0.9);
}

/* Dark mode for thumbnail actions */
[data-theme="dark"] .zoom-btn,
[data-theme="dark"] .view360-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(51, 65, 85, 0.4);
    color: var(--text-secondary);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .zoom-btn:hover,
[data-theme="dark"] .view360-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: #60a5fa;
    color: #60a5fa;
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        -2px -2px 4px rgba(51, 65, 85, 0.3);
}

.product-header {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 24px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

.product-rating .fas {
    color: #fbbf24;
    font-size: 1rem;
}

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

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

/* Product Stock */
.product-stock .badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.bg-success {
    background: linear-gradient(145deg, #10b981, #059669) !important;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.bg-danger {
    background: linear-gradient(145deg, #ef4444, #dc2626) !important;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

/* Product Options */
.product-options {
    margin-bottom: 32px;
}

.neumorphic-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1rem;
}

/* Size Options */
.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    min-width: 50px;
    text-align: center;
}

.size-option:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
}

.size-option.selected {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Quantity Selection */
.quantity-input-group {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    width: fit-content;
}

.quantity-btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
}

.quantity-btn:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    color: var(--accent-blue);
    transform: scale(1.05);
}

.quantity-btn:active {
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.6);
}

/* Action Buttons */
.product-actions {
    margin-bottom: 32px;
}

.action-buttons-grid {
    margin-bottom: 16px;
}

.action-btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn-cart-custom {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    border-color: var(--accent-blue);
    color: white;
}

.action-btn-cart-custom:hover {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: white;
}

.secondary-actions {
    display: flex;
    gap: 12px;
}

.action-btn-secondary {
    flex: 1;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    padding: 12px 20px;
    font-size: 0.95rem;
}

.action-btn-secondary:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    color: var(--accent-blue);
}

.action-btn.wishlist-active {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: white;
}

.action-btn.wishlist-active:hover {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
}

/* Product Features */
.product-features {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 
        inset 4px 4px 8px rgba(148, 163, 184, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    color: var(--accent-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Dark Mode for Product Page */
[data-theme="dark"] .product-detail {
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

[data-theme="dark"] .product-gallery,
[data-theme="dark"] .product-info {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .main-image {
    background: transparent;
    border: none;
    box-shadow: none;
}

[data-theme="dark"] .main-image img {
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .main-image img:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.4),
        -12px -12px 24px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .thumbnail {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .thumbnail:hover {
    border-color: #60a5fa;
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.4),
        -6px -6px 12px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .product-title {
    color: var(--text-primary);
}

[data-theme="dark"] .size-option,
[data-theme="dark"] .quantity-input-group {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .size-option:hover {
    background: linear-gradient(145deg, #475569, #334155);
    border-color: #60a5fa;
    color: #60a5fa;
}

[data-theme="dark"] .quantity-btn {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: var(--text-secondary);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .quantity-btn:hover {
    background: linear-gradient(145deg, #475569, #334155);
    color: #60a5fa;
}

[data-theme="dark"] .action-btn-secondary {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    color: var(--text-secondary);
}

[data-theme="dark"] .action-btn-secondary:hover {
    background: linear-gradient(145deg, #475569, #334155);
    color: #60a5fa;
}

[data-theme="dark"] .product-features {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
    color: #60a5fa;
}

[data-theme="dark"] .feature-text h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-text p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-gallery,
    .product-info {
        padding: 20px;
        border-radius: 20px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .action-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .secondary-actions {
        flex-direction: column;
    }
    
    .size-options {
        gap: 8px;
    }
    
    .size-option {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .product-detail {
        padding: 20px 0;
    }
    
    .product-gallery,
    .product-info {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .thumbnail-gallery {
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px !important;
        height: 60px !important;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ==================== PRODUCT TABS SECTION ==================== */

.product-tabs {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 
        12px 12px 24px rgba(148, 163, 184, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

/* Tab Navigation */
.neumorphic-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid rgba(148, 163, 184, 0.1);
    padding: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav-item {
    margin: 0;
}

.neumorphic-tab {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    margin-bottom: 0;
}

.neumorphic-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.neumorphic-tab:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
}

.neumorphic-tab:hover::before {
    left: 100%;
}

.neumorphic-tab.active {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.neumorphic-tab.active::before {
    display: none;
}

.neumorphic-tab i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.9rem;
}

.neumorphic-tab:hover i {
    transform: scale(1.15) rotate(5deg);
}

.neumorphic-tab.active i {
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

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

/* Tab Content */
.neumorphic-content {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 
        inset 4px 4px 8px rgba(148, 163, 184, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    min-height: 300px;
}

.tab-pane {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.neumorphic-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neumorphic-title i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* Product Description */
.product-description {
    color: var(--text-primary);
    line-height: 1.7;
}

.product-description p {
    margin-bottom: 16px;
    font-size: 1rem;
}

/* Product Specifications */
.product-specifications {
    display: grid;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-blue);
}

.spec-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Reviews Section */
.product-reviews {
    display: grid;
    gap: 20px;
}

.review-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

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

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.review-rating {
    color: #fbbf24;
    font-size: 0.9rem;
}

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

.review-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Shipping Info */
.shipping-info {
    display: grid;
    gap: 20px;
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.shipping-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.shipping-icon {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    color: var(--accent-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.shipping-text h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.shipping-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Dark Mode for Tabs */
[data-theme="dark"] .product-tabs {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .neumorphic-tabs {
    border-bottom-color: rgba(51, 65, 85, 0.4);
}

[data-theme="dark"] .neumorphic-tab {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    color: var(--text-secondary);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .neumorphic-tab:hover {
    background: linear-gradient(145deg, #475569, #334155);
    border-color: #60a5fa;
    color: #60a5fa;
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.4),
        -6px -6px 12px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .neumorphic-tab.active {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    color: white;
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .neumorphic-content {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .neumorphic-title {
    color: var(--text-primary);
}

[data-theme="dark"] .neumorphic-title i {
    color: #60a5fa;
}

[data-theme="dark"] .spec-item,
[data-theme="dark"] .review-item,
[data-theme="dark"] .shipping-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .spec-item:hover,
[data-theme="dark"] .review-item:hover,
[data-theme="dark"] .shipping-item:hover {
    border-color: #60a5fa;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .shipping-icon {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(51, 65, 85, 0.2);
    color: #60a5fa;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .product-tabs {
        padding: 20px;
        border-radius: 20px;
    }
    
    .neumorphic-tabs {
        gap: 8px;
        padding-bottom: 12px;
    }
    
    .neumorphic-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
    
    .neumorphic-content {
        padding: 20px;
        border-radius: 16px;
    }
    
    .neumorphic-title {
        font-size: 1.1rem;
    }
    
    .spec-item,
    .review-item,
    .shipping-item {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .neumorphic-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .neumorphic-tab {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .product-tabs {
        padding: 16px;
        border-radius: 16px;
    }
    
    .neumorphic-content {
        padding: 16px;
        border-radius: 12px;
    }
}

/* ==================== PRODUCT PAGE LAYOUT IMPROVEMENTS ==================== */

/* Product Actions Layout Fix */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.primary-actions { 
    flex: 1; 
    min-width: 200px; 
}
.secondary-actions { 
    display: flex; 
    gap: 0.5rem; 
}

/* Fix for the empty space below tabs */
.tab-content {
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: 0 0 16px 16px;
    min-height: auto;
}

/* main-content — no forced height, renders at content height only */
.main-content {
    min-height: 0;
}

/* Fix thumbnail gallery height issue */
.thumbnail-scroll {
    max-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}



.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: none !important;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-trigger-btn, .view360-trigger-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-trigger-btn:hover, .view360-trigger-btn:hover {
    background: var(--accent-blue);
    transform: scale(1.1);
}

.thumbnail-gallery {
    margin-top: 16px;
}

.thumbnail-scroll {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

.thumbnail-item.active {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-actions {
    position: absolute;
    bottom: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
}

.thumb-zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    backdrop-filter: blur(8px);
}

.product-header {
    margin-bottom: 32px;
}

.product-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stock-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .star {
    font-size: 1rem;
    color: #fbbf24;
}

.rating-stars .star.filled {
    color: #f59e0b;
}

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

.product-price-section {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.current-price {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--accent-blue);
    letter-spacing: -1px;
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Enhanced Size Selection */
.product-options {
    margin-bottom: 32px;
}

.size-selection {
    margin-bottom: 24px;
}

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

.size-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.size-guide-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.size-guide-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.size-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
}

.size-option:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.size-option:hover::before {
    width: 100%;
    height: 100%;
}

.size-option.selected {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: white;
    transform: scale(1.05);
}

.size-option.selected::before {
    width: 100%;
    height: 100%;
}

.size-option.error {
    border-color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

.size-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.size-error.show {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Quantity Selection */
.quantity-selection {
    margin-bottom: 24px;
}

.quantity-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: block;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input-wrapper {
    position: relative;
}

.quantity-input:focus {
    outline: none;
}

/* Enhanced Action Buttons */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.primary-actions {
    flex: 1;
    min-width: 200px;
}

.secondary-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
    border-color: var(--accent-blue);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.action-btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.action-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.action-btn-secondary {
    flex: 1;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-height: 48px;
}

.action-btn-secondary:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.1);
}

.action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.action-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.action-btn.loading i {
    opacity: 0;
}

/* Ripple Effect */
.action-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Tab Navigation */
.product-tabs-container {
    background: var(--bg-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tabs-header {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
}

.nav-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 8px;
    scroll-behavior: smooth;
}

.nav-pills .nav-item {
    flex-shrink: 0;
}

.nav-pills .nav-link {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-pills .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-pills .nav-link:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--accent-blue);
    transform: translateY(-1px);
}

.nav-pills .nav-link:hover::before {
    left: 100%;
}

.nav-pills .nav-link.active {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.nav-pills .nav-link.active::before {
    left: 100%;
}

.tab-content {
    padding: 32px;
    background: var(--bg-surface);
    border-radius: 0 0 16px 16px;
    min-height: 200px;
    animation: fadeIn 0.3s ease;
}

.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0);
}

.tab-pane .neumorphic-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-pane .neumorphic-inset {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        inset 4px 4px 8px rgba(148, 163, 184, 0.1),
        inset -4px -4px -8px rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
}

/* Mobile Tab Navigation */
@media (max-width: 768px) {
    .nav-pills {
        gap: 4px;
        padding: 0 4px;
    }
    
    .nav-pills .nav-link {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-pane .neumorphic-inset {
        padding: 16px;
    }
}

/* Enhanced Product Detail Section Layout */
.product-detail {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    min-height: auto;
    padding: 40px 0;
}

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

.product-detail .row {
    gap: 40px;
    align-items: flex-start;
    margin: 0;
}

/* Product Gallery - Full Width Layout */
.product-gallery {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 
        12px 12px 24px rgba(148, 163, 184, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    width: 100%;
}

.main-image {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.main-image img {
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 
        8px 8px 16px rgba(148, 163, 184, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.main-image img:hover {
    transform: scale(1.02);
    box-shadow: 
        12px 12px 24px rgba(148, 163, 184, 0.2),
        -12px -12px 24px rgba(255, 255, 255, 0.9);
}

/* Enhanced spacing for sections */
.product-detail > .container > .row {
    margin-bottom: 40px;
}

/* Better responsive layout - Bootstrap 5 Compatible */
@media (min-width: 992px) {
    .product-detail .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-right: -15px !important;
        margin-left: -15px !important;
    }
    
    .product-detail .col-lg-6 {
        position: relative !important;
        width: 50% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .product-detail .col-lg-12 {
        position: relative !important;
        width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }
}

@media (max-width: 991.98px) {
    .product-detail .row {
        flex-direction: column !important;
        gap: 32px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .product-detail .col-lg-6 {
        width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .product-gallery,
    .product-info {
        padding: 24px;
    }
    
    .main-image img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 20px 0;
    }
    
    .product-detail .container {
        padding: 0 16px;
    }
    
    .product-detail .row {
        gap: 24px;
    }
    
    .product-gallery,
    .product-info {
        padding: 20px;
        border-radius: 20px;
    }
    
    .main-image img {
        max-height: 300px;
    }
}

/* Enhanced section spacing */
.product-gallery {
    margin-bottom: 0;
}

.product-tabs {
    margin-top: 40px;
}

/* Dark mode for product layout */
[data-theme="dark"] .product-detail {
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

[data-theme="dark"] .product-gallery {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .main-image {
    background: transparent;
    border: none;
    box-shadow: none;
}

[data-theme="dark"] .main-image img {
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(51, 65, 85, 0.2);
}

[data-theme="dark"] .main-image img:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.4),
        -12px -12px 24px rgba(51, 65, 85, 0.3);
}

[data-theme="dark"] .product-info {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-color: rgba(51, 65, 85, 0.4);
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.3),
        -12px -12px 24px rgba(51, 65, 85, 0.1),
        inset 1px 1px 2px rgba(51, 65, 85, 0.3);
}

/* Enhanced button styling for all buttons */
.btn {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff) !important;
    border-color: var(--accent-blue) !important;
    color: var(--accent-blue) !important;
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.9) !important;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb) !important;
    border-color: var(--accent-blue) !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #2563eb, #1d4ed8) !important;
    color: white !important;
}

.btn-success {
    background: linear-gradient(145deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
    color: white !important;
}

.btn-success:hover {
    background: linear-gradient(145deg, #059669, #047857) !important;
    color: white !important;
}

.btn-danger {
    background: linear-gradient(145deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.btn-danger:hover {
    background: linear-gradient(145deg, #dc2626, #b91c1c) !important;
    color: white !important;
}

/* Dark mode for buttons */
[data-theme="dark"] .btn {
    background: linear-gradient(145deg, #334155, #1e293b) !important;
    border-color: rgba(51, 65, 85, 0.4) !important;
    color: var(--text-secondary) !important;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(51, 65, 85, 0.2) !important;
}

[data-theme="dark"] .btn:hover {
    background: linear-gradient(145deg, #475569, #334155) !important;
    border-color: #60a5fa !important;
    color: #60a5fa !important;
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.4),
        -6px -6px 12px rgba(51, 65, 85, 0.3) !important;
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(145deg, #2563eb, #1d4ed8) !important;
    border-color: #2563eb !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(145deg, #1d4ed8, #1e40af) !important;
    color: white !important;
}

[data-theme="dark"] .btn-success {
    background: linear-gradient(145deg, #059669, #047857) !important;
    border-color: #059669 !important;
    color: white !important;
}

[data-theme="dark"] .btn-success:hover {
    background: linear-gradient(145deg, #047857, #065f46) !important;
    color: white !important;
}

[data-theme="dark"] .btn-danger {
    background: linear-gradient(145deg, #dc2626, #b91c1c) !important;
    border-color: #dc2626 !important;
    color: white !important;
}

[data-theme="dark"] .btn-danger:hover {
    background: linear-gradient(145deg, #b91c1c, #991b1b) !important;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.premium-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.12),
        inset 0 3px 6px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .premium-btn.secondary {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .premium-btn.secondary:hover {
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 480px) {
    .mini-cart-dropdown {
        width: 100vw;
        max-width: 100vw;
        right: 0;
        left: 0;
        border-radius: 24px 24px 0 0;
        top: auto;
        bottom: 0;
        max-height: 85vh;
    }
    
    .mini-cart-header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .mini-cart-items-container {
        max-height: 40vh;
    }
    
    .mini-cart-actions {
        flex-direction: column;
    }
    
    .premium-btn {
        width: 100%;
    }
}

/* Product Features in Tab */
.product-features-info .product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.product-features-info .feature-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-features-info .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.95),
        inset 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.product-features-info .feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.product-features-info .feature-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-features-info .feature-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Dark mode for features tab */
[data-theme="dark"] .product-features-info .feature-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.02),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .product-features-info .feature-item:hover {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.02),
        inset 1px 1px 2px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .product-features-info .feature-text h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-features-info .feature-text p {
    color: var(--text-secondary);
}

/* Size Selection Styling */
.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.size-option {
    min-width: 48px;
    height: 48px;
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.size-option:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.95),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
    border-color: var(--accent-blue);
    background: linear-gradient(145deg, #f8fafc, #ffffff);
}

.size-option.selected {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    color: white;
    border-color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 
        6px 6px 12px rgba(59, 130, 246, 0.3),
        -6px -6px 12px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.size-option:active {
    transform: scale(0.95);
}

.size-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.size-option:hover::before {
    transform: translateX(100%);
}

/* Quantity Input Group */
.quantity-input-group {
    display: flex;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
    max-width: 180px;
}

.quantity-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
}

.quantity-btn:hover {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.quantity-btn:active {
    transform: scale(0.9);
}

/* Action Buttons Styling */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.neumorphic-btn-primary {
    border: 2px solid transparent;
}

.neumorphic-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        12px 12px 24px rgba(59, 130, 246, 0.4),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 3px 3px 6px rgba(255, 255, 255, 0.4);
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
}

.neumorphic-btn-primary:active {
    transform: scale(0.98);
    box-shadow: 
        inset 4px 4px 8px rgba(59, 130, 246, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

/* Secondary Action Buttons */
.neumorphic-btn-secondary {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: var(--text-primary);
    box-shadow: 
        4px 4px 8px rgba(148, 163, 184, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(148, 163, 184, 0.2);
}

.neumorphic-btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        6px 6px 12px rgba(148, 163, 184, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 0.95),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8);
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.neumorphic-btn-secondary:active {
    transform: scale(0.98);
    box-shadow: 
        inset 2px 2px 4px rgba(148, 163, 184, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

/* Button Loading State */
.action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.action-btn.loading i {
    animation: spin 1s linear infinite;
}

/* Error States */
.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 8px;
    font-weight: 500;
}

.invalid-feedback.show {
    display: block;
}

.size-option.error {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Dark Mode for Buttons and Sizes */
[data-theme="dark"] .size-option {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: var(--text-primary);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.02),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .size-option:hover {
    background: linear-gradient(145deg, #475569, #334155);
    border-color: var(--accent-blue);
}

[data-theme="dark"] .size-option.selected {
    background: linear-gradient(145deg, var(--accent-blue), #2563eb);
    color: white;
}

[data-theme="dark"] .quantity-input-group {
    background: linear-gradient(145deg, #334155, #1e293b);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.02),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .quantity-input {
    color: var(--text-primary);
}

[data-theme="dark"] .neumorphic-btn-secondary {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: var(--text-primary);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.02),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .neumorphic-btn-secondary:hover {
    background: linear-gradient(145deg, #475569, #334155);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .secondary-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .size-options {
        gap: 8px;
    }
    
    .size-option {
        min-width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .action-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        min-height: 52px;
    }
    
    .quantity-input-group {
        max-width: 160px;
    }
    
    .quantity-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 576px) {
    .size-options {
        gap: 6px;
    }
    
    .size-option {
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .action-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        min-height: 48px;
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Button States */
.action-btn:focus,
.size-option:focus,
.quantity-btn:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    z-index: 10;
}

/* Tooltip Enhancements */
.tooltip {
    font-size: 0.875rem;
    font-weight: 500;
}

.tooltip-inner {
    background: var(--accent-blue) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
}

/* ==================== PREMIUM PRODUCT PAGE STYLES ==================== */

/* CSS Variables for Premium Design */

/* ==================== PRODUCT GALLERY ==================== */
.product-gallery {
    position: relative;
}


.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}

.image-wrapper:hover .main-product-image {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none !important;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.zoom-trigger-btn, .view360-trigger-btn {
    background: rgba(255,255,255,0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--premium-primary);
    box-shadow: var(--premium-shadow-md);
    transition: all 0.3s ease;
    transform: translateY(20px);
}

[data-theme="dark"] .zoom-trigger-btn,
[data-theme="dark"] .view360-trigger-btn {
    background: rgba(30,41,59,0.95);
    color: #f8fafc;
}

.image-wrapper:hover .zoom-trigger-btn,
.image-wrapper:hover .view360-trigger-btn {
    transform: translateY(0);
}

.zoom-trigger-btn:hover, .view360-trigger-btn:hover {
    background: var(--premium-primary);
    color: white;
    transform: scale(1.1);
}

/* ==================== THUMBNAIL GALLERY ==================== */
.thumbnail-gallery {
    margin-top: 1rem;
}

.thumbnail-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: var(--premium-primary);
    border-radius: 3px;
}

.thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: var(--premium-gradient);
    box-shadow: var(--premium-shadow-sm);
}

[data-theme="dark"] .thumbnail-item {
    background: var(--premium-gradient-dark);
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-md);
}

.thumbnail-item.active {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-actions {
    position: absolute;
    top: 4px;
    right: 4px;
}

.thumb-zoom-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--premium-primary);
    box-shadow: var(--premium-shadow-sm);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumb-zoom-btn {
    opacity: 1;
    transform: scale(1);
}

/* ==================== PRODUCT INFO ==================== */
.product-info {
    padding: 2rem 0;
}

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

.stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stock-badge.out-stock {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .product-title {
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.rating-stars i.filled {
    color: var(--premium-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.rating-stars i.empty {
    color: #d1d5db;
}

[data-theme="dark"] .rating-stars i.empty {
    color: #4b5563;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.product-price-section {
    margin-bottom: 2rem;
}
.original-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: premiumPulse 2s infinite;
}

/* ==================== PRODUCT OPTIONS ==================== */
.product-options {
    margin-bottom: 2rem;
}

.size-selection {
    margin-bottom: 2rem;
}

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

.size-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.size-guide-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.size-guide-btn:hover {
    border-color: var(--premium-primary);
    color: var(--premium-primary);
    background: rgba(37, 99, 235, 0.05);
}

.size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.size-option {
    background: var(--premium-gradient);
    border: 2px solid var(--border-color);
    min-width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--premium-shadow-sm);
}

[data-theme="dark"] .size-option {
    background: var(--premium-gradient-dark);
}

.size-option:hover {
    border-color: var(--premium-primary);
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-md);
}

.size-option.selected,
.size-option.active {
    background: var(--premium-primary);
    border-color: var(--premium-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.size-option.error {
    border-color: var(--premium-danger);
    animation: premiumShake 0.5s ease-in-out;
}

.size-error {
    color: var(--premium-danger);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.size-error.show {
    display: block;
}

/* ==================== QUANTITY SELECTION ==================== */
.quantity-selection {
    margin-bottom: 2rem;
}

.quantity-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: var(--premium-gradient);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.25rem;
    box-shadow: var(--premium-shadow-sm);
    max-width: 200px;
}

[data-theme="dark"] .quantity-control {
    background: var(--premium-gradient-dark);
}

.quantity-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.quantity-btn:hover {
    background: var(--premium-primary);
    color: white;
    transform: scale(1.1);
}

.quantity-input-wrapper {
    flex: 1;
    text-align: center;
}

/* ==================== ACTION BUTTONS ==================== */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.primary-actions {
    width: 100%;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--premium-primary) 0%, var(--premium-primary-light) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

.secondary-actions {
    display: flex;
    gap: 1rem;
}

.secondary-btn {
    background: var(--premium-gradient);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--premium-shadow-sm);
    flex: 1;
}

[data-theme="dark"] .secondary-btn {
    background: var(--premium-gradient-dark);
}

.secondary-btn:hover {
    border-color: var(--premium-primary);
    color: var(--premium-primary);
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-md);
}

.action-btn i {
    font-size: 1.2rem;
}

.action-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ==================== PRODUCT TABS ==================== */
.product-tabs-container {
    background: var(--premium-gradient);
    border-radius: 1.5rem;
    box-shadow: var(--premium-shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

[data-theme="dark"] .product-tabs-container {
    background: var(--premium-gradient-dark);
    border-color: rgba(255,255,255,0.05);
}

.tabs-header {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .tabs-header {
    background: rgba(15,23,42,0.5);
}

#productTabs {
    display: flex;
    gap: 1.5rem;
    scroll-behavior: smooth;
    overflow: hidden !important;
    padding: 1rem;
}

#productTabs::-webkit-scrollbar {
    height: 4px;
}

#productTabs::-webkit-scrollbar-track {
    background: transparent;
}

#productTabs::-webkit-scrollbar-thumb {
    background: var(--premium-primary);
    border-radius: 2px;
}

#productTabs .nav-link {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#productTabs .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--premium-primary);
    transform: translateY(-1px);
}

#productTabs .nav-link.active {
    background: var(--premium-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-pane.show.active {
    opacity: 1;
    transform: translateY(0);
}

.cart-container {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--premium-danger) 0%, #dc2626 100%);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: premiumPulse 2s infinite;
}

.action-btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--premium-gradient);
}

[data-theme="dark"] .action-btn-text {
    background: var(--premium-gradient-dark);
}

.action-btn-text:hover {
    border-color: var(--premium-primary);
    color: var(--premium-primary);
    transform: translateY(-2px);
    box-shadow: var(--premium-shadow-sm);
}

.action-btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--premium-primary) 0%, var(--premium-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.theme-toggle:hover {
    background: var(--premium-primary);
    color: white;
}

/* ==================== PREMIUM FOOTER STYLES ==================== */
.premium-footer {
    background: var(--premium-gradient);
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .premium-footer {
    background: var(--premium-gradient-dark);
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--premium-primary), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 3rem 0;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
}

.brand-section {
    text-align: left;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--premium-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.brand-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--premium-gradient);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-link {
    background: var(--premium-gradient-dark);
}

.social-link:hover {
    background: var(--premium-primary);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--premium-shadow-md);
}

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

.links-section {
    text-align: left;
}

.links-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.links-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--premium-primary);
    border-radius: 1px;
}

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

.links-list li {
    margin-bottom: 0.75rem;
}

.link-item {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.link-item:hover {
    color: var(--premium-primary);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--premium-primary);
    font-size: 1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--premium-primary);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .main-product-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .primary-actions {
        order: 2;
    }
    
    .secondary-actions {
        order: 1;
        flex-direction: column;
    }
    
    .action-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    #productTabs {
        flex-wrap: nowrap;
        gap: 0.25rem;
    }
    
    #productTabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .tabs-header {
        padding: 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .brand-section {
        text-align: center;
        max-width: 100%;
    }
    
    .brand-description {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 1rem 0;
    }
    
    .main-product-image {
        height: 250px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .size-options {
        gap: 0.5rem;
    }
    
    .size-option {
        min-width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .quantity-control {
        max-width: 180px;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
    }
    
    .navbar-actions {
        gap: 0.5rem;
    }
    
    .action-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .action-btn-text,
    .action-btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .footer-content {
        padding: 2rem 0;
    }
}

/* ==================== PREMIUM ANIMATIONS ==================== */
@keyframes premiumPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes premiumShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* ==================== PRODUCT ACTIONS DARK MODE FIX ==================== */

/* Product Actions Container */
.product-actions-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

/* Size and Quantity Row */
.size-quantity-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: flex-start;
}

/* Quantity Selector */
.quantity-selector {
    flex: 0 0 140px;
}

.quantity-selector .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    height: 52px;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.quantity-input-group:hover {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.95),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.quantity-btn {
    width: 48px;
    height: 100%;
    border: none;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    color: #64748b;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.7);
}

.quantity-btn:hover {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    color: #475569;
    transform: scale(1.05);
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.08),
        inset -1px -1px 2px rgba(255, 255, 255, 0.9);
}

.quantity-btn:active {
    transform: scale(0.95);
    background: linear-gradient(145deg, #cbd5e1, #94a3b8);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.15),
        inset -2px -2px 4px rgba(255, 255, 255, 0.5);
}

.quantity-btn:first-child {
    border-radius: 14px 0 0 14px;
}

.quantity-btn:last-child {
    border-radius: 0 14px 14px 0;
}

/* Remove any remaining spinners for text input */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

/* Remove spinners completely - IE/Edge */
.quantity-input::-ms-clear {
    display: none;
}

.quantity-input::-ms-reveal {
    display: none;
}

.quantity-input {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    outline: none !important;
    padding: 0 8px !important;
    min-width: 40px !important;
}

.quantity-input:focus {
    color: #2563eb !important;
    font-weight: 700 !important;
    background: rgba(37, 99, 235, 0.05) !important;
    border-radius: 8px !important;
}

/* Ensure quantity input validation */
.quantity-input:invalid {
    color: #ef4444 !important;
}

/* Size Guide Button */
.size-guide-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding: 8px 16px !important;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.size-guide-btn:hover {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1) !important;
    color: #475569 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Size Error Message */
.size-error {
    display: none !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 6px !important;
    padding: 6px 12px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 6px !important;
    color: #dc2626 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.size-error.show {
    display: flex !important;
}

/* Product Actions Container */
.product-actions-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

/* Size Selector */
.size-selector {
    flex: 1;
}

.size-selector .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.size-select-wrapper {
    position: relative;
}

.size-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.size-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    pointer-events: none;
}

.size-guide-btn {
    margin-top: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-guide-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.size-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 4px;
}

/* Secondary Actions */
.secondary-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-secondary-action {
    flex: 1;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-secondary-action:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Dark Mode Styles */
[data-theme="dark"] .quantity-selector .form-label,
[data-theme="dark"] .size-selector .form-label {
    color: #e5e7eb;
}

[data-theme="dark"] .quantity-input-group {
    background: linear-gradient(145deg, #374151, #1f2937);
    border-color: #4b5563;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        -4px -4px 8px rgba(75, 85, 99, 0.3),
        inset 1px 1px 2px rgba(75, 85, 99, 0.2);
}

[data-theme="dark"] .quantity-input-group:hover {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.5),
        -6px -6px 12px rgba(75, 85, 99, 0.4),
        inset 1px 1px 2px rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .quantity-btn {
    background: linear-gradient(145deg, #4b5563, #374151);
    color: #d1d5db;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(156, 163, 175, 0.2);
}

[data-theme="dark"] .quantity-btn:hover {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: #f3f4f6;
    box-shadow: 
        inset 1px 1px 2px rgba(0, 0, 0, 0.2),
        inset -1px -1px 2px rgba(156, 163, 175, 0.3);
}

[data-theme="dark"] .quantity-btn:active {
    background: linear-gradient(145deg, #374151, #1f2937);
    color: #e5e7eb;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.4),
        inset -2px -2px 4px rgba(156, 163, 175, 0.1);
}

[data-theme="dark"] .quantity-input {
    color: #f3f4f6;
    background: transparent;
}

[data-theme="dark"] .quantity-input:focus {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

[data-theme="dark"] .size-select {
    background: #374151;
    border-color: #4b5563;
    color: #f3f4f6;
}

[data-theme="dark"] .size-select-arrow {
    color: #d1d5db;
}

[data-theme="dark"] .size-guide-btn {
    background: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}

[data-theme="dark"] .size-guide-btn:hover {
    background: #4b5563;
    color: #f3f4f6;
}

[data-theme="dark"] .btn-secondary-action {
    background: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}

[data-theme="dark"] .btn-secondary-action:hover {
    background: #4b5563;
    color: #f3f4f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-actions-container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .size-quantity-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .quantity-selector {
        flex: 1;
    }
    
    .quantity-input-group {
        height: 52px;
    }
    
    .secondary-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .product-actions-container {
        padding: 0 12px;
    }
    
    .btn-add-to-cart {
        padding: 16px 20px;
        font-size: 15px;
    }
}

/* ==================== PRODUCT PAGE LAYOUT FIXES ==================== */

/* COMPLETE PRODUCT GALLERY RESTYLE */
.product-detail-section .product-gallery {
    background: var(--neumorphic-bg) !important;
    border-radius: 12px !important;
    box-shadow: var(--premium-shadow-lg) !important;
    padding: 24px;
    border: 1px solid var(--neumorphic-border) !important;
    transition: all 0.3s ease;
}

/* Dark mode override for product gallery */
[data-theme="dark"] .product-detail-section .product-gallery {
    background: #2d3748 !important;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

body[data-theme="dark"] .product-detail-section .product-gallery {
    background: #2d3748 !important;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3a445a !important;
}

.product-detail-section .main-image-container {
    background: transparent !important;
    border-radius: 8px !important;
    padding: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: none !important;
}

/* Dark mode override for main image container within product gallery */
[data-theme="dark"] .product-detail-section .main-image-container {
    background: transparent !important;
    box-shadow: none !important;
}

body[data-theme="dark"] .product-detail-section .main-image-container {
    background: transparent !important;
    box-shadow: none !important;
}

.product-detail-section .main-product-image {
    border-radius: 8px !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    object-fit: cover !important;
    backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
}












/* ==================== CONSOLIDATED RESPONSIVE MEDIA QUERIES ==================== */

/* Mobile Devices - Max Width: 768px */
@media (max-width: 768px) {
    /* Product Actions */
    .product-actions-beautiful {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .quantity-section {
        flex: 1;
        width: 100%;
    }
    
    .size-section {
        flex: 1;
        width: 100%;
    }
    
    /* Product Detail Section */
    .product-detail-section {
        padding: 40px 0 60px 0;
    }
    
    /* Navigation */
    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-pills::-webkit-scrollbar {
        display: none;
    }
    
    /* Product Grid */
    .products-container.shop-grid,
    #productsGrid.shop-grid,
    .products-container.shop-grid #productsGrid,
    .shop-grid .products-container,
    .shop-grid #productsGrid,
    .products-container.shop-grid #productsGrid,
    .shop-grid .row,
    .shop-grid .flex,
    .shop-grid [class*="row"],
    .shop-grid [class*="flex"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    /* Categories */
    .categories-sidebar {
        padding: 20px;
        border-radius: 20px;
    }
    
    /* Scroller */
    .scroller-item {
        width: 200px;
        min-width: 200px;
    }
    
    /* Story Content */
    .story-content {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Account Header */
    .account-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Container */
    .container {
        max-width: 540px;
    }
    
    /* Filters */
    .horizontal-filters {
        padding: 16px !important;
        border-radius: 16px !important;
    }
    
    .horizontal-filters .d-flex {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    /* Product Gallery */
    .product-gallery,
    .product-info {
        padding: 20px;
    }
    
    .main-image img {
        max-height: 300px;
    }
    
    /* Product Tabs */
    .product-tabs {
        padding: 20px;
        border-radius: 20px;
    }
    
    .nav-pills {
        gap: 4px;
        padding: 0 4px;
    }
    
    /* Product Detail */
    .product-detail {
        padding: 20px 0;
    }
    
    .product-detail .row {
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    /* Secondary Actions */
    .secondary-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Main Product Image */
    .main-product-image {
        height: 300px;
    }
    
    /* Product Actions Container */
    .product-actions-container {
        max-width: 100%;
        padding: 0 16px;
    }
}

/* ==================== END B-22 FOOTWEAR CSS ==================== */