/* Ensure main content is not hidden behind fixed header */
body, main, #main-content, .main-content, .container-main {
    margin-top: var(--nav-height, 80px);
}

@media (max-width: 991.98px) {
    body, main, #main-content, .main-content, .container-main {
        margin-top: var(--nav-height, 70px);
    }
}

@media (max-width: 575.98px) {
    body, main, #main-content, .main-content, .container-main {
        margin-top: var(--nav-height, 65px);
    }
}
/* ================================================================
     AUTH PAGES: LOGIN & REGISTER
     ================================================================ */
.auth-bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 20% 20%, #8b5cf6 0%, transparent 60%),
                            radial-gradient(ellipse at 80% 80%, #ec4899 0%, transparent 60%),
                            radial-gradient(ellipse at 50% 50%, #06b6d4 0%, transparent 80%);
    animation: authBgMove 12s linear infinite alternate;
}
@keyframes authBgMove {
    0% { filter: blur(0px) brightness(1); }
    100% { filter: blur(2px) brightness(1.1); }
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.auth-card {
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    box-shadow: 0 8px 40px 0 rgba(139,92,246,0.18), 0 1.5px 0 rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    max-width: 420px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(.23,1.01,.32,1) 0.1s both;
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: none; }
}
.auth-card h2 {
    font-family: 'Poppins',sans-serif;
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.auth-card .form-label {
    font-weight: 600;
    color: var(--primary-light);
}
.auth-card .form-control {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1.08rem;
    padding: 0.85rem 1.1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 1.5px 0 rgba(139,92,246,0.08);
}
.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.13);
    background: rgba(255,255,255,0.13);
}
.auth-card .input-group-text {
    background: rgba(139,92,246,0.08);
    border: none;
    color: var(--primary-light);
    border-radius: 10px 0 0 10px;
}
.auth-card .btn-primary, .auth-card .btn.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    font-size: 1.1rem;
    padding: 0.85rem 0;
    box-shadow: 0 4px 18px 0 rgba(139,92,246,0.13);
    transition: background 0.2s, transform 0.18s;
    position: relative;
    overflow: hidden;
}
.auth-card .btn-primary:hover, .auth-card .btn.btn-primary:focus {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: translateY(-2px) scale(1.03);
    color: #fff;
}
.auth-card .btn-lg { font-size: 1.15rem; padding: 1rem 0; }
.auth-card .toggle-password {
    border: none;
    background: transparent;
    color: var(--primary-light);
    border-radius: 0 10px 10px 0;
    transition: background 0.2s;
}
.auth-card .toggle-password:hover {
    background: rgba(139,92,246,0.08);
}
.auth-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.auth-card .alert {
    border-radius: 10px;
    font-size: 1rem;
    padding: 0.85rem 1.1rem;
}
.auth-card .text-primary {
    color: var(--primary-light) !important;
    font-weight: 600;
    transition: color 0.2s;
}
.auth-card .text-primary:hover {
    color: var(--secondary) !important;
}
.auth-card .invalid-feedback {
    font-size: 0.97rem;
}
.auth-card .form-check-label a {
    color: var(--primary-light);
    text-decoration: underline;
}
.auth-card .form-check-label a:hover {
    color: var(--secondary);
}
.auth-card .text-muted {
    color: #bdbdbd !important;
}
@media (max-width: 600px) {
    .auth-card { padding: 1.5rem 0.7rem; }
}
/**
 * GlamifyAR - Main Stylesheet
 * Modern Glassmorphism Dark Theme
 */

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
    /* Primary Colors */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.5);
    
    /* Secondary Colors */
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --secondary-light: #f472b6;
    
    /* Accent Colors */
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Dark Theme Colors */
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(26, 26, 46, 0.8);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================================================
   RESET & BASE STYLES
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Gradient Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   GLASSMORPHISM COMPONENTS
   ================================================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand span {
    -webkit-text-fill-color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
    background: var(--glass-bg);
}

/* Tab styling */
.nav-tabs {
    border-bottom: 1px solid var(--glass-border);
}

.nav-tabs .nav-link {
    color: var(--text-secondary) !important;
    background: transparent;
    border: 1px solid transparent;
    border-top-left-radius: var(--border-radius-sm);
    border-top-right-radius: var(--border-radius-sm);
    margin-bottom: -1px;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color) !important;
    border-color: var(--glass-border) var(--glass-border) transparent;
    background: var(--glass-bg);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--bg-card);
    border-color: var(--glass-border) var(--glass-border) var(--bg-card);
}

.nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.nav-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.nav-icon-sm {
    width: 36px;
    height: 36px;
}

.nav-icon-sm svg {
    width: 18px;
    height: 18px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: none;
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px var(--primary-glow);
    }
    to {
        box-shadow: 0 0 25px var(--primary-glow), 0 0 35px rgba(139, 92, 246, 0.3);
    }
}

/* ================================================================
   FORMS
   ================================================================ */
.form-control, .form-select {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: transparent;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.product-card .product-image {
    position: relative;
    padding-top: 100%;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-card .product-badge span {
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-card .action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.product-card .product-info {
    padding: 1.25rem;
}

.product-card .product-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card .price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card .price-original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.75rem;
}

.product-card .product-rating .stars {
    color: var(--warning);
}

.product-card .product-rating span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* AR Try-On Button */
.btn-try-ar {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-try-ar:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.3));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ================================================================
   AR TRY-ON SECTION
   ================================================================ */
.ar-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.ar-video-container {
    position: relative;
    width: 100%;
    padding-top: 1%; /* 4:3 Aspect Ratio */
    background: #000;
}

.ar-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror effect */
}

.ar-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ar-controls {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.ar-controls button {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ar-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.ar-loading .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ar-permission {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 20;
}

.ar-permission .icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ================================================================
   PRODUCT SELECTOR
   ================================================================ */
.product-selector {
    padding: 1.5rem;
    background: var(--glass-bg);
    border-top: 1px solid var(--border-color);
}

.product-selector-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 300px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* ================================================================
   ALERTS
   ================================================================ */
.alert {
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error, .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--info);
}

/* ================================================================
   TABLES
   ================================================================ */
.table {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.table thead th {
    background: var(--glass-bg);
    border-color: var(--border-color);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table tbody td {
    border-color: var(--border-color);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: var(--glass-bg);
}

/* ================================================================
   MODAL
   ================================================================ */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.modal-header {
    border-bottom-color: var(--border-color);
}

.modal-footer {
    border-top-color: var(--border-color);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination .page-link {
    background: var(--glass-bg);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.disabled .page-link {
    background: transparent;
    color: var(--text-muted);
}

/* ================================================================
   BADGES
   ================================================================ */
.badge {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.badge-primary { background: var(--primary); }
.badge-secondary { background: var(--secondary); }
.badge-success { background: var(--success); }
.badge-warning { background: var(--warning); }
.badge-danger { background: var(--danger); }
.badge-info { background: var(--info); }

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-glass { background: var(--glass-bg) !important; }
.border-glass { border-color: var(--glass-border) !important; }

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ================================================================
   RESPONSIVE - COMPREHENSIVE MOBILE-FIRST DESIGN
   ================================================================ */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Large Devices (992px to 1199px) */
    @media (max-width: 991.98px) {
        :root { --nav-height: 70px; --nav-height-scrolled: 60px; }
        .nav-menu, .nav-search, .nav-user-btn, .d-none-mobile { display: none !important; }
        .nav-auth-btns { display: flex !important; gap: 10px; align-items: center; margin-left: 0.5rem; }
        .nav-btn-login, .nav-btn-signup {
            min-width: 90px;
            font-size: 1rem;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }
        .nav-mobile-toggle { display: block; }
        .nav-icon-btn { width: 40px; height: 40px; }
        .nav-icon-btn svg { width: 18px; height: 18px; }
        .nav-logo-icon { width: 40px; height: 40px; }
        .nav-logo-text { font-size: 1.3rem; }
    }

    @media (max-width: 700px) {
        .nav-auth-btns {
            flex-direction: column;
            gap: 6px;
            width: 100%;
            margin-left: 0;
        }
        .nav-btn-login, .nav-btn-signup {
            width: 100%;
            min-width: 0;
            font-size: 1rem;
            padding: 0.7rem 0;
        }
    }
    .feature-box {
        padding: 1.5rem;
    }
    
    .feature-box .icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-box .icon svg {
        width: 28px;
        height: 28px;
    }


/* Medium Devices (768px to 991px) */
@media (max-width: 991.98px) {
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: var(--border-radius-sm);
    }
    
    .nav-link:hover {
        background: var(--glass-bg);
    }
    
    .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 1rem !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-collapse form {
        width: 100%;
        margin: 0 !important;
    }
    
    .navbar-collapse .d-flex.align-items-center {
        flex-direction: row;
        justify-content: center;
    }
    
    .navbar-toggler {
        border-color: var(--border-color);
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(139, 92, 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='rgba%28139, 92, 246, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero .d-flex.gap-3 {
        justify-content: center;
    }
    
    .hero .row.mt-5 {
        justify-content: center;
    }
    
    .stat-counter {
        padding: 1rem;
    }
    
    .stat-counter .number {
        font-size: 2rem;
    }
    
    /* Section Title */
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* Glass Card */
    .glass-card {
        padding: 2rem;
    }
    
    .glass-card.p-5 {
        padding: 2rem !important;
    }
    
    /* Feature Boxes */
    .feature-box {
        padding: 1.5rem;
    }
    
    /* Product Cards */
    .product-card .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-text {
        max-width: 100%;
    }
    
    /* AR Container */
    .ar-container {
        max-width: 100%;
    }
    
    /* Sidebar */
    .sidebar {
        margin-bottom: 2rem;
    }
    
    /* Account Pages */
    .account-sidebar {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
    }
    
    .account-sidebar .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    /* Typography */
    h1, .h1 { font-size: 1.875rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero .d-flex.gap-3 .btn {
        width: 100%;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Nav Icons */
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Glass Cards */
    .glass-card {
        padding: 1.5rem;
        border-radius: var(--border-radius);
    }
    
    .glass-card.p-5 {
        padding: 1.5rem !important;
    }
    
    /* Product Cards Grid */
    .products-grid {
        gap: 1rem;
    }
    
    .product-card .product-info {
        padding: 1rem;
    }
    
    .product-card .product-title {
        font-size: 0.9rem;
    }
    
    .product-card .price-current {
        font-size: 1.1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Forms */
    .form-control, .form-select {
        padding: 0.65rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .input-group-text {
        padding: 0.65rem 0.875rem;
    }
    
    /* Stat Counter */
    .stat-counter {
        padding: 0.75rem;
    }
    
    .stat-counter .number {
        font-size: 1.75rem;
    }
    
    .stat-counter .label {
        font-size: 0.8rem;
    }
    
    /* Feature Box */
    .feature-box {
        padding: 1.25rem;
    }
    
    .feature-box .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-box .icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-box h4 {
        font-size: 1.1rem;
    }
    
    .feature-box p {
        font-size: 0.9rem;
    }
    
    /* AR Section */
    .ar-video-container {
        padding-top: 100%; /* 1:1 Aspect Ratio on mobile */
    }
    
    .ar-controls {
        flex-direction: column;
        padding: 1rem;
    }
    
    .ar-controls button {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
    
    .footer-brand {
        font-size: 1.25rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    /* Tables Responsive */
    .table-responsive {
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .table th, .table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Newsletter */
    .newsletter-section {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* Cart Page */
    .cart-item-image {
        width: 80px !important;
        height: 80px !important;
    }
    
    .cart-item-details {
        flex: 1;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        border-radius: var(--border-radius);
    }
    
    /* FAB */
    .fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Extra Small Devices (below 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    h1, .h1 { font-size: 1.5rem; }
    h2, .h2 { font-size: 1.375rem; }
    h3, .h3 { font-size: 1.125rem; }
    
    body {
        font-size: 0.9rem;
    }
    
    /* Container Padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 1.625rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    /* Section */
    .section-padding {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    /* Navbar Brand */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Glass Card */
    .glass-card {
        padding: 1.25rem;
    }
    
    .glass-card.p-5 {
        padding: 1.25rem !important;
    }
    
    /* Product Card */
    .product-card .product-info {
        padding: 0.875rem;
    }
    
    .product-card .product-category {
        font-size: 0.65rem;
    }
    
    .product-card .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card .price-current {
        font-size: 1rem;
    }
    
    .product-card .price-original {
        font-size: 0.8rem;
    }
    
    .product-card .action-btn {
        width: 32px;
        height: 32px;
    }
    
    .product-card .btn-try-ar {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Stat Counter */
    .stat-counter .number {
        font-size: 1.5rem;
    }
    
    .stat-counter .label {
        font-size: 0.7rem;
    }
    
    /* Feature Box */
    .feature-box h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-box p {
        font-size: 0.85rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Forms */
    .form-control, .form-select {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    /* Alerts */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Empty State */
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state .icon {
        width: 80px;
        height: 80px;
    }
    
    .empty-state .icon svg {
        width: 40px;
        height: 40px;
    }
    
    .empty-state h3 {
        font-size: 1.25rem;
    }
    
    .empty-state p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    /* Cart Items */
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        margin: 0 auto 1rem !important;
    }
    
    .cart-item-quantity {
        justify-content: center !important;
        margin: 1rem 0;
    }
    
    /* Price Tag */
    .price-tag .amount {
        font-size: 1.5rem;
    }
    
    /* Testimonial */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
    }
    
    /* Countdown */
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.75rem;
        min-width: 55px;
    }
    
    .countdown-item .number {
        font-size: 1.25rem;
    }
    
    .countdown-item .label {
        font-size: 0.65rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    /* Pagination */
    .page-item .page-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Tab Pills */
    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Modal */
    .modal-header, .modal-footer {
        padding: 0.875rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ================================================================
   ENHANCED UI COMPONENTS
   ================================================================ */

/* Animated Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    opacity: 0.3;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Neon Glow Effects */
.neon-text {
    text-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
}

.neon-border {
    box-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        inset 0 0 5px rgba(139, 92, 246, 0.1);
}

/* Enhanced Card Hover Effects */
.card-3d {
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Gradient Borders */
.gradient-border {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
}

/* Floating Labels */
.form-floating-custom {
    position: relative;
}

.form-floating-custom input {
    padding-top: 1.5rem;
}

.form-floating-custom label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
    pointer-events: none;
    color: var(--text-muted);
}

.form-floating-custom input:focus + label,
.form-floating-custom input:not(:placeholder-shown) + label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--primary);
}

/* Enhanced Buttons with Ripple */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.btn-ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-tertiary) 25%, 
        var(--bg-secondary) 50%, 
        var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Badge Enhancements */
.badge-glow {
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 15px currentColor, 0 0 25px currentColor; }
}

/* Tooltip Custom */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.tooltip-custom:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Progress Bar Enhanced */
.progress-bar-animated {
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--primary) 100%);
    background-size: 200% 100%;
    animation: progressAnimation 2s linear infinite;
}

@keyframes progressAnimation {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-light));
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform var(--transition-normal);
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

.img-hover-shine {
    position: relative;
    overflow: hidden;
}

.img-hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.img-hover-shine:hover::after {
    left: 100%;
}

/* Category Pills */
.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.category-pill:hover, .category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.category-pill i {
    margin-right: 0.5rem;
}

/* Stats Counter */
.stat-counter {
    text-align: center;
    padding: 2rem;
}

.stat-counter .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-counter .label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.feature-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--primary);
}

.feature-box .icon svg {
    width: 36px;
    height: 36px;
}

.feature-box h4 {
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-secondary);
    margin: 0;
}

/* Testimonial Card */
.testimonial-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .content {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author-info h6 {
    margin: 0;
    color: var(--text-primary);
}

.testimonial-card .author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Price Tag */
.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-tag .currency {
    font-size: 1rem;
    color: var(--primary);
}

.price-tag .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-tag .original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: all var(--transition-fast);
    z-index: 999;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

/* Support FAB */
.fab-support {
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

.fab-support:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
    color: white;
}

.fab-support i {
    width: 24px;
    height: 24px;
}

@media (max-width: 767.98px) {
    .fab-support {
        bottom: 90px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
    
    .fab-support i {
        width: 20px;
        height: 20px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--text-muted);
}

.empty-state .icon svg {
    width: 60px;
    height: 60px;
}

.empty-state h3 {
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 2rem;
}

/* Enhanced Product Badge */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 90, 90, 0.4);
}

.badge-new {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.badge-hot {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

/* Quick View Overlay */
.quick-view-trigger {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.product-card:hover .quick-view-trigger {
    opacity: 1;
    transform: translateY(0);
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.countdown-item {
    text-align: center;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    min-width: 70px;
}

.countdown-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Breadcrumb Enhanced */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

/* Loading Spinner Enhanced */
.spinner-glow {
    position: relative;
}

.spinner-glow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(15px);
    opacity: 0.5;
    animation: spinnerGlow 1s ease-in-out infinite;
}

@keyframes spinnerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Tab Pills Enhanced */
.nav-pills .nav-link {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    margin-right: 0.5rem;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-fast);
}

.nav-pills .nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Alert Enhanced */
.alert {
    border: none;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-left: 4px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-left: 4px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-left: 4px solid var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-left: 4px solid var(--info);
    color: var(--info);
}

/* Table Enhanced */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    border-color: var(--border-color);
}

.table th {
    background: var(--glass-bg);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--border-color);
}

.table-hover tbody tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

/* Dropdown Enhanced */
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--glass-bg);
    color: var(--primary);
}

.dropdown-divider {
    border-color: var(--border-color);
}

/* Modal Enhanced */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom-color: var(--border-color);
}

.modal-footer {
    border-top-color: var(--border-color);
}

.btn-close {
    filter: invert(1);
}

/* Pagination Enhanced */
.pagination {
    gap: 0.5rem;
}

.page-item .page-link {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.page-item .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: white;
}

.page-item.disabled .page-link {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}
/* ================================================================
   ENHANCED PAGE-SPECIFIC STYLES
   ================================================================ */

/* Login/Register Page Enhancements */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.social-login {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-login .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

/* Products Page Filters */
.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.filter-option label {
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.filter-option:hover label {
    color: var(--primary);
}

.price-range-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.price-range-inputs input {
    width: 100%;
}

.price-range-inputs span {
    color: var(--text-muted);
}

/* Sort Dropdown */
.sort-select {
    min-width: 200px;
}

/* Products Grid View */
.view-toggle .btn {
    padding: 0.5rem 0.75rem;
}

.view-toggle .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Product Detail Page */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.product-main-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: var(--primary);
}

.product-info-section {
    padding-left: 2rem;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating-stars svg {
    color: var(--warning);
}

.product-price-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-discount-badge {
    display: inline-block;
    background: var(--danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
}

.product-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.product-meta-item .label {
    color: var(--text-muted);
}

.product-meta-item .value {
    color: var(--text-primary);
    font-weight: 500;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.quantity-selector .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector input {
    width: 80px;
    text-align: center;
    font-weight: 600;
}

.add-to-cart-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.add-to-cart-section .btn {
    flex: 1;
    min-width: 150px;
}

/* Cart Page Enhancements */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.1);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cart-item-title a {
    color: var(--text-primary);
}

.cart-item-title a:hover {
    color: var(--primary);
}

.cart-item-category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    padding: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
}

.cart-item-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.cart-summary {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    position: sticky;
    top: 100px;
}

.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.coupon-form input {
    flex: 1;
}

/* Checkout Page */
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.checkout-step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.checkout-step.completed {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.checkout-step .step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.checkout-section {
    margin-bottom: 2rem;
}

.checkout-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-section-title svg {
    color: var(--primary);
}

/* Account Pages */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.account-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.account-sidebar-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.account-user-info {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.account-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.account-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.account-email {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.account-nav {
    padding: 0.75rem;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.account-nav-link:hover {
    background: var(--glass-bg);
    color: var(--primary);
}

.account-nav-link.active {
    background: var(--primary);
    color: white;
}

.account-nav-link svg {
    width: 20px;
    height: 20px;
}

.account-content {
    min-height: 400px;
}

/* Orders Table */
.order-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.order-status-processing {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.order-status-shipped {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

.order-status-delivered {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.order-status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Contact Page */
.contact-info-card {
    padding: 2rem;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--primary);
}

.contact-info-card h5 {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ Page */
.faq-accordion .accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--glass-bg);
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
}

.faq-accordion .accordion-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Page */
.about-hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-stat {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.about-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat .label {
    color: var(--text-secondary);
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Wishlist Page */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.wishlist-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Track Order Page */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.tracking-step {
    position: relative;
    padding-bottom: 2rem;
}

.tracking-step:last-child {
    padding-bottom: 0;
}

.tracking-step::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-color);
    border: 3px solid var(--bg-primary);
}

.tracking-step.completed::before {
    background: var(--success);
}

.tracking-step.current::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
}

.tracking-step-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tracking-step-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Additional Responsive for Page-Specific Styles */
@media (max-width: 991.98px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: relative;
        top: 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-info-section {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .cart-summary {
        position: relative;
        top: 0;
    }
    
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-image {
        margin: 0 auto;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-item-total {
        text-align: center;
    }
    
    .wishlist-item {
        flex-direction: column;
        text-align: center;
    }
    
    .wishlist-item-image {
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .about-stat {
        padding: 1.5rem;
    }
    
    .about-stat .number {
        font-size: 2rem;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .checkout-step {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .checkout-step .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .add-to-cart-section {
        flex-direction: column;
    }
    
    .add-to-cart-section .btn {
        width: 100%;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .product-thumbnails img {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-image {
        width: 100px !important;
        height: 100px !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        flex-direction: column;
        align-items: stretch;
    }
    
    .checkout-step {
        justify-content: center;
    }
    
    .tracking-timeline {
        padding-left: 25px;
    }
    
    .coupon-form {
        flex-direction: column;
    }
    
    .coupon-form input,
    .coupon-form button {
        width: 100%;
    }
}

/* ================================================================
   ENHANCED RESPONSIVE STYLES
   ================================================================ */

/* Mobile-First Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 12px 16px !important;
    }
    
    .product-card .action-btn {
        width: 44px;
        height: 44px;
    }
    
    .form-control, .form-select {
        min-height: 44px;
    }
    
    .nav-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .col-lg-4.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
}

/* Mobile Portrait (below 576px) */
@media (max-width: 575.98px) {
    /* Full-width mobile cards */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .col-lg-4.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Better product card on mobile */
    .product-card {
        display: flex;
        flex-direction: row;
        height: auto;
    }
    
    .product-card .product-image {
        width: 140px;
        min-width: 140px;
        height: 140px;
    }
    
    .product-card .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .product-card .product-actions {
        position: absolute;
        top: 8px;
        right: auto;
        left: 8px;
        flex-direction: row;
        gap: 4px;
    }
    
    .product-card .btn-try-ar {
        margin-top: auto;
    }
    
    /* Mobile navigation improvements */
    .navbar-brand span {
        display: none;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: rgba(255,255,255,0.05);
        border: none;
        margin-top: 0.5rem;
        box-shadow: none;
    }
    
    /* Mobile header icons */
    .nav-icon-sm {
        display: flex !important;
    }
    
    .navbar-collapse .nav-icon {
        display: none;
    }
    
    /* Mobile-friendly tables */
    .table-responsive-stack thead {
        display: none;
    }
    
    .table-responsive-stack tbody tr {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
    }
    
    .table-responsive-stack tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
    }
    
    .table-responsive-stack tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        margin-right: 1rem;
    }
    
    /* Mobile account sidebar */
    .account-sidebar {
        margin: -1rem -1rem 1.5rem -1rem;
        padding: 1rem;
        background: var(--glass-bg);
        border-radius: 0;
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .account-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .account-sidebar .nav-link {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Mobile order cards */
    .order-item-card {
        padding: 1rem;
    }
    
    .order-item-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Mobile checkout */
    .checkout-card {
        padding: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-method {
        width: 100%;
    }
    
    /* Mobile modals */
    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
    
    .modal-lg {
        max-width: calc(100% - 1rem);
    }
    
    #quickViewModal .row {
        flex-direction: column;
    }
    
    #quickViewModal .col-md-6:first-child {
        margin-bottom: 1rem;
    }
    
    /* Mobile AR page */
    .ar-product-selector {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .ar-controls {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
        padding: 1rem;
        z-index: 100;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    }
    
    .ar-canvas-wrapper {
        margin-bottom: 120px;
    }
    
    /* Mobile FAQ */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Mobile forms */
    .row.g-3 > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .form-floating > label {
        font-size: 0.85rem;
    }
    
    /* Mobile support page */
    .ticket-card {
        flex-direction: column;
    }
    
    .ticket-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ticket-meta {
        flex-wrap: wrap;
    }
    
    /* Mobile wishlist */
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile filters */
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        z-index: 1050;
        background: var(--bg-card);
        padding: 1.5rem;
        overflow-y: auto;
        transition: left 0.3s ease;
    }
    
    .filter-sidebar.active {
        left: 0;
    }
    
    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1049;
    }
    
    .filter-overlay.active {
        display: block;
    }
    
    .btn-filter-toggle {
        display: flex !important;
    }
}

/* Very small phones (below 375px) */
@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .product-card .product-image {
        width: 120px;
        min-width: 120px;
        height: 120px;
    }
    
    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .stat-counter .number {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar, .footer, .fab, .btn, .ar-controls {
        display: none !important;
    }
    
    .glass-card {
        border: 1px solid #ddd;
        background: white;
        box-shadow: none;
    }
    
    .product-card {
        break-inside: avoid;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-card img,
    .product-gallery img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn-glow::after,
    .hero::before,
    .hero::after {
        animation: none;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0a0f;
        --bg-secondary: #12121a;
    }
}

/* ================================================================
   MOBILE UTILITY CLASSES
   ================================================================ */

/* Hide on mobile */
@media (max-width: 767.98px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on mobile */
@media (min-width: 768px) {
    .show-mobile-only {
        display: none !important;
    }
}

/* Mobile full width */
@media (max-width: 575.98px) {
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
    
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-gap-1 {
        gap: 0.5rem !important;
    }
    
    .mobile-p-0 {
        padding: 0 !important;
    }
    
    .mobile-mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* ================================================================
   SUPPORT TICKET STYLES
   ================================================================ */

/* Support Page Layout */
.support-page {
    min-height: calc(100vh - 400px);
}

/* Ticket List */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticket-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.ticket-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.ticket-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--primary);
    flex-shrink: 0;
}

.ticket-content {
    flex: 1;
    min-width: 0;
}

.ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.ticket-number {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}

.ticket-subject {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.25rem 0 0.5rem;
    line-height: 1.4;
}

.ticket-subject a {
    color: inherit;
    text-decoration: none;
}

.ticket-subject a:hover {
    color: var(--primary);
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ticket-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-meta-item svg {
    width: 14px;
    height: 14px;
}

.ticket-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Ticket Status Badges */
.ticket-status {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-status-open {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.ticket-status-in-progress,
.ticket-status-in_progress {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.ticket-status-resolved {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.ticket-status-closed {
    background: rgba(113, 113, 122, 0.15);
    color: var(--text-muted);
}

.ticket-status-waiting {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

/* Ticket Priority */
.ticket-priority {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-priority-low {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.ticket-priority-medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.ticket-priority-high {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.ticket-priority-urgent {
    background: rgba(239, 68, 68, 0.25);
    color: var(--danger);
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Ticket Detail View */
.ticket-detail {
    max-width: 900px;
    margin: 0 auto;
}

.ticket-detail-header {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
}

.ticket-detail-header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.ticket-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ticket-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-info-value {
    font-weight: 600;
}

/* Ticket Conversation */
.ticket-conversation {
    margin-bottom: 2rem;
}

.conversation-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.conversation-message.from-user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.conversation-message.from-support .message-avatar {
    background: linear-gradient(135deg, var(--success), var(--accent));
}

.message-content {
    max-width: 70%;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.conversation-message.from-user .message-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-color: rgba(139, 92, 246, 0.3);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.message-body {
    color: var(--text-secondary);
    line-height: 1.7;
}

.message-body p:last-child {
    margin-bottom: 0;
}

/* Reply Form */
.ticket-reply-form {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.ticket-reply-form textarea {
    min-height: 150px;
    resize: vertical;
}

.reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.reply-attachments {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attachment-btn {
    padding: 0.5rem;
    background: var(--glass-bg);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.attachment-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* New Ticket Form */
.new-ticket-form {
    max-width: 700px;
    margin: 0 auto;
}

.ticket-category-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-option {
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-option:hover {
    border-color: var(--primary);
}

.category-option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.category-option input {
    display: none;
}

.category-option .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--primary);
}

.category-option .label {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ================================================================
   UI ENHANCEMENTS
   ================================================================ */

/* Better Button Styles */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-soft-primary {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    border: none;
}

.btn-soft-primary:hover {
    background: rgba(139, 92, 246, 0.25);
    color: var(--primary);
}

.btn-soft-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: none;
}

.btn-soft-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: none;
}

/* Icon Circles */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon-circle-sm {
    width: 32px;
    height: 32px;
}

.icon-circle-md {
    width: 48px;
    height: 48px;
}

.icon-circle-lg {
    width: 64px;
    height: 64px;
}

.icon-circle-xl {
    width: 80px;
    height: 80px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    color: var(--text-muted);
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
}

.empty-state h4 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

/* Stats Cards */
.stats-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.stats-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.stats-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stats-card-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--bg-primary);
}

.timeline-item.completed::before {
    background: var(--success);
}

.timeline-item.active::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.timeline-content {
    padding: 0.5rem 0;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Better Forms */
.form-floating-icon {
    position: relative;
}

.form-floating-icon .form-control {
    padding-left: 3rem;
}

.form-floating-icon .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 5;
}

/* Input Group Improvements */
.input-group-modern {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.input-group-modern:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.input-group-modern .form-control {
    border: none;
    background: transparent;
    box-shadow: none !important;
}

.input-group-modern .input-group-text {
    border: none;
    background: transparent;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--glass-bg) 25%, rgba(255,255,255,0.1) 50%, var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-image {
    padding-top: 100%;
}

.skeleton-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating Labels Enhancement */
.form-floating-modern {
    position: relative;
}

.form-floating-modern .form-control {
    height: auto;
    padding: 1.5rem 1rem 0.5rem;
}

.form-floating-modern label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: var(--text-muted);
}

.form-floating-modern .form-control:focus ~ label,
.form-floating-modern .form-control:not(:placeholder-shown) ~ label {
    opacity: .75;
    transform: scale(.85) translateY(-0.5rem);
}

/* Tooltip Custom */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.75rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.chip:hover {
    border-color: var(--primary);
}

.chip-close {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chip-close:hover {
    background: var(--danger);
    color: white;
}

/* Card Hover Effects */
.card-hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
}

.progress-step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.progress-step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: var(--text-primary);
}


/* ================================================================
   GLOBAL PRELOADER
   ================================================================ */
.glam-preloader{position:fixed;inset:0;z-index:99999;background:var(--bg-primary);display:flex;align-items:center;justify-content:center;transition:opacity .5s cubic-bezier(.4,0,.2,1),visibility .5s}
.glam-preloader.hide{opacity:0;visibility:hidden;pointer-events:none}
.pl-bg-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(139,92,246,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(139,92,246,.04) 1px,transparent 1px);background-size:60px 60px;animation:plGridDrift 20s linear infinite}
@keyframes plGridDrift{to{background-position:60px 60px}}
.preloader-inner{text-align:center;position:relative;z-index:2}

/* Orbit rings */
.pl-orbit{width:140px;height:140px;margin:0 auto 2rem;position:relative}
.pl-orbit-ring{position:absolute;inset:0;border-radius:50%;border:2px solid transparent}
.pl-ring-1{border-top-color:var(--primary);border-bottom-color:rgba(139,92,246,.15);animation:plOrbit 1.8s cubic-bezier(.5,.15,.5,.85) infinite}
.pl-ring-2{inset:12px;border-right-color:var(--secondary);border-left-color:rgba(236,72,153,.12);animation:plOrbit 2.4s cubic-bezier(.5,.15,.5,.85) infinite reverse}
.pl-ring-3{inset:24px;border-top-color:var(--accent);border-bottom-color:rgba(6,182,212,.1);animation:plOrbit 1.4s cubic-bezier(.5,.15,.5,.85) infinite}
@keyframes plOrbit{to{transform:rotate(360deg)}}

/* Orbit dots */
.pl-orbit-dot{position:absolute;width:8px;height:8px;border-radius:50%}
.pl-dot-1{background:var(--primary);top:-4px;left:50%;margin-left:-4px;animation:plOrbit 1.8s cubic-bezier(.5,.15,.5,.85) infinite;transform-origin:4px 74px}
.pl-dot-2{background:var(--secondary);top:50%;right:-4px;margin-top:-4px;animation:plOrbit 2.4s cubic-bezier(.5,.15,.5,.85) infinite reverse;transform-origin:-54px 4px}
.pl-dot-3{background:var(--accent);bottom:-4px;left:50%;margin-left:-4px;animation:plOrbit 1.4s cubic-bezier(.5,.15,.5,.85) infinite;transform-origin:4px -50px}

/* Brand */
.pl-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:1.75rem}
.pl-brand-icon svg{width:28px;height:28px;color:var(--primary);animation:plPulse 2s ease-in-out infinite}
@keyframes plPulse{0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.15)}}
.pl-brand-text{font-size:1.6rem;font-weight:800;letter-spacing:-.5px}
.pl-brand-text span{color:var(--primary)}

/* Progress */
.pl-progress{display:flex;align-items:center;gap:12px;max-width:220px;margin:0 auto 1rem}
.pl-progress-track{flex:1;height:3px;background:rgba(255,255,255,.07);border-radius:4px;overflow:hidden}
.pl-progress-fill{width:0;height:100%;background:linear-gradient(90deg,var(--primary),var(--secondary),var(--accent));background-size:200% 100%;border-radius:4px;transition:width .3s;animation:plBarShift 2s linear infinite}
@keyframes plBarShift{to{background-position:200% 0}}
.pl-percent{font-size:.75rem;font-weight:700;color:var(--primary-light);min-width:32px;text-align:right;font-variant-numeric:tabular-nums}
.pl-status{font-size:.78rem;color:var(--text-muted);letter-spacing:.5px;margin:0}


/* ================================================================
   PAGE TRANSITION
   ================================================================ */
.page-transition{position:fixed;inset:0;z-index:99998;background:var(--bg-primary);transform:scaleY(0);transform-origin:bottom;transition:transform .45s cubic-bezier(.86,0,.07,1);pointer-events:none}
.page-transition.active{transform:scaleY(1);transform-origin:top;pointer-events:all}


/* ================================================================
   CUSTOM CURSOR (Disabled - Using Normal Cursor)
   ================================================================ */
.cursor-dot, .cursor-ring {
    display: none !important;
}


/* ================================================================
   GLOBAL SCROLL REVEALS
   ================================================================ */
.reveal{opacity:0;transform:translateY(40px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-left{opacity:0;transform:translateX(-50px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal-left.visible{opacity:1;transform:translateX(0)}
.reveal-right{opacity:0;transform:translateX(50px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal-right.visible{opacity:1;transform:translateX(0)}
.reveal-scale{opacity:0;transform:scale(.85);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.reveal-scale.visible{opacity:1;transform:scale(1)}

[data-delay="1"]{transition-delay:.1s}
[data-delay="2"]{transition-delay:.2s}
[data-delay="3"]{transition-delay:.3s}
[data-delay="4"]{transition-delay:.4s}
[data-delay="5"]{transition-delay:.5s}
[data-delay="6"]{transition-delay:.6s}
[data-delay="7"]{transition-delay:.7s}
[data-delay="8"]{transition-delay:.8s}


/* ================================================================
   ENHANCED MOBILE RESPONSIVENESS (all pages)
   ================================================================ */

/* ── Prevent horizontal overflow ── */
html{overflow-x:hidden}

/* ── Safe area insets for notched phones ── */
@supports(padding:env(safe-area-inset-bottom)){
    .fab,.fab-support{bottom:calc(24px + env(safe-area-inset-bottom))}
    .footer-bottom{padding-bottom:env(safe-area-inset-bottom)}
}

/* ── Navbar mobile fixes ── */
@media(max-width:991.98px){
    /* Hide duplicate desktop nav-icons inside collapsed menu */
    .navbar-collapse > .d-flex.align-items-center > .nav-icon{display:none!important}
    /* Full-width search form with spacing */
    .navbar-collapse form.d-flex{margin:.75rem 0;width:100%}
    .navbar-collapse form .input-group{width:100%}
    /* Full-width login/signup buttons */
    .navbar-collapse .d-flex.align-items-center .btn-sm{width:100%;padding:12px 16px;font-size:.95rem;margin-top:6px;border-radius:12px}
    .navbar-collapse .d-flex.align-items-center{flex-direction:column;width:100%;gap:6px!important}
    /* Nav links bigger touch targets */
    .navbar-nav .nav-link{padding:12px 16px;font-size:1rem;border-radius:8px}
    .navbar-nav .nav-link:active{background:rgba(139,92,246,.1)}
    /* Dropdown full-width on mobile */
    .navbar .dropdown-menu{border:none;padding:0 0 0 16px;background:transparent;box-shadow:none}
    .navbar .dropdown-item{padding:10px 16px;border-radius:8px}
}

/* ── Cart page — touch-friendly quantity buttons ── */
.qty-btn{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;font-size:1.1rem!important;border-radius:10px!important}
.cart-item input[type="number"]{min-width:52px!important;min-height:44px!important;text-align:center;font-size:1rem!important;border-radius:10px!important}

@media(max-width:767.98px){
    .cart-item img[style*="80px"]{width:60px!important;height:60px!important;border-radius:8px!important}
    .cart-item .row{gap:12px}
}
@media(max-width:575.98px){
    .cart-item img[style*="80px"]{width:50px!important;height:50px!important}
    .cart-item .col-md-2,.cart-item .col-md-3,.cart-item .col-md-4{text-align:center}
}

/* ── Product detail page — thumbnails & tabs ── */
@media(max-width:575.98px){
    .thumbnail-gallery .thumbnail{width:64px!important;height:64px!important;min-width:48px;min-height:48px}
    .nav-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
    .nav-tabs::-webkit-scrollbar{display:none}
    .nav-tabs .nav-link{white-space:nowrap;flex-shrink:0;font-size:.85rem;padding:10px 14px}
    .rating-input label svg{width:28px!important;height:28px!important}
    .rating-input label{padding:4px 6px}
}

/* ── Products page — quick view modal ── */
@media(max-width:575.98px){
    #quickViewModal .modal-dialog{margin:.5rem}
    #quickViewModal .modal-body .row{flex-direction:column}
    #quickViewModal .modal-body img{max-height:200px;object-fit:contain;width:100%}
}

/* ── Checkout page — payment options & sticky summary ── */
@media(max-width:575.98px){
    .payment-option{padding:12px!important}
    .payment-option img{height:20px!important}
}
@media(min-width:768px) and (max-width:991.98px){
    .checkout-summary,.cart-summary{position:sticky;top:85px}
}

/* ── FAQ page — unstick sidebar on mobile ── */
@media(max-width:991.98px){
    .sticky-top.faq-sidebar,[class*="sticky-top"][style*="top: 100px"]{position:static!important;top:auto!important}
    .input-group-lg .form-control{font-size:.95rem;padding:10px 16px}
}

/* ── About page — team member avatars on tiny screens ── */
@media(max-width:374.98px){
    img[style*="120px"]{width:80px!important;height:80px!important}
}

/* ── Contact page — map taller on mobile ── */
@media(max-width:767.98px){
    .ratio-21x9{--bs-aspect-ratio:56.25%}
    .contact-icon-box,[style*="min-width:45px"]{min-width:40px!important;width:40px!important;height:40px!important}
}

/* ── Order success page ── */
@media(max-width:575.98px){
    .success-checkmark,.check-icon{width:70px!important;height:70px!important}
    .check-icon::before,.check-icon::after{height:70px!important}
    .icon-line.line-tip{top:33px!important;left:10px!important;width:18px!important}
    .icon-line.line-long{top:28px!important;right:6px!important;width:33px!important}
}

/* ── AR try-on page — screenshot modal ── */
@media(max-width:575.98px){
    .ar-ss img{max-width:100%!important;max-height:70vh!important;object-fit:contain}
    .ar-ss .acts{flex-direction:column;gap:8px}
    .ar-ss .acts .btn{width:100%}
}
@media(max-width:374.98px){
    .ar-prod-grid{grid-template-columns:repeat(2,1fr)!important}
    .ar-th img{width:42px!important;height:42px!important}
}

/* ── Account pages ── */
@media(max-width:991.98px){
    /* Scroll hint for mobile nav */
    .account-mobile-nav,.account-nav-mobile{position:relative}
    .account-mobile-nav::after,.account-nav-mobile::after{content:'';position:absolute;right:0;top:0;bottom:0;width:30px;background:linear-gradient(to right,transparent,var(--bg-primary));pointer-events:none;z-index:2}
    /* Profile avatar */
    img[style*="100px"][style*="border-radius"]{width:80px!important;height:80px!important}
}

/* ── Admin panel — pills & filters on mobile ── */
@media(max-width:767.98px){
    .admin-content .nav-pills,.nav-pills{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}
    .admin-content .nav-pills::-webkit-scrollbar,.nav-pills::-webkit-scrollbar{display:none}
    .nav-pills .nav-link{white-space:nowrap;flex-shrink:0}
    /* Admin filter compact layout */
    .admin-content .row > [class*="col-md-2"],.admin-content .row > [class*="col-md-3"]{flex:0 0 50%;max-width:50%}
    /* Admin sidebar toggle — better touch target */
    .admin-sidebar-toggle{min-width:44px;min-height:44px}
}

/* ── Mobile performance boosts ── */
@media(max-width:767.98px){
    /* Reduce particles on mobile to prevent jank */
    .particle:nth-child(n+8){display:none}
    /* Simpler preloader animations on mobile */
    .pl-bg-grid{display:none}
    .pl-orbit{width:100px;height:100px}
    .pl-orbit-dot{display:none}
    /* Reduce glass blur on low-end devices */
    .stat-glass,.testi-card,.nl-glass{backdrop-filter:blur(8px)}
}
@media(max-width:575.98px){
    .pl-orbit{width:80px;height:80px}
    .pl-brand-text{font-size:1.3rem}
    /* Reduce heavy animations */
    .hero-mesh .orb{opacity:.2;animation-duration:20s}
}

/* ── Global touch-target enforcement ── */
@media(hover:none) and (pointer:coarse){
    a.action-btn,button.action-btn,.btn-wishlist,.btn-try-ar,
    .qty-btn,.testi-nav button,.fab,
    .navbar-toggler{
        min-width:44px!important;min-height:44px!important
    }
    /* Form controls */
    .form-control,.form-select{min-height:48px;font-size:16px!important}
    /* Prevent iOS zoom on input focus */
    input[type="text"],input[type="email"],input[type="password"],
    input[type="number"],input[type="tel"],input[type="url"],
    input[type="search"],textarea,select{font-size:16px!important}
}

/* ── Fluid typography for smooth scaling ── */
@media(max-width:991.98px){
    h1,.h1{font-size:clamp(1.5rem,5vw,2.5rem)!important}
    h2,.h2,.section-title{font-size:clamp(1.25rem,4vw,2rem)!important}
    h3,.h3{font-size:clamp(1.1rem,3.5vw,1.5rem)!important}
}

/* ── Sticky elements unstick on mobile ── */
@media(max-width:991.98px){
    [style*="top: 100px"]{position:static!important;top:auto!important}
    .sticky-lg-top{position:static!important}
}

/* ── Footer mobile ── */
@media(max-width:575.98px){
    .footer .row>[class*="col-lg-2"]{flex:0 0 50%;max-width:50%}
    .footer-links li{padding:4px 0}
    .footer-links li a{font-size:.85rem;padding:4px 0;display:inline-flex;align-items:flex-start;gap:4px}
    .footer-bottom{text-align:center;font-size:.8rem}
    .footer-social{justify-content:center}
    .footer-social a{width:40px;height:40px;min-width:44px;min-height:44px}
}

/* ================================================================
   ENHANCED NAVBAR - PROFESSIONAL REDESIGN
   ================================================================ */
.navbar {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.navbar.scrolled .navbar-brand {
    transform: scale(0.95);
}

/* Enhanced Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.navbar-brand .brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2); }
}

.navbar-brand .brand-icon svg {
    color: #fff;
}

.navbar-brand .brand-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-text span {
    -webkit-text-fill-color: #fff;
}

/* Enhanced Nav Links */
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.65rem 1rem !important;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon {
    opacity: 1;
    color: var(--primary);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(139, 92, 246, 0.1);
}

/* Special AR Try-On Link */
.nav-link-special {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-link-special:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
    border-color: rgba(139, 92, 246, 0.4);
}

.nav-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    background: var(--secondary);
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Enhanced Hamburger Menu */
.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-toggler.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Enhanced Mobile Menu */
.navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    overflow-y: auto;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.navbar-collapse.show {
    right: 0;
}

.navbar-collapse-inner {
    padding: 80px 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Mobile Menu Overlay */
.navbar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1090;
}

.navbar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Close Button for Mobile Menu */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: var(--danger);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Mobile Nav Items */
.navbar-collapse .navbar-nav {
    gap: 0.5rem;
}

.navbar-collapse .nav-link {
    padding: 1rem !important;
    border-radius: 12px;
    font-size: 1rem;
}

.navbar-collapse .nav-link-icon {
    display: block;
    width: 20px;
    height: 20px;
}

/* Mobile Dropdown */
.navbar-collapse .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0 !important;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    box-shadow: none;
}

.navbar-collapse .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.navbar-collapse .dropdown-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-primary);
}

/* Enhanced Search */
.nav-search-form {
    width: 100%;
    margin: 1rem 0;
}

.nav-search-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-search-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.nav-search-form .form-control {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
}

.nav-search-form .form-control:focus {
    box-shadow: none;
}

.nav-search-form .btn-search {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0 1rem;
    color: #fff;
}

/* Desktop Specific */
@media (min-width: 992px) {
    .navbar-collapse {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
        border: none;
        box-shadow: none;
        display: flex !important;
        overflow: visible;
    }
    
    .navbar-collapse-inner {
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
    
    .navbar-collapse .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-collapse .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .navbar-collapse .nav-link-icon {
        display: none;
    }
    
    .nav-search-form {
        width: auto;
        margin: 0;
    }
    
    .nav-search-form .input-group {
        width: 220px;
    }
    
    .mobile-menu-close,
    .navbar-overlay {
        display: none !important;
    }
    
    .dropdown-menu {
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 16px;
        padding: 0.75rem;
        margin-top: 0.5rem !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        animation: dropdownFade 0.3s ease;
    }
    
    @keyframes dropdownFade {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .dropdown-item {
        padding: 0.65rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
        color: var(--text-secondary);
        transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
        background: rgba(139, 92, 246, 0.15);
        color: var(--text-primary);
        transform: translateX(5px);
    }
}

/* ================================================================
   ENHANCED SCROLL ANIMATIONS
   ================================================================ */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Parallax Effect */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Smooth Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 2000;
    transition: width 0.1s linear;
}

/* ================================================================
   ENHANCED UI INTERACTIONS
   ================================================================ */

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::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;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card Hover Lift */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

/* Glow on Hover */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Image Zoom Container */
.img-zoom-container {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/* ================================================================
   ENHANCED MOBILE RESPONSIVENESS
   ================================================================ */

/* Body padding for fixed navbar */
body {
    padding-top: 70px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 65px;
    }
    
    /* Mobile Navigation Icons */
    .mobile-nav-icons {
        gap: 0.5rem !important;
    }
    
    .mobile-nav-icons .nav-icon {
        width: 38px;
        height: 38px;
    }
    
    /* Hero Section Mobile */
    .hero-home {
        padding-top: 40px !important;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    
    /* Cards full width on mobile */
    .product-card,
    .glass-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }
    
    /* Stack elements vertically */
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    /* Full width buttons */
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    /* Improved spacing */
    .section-padding {
        padding: 50px 0;
    }
    
    /* 2-column grid for products */
    .products-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 55px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Smaller spacing */
    .section-padding {
        padding: 40px 0;
    }
    
    /* Simplified animations for performance */
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        transition-duration: 0.5s;
    }
    
    /* Products 2-column always */
    .products-grid .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.35rem;
    }
    
    .product-card .product-info {
        padding: 0.75rem;
    }
    
    .product-card .product-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* ================================================================
   LOADING & TRANSITION ENHANCEMENTS
   ================================================================ */

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.05) 25%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Image Loading Placeholder */
.img-placeholder {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* ================================================================
   ACCESSIBILITY IMPROVEMENTS
   ================================================================ */

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Link - Visually Hidden */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 600;
    z-index: 99999;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 14px 28px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ================================================================
   MOBILE PRODUCT CARDS FIX
   ================================================================ */
/* Tablets & Small Desktop */
@media (max-width: 991.98px) {
    .product-card .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile devices */
@media (max-width: 767.98px) {
    .product-card {
        border-radius: 12px;
    }
    .product-card:hover {
        transform: none;
    }
    .product-card .product-actions {
        top: 8px;
        right: 8px;
        flex-direction: row;
        gap: 5px;
    }
    .product-card .action-btn {
        width: 32px;
        height: 32px;
        background: rgba(15, 15, 26, 0.9);
        backdrop-filter: blur(8px);
    }
    .product-card .action-btn svg {
        width: 14px;
        height: 14px;
    }
    .product-card .product-info {
        padding: 0.85rem;
    }
    .product-card .product-category {
        font-size: 0.68rem;
        margin-bottom: 0.35rem;
    }
    .product-card .product-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card .product-price {
        flex-wrap: wrap;
        gap: 6px;
    }
    .product-card .price-current {
        font-size: 1.1rem;
    }
    .product-card .price-original {
        font-size: 0.8rem;
    }
    .product-card .product-rating {
        margin-top: 0.5rem;
    }
    .product-card .product-rating .stars svg {
        width: 12px !important;
        height: 12px !important;
    }
    .product-card .product-rating span {
        font-size: 0.75rem;
    }
    .product-card .btn-try-ar {
        margin-top: 0.75rem;
        padding: 0.6rem;
        font-size: 0.85rem;
        gap: 6px;
    }
    .product-card .btn-try-ar svg {
        width: 16px;
        height: 16px;
    }
    .product-card .product-badge {
        top: 8px;
        left: 8px;
    }
    .product-card .product-badge span {
        padding: 4px 10px;
        font-size: 0.68rem;
    }
}

/* Small phones - single column with better spacing */
@media (max-width: 575.98px) {
    .product-card .product-image {
        padding-top: 85%;
    }
    .product-card .product-info {
        padding: 1rem;
    }
    .product-card .product-title {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
    .product-card .price-current {
        font-size: 1.2rem;
    }
    .product-card .price-original {
        font-size: 0.85rem;
    }
    .product-card .btn-try-ar {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    .product-card .action-btn {
        width: 36px;
        height: 36px;
    }
    .product-card .action-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.9);
        --glass-border: rgba(255, 255, 255, 0.3);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-color: var(--primary);
    }
}