/* ========================================
   🎨 Balance.Pro - Professional Design System
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   🌐 Root Variables & Color System
   ======================================== */
:root {
    /* Primary Colors */
    --primary-color: #007AFF;
    --accent-color: #00C6AE;
    --accent-purple: #6C63FF;

    /* Background Colors */
    --bg-gradient: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --card-bg: #FFFFFF;

    /* Text Colors */
    --text-primary: #111111;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;

    /* Border & Divider Colors */
    --border-color: #E5E7EB;
    --divider-color: #F3F4F6;

    /* Shadow System */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   🎯 Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   📝 Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

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; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* ========================================
   🎨 Glass Morphism Components
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* ========================================
   🔘 Button System
   ======================================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.95;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   📱 Responsive Container
   ======================================== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   🎯 Form Controls
   ======================================== */
.form-control {
    font-family: var(--font-secondary);
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

/* ========================================
   🎨 Utility Classes
   ======================================== */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

/* ========================================
   📱 Mobile Bottom Navigation (iPhone Style)
   ======================================== */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.75rem 0;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-bottom-nav .nav-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        color: var(--text-secondary);
        font-size: 0.75rem;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav .nav-item.active {
        color: var(--primary-color);
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.5rem;
    }

    body {
        padding-bottom: 80px;
    }
}

/* ========================================
   🎯 Mobile Sidebar - Premium Smartphone App Style
   ======================================== */

/* Overlay/Backdrop */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar Container */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

/* Sidebar Header */
.mobile-sidebar-header {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 198, 174, 0.08) 100%);
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sidebar-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo-image {
    max-height: 40px;
    height: auto;
}

.sidebar-logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* User Profile Section */
.mobile-sidebar-profile {
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 198, 174, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.25rem;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

/* Profile Avatar Image */
.profile-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sidebar Navigation */
.mobile-sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin: 0;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: 56px;
}

.sidebar-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-menu-link:hover,
.sidebar-menu-link:active {
    background: linear-gradient(90deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 198, 174, 0.05) 100%);
}

.sidebar-menu-link:hover::before {
    transform: scaleY(1);
}

.menu-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 198, 174, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.sidebar-menu-link:hover .menu-link-icon {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
    transform: scale(1.05);
}

.menu-link-icon.admin-icon {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 122, 255, 0.1) 100%);
    color: #6C63FF;
}

.menu-link-text {
    flex: 1;
    font-weight: 500;
    font-size: 0.9375rem;
}

.menu-link-arrow {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.sidebar-menu-link:hover .menu-link-arrow {
    transform: translateX(4px);
    color: var(--primary-color);
}

.menu-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Sidebar Divider */
.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    margin: 0.75rem 1.25rem;
}

/* Sidebar Menu Label */
.sidebar-menu-label {
    padding: 0.75rem 1.25rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Currency List in Sidebar */
.sidebar-currency-list {
    padding: 0 0.5rem;
}

.sidebar-currency-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.75rem;
    margin: 0.25rem 0;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-currency-item:hover {
    background: rgba(0, 122, 255, 0.08);
}

.sidebar-currency-item.active {
    background: linear-gradient(135deg, rgba(0, 198, 174, 0.12) 0%, rgba(0, 122, 255, 0.08) 100%);
    border-left: 3px solid var(--accent-color);
}

.currency-symbol-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 32px;
    text-align: center;
    margin-right: 0.75rem;
}

.currency-name-small {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Sidebar Footer */
.mobile-sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.sidebar-logout-btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    color: #FF6B6B;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-logout-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 142, 83, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* RTL Support */
[dir="rtl"] .mobile-sidebar {
    right: auto;
    left: -100%;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .mobile-sidebar.active {
    left: 0;
    right: auto;
}

[dir="rtl"] .menu-link-icon {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .sidebar-menu-link::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .sidebar-menu-link:hover .menu-link-arrow {
    transform: translateX(-4px);
}

[dir="rtl"] .sidebar-currency-item.active {
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

[dir="rtl"] .currency-symbol-small {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .menu-badge {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Smooth Scrollbar */
.mobile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 255, 0.2);
    border-radius: 10px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 122, 255, 0.3);
}

/* Animation for sidebar items */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-sidebar.active .sidebar-menu-item {
    animation: slideInFromRight 0.4s ease forwards;
}

.mobile-sidebar.active .sidebar-menu-item:nth-child(1) { animation-delay: 0.05s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(3) { animation-delay: 0.15s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(4) { animation-delay: 0.2s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(5) { animation-delay: 0.25s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(6) { animation-delay: 0.3s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(7) { animation-delay: 0.35s; }
.mobile-sidebar.active .sidebar-menu-item:nth-child(8) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 100%;
        max-width: 100vw;
    }
}

/* IMPORTANT: Mobile sidebar should work on ALL screen sizes including desktop */
/* DO NOT hide the sidebar on desktop - it's the primary navigation method */

/* ========================================
   🎨 PROFESSIONAL HEADER - FLAT MINIMAL DESIGN
   ========================================

   SPECIFICATIONS:
   - Pure white background (#FFFFFF)
   - Flat, solid colors (NO gradients, NO transparency)
   - Height: 70px
   - Simple hover effects only
   - Shopping cart with badge counter
   ======================================== */

/* Main Header Container */
.main-header-simple {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

/* Navbar Simple */
.navbar-simple {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 32px;
}

/* Header Left Side (Menu + Logo) */
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Header Right Side (Cart + Login + Register) */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Button (Visible on ALL screens) */
.simple-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    color: #1F1F1F;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.simple-menu-btn:hover {
    background: #F5F5F5;
    border-color: #007BFF;
    color: #007BFF;
}

/* Logo */
.simple-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.simple-brand:hover {
    opacity: 0.85;
}

.simple-logo-image {
    max-height: 40px;
    height: auto;
}

.simple-logo-icon {
    font-size: 28px;
    color: #007BFF;
}

.simple-logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: #1F1F1F;
}

/* Spacer */
.simple-spacer {
    flex: 1;
}

/* Shopping Cart Button with Badge */
.simple-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    color: #444;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.simple-cart-btn:hover {
    background: #F5F5F5;
    border-color: #007BFF;
    color: #007BFF;
}

/* Cart Badge Counter */
.cart-badge-simple {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #FF3B30;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    line-height: 1;
}

/* Simple Buttons */
.simple-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    height: 44px;
}

/* Login Button - Outlined */
.simple-login-btn {
    background: #FFFFFF;
    color: #007BFF;
    border: 1px solid #007BFF;
}

.simple-login-btn:hover {
    background: #F0F7FF;
    color: #0056D2;
    border-color: #0056D2;
}

/* Register Button - Solid Blue */
.simple-register-btn {
    background: #007BFF;
    color: #FFFFFF;
    border: 1px solid #007BFF;
}

.simple-register-btn:hover {
    background: #0056D2;
    border-color: #0056D2;
}

/* RTL Support */
[dir="rtl"] .navbar-simple {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-left {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .simple-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-badge-simple {
    right: auto;
    left: -8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header-simple {
        height: 60px;
    }

    .navbar-simple {
        padding: 0 16px;
    }

    .header-left {
        gap: 12px;
    }

    .header-right {
        gap: 8px;
    }

    .simple-menu-btn,
    .simple-cart-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .simple-logo-text {
        font-size: 20px;
    }

    .simple-logo-icon {
        font-size: 24px;
    }

    .simple-logo-image {
        max-height: 35px;
    }

    /* Hide button text on mobile, show icons only */
    .simple-btn span {
        display: none;
    }

    .simple-btn {
        padding: 10px 12px;
        gap: 0;
        min-width: 40px;
    }

    .simple-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .navbar-simple {
        padding: 0 12px;
    }

    .header-right {
        gap: 6px;
    }

    .simple-btn {
        padding: 8px 10px;
        min-width: 36px;
    }

    .cart-badge-simple {
        font-size: 11px;
        height: 16px;
        min-width: 16px;
    }
}

/* ========================================
   🎨 OLD Header & Navigation (DEPRECATED - Kept for reference)
   ======================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none; /* HIDDEN - Using simplified header instead */
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    min-height: 60px;
}

/* Logo */
.navbar-brand {
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 0.5rem 0;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-image {
    max-height: 50px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 122, 255, 0.15));
}

.logo-image:hover {
    filter: drop-shadow(0 4px 12px rgba(0, 122, 255, 0.25));
    transform: scale(1.02);
}

.logo-icon {
    font-size: 2.25rem;
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.2));
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.625rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Center Navigation */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.navbar-nav {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.975rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 198, 174, 0.08) 100%);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(0, 198, 174, 0.12) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.2);
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:active {
    background: rgba(0, 122, 255, 0.15);
    transform: translateY(0);
}

.nav-link i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.nav-link span {
    transition: all 0.3s ease;
}

/* Right Actions */
.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.action-btn i {
    font-size: 1.0625rem;
    transition: all 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.15);
}

.action-btn span {
    transition: all 0.3s ease;
}

.admin-btn {
    background: linear-gradient(135deg, #6C63FF 0%, #007AFF 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
    border-color: rgba(108, 99, 255, 0.3);
}

.admin-btn:hover {
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.45);
    color: white;
}

.admin-btn:hover {
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    color: white;
}

.cart-btn {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 198, 174, 0.1) 100%);
    color: var(--primary-color);
    position: relative;
    border-color: rgba(0, 122, 255, 0.2);
}

.cart-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.3);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    border: 2px solid white;
}

.login-btn {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 198, 174, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.2);
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.3);
}

.register-btn {
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.35);
    border-color: rgba(0, 122, 255, 0.3);
}

.register-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.45);
    color: white;
}

.lang-btn {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.08) 100%);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.12) 100%);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 198, 174, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.2);
}

.user-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 122, 255, 0.3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 122, 255, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(0, 122, 255, 0.08);
    color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
    background: rgba(255, 107, 107, 0.08);
    color: #FF6B6B;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Currency Menu */
.currency-menu {
    position: relative;
}

.currency-btn {
    background: linear-gradient(135deg, rgba(0, 198, 174, 0.1) 0%, rgba(0, 122, 255, 0.1) 100%);
    color: var(--primary-color);
    border-color: rgba(0, 198, 174, 0.2);
    font-weight: 600;
}

.currency-btn:hover {
    background: linear-gradient(135deg, rgba(0, 198, 174, 0.15) 0%, rgba(0, 122, 255, 0.15) 100%);
    border-color: rgba(0, 198, 174, 0.3);
}

.currency-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.currency-btn:hover .dropdown-icon,
.user-btn:hover .dropdown-icon {
    transform: translateY(2px);
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 198, 174, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.currency-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glass-dropdown {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.dropdown-header {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(0, 198, 174, 0.08) 0%, rgba(0, 122, 255, 0.08) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.currency-item:hover {
    background: linear-gradient(90deg, rgba(0, 198, 174, 0.08) 0%, rgba(0, 122, 255, 0.05) 100%);
    border-left-color: var(--accent-color);
}

.currency-item.active {
    background: linear-gradient(90deg, rgba(0, 198, 174, 0.12) 0%, rgba(0, 122, 255, 0.08) 100%);
    border-left-color: var(--accent-color);
}

.currency-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 198, 174, 0.1) 0%, rgba(0, 122, 255, 0.1) 100%);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
}

.currency-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.currency-code-text {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.currency-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.currency-item i.fa-check {
    font-size: 1rem;
    animation: checkmark-pop 0.3s ease;
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart Badge Animation */
@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.cart-badge.updated {
    animation: badge-pulse 0.5s ease;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 198, 174, 0.1) 100%);
    color: var(--primary-color);
    border: 1px solid rgba(0, 122, 255, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 198, 174, 0.15) 100%);
    border-color: rgba(0, 122, 255, 0.3);
    transform: scale(1.05);
}

/* ========================================
   🎨 Footer
   ======================================== */
.main-footer {
    background: linear-gradient(180deg, #F5F7FA 0%, #E5E7EB 100%);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========================================
   🎨 Hero Section
   ======================================== */
.hero-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.hero-image {
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: var(--spacing-lg) auto;
}

/* ========================================
   📱 Responsive Design
   ======================================== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .navbar {
        gap: 4rem;
    }

    .navbar-center {
        padding: 0 3rem;
    }

    .navbar-nav {
        gap: 1rem;
    }

    .navbar-actions {
        gap: 1.25rem;
    }

    .nav-link {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .action-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .navbar {
        gap: 3rem;
    }

    .navbar-nav {
        gap: 0.875rem;
    }

    .navbar-actions {
        gap: 1.125rem;
    }
}

/* Standard Desktop (992px - 1439px) */
@media (min-width: 992px) {
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .navbar-center {
        display: flex !important;
        flex: 1 !important;
        justify-content: center !important;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        align-items: center !important;
    }

    .navbar-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        align-items: center !important;
    }
}

/* Tablet and below */
@media (max-width: 991px) {
    .navbar-center {
        display: none !important;
    }

    .navbar-actions {
        display: none !important;
    }

    .main-header {
        padding: 0.875rem 0;
    }

    .navbar {
        gap: 1.5rem;
    }

    .logo-text {
        font-size: 1.375rem;
    }

    .logo-icon {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .main-header {
        padding: 0.75rem 0;
    }

    .navbar {
        gap: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.75rem;
    }

    .logo-image {
        max-height: 40px !important;
    }

    .mobile-menu-btn {
        padding: 0.625rem 1rem;
        font-size: 1.125rem;
    }
}

/* ========================================
   🎨 RTL Support (Arabic)
   ======================================== */
[dir="rtl"] {
    font-family: 'Cairo', var(--font-secondary);
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-section a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .user-dropdown,
[dir="rtl"] .currency-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .cart-badge {
    right: auto;
    left: -8px;
}

[dir="rtl"] .nav-link i,
[dir="rtl"] .action-btn i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .user-btn i.fa-chevron-down,
[dir="rtl"] .currency-btn i.fa-chevron-down {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .currency-item {
    border-left: none;
    border-right: 3px solid transparent;
}

[dir="rtl"] .currency-item:hover,
[dir="rtl"] .currency-item.active {
    border-right-color: var(--accent-color);
}

/* ========================================
   📦 Category Page
   ======================================== */
.category-page {
    min-height: 100vh;
}

.category-header {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 198, 174, 0.05) 100%);
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.category-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.category-image {
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-secondary);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* Product Cards in Category Page */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.discount {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
}

.product-badge.featured {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-color) 100%);
    color: white;
    top: 50px;
}

.product-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-rating i {
    font-size: 0.875rem;
    color: #ddd;
}

.product-rating i.filled {
    color: #FFB800;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-original {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.btn-block {
    width: 100%;
    margin-top: auto;
}

/* Responsive adjustments for product cards */
@media (max-width: 1200px) {
    .category-page .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .category-page .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .category-page .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-header {
        padding: 2rem 0 1.5rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .price-current {
        font-size: 1.25rem;
    }

    .price-original {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .category-page .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .product-info {
        padding: 1rem;
    }
}

/* ========================================
   🎯 Modern Hero Section
   ======================================== */
.hero-section-modern {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 122, 255, 0.1) 0%,
        rgba(0, 198, 174, 0.1) 50%,
        rgba(108, 99, 255, 0.1) 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-title-modern {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-description-modern {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.4);
    color: white;
}

.btn-hero-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.hero-image-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-description-modern {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   📂 Category Cards
   ======================================== */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-card .card-img-top {
    transition: transform 0.3s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.05);
}

.category-card .card-body {
    padding: 1.5rem;
}

.category-card .card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.category-card:hover .card-title {
    color: var(--primary-color);
}

.category-card .card-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ========================================
   📦 Order Timeline Styles
   ======================================== */

.order-timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-icon {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: #E5E7EB;
    color: #9CA3AF;
    border: 3px solid #F3F4F6;
}

.timeline-item.completed .timeline-icon {
    background: linear-gradient(135deg, #007AFF 0%, #00C6AE 100%);
    color: white;
    border-color: #007AFF;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.timeline-item.active .timeline-icon {
    background: linear-gradient(135deg, #6C63FF 0%, #007AFF 100%);
    color: white;
    border-color: #6C63FF;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.cancelled .timeline-icon {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    border-color: #DC2626;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-item.completed .timeline-content h6 {
    color: #007AFF;
}

.timeline-item.active .timeline-content h6 {
    color: #6C63FF;
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 50px;
    width: 3px;
    height: calc(100% - 50px);
    background: #E5E7EB;
    transition: background 0.5s ease;
}

.timeline-line.completed {
    background: linear-gradient(180deg, #007AFF 0%, #00C6AE 100%);
}

/* Pulse animation for active status */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(108, 99, 255, 0.6);
    }
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Support */
[dir="rtl"] .timeline-line {
    left: auto;
    right: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-item {
        gap: 1rem;
        padding: 1rem 0;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-line {
        left: 19px;
        top: 40px;
        height: calc(100% - 40px);
    }

    [dir="rtl"] .timeline-line {
        left: auto;
        right: 19px;
    }

    .timeline-content h6 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
    }
}

/* ========================================
   🎬 Home Slider Section
   ======================================== */
.home-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.homeSlider {
    width: 100%;
    height: 600px;
}

.slider-item {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-slider-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-slider-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 122, 255, 0.4);
    color: #ffffff;
}

/* Swiper Navigation Buttons */
.homeSlider .swiper-button-next,
.homeSlider .swiper-button-prev {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.homeSlider .swiper-button-next:after,
.homeSlider .swiper-button-prev:after {
    font-size: 20px;
}

.homeSlider .swiper-button-next:hover,
.homeSlider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Swiper Pagination */
.homeSlider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.homeSlider .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Slider */
@media (max-width: 992px) {
    .homeSlider {
        height: 500px;
    }

    .slider-item {
        height: 500px;
    }

    .slider-title {
        font-size: 2.5rem;
    }

    .slider-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .homeSlider {
        height: 450px;
    }

    .slider-item {
        height: 450px;
    }

    .slider-title {
        font-size: 2rem;
    }

    .slider-description {
        font-size: 1rem;
    }

    .btn-slider-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ========================================
   📹 Video Section
   ======================================== */
.video-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000000;
}

.video-wrapper iframe,
.video-wrapper video {
    border-radius: var(--radius-lg);
    border: none;
}

.video-content {
    padding: 2rem 0;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.video-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Responsive Video Section */
@media (max-width: 992px) {
    .video-title {
        font-size: 2rem;
    }

    .video-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .video-title {
        font-size: 1.75rem;
    }

    .video-content {
        padding: 1rem 0;
        margin-top: 2rem;
    }
}

/* ========================================
   🏷️ Professional Footer Credit Section
   ======================================== */

.footer-credit {
    background-color: #fafbfc;
    border-top: 1px solid #e1e4e8;
    padding: 1rem 0;
    margin-bottom: 60px; /* Space for mobile bottom nav */
}

.credit-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.credit-text {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.credit-link {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    transition: color 0.2s ease;
    position: relative;
}

.credit-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.credit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0056b3;
    transition: width 0.2s ease;
}

.credit-link:hover::after {
    width: 100%;
}

/* RTL Support */
[dir="rtl"] .credit-link {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-credit {
        padding: 0.875rem 0;
        margin-bottom: 60px;
    }

    .credit-text {
        font-size: 0.8125rem;
    }
}

@media (min-width: 768px) {
    .footer-credit {
        margin-bottom: 0; /* No mobile nav on desktop */
    }
}

/* Clean, minimal design - no animations or distractions */
