/* ============================================
   SOUFIANE STORE - Dark Luxury Tech Theme
   ============================================ */

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    
    /* Colors */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #888888;
    --accent-primary: #00e676;
    --accent-secondary: #00c853;
    --accent-glow: rgba(0, 230, 118, 0.3);
    --silver: #e0e0e0;
    --gold: #ffd700;
    --amber: #f59e0b;
    --error: #ff5252;
    --red: #ef4444;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;

    /* Transitions - Optimized for performance */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.2s ease-out;
    --transition-slow: 0.35s ease-out;
    --transition-slower: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Typography */
    --font-ui: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 700;
    --z-modal-backdrop: 400;
    --z-modal: 1500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    body, .navbar, .product-card, .footer-2025 {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Support for Arabic */
html[dir="rtl"] {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .navbar__hamburger {
    order: 2;
}

html[dir="rtl"] .navbar__logo {
    order: 1;
}

html[dir="rtl"] .navbar__actions {
    order: 3;
}

html[dir="rtl"] .mobile-menu__content {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid var(--glass-border);
}

html[dir="rtl"] .mobile-menu.active .mobile-menu__content {
    transform: translateX(0);
}

html[dir="rtl"] .navbar__dropdown {
    left: auto;
    right: 0;
}

html[dir="rtl"] .product-card__badges {
    left: auto;
    right: 12px;
}

html[dir="rtl"] .product-card__wishlist {
    right: auto;
    left: 12px;
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* For mobile bottom nav */
    padding-top: 130px; /* Mobile: utility bar (28px) + ticker (35px) + navbar (~67px) */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
        padding-top: 140px; /* Desktop: utility bar (36px) + ticker (35px) + navbar (~70px) */
    }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img, video {
    max-width: 100%;
    display: block;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: var(--radius-lg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Selection */
::selection {
    background: var(--amber);
    color: var(--bg-primary);
}

/* Metallic Text Effect */
.metallic-text {
    /* Uses mostly white (#fff) and very light gray (#e6e6e6) */
    background: linear-gradient(
        135deg, 
        #ffffff 0%, 
        #f0f0f0 25%, 
        #ffffff 50%, 
        #e6e6e6 75%, 
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* ADD THIS: A subtle white glow to make it readable on black */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* ============ ANIMATIONS ============ */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

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

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

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

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

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

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============ TOP UTILITY BAR (REDESIGNED) ============ */
.utility-bar {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-secondary);
    padding: 8px 20px;
    display: none;
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
}

@media (min-width: 769px) {
    .utility-bar {
        display: block;
    }
}

.utility-bar__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.utility-bar__left {
    flex: 1;
}

.utility-bar__center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.utility-bar__right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.utility-bar__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
}

.utility-bar__badge i {
    font-size: 0.75rem;
    color: var(--amber);
}

.utility-bar__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.utility-bar__link:hover {
    color: var(--text-primary);
}

.utility-bar__link i {
    font-size: 0.7rem;
    color: var(--accent-primary);
}

.utility-bar__divider {
    color: var(--glass-border);
    font-size: 0.7rem;
}

.utility-bar__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-bar__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.utility-bar__socials a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Mobile: Show full utility bar with socials */
@media (max-width: 768px) {
    .utility-bar {
        display: block;
        padding: 6px 12px;
    }
    
    .utility-bar__container {
        justify-content: space-between;
        gap: 8px;
    }
    
    .utility-bar__left {
        display: none;
    }
    
    .utility-bar__center {
        gap: 10px;
        flex-wrap: nowrap;
        flex: 1;
        justify-content: center;
    }
    
    .utility-bar__center .utility-bar__link {
        font-size: 0.65rem;
    }
    
    .utility-bar__center .utility-bar__link span {
        display: inline;
        font-size: 0.6rem;
    }
    
    .utility-bar__center .utility-bar__link i {
        font-size: 0.75rem;
    }
    
    .utility-bar__right {
        display: flex; /* Show socials on mobile */
    }
    
    .utility-bar__socials {
        gap: 8px;
    }
    
    .utility-bar__socials a {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .utility-bar__divider {
        display: inline;
        font-size: 0.6rem;
    }
}

/* ============ TOP TICKER ============ */
.ticker {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 10px 0;
    overflow: hidden;
    position: fixed;
    top: 36px; /* Below utility bar */
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 35px;
}

@media (max-width: 768px) {
    .ticker {
        top: 28px; /* Below mobile utility bar */
    }
}

.ticker__content {
    display: flex;
    gap: var(--space-lg);
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    font-weight: 500;
    font-size: 0.85rem;
}

.ticker__separator {
    opacity: 0.5;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 63px; /* Mobile: utility bar (28px) + ticker (35px) */
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-sm) var(--space-md);
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: top 0.3s ease, background 0.3s ease;
}

@media (min-width: 769px) {
    .navbar {
        top: 71px; /* Utility bar (36px) + ticker (35px) */
        padding: var(--space-sm) var(--space-lg);
    }
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar__container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 10px;
}

.navbar__hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: var(--z-modal);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    background: transparent;
    border: none;
}

.navbar__hamburger:hover {
    background: var(--glass-bg);
}

/* Show hamburger on all screen sizes */
@media (min-width: 769px) {
    .navbar__hamburger {
        display: flex !important; /* Keep visible on desktop */
    }
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

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

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

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.navbar__logo-glow {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--amber);
    border-radius: var(--radius-full);
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.navbar__logo:hover .navbar__logo-glow {
    opacity: 0.3;
}

.navbar__logo img {
    height: 45px;
    width: 45px;
  border-radius: 50%; 
  object-fit: contain; 
      border: 2px solid var(--glass-border);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

@media (min-width: 769px) {
    .navbar__logo img {
        height: 50px;
        width: 50px;
    }
}

.navbar__logo:hover img {
    border-color: var(--amber);
    transform: scale(1.05);
}

.navbar__logo-text {
    display: none;
    flex-direction: column;
}

@media (min-width: 769px) {
    .navbar__logo-text {
        display: flex;
    }
}

.navbar__logo-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    transition: var(--transition-normal);
    line-height: 1;
    white-space: nowrap;
}

.navbar__logo:hover .navbar__logo-name {
    color: var(--amber);
}

.navbar__logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition-normal);
    margin-top: -2px;
}

.navbar__logo:hover .navbar__logo-sub {
    opacity: 1;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .navbar__actions {
        gap: 12px;
    }
}

/* Navbar Social Dropdown */
.navbar__social-dropdown {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .navbar__social-dropdown {
        display: block;
    }
}

.navbar__social-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar__social-toggle:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--bg-primary);
}

.navbar__social-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    padding: 8px 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: var(--z-dropdown);
}

.navbar__social-dropdown.active .navbar__social-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.navbar__social-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.navbar__social-item:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
    padding-left: 20px;
}

.navbar__social-item--whatsapp:hover {
    color: #25d366;
}

.navbar__social-item--instagram:hover {
    color: #e1306c;
}

.navbar__social-item--facebook:hover {
    color: #1877f2;
}

.navbar__social-item--tiktok:hover {
    color: #fff;
}

.navbar__icon-btn {
    position: relative;
    padding: 10px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

.navbar__icon-btn:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.navbar__icon-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Hide search/wishlist on mobile (in navbar) */
@media (max-width: 768px) {
    .navbar__icon-btn#searchToggle,
    .navbar__icon-btn#wishlistToggle {
        display: none;
    }
}

/* ============ NAVBAR DESKTOP NAVIGATION ============ */
.navbar__nav {
    display: none;
    align-items: center;
    gap: 8px;
    /* ADD THIS LINE BELOW: */
      margin-left: 30px; /* Reduced from 40px */
    gap: 5px; /* Reduced from 8px */ /* Pushes the menu 40px away from the logo */
}

@media (max-width: 1024px) {
    .navbar__nav {
        display: none; /* Hide text links */
    }
    .navbar__hamburger {
        display: flex !important; /* Force hamburger to show */
    }
    
    /* Adjust logo size for cramped screens */
    .navbar__logo-text {
        display: none; /* Hide logo text "SOUFIANE Store" to save space if needed */
    }
}
@media (min-width: 1301px) {
    .navbar__nav {
        display: flex;
    }
    .navbar__hamburger {
        display: none;
    }
    .navbar__logo-text {
        display: flex;
    }
}


.navbar__nav-item {
    position: relative;
}

.navbar__nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    border-radius: var(--radius-md);
     
}

.navbar__nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.navbar__nav-link i:first-child {
    font-size: 1rem;
}

.navbar__nav-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.navbar__nav-item:hover .navbar__nav-arrow {
    transform: rotate(180deg);
}

/* Navbar Dropdown */
.navbar__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: var(--z-dropdown);
}

.navbar__nav-item:hover .navbar__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.navbar__dropdown-item:hover {
    background: var(--glass-bg);
    color: var(--amber);
    padding-left: 24px;
}

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
    position: relative;
    display: block; /* Show on all screen sizes */
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
}

@media (max-width: 768px) {
    .lang-switcher__btn {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    
    .lang-switcher__current {
        min-width: 18px;
    }
}

.lang-switcher__btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher__btn i {
    font-size: 0.9rem;
    color: var(--amber);
}

.lang-switcher__current {
    min-width: 22px;
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 8px 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: var(--z-dropdown);
}

.lang-switcher.active .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
}

.lang-switcher__option:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.lang-switcher__option.active {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.1);
}

.lang-switcher__flag {
    font-size: 1.1rem;
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
    z-index: 9999;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal-backdrop);
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100vh;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: all;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: var(--transition-normal);
}

.mobile-menu.active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    transform: translateX(-100%);
    transition: var(--transition-slower);
    display: flex;
    flex-direction: column;
    padding-top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior: contain; /* Prevent scroll chaining */
    touch-action: pan-y; /* Allow vertical touch scrolling */
        overscroll-behavior: contain; /* Prevent scrolling the body when menu ends */
    pointer-events: auto; /* Ensure mouse events work */

}

.mobile-menu.active .mobile-menu__content {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

.mobile-menu__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu__logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--amber);
}

.mobile-menu__logo span {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.mobile-menu__close {
    color: var(--text-primary);
    font-size: 1.3rem;
    padding: 10px;
    transition: var(--transition-normal);
}

.mobile-menu__close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

/* Mobile Menu Language Selector */
.mobile-menu__lang {
    display: flex;
    gap: 8px;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-menu__lang-btn {
    flex: 1;
    padding: 8px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu__lang-btn:hover {
    background: var(--glass-bg-hover);
}

.mobile-menu__lang-btn.active {
    background: var(--amber);
    color: var(--bg-primary);
    border-color: var(--amber);
}

/* Mobile Menu Navigation */
.mobile-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) 0;
    overflow-y: auto;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
    background: var(--glass-bg-hover);
    color: var(--accent-primary);
}

.mobile-menu__link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

/* Mobile Menu Groups/Submenus */
.mobile-menu__group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu__group-header:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.mobile-menu__group-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    font-weight: 500;
}

.mobile-menu__group-title i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-menu__group-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.mobile-menu__group.open .mobile-menu__group-arrow {
    transform: rotate(180deg);
}

.mobile-menu__submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: max-height 0.3s ease;
}

.mobile-menu__group.open .mobile-menu__submenu {
    max-height: 500px;
}

.mobile-menu__sublink {
    display: block;
    padding: 12px var(--space-lg);
    padding-left: calc(var(--space-lg) + 40px);
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.mobile-menu__sublink:hover {
    background: var(--glass-bg);
    color: var(--amber);
}

.mobile-menu__sublink--all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--amber);
    font-weight: 500;
    margin-top: 4px;
    padding-right: var(--space-lg);
}

.mobile-menu__sublink--all i {
    font-size: 0.7rem;
}

/* Mobile Menu Socials */
.mobile-menu__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: var(--space-lg);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.mobile-menu__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.mobile-menu__social:hover {
    transform: translateY(-3px);
}

.mobile-menu__social--whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.mobile-menu__social--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
    color: white;
}

.mobile-menu__social--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.mobile-menu__social--tiktok:hover {
    background: #000;
    border-color: #fff;
    color: white;
}

/* Mobile Menu Footer */
.mobile-menu__footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-menu__footer p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
}

.mobile-menu__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.mobile-menu__whatsapp:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-normal);
}

.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-overlay__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.search-overlay__icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.search-overlay__input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    outline: none;
}

@media (min-width: 769px) {
    .search-overlay__input {
        font-size: 2rem;
    }
}

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

.search-overlay__close {
    padding: 12px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.search-overlay__close:hover {
    background: var(--glass-bg);
    transform: rotate(90deg);
}

.search-overlay__results {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

@media (min-width: 769px) {
    .search-overlay__results {
        padding: 48px;
    }
}

.search-overlay__empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.search-overlay__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.search-overlay__result {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.search-overlay__result:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.search-overlay__result-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-tertiary);
}

.search-overlay__result-info {
    flex: 1;
}

.search-overlay__result-category {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.search-overlay__result-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    margin-top: 2px;
}

.search-overlay__result-price {
    color: var(--amber);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============ HERO SECTION ============ */
/* Update the Main Hero Container */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Changed from hidden to prevent title cutoff */
    padding-top: 80px; /* Reduced padding */
}

/* Update the Content Box */
.hero__content {
    text-align: center;
    z-index: var(--z-base);
    padding: var(--space-lg);
    margin-top: 20px; /* Slight margin to center content better */
    max-width: 100%;
    overflow: visible;
}

.hero__video-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    will-change: transform; /* GPU acceleration hint */
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transform: translateZ(0) scale(1.05); /* GPU acceleration */
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.8) 0%,
        rgba(5, 5, 5, 0.3) 50%,
        rgba(5, 5, 5, 1) 100%
    );
    will-change: opacity;
}

.hero__noise {
    display: none; /* Disable noise for performance */
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: soft-light;
    pointer-events: none;
}



.hero__badge {
    margin-bottom: 24px;
}

.hero__badge span {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 4rem); /* Reduced for single line fit */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 2;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap; /* Keep all words on one line */
    direction: ltr !important; /* Force LTR so word order stays consistent */
    unicode-bidi: bidi-override;
}

@media (max-width: 768px) {
    .hero__title {
        white-space: normal; /* Allow wrapping on mobile */
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
}

.hero__line {
    display: flex; /* Flex for horizontal layout */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    direction: ltr !important; /* Force LTR */
}

.hero__word {
    display: inline-block;
    margin: 0 6px;
}

.hero__word.animate-ready {
    opacity: 0;
    transform: translateY(100%);
}

.hero__word.accent {
    color: var(--amber);
    text-shadow: 0 0 60px rgba(245, 158, 11, 0.4);
}

.hero__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* Moroccan Hook Tagline */
.hero__tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--amber);
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(245, 158, 11, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 2px 20px rgba(245, 158, 11, 0.3); }
    50% { text-shadow: 0 2px 30px rgba(245, 158, 11, 0.6); }
}

.hero__subtitle.animate-ready {
    opacity: 0;
    transform: translateY(20px);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 16px 40px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-normal);
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.hero__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.hero__cta:hover::before {
    transform: scaleX(1);
}

.hero__cta span,
.hero__cta i {
    position: relative;
    z-index: 1;
}

.hero__cta i {
    transition: var(--transition-normal);
}

.hero__cta:hover i {
    transform: translateX(5px);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    animation: bounceDown 2s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero__scroll-indicator:hover {
    color: var(--text-primary);
}

/* ============ MARQUEE STRIP ============ */
.marquee-strip {
    display: none; /* Hidden - using green ticker instead */
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-strip__content {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.marquee-strip__content span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============ SHOP SECTION (Restructured) ============ */
.shop {
    padding: var(--space-2xl) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 120px;
}

.shop__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.shop__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop__title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    margin: 0 auto var(--space-sm);
    border-radius: 2px;
}

.shop__subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Shop Toolbar (Categories + Filter/Sort) */
.shop__toolbar {
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.categories__container {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-sm) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .categories__container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: var(--space-sm) var(--space-xs);
    }
}

.categories__container::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition-normal);
    min-width: fit-content;
    cursor: pointer;
}

.category-item:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.category-item.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.category-item__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.category-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Shop Controls (Filter & Sort) */
.shop-controls {
    display: flex;
    justify-content: flex-end; /* Pushes buttons to the right */
    gap: 15px; /* Adds space between the two buttons */
    width: 100%;
    padding-right: 20px; /* Keeps them from touching the edge */
    margin-bottom: 20px;
}

.shop-controls__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-controls__btn:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.shop-controls__btn i {
    font-size: 0.9rem;
}

/* ============ SHOP GRID ============ */
.shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

/* ============ PRODUCT CARD ============ */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-card__media {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-card__video {
    opacity: 1;
}

/* Hover Overlay */
.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__view {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.product-card:hover .product-card__view {
    transform: scale(1);
}

.product-card__badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    z-index: 2;
}

.product-card__badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card__badge--hot {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-card__badge--new {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.product-card__badge--sale {
    background: rgba(255, 255, 255, 0.9);
    color: var(--bg-primary);
}

.product-card__badge--limited {
    background: rgba(245, 158, 11, 0.9);
    color: var(--bg-primary);
}

/* Condition Badges */
.product-card__condition {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-card__condition.condition--new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(6, 95, 70, 0.9));
    color: white;
}

.product-card__condition.condition--used {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.9), rgba(75, 85, 99, 0.9));
    color: white;
}

.product-card__condition.condition--refurbished {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    color: white;
}

.product-card__condition.condition--like-new {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(109, 40, 217, 0.9));
    color: white;
}

/* Availability Status */
.product-card__availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card__availability i {
    font-size: 0.65rem;
}

.product-card__availability.availability--available {
    color: var(--accent);
}

.product-card__availability.availability--preorder {
    color: var(--amber);
}

.product-card__availability.availability--soldout {
    color: var(--red);
}

.product-card__availability.availability--low {
    color: var(--amber);
}

/* Sold Out Product Card Styling - UPDATED */
.product-card.sold-out {
    pointer-events: auto; /* Keep clickable so users can see details */
}

.product-card.sold-out .product-card__quick-add {
    pointer-events: none;
    opacity: 0.3;
}

/* Image container for sold-out overlay */
.product-card__image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-card.sold-out .product-card__image {
    filter: none; /* Keep colors visible */
    opacity: 0.7;
}

.product-card.sold-out .product-card__image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
    border-radius: inherit;
}

.product-card.sold-out .product-card__image-container::after {
    content: attr(data-soldout-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    border: 3px solid var(--red);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 12px 24px;
    z-index: 10;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* Wishlist Button */
.product-card__wishlist {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    z-index: 2;
    transition: var(--transition-normal);
}

.product-card__wishlist:hover {
    background: rgba(255, 255, 255, 0.2);
}

.product-card__wishlist.active {
    color: var(--red);
}

.product-card__wishlist.active i {
    font-weight: 900;
}

.product-card__quick-add {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 45px;
    height: 45px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-card__quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-card__quick-add:hover {
    background: var(--amber);
    transform: scale(1.1);
}

.product-card__info {
    padding: var(--space-md);
    text-align: center;
}

.product-card__category {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

.product-card__name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    transition: var(--transition-fast);
}

.product-card:hover .product-card__name {
    color: var(--amber);
}

.product-card__variants {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.product-card__variant {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-card__variant:hover,
.product-card__variant.selected {
    border-color: var(--text-primary);
    transform: scale(1.15);
}

.product-card__pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.product-card__price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-card__old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card__discount {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 230, 118, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Stock Warning */
.product-card__stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-sm);
    font-size: 0.7rem;
    color: var(--amber);
    font-weight: 600;
}

.product-card__stock-dot {
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

/* ============ NEW ARRIVALS CAROUSEL ============ */
.arrivals {
    padding: var(--space-2xl) var(--space-md);
    background: var(--bg-secondary);
}

.arrivals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.arrivals__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

.arrivals__nav {
    display: flex;
    gap: var(--space-sm);
}

.arrivals__btn {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.arrivals__btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.arrivals__swiper {
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.arrivals__swiper .swiper-slide {
    width: 280px;
}

/* ============ CART DRAWER ============ */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    pointer-events: none;
}

.cart-drawer.active {
    visibility: visible;
    pointer-events: all;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: var(--transition-normal);
}

.cart-drawer.active .cart-drawer__overlay {
    opacity: 1;
}

.cart-drawer__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%);
    transition: var(--transition-slower);
    /* Flex layout is applied in scroll fix section */
}


.cart-drawer.active .cart-drawer__content {
    transform: translateX(0);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.cart-drawer__header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.cart-drawer__close {
    color: var(--text-secondary);
    font-size: 1.3rem;
    padding: 10px;
    transition: var(--transition-normal);
}

.cart-drawer__close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.cart-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    gap: var(--space-sm);
}

.cart-drawer__empty i {
    font-size: 3rem;
    opacity: 0.3;
}

.cart-drawer__empty.hidden {
    display: none;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xs);
}

.cart-item__image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__variant {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.cart-item__price {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
}

.cart-item__remove {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.cart-item__remove:hover {
    color: var(--error);
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.cart-item__qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.cart-item__qty-btn:hover {
    color: var(--accent-primary);
}

.cart-item__qty-value {
    width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Cart Footer */
.cart-drawer__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    flex-shrink: 0;
    overflow-y: auto;
    max-height: 50vh;
    overscroll-behavior: contain;
}

.cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-drawer__subtotal span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-drawer__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
}

.cart-drawer__total span:first-child {
    font-weight: 600;
}

.cart-drawer__total span:last-child {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--amber);
    font-size: 1.5rem;
}

/* Checkout Form */
.checkout-form h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.checkout-form__group {
    margin-bottom: var(--space-sm);
}

.checkout-form__group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
    color: var(--text-muted);
}

.checkout-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.checkout-form select option {
    background: var(--bg-secondary);
}

.checkout-form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    margin-top: var(--space-md);
    transition: var(--transition-normal);
}

.checkout-form__submit:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.checkout-form__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.checkout-form__submit i {
    font-size: 1.3rem;
}

/* ============ PRODUCT MODAL ============ */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.product-modal.active {
    visibility: visible;
    pointer-events: all;
}

.product-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-modal.active .product-modal__overlay {
    opacity: 1;
}

.product-modal__content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-modal.active .product-modal__content {
    transform: scale(1);
    opacity: 1;
}

.product-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* CHANGE: Fixed height to ensure scrolling works inside */
    height: 85vh; 
    overflow: hidden;
}

.product-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition-normal);
}

.product-modal__close:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.product-modal__image-container {
    position: relative;
    /* Remove the fixed aspect ratio so it can grow */
    aspect-ratio: auto; 
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack Image on top of Gallery */
    justify-content: center;
    background: var(--bg-secondary); /* Match modal bg */
    overflow: visible; /* Allow gallery to be seen */
    padding: 20px;
}

/* Update the Main Image to fit nicely */
.product-modal__image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height so it doesn't get too huge */
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary); /* Dark bg behind the phone only */
    margin-bottom: 10px;
}

/* Ensure Gallery sits nicely below */
.product-modal__gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    flex-shrink: 0; /* Don't let it shrink */
    justify-content: center; /* Center thumbnails */
}

.product-modal__image-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-modal__image-badge--hot {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-modal__image-badge--new {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.product-modal__image-badge--limited {
    background: rgba(245, 158, 11, 0.9);
    color: var(--bg-primary);
}

.product-modal__info {
    padding: var(--space-xl);
    /* CHANGE: Enable scrolling for text side */
    overflow-y: auto;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.product-modal__category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-xs);
}

.product-modal__name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    color: var(--text-primary);
}

.product-modal__pricing {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-modal__price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber);
}

.product-modal__old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-modal__discount {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 230, 118, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
}

.product-modal__desc,
.product-modal__description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.product-modal__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
}

.product-modal__spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-modal__spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-modal__spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-modal__options {
    margin-bottom: var(--space-lg);
}

.product-modal__options-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-modal__colors {
    display: flex;
    gap: var(--space-sm);
}

.product-modal__color {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.product-modal__color:hover,
.product-modal__color.selected {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.product-modal__color.selected::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.product-modal__actions {
    display: flex;
    gap: var(--space-sm);
    /* CHANGE: Don't push to bottom blindly, give breathing room */
    margin-top: 20px; 
    padding-bottom: 20px; /* Ensure it's not cut off */
    flex-shrink: 0; /* Prevent buttons from squishing */
}
/* Mobile Fix for Modal */
@media (max-width: 768px) {
    .product-modal__body {
        grid-template-columns: 1fr;
        overflow-y: auto; /* Allow full modal scroll on mobile */
        height: auto;
        max-height: 85vh;
        display: block;
    }

    .product-modal__info {
        height: auto;
        overflow: visible;
    }
    
    .product-modal__image-container {
        height: 300px; /* Limit image height on mobile */
    }
}

.product-modal__add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

.product-modal__add-cart:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

/* WhatsApp Button - Always visible green */
.product-modal__whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #25d366;
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
}

.product-modal__whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.product-modal__whatsapp i {
    font-size: 1.2rem;
}

.product-modal__wishlist {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.product-modal__wishlist:hover {
    background: var(--glass-bg-hover);
}

.product-modal__wishlist.active {
    color: var(--red);
}

.product-modal__stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--amber);
}

.product-modal__stock i {
    animation: pulse 2s ease-in-out infinite;
}
/* --- PREMIUM GALLERY STYLES --- */

/* Container for the thumbnails below the main image */

.product-modal__gallery::-webkit-scrollbar {
    display: none;
}

/* Individual Thumbnail */
.product-modal__thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.product-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Active State (Selected Image) */
.product-modal__thumb.active {
    border-color: var(--amber); /* Gold border */
    opacity: 1;
    transform: scale(1.05);
}

.product-modal__thumb:hover {
    opacity: 1;
}

/* Animation for Main Image Swap */
.product-modal__image {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0.5;
}
@media (max-width: 768px) {
    .product-modal__content {
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }

    .product-modal__body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .product-modal__image-container {
        aspect-ratio: 4/3;
    }

    .product-modal__info {
        padding: var(--space-lg);
    }

    .product-modal__name {
        font-size: 1.4rem;
    }

    .product-modal__price {
        font-size: 1.5rem;
    }

    .product-modal__specs {
        grid-template-columns: 1fr;
    }
}

/* ============ WISHLIST DRAWER ============ */
.wishlist-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    visibility: hidden;
    pointer-events: none;
}

.wishlist-drawer.active {
    visibility: visible;
    pointer-events: all;
}

.wishlist-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: var(--transition-normal);
}

.wishlist-drawer.active .wishlist-drawer__overlay {
    opacity: 1;
}

.wishlist-drawer__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%);
    transition: var(--transition-slower);
    display: flex;
    flex-direction: column;
}

.wishlist-drawer.active .wishlist-drawer__content {
    transform: translateX(0);
}

.wishlist-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--glass-border);
}

.wishlist-drawer__header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.wishlist-drawer__header h3 i {
    color: var(--red);
}

.wishlist-drawer__count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.wishlist-drawer__close {
    color: var(--text-secondary);
    font-size: 1.3rem;
    padding: 10px;
    transition: var(--transition-normal);
}

.wishlist-drawer__close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.wishlist-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.wishlist-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    gap: var(--space-sm);
    text-align: center;
}

.wishlist-drawer__empty i {
    font-size: 3rem;
    opacity: 0.3;
}

.wishlist-drawer__empty.hidden {
    display: none;
}

/* Wishlist Item */
.wishlist-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
}

.wishlist-item:hover {
    background: var(--glass-bg-hover);
}

.wishlist-item__image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-tertiary);
}

.wishlist-item__info {
    flex: 1;
    min-width: 0;
}

.wishlist-item__name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist-item__price {
    color: var(--amber);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.wishlist-item__actions {
    display: flex;
    gap: var(--space-xs);
}

.wishlist-item__add-cart {
    padding: 6px 14px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.wishlist-item__add-cart:hover {
    background: var(--amber);
}

.wishlist-item__remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.wishlist-item__remove:hover {
    color: var(--red);
}

@media (max-width: 768px) {
    .wishlist-drawer__content {
        width: 100%;
        max-width: 100%;
    }
}

/* ============ TOAST NOTIFICATION ============ */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: var(--z-toast);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: toastSlideIn 0.3s ease-out;
}

.toast__icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 230, 118, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1rem;
}

.toast--error .toast__icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
}

.toast--warning .toast__icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
}

.toast__message {
    font-size: 0.95rem;
    font-weight: 500;
}

.toast__close {
    margin-left: var(--space-sm);
    color: var(--text-muted);
    font-size: 1rem;
    padding: 5px;
    transition: var(--transition-fast);
}

.toast__close:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .toast {
        bottom: 90px;
        left: var(--space-md);
        right: var(--space-md);
        transform: translateX(0) translateY(100px);
    }

    .toast.active {
        transform: translateX(0) translateY(0);
    }
}

/* ============ MOBILE BOTTOM NAV ============ */
/* BOTTOM NAV - DEFAULT HIDDEN (For Desktop) */
.mobile-bottom-nav {
    display: none; /* Hidden by default */
}

/* BOTTOM NAV - VISIBLE ONLY ON MOBILE */
/* ============ MOBILE BOTTOM NAV FIX ============ */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important; /* Force flex */
        flex-direction: row; /* Horizontal layout */
        justify-content: space-around; /* Spread items evenly */
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px; /* Fixed height */
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }

    .mobile-bottom-nav__item {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column; /* Stack icon and text vertically */
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #888;
        gap: 5px;
        font-size: 0.7rem;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .mobile-bottom-nav__item.active,
    .mobile-bottom-nav__item:hover {
        color: var(--amber); /* Use your theme gold color */
    }
    
    /* Make space for the bottom nav so content isn't hidden */
    body {
        padding-bottom: 80px; 
    }
    
    /* Push the WhatsApp button up */
    .whatsapp-float {
        bottom: 80px; 
    }
}

.mobile-bottom-nav__count {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(calc(50% + 10px));
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    .whatsapp-float {
        bottom: 90px;
    }
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: var(--z-fixed);
    transition: var(--transition-normal);
    box-shadow: 0 5px 30px var(--accent-glow);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.whatsapp-float__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--accent-primary);
    animation: pulse 2s ease-out infinite;
    z-index: -1;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-2xl) var(--space-md);
    padding-bottom: calc(var(--space-2xl) + 70px);
}

@media (min-width: 769px) {
    .footer {
        padding-bottom: var(--space-2xl);
    }
}

.footer__content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer__logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-sm);
    border: 2px solid var(--glass-border);
    transition: var(--transition-normal);
}

.footer__logo:hover {
    transform: scale(1.05);
    border-color: var(--amber);
}

.footer__brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--amber) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.footer__location {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.footer__location i {
    color: var(--amber);
    margin-right: 6px;
}

.footer__divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 0 auto var(--space-lg);
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer__social a {
    width: 42px;
    height: 42px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer__social a:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer__social a.footer__social--whatsapp:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.footer__social a.footer__social--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.footer__social a.footer__social--tiktok:hover {
    background: #000;
    border-color: #fff;
}

.footer__copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__copyright span {
    color: var(--amber);
}

/* ============ LOADING SKELETON ============ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--glass-bg) 25%,
        var(--glass-bg-hover) 50%,
        var(--glass-bg) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-card {
    border-radius: var(--radius-lg);
    height: 400px;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .shop__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-md);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .navbar {
        top: 42px;
        padding: var(--space-sm);
    }

    .navbar__logo img {
        height: 45px;
        width: 45px;
    }

    .hero__title {
        font-size: clamp(2.5rem, 15vw, 5rem);
    }

    .hero__badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .categories {
        top: 100px;
    }

    .shop__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .product-card__info {
        padding: var(--space-sm);
    }

    .product-card__name {
        font-size: 0.95rem;
    }

    .product-card__price {
        font-size: 1rem;
    }

    .product-card__wishlist {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .product-card__quick-add {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cart-drawer__content {
        width: 100%;
        max-width: 100%;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 90px;
        right: var(--space-md);
    }

    .marquee-strip {
        padding: 10px 0;
    }

    .marquee-strip__text {
        font-size: 0.7rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
    }

    .ticker {
        padding: 8px 0;
    }

    .ticker__content {
        font-size: 0.75rem;
    }

    .navbar {
        top: 36px;
    }

    .hero {
        min-height: 500px;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .hero__cta {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }

    .categories {
        top: 90px;
        padding: var(--space-sm) 0;
    }

    .category-item {
        padding: var(--space-xs) var(--space-sm);
    }

    .category-item__icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .category-item span {
        font-size: 0.75rem;
    }

    .shop {
        padding: var(--space-xl) var(--space-sm);
    }

    .shop__grid {
        gap: var(--space-xs);
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-card__info {
        padding: var(--space-xs) var(--space-sm) var(--space-sm);
    }

    .product-card__category {
        font-size: 0.65rem;
    }

    .product-card__name {
        font-size: 0.85rem;
        margin-bottom: var(--space-xs);
    }

    .product-card__price {
        font-size: 1rem;
    }

    .product-card__old-price {
        font-size: 0.75rem;
    }

    .product-card__quick-add {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .product-card__badge {
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    .arrivals {
        padding: var(--space-xl) var(--space-sm);
    }

    .arrivals__title {
        font-size: 1.3rem;
    }

    .arrivals__btn {
        width: 38px;
        height: 38px;
    }

    .arrivals__swiper .swiper-slide {
        width: 240px;
    }

    .cart-drawer__footer {
        padding: var(--space-md);
    }

    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }

    .checkout-form__submit {
        padding: var(--space-sm);
        font-size: 0.95rem;
    }

    .footer {
        padding: var(--space-xl) var(--space-md);
        padding-bottom: calc(var(--space-xl) + 70px);
    }

    .footer__logo {
        width: 60px;
        height: 60px;
    }

    .footer__brand {
        font-size: 1.3rem;
    }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
    .shop__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card__name {
        font-size: 0.8rem;
    }

    .product-card__variants {
        display: none;
    }
}

/* Landscape Mode Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

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

    .ticker__content {
        animation: none;
    }
}

/* Dark Mode Enhancements (already dark, but for system preference) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* ============================================
   NEW 2025 COMPONENTS & ENHANCEMENTS
   ============================================ */

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--amber), var(--accent-primary));
    background-size: 200% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--amber);
    color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============ HAMBURGER VISIBLE ON DESKTOP ============ */
/* Always show hamburger on desktop and mobile */
.navbar__hamburger {
    display: flex !important;
}

/* ============ FEATURES SECTION ============ */
.features {
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.features__container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--amber);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15);
}

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

.feature-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--amber) 0%, var(--gold) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.8rem;
    color: var(--bg-primary);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .features__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features__container {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
}

/* ============ ABOUT SECTION ============ */
.about {
    padding: var(--space-2xl) var(--space-md);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.about__label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-md);
}

.about__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.about__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

/* Gallery */
.about__gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__image-main:hover img {
    transform: scale(1.05);
}

.about__image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    color: var(--amber);
}

.about__image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.about__image-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about__image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Info Section */
.about__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.about__stat-number::after {
    content: '+';
}

.about__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 5px;
    display: block;
}

.about__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.about__detail-item:hover {
    border-color: var(--amber);
    transform: translateX(5px);
}

.about__detail-item i {
    font-size: 1.3rem;
    color: var(--amber);
    width: 24px;
    text-align: center;
    margin-top: 3px;
}

.about__detail-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.about__detail-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Social Links */
.about__socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.about__social {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.about__social i {
    font-size: 1.2rem;
}

.about__social:hover {
    background: var(--glass-bg-hover);
    border-color: var(--amber);
    color: var(--amber);
    transform: translateY(-3px);
}

.about__social--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.about__social--whatsapp:hover {
    background: #25d366;
    color: white;
}

/* Map */
.about__map {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__map-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
    color: var(--text-primary);
}

.about__map-header i {
    color: var(--amber);
    font-size: 1.2rem;
}

.about__map-container {
    position: relative;
}

.about__map-container iframe {
    display: block;
    filter: grayscale(100%) invert(92%) contrast(90%);
}

.about__map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--amber);
    color: var(--bg-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.about__map-link:hover {
    background: var(--gold);
}

@media (max-width: 1024px) {
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .about__socials {
        grid-template-columns: 1fr;
    }
    
    .about__image-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ FOOTER 2025 ============ */
.footer-2025 {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.footer-2025::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

/* Newsletter Section */
.footer__newsletter {
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(0, 230, 118, 0.05) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.footer__newsletter-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.footer__newsletter-text h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.footer__newsletter-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer__newsletter-form {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
    max-width: 450px;
}

.footer__newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer__newsletter-form input:focus {
    border-color: var(--amber);
}

.footer__newsletter-form button {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 24px;
    background: var(--amber);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer__newsletter-form button:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .footer__newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__newsletter-form {
        width: 100%;
        max-width: none;
        flex-direction: column;
    }
}

/* Main Footer Content */
.footer__main {
    padding: var(--space-xl) var(--space-md);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-xl);
}

/* Brand Column */
.footer__brand-col {
    padding-right: var(--space-lg);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
}

.footer__logo img {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--amber);
}

.footer__logo-text {
    display: flex;
    flex-direction: column;
}

.footer__logo-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer__logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer__brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer__social-links {
    display: flex;
    gap: var(--space-sm);
}

.footer__social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* Links Columns */
.footer__links-col {
    min-width: 0;
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer__links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer__links a:hover {
    color: var(--amber);
    transform: translateX(5px);
}

.footer__links a:hover i {
    transform: translateX(3px);
}

/* Contact Column */
.footer__contact-col {
    min-width: 0;
}

.footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__contact-item {
    display: flex;
    gap: var(--space-sm);
}

.footer__contact-item i {
    color: var(--amber);
    font-size: 1rem;
    width: 20px;
    margin-top: 3px;
}

.footer__contact-item p,
.footer__contact-item a {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: var(--amber);
}

/* Trust Badges */
.footer__trust {
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.footer__trust-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.footer__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__trust-item i {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

/* Payment Methods */
.footer__payments {
    padding: var(--space-md) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
}

.footer__payments span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__payment-icons {
    display: flex;
    gap: var(--space-md);
}

.footer__payment-icons i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer__payment-icons i:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* Bottom Bar */
.footer__bottom {
    padding: var(--space-md) var(--space-md);
}

.footer__bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__bottom-links a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer__bottom-links a:hover {
    color: var(--amber);
}

.footer__bottom-links span {
    color: var(--text-muted);
    opacity: 0.5;
}

.footer__credit {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__credit i {
    color: var(--red);
    animation: pulse 1.5s ease infinite;
}

@media (max-width: 1200px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__brand-col {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
        margin-bottom: var(--space-md);
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__social-links {
        justify-content: center;
    }
    
    .footer__brand-desc {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer__links-col {
        margin-bottom: var(--space-sm);
    }
    
    .footer__trust-container {
        gap: var(--space-md);
    }
    
    .footer__bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links a {
        justify-content: center;
    }
    
    .footer__contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .footer__newsletter {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .footer__main {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .footer__trust-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer__payments {
        flex-direction: column;
    }
    
    .footer__payment-methods {
        padding: var(--space-md) var(--space-sm);
    }
}

/* ============ PRODUCT CONDITION BADGES ============ */
.product-card__condition {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.product-card__condition-badge {
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.product-card__condition-badge--new {
    background: rgba(0, 230, 118, 0.9);
    color: var(--bg-primary);
}

.product-card__condition-badge--used {
    background: rgba(245, 158, 11, 0.9);
    color: var(--bg-primary);
}

.product-card__condition-badge--refurbished {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.product-card__condition-badge--available {
    background: rgba(0, 230, 118, 0.2);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.product-card__condition-badge--soldout {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-card__condition-badge--preorder {
    background: rgba(147, 51, 234, 0.9);
    color: white;
}

/* ============ SMOOTH SCROLL ENHANCEMENTS ============ */
html.lenis,
html.lenis body {
    height: auto;
}
html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ============ SCROLL REVEAL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    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.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ CURSOR EFFECTS (Desktop Enhancement) ============ */
@media (min-width: 1024px) and (hover: hover) {
    .custom-cursor {
        width: 20px;
        height: 20px;
        border: 2px solid var(--amber);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.15s ease, opacity 0.15s ease;
        mix-blend-mode: difference;
    }
    
    .custom-cursor.active {
        transform: scale(2);
        opacity: 0.5;
    }
}

/* ============ LOADING STATES ============ */
.skeleton {
    background: linear-gradient(90deg, var(--glass-bg) 25%, var(--glass-bg-hover) 50%, var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============ IMPROVED SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--amber), var(--accent-primary));
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--accent-secondary));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--amber) var(--bg-primary);
}

/* Remove old footer styles */
.footer {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px; /* Push it up above the bottom nav */
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
/* Fix for Arabic Navigation Overlap */
html[dir="rtl"] .navbar__logo {
    margin-left: 20px; /* Give space between logo and hamburger */
}

html[dir="rtl"] .navbar__hamburger {
    margin-right: 0;
}

/* Ensure the nav links don't crash into logo in RTL */
html[dir="rtl"] .navbar__nav {
    margin-left: 0;
    margin-right: 40px;
}

.condition--new {
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
    border: 1px solid #00e676;
}

.condition--used {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid #888;
}

.availability--soldout {
    color: #ff5252; /* Red color for Epuisé */
}
/* Text Variants (For Cases/Accessories) */
.product-modal__colors.text-mode {
    flex-wrap: wrap;
    gap: 8px;
}

.product-modal__text-variant {
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.product-modal__text-variant:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.product-modal__text-variant.selected {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.product-modal__text-variant.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: var(--glass-border);
    background: rgba(0,0,0,0.2);
}
/* Mobile Header Improvements */
@media (max-width: 768px) {
    .navbar__container {
        padding: 0 10px;
        height: 60px;
    }

    /* Move Hamburger to Left */
    .navbar__hamburger {
        order: 1; 
        margin-right: auto;
    }

    /* Center Logo */
    .navbar__logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    /* Icons on Right */
    .navbar__actions {
        order: 3;
        margin-left: auto;
        gap: 10px;
    }

    /* Show Phone Icon on Mobile Header */
    .navbar__icon-btn#searchToggle {
        display: flex; /* Show search on mobile header */
    }
}
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    /* Add a subtle dark fade behind text to improve readability */
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 70%);
}

.hero__title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Specific style for Arabic Headline */
.hero__arabic-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Better Arabic font */
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--amber); /* Make Arabic Gold */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.hero__actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Secondary Button (WhatsApp) */
.hero__cta--secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__cta--secondary:hover {
    background: #25d366; /* WhatsApp Green */
    border-color: #25d366;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero__cta {
        width: 100%;
        justify-content: center;
    }
}
/* Hero Trust Badges - Very important for Morocco */
.hero__trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent-primary); /* Green color */
}

/* Pulse Dot for "Open Now" */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 230, 118, 0.4);
    animation: pulse-green 2s infinite;
    margin-right: 5px;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero__trust-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============ HERO ACTIONS ============ */
.hero__actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center; /* Center the buttons */
    flex-wrap: wrap; /* Stack on very small screens */
}

/* Specific WhatsApp Button Style */
.hero__cta--whatsapp {
    background: #25d366;
    color: white;
    border: 1px solid #25d366;
    padding: 12px 25px;
    border-radius: 30px; /* Rounded pill shape */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero__cta--whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Secondary Button Style */
.hero__cta--secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero__cta--secondary:hover {
    background: white;
    color: black;
}
/* Container to align buttons side-by-side */
.hero__actions {
    display: flex;
    justify-content: center; /* Center them */
    align-items: center;
    gap: 15px; /* Space between buttons */
    margin-top: 30px;
    flex-wrap: wrap; /* Stack on small mobile screens */
}

/* 🟢 WhatsApp Button Style */
.hero__cta--whatsapp {
    background-color: #25d366 !important; /* Force Green */
    color: white !important; /* Force White Text */
    border: 1px solid #25d366;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); /* Green Glow */
}

.hero__cta--whatsapp:hover {
    background-color: #128c7e !important; /* Darker Green on Hover */
    transform: translateY(-3px);
}

/* ⚪ Localization Button Style (Outline) */
.hero__cta--secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero__cta--secondary:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
/* --- FIX 1: Title Overlapping Categories --- */
.shop {
    /* Increase top padding to push "Notre Collection" down away from the categories bar */
    padding-top: 80px; 
    margin-top: 20px;
}

/* --- FIX 2: Badges Overlapping (Stack them vertically) --- */
.product-card__badges {
    display: flex;
    flex-direction: column; /* Stacks items top-to-bottom */
    gap: 6px; /* Adds space between NEW and PROMO */
    top: 10px;
    left: 10px;
    align-items: flex-start;
}

/* Ensure the Condition badge (New/Used) has the same width/style behavior */
.product-card__condition {
    position: relative; /* Change from absolute to let it stack inside the flex container */
    bottom: auto;
    left: auto;
    margin-top: 0;
}

/* ============ PAYMENT METHODS SECTION ============ */
.footer__payment-methods {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__payment-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
    min-width: 100px;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.payment-method span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============ PERFORMANCE & MOBILE OPTIMIZATIONS ============ */
/* Lazy load images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .navbar__icon-btn,
    .category-item,
    .product-card__action,
    .mobile-bottom-nav__item {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better tap areas for buttons */
    button, a {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Optimize scrolling */
    .categories__container,
    .shop__grid,
    .arrivals__swiper {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Reduce animations on mobile for performance */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Payment methods mobile */
    .footer__payment-icons {
        gap: 15px;
    }
    
    .payment-method {
        padding: 12px 15px;
        min-width: 80px;
    }
    
    .payment-method i {
        font-size: 1.2rem;
    }
}

/* GPU acceleration for smooth animations */
.product-card,
.navbar,
.mobile-menu__content,
.cart-drawer__content,
.product-modal__content {
    will-change: transform;
    transform: translateZ(0);
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Skip to main content (accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ============ LIGHT THEME ============ */
html.light-mode {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e5e5ea;
    --text-primary: #000000;
    --text-secondary: #1d1d1f;
    --text-muted: #3a3a3c;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-bg-hover: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(0, 0, 0, 0.15);
}

html.light-mode body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

html.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

html.light-mode .navbar__link,
html.light-mode .navbar__actions button,
html.light-mode .navbar__hamburger span,
html.light-mode .navbar__icon-btn {
    color: var(--text-primary);
}

html.light-mode .navbar__logo-text {
    color: var(--text-primary);
}

html.light-mode .product-card {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html.light-mode .product-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html.light-mode .product-card__title,
html.light-mode .product-card__price,
html.light-mode .product-card__name {
    color: var(--text-primary);
}

html.light-mode .product-card__category {
    color: var(--text-secondary);
}

html.light-mode .cart-drawer__content,
html.light-mode .wishlist-drawer__content,
html.light-mode .mobile-menu__content,
html.light-mode .filter-panel__content {
    background: var(--bg-secondary);
}

html.light-mode .category-item {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

html.light-mode .category-item span {
    color: var(--text-primary);
}

html.light-mode .category-item:hover,
html.light-mode .category-item.active {
    border-color: var(--accent-primary);
}

html.light-mode .footer-2025 {
    background: #1d1d1f;
}

html.light-mode .product-modal__content {
    background: var(--bg-secondary);
}

html.light-mode .product-modal__name {
    color: var(--text-primary) !important;
}

html.light-mode .product-modal__category,
html.light-mode .product-modal__desc,
html.light-mode .product-modal__description {
    color: var(--text-secondary);
}

html.light-mode .product-modal__spec-label {
    color: var(--text-secondary);
}

html.light-mode .product-modal__spec-value {
    color: var(--text-primary);
}

html.light-mode .product-modal__options-label {
    color: var(--text-secondary);
}

html.light-mode .search-overlay {
    background: rgba(255, 255, 255, 0.98);
}

html.light-mode .search-input {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

html.light-mode .search-input::placeholder {
    color: var(--text-muted);
}

html.light-mode .hero__title,
html.light-mode .hero__subtitle,
html.light-mode .shop-section__title,
html.light-mode .section-title {
    color: var(--text-primary);
}

/* ============ LIGHT MODE - HERO VIDEO FIX ============ */
html.light-mode .hero__video-container {
    display: none; /* Hide video in light mode */
}

html.light-mode .hero {
    background: linear-gradient(
        135deg,
        #1a1a2e 0%,
        #16213e 25%,
        #0f3460 50%,
        #1a1a2e 75%,
        #16213e 100%
    );
}

html.light-mode .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

html.light-mode .hero__overlay {
    display: none;
}

html.light-mode .shop-controls__btn {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

html.light-mode .cart-item__name,
html.light-mode .cart-item__qty-value {
    color: var(--text-primary);
}

html.light-mode .cart-item__variant {
    color: var(--text-secondary);
}

html.light-mode .cart-drawer__header h3,
html.light-mode .filter-panel__header h3 {
    color: var(--text-primary);
}

html.light-mode .cart-drawer__total span,
html.light-mode .cart-drawer__subtotal span {
    color: var(--text-primary);
}

html.light-mode .checkout-form h4,
html.light-mode .checkout-form__group label {
    color: var(--text-secondary);
}

html.light-mode .checkout-form__input {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

html.light-mode .ticker {
    background: var(--accent-primary);
    color: #000000;
}

html.light-mode .ticker span,
html.light-mode .ticker i {
    color: #000000;
}

/* ============ LIGHT MODE - LANGUAGE DROPDOWN FIX ============ */
html.light-mode .lang-switcher__dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html.light-mode .lang-switcher__option {
    color: var(--text-primary);
}

html.light-mode .lang-switcher__option:hover {
    background: rgba(0, 0, 0, 0.05);
}

html.light-mode .lang-switcher__option.active {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.1);
}

html.light-mode .lang-switcher__btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

html.light-mode .sort-dropdown__content {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.15);
}

html.light-mode .sort-option {
    color: var(--text-primary);
}

html.light-mode .filter-group h4 {
    color: var(--text-primary);
}

html.light-mode .filter-checkbox span {
    color: var(--text-primary);
}

html.light-mode .about-section__title,
html.light-mode .about-stats__number,
html.light-mode .about-stats__label {
    color: var(--text-primary);
}

html.light-mode .about-info__title,
html.light-mode .about-info__text {
    color: var(--text-primary);
}

/* ============ LIGHT MODE - TRUST BADGES FIX ============ */
html.light-mode .hero__trust-badges {
    border-top-color: rgba(0, 0, 0, 0.1);
}

html.light-mode .trust-badge {
    color: #1d1d1f;
}

html.light-mode .trust-badge span {
    color: #1d1d1f;
}

html.light-mode .trust-badge i {
    color: var(--accent-primary);
}

/* ============ LIGHT MODE - UTILITY BAR ============ */
html.light-mode .utility-bar {
    background: linear-gradient(135deg, #f8f8fa 0%, #ffffff 100%);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

html.light-mode .utility-bar__badge {
    color: #b45309;
}

html.light-mode .utility-bar__badge i {
    color: #b45309;
}

html.light-mode .utility-bar__link {
    color: #3a3a3c;
}

html.light-mode .utility-bar__link:hover {
    color: #000000;
}

html.light-mode .utility-bar__socials a {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #3a3a3c;
}

html.light-mode .utility-bar__socials a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: #000;
}

/* ============ LIGHT MODE - FOOTER FIX ============ */
html.light-mode .footer-2025 {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

html.light-mode .footer__newsletter {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(0, 230, 118, 0.08) 100%);
}

html.light-mode .footer__newsletter-text h3,
html.light-mode .footer__newsletter-text p {
    color: #ffffff;
}

html.light-mode .footer__col-title {
    color: #ffffff;
}

html.light-mode .footer__brand-desc,
html.light-mode .footer__links a,
html.light-mode .footer__contact-item p,
html.light-mode .footer__contact-item a,
html.light-mode .footer__copyright,
html.light-mode .footer__payments span {
    color: rgba(255, 255, 255, 0.7);
}

html.light-mode .footer__links a:hover,
html.light-mode .footer__contact-item a:hover {
    color: var(--amber);
}

html.light-mode .footer__social-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

html.light-mode .footer__social-link:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: #000;
}

html.light-mode .footer__payment-title {
    color: rgba(255, 255, 255, 0.9);
}

html.light-mode .payment-method {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ LIGHT MODE - MARQUEE ============ */
html.light-mode .marquee-strip {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

html.light-mode .marquee-strip__content span {
    color: rgba(255, 255, 255, 0.9);
}

/* ============ LIGHT MODE - MOBILE BOTTOM NAV ============ */
@media (max-width: 768px) {
    html.light-mode .mobile-bottom-nav {
        background: rgba(255, 255, 255, 0.95);
        border-top-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }
    
    html.light-mode .mobile-bottom-nav__item {
        color: #666;
    }
    
    html.light-mode .mobile-bottom-nav__item.active,
    html.light-mode .mobile-bottom-nav__item:hover {
        color: var(--amber);
    }
}

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

.theme-toggle .fa-sun {
    display: block;
}

.theme-toggle .fa-moon {
    display: none;
}

html.light-mode .theme-toggle .fa-sun {
    display: none;
}

html.light-mode .theme-toggle .fa-moon {
    display: block;
}

/* ============ FILTER PANEL ============ */
.filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-normal);
}

.filter-panel.active {
    visibility: visible;
    opacity: 1;
}

.filter-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.filter-panel__content {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 380px;
    background: var(--bg-secondary);
    transform: translateX(100%);
    transition: transform var(--transition-slower);
    display: flex;
    flex-direction: column;
}

.filter-panel.active .filter-panel__content {
    transform: translateX(0);
}

.filter-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.filter-panel__header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.filter-panel__close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-panel__close:hover {
    background: var(--error);
    color: white;
}

.filter-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-checkbox:hover {
    background: var(--glass-bg-hover);
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

.filter-checkbox span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.filter-price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-price-range input {
    flex: 1;
    padding: 10px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filter-price-range input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.filter-price-range span {
    color: var(--text-muted);
}

.filter-panel__footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.filter-panel__reset,
.filter-panel__apply {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-panel__reset {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.filter-panel__reset:hover {
    background: var(--glass-bg-hover);
}

.filter-panel__apply {
    background: var(--accent-primary);
    border: none;
    color: var(--bg-primary);
}

.filter-panel__apply:hover {
    background: var(--accent-secondary);
}

/* ============ SORT DROPDOWN ============ */
.sort-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: var(--z-modal);
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-normal);
}

.sort-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sort-dropdown__content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 10px;
    min-width: 250px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.sort-option:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.sort-option.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.sort-option i {
    width: 18px;
    text-align: center;
}

/* ============ CART DRAWER SCROLL FIX ============ */
.cart-drawer__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    max-height: calc(100vh - 320px);
    padding: var(--space-sm);
}

/* Block body scroll when cart is open */
body.cart-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ============ CART PAYMENT INFO ============ */
.cart-drawer__payment-info {
    margin: 15px 0;
    padding: 15px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.cart-drawer__payment-info h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-payment-icons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.cart-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px;
    flex: 1;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

.cart-payment-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.cart-payment-item span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
}

.cart-drawer__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cart-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--glass-bg);
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cart-trust-item i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}

/* Mobile responsive for filter/sort */
@media (max-width: 768px) {
    .shop-controls {
        position: sticky;
        top: 60px;
        z-index: 50;
        background: var(--bg-primary);
        padding: 10px 15px;
        margin-top: 0;
    }
    
    .filter-panel__content {
        max-width: 100%;
    }
}

/* ============ MODAL SCROLL FIX ============ */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.product-modal__info {
    overscroll-behavior: contain;
}

.product-modal__body {
    overscroll-behavior: contain;
}
/* Add this to your CSS */
.cart-drawer__items, 
.product-modal__info, 
.product-modal__body,
.filter-panel__body {
    overscroll-behavior: contain;
}
/* ============ NAVBAR RESPONSIVE FIX ============ */

/* 1. Make the text smaller and closer together so it fits */
.navbar__nav {
    margin-left: 10px !important;
    gap: 2px !important; /* Very tight spacing */
}

.navbar__nav-link {
    padding: 10px 6px !important; /* Smaller padding */
    font-size: 0.75rem !important; /* Smaller font size */
}

/* 2. HIDE Text Nav ONLY on Tablets/Mobile (Screens smaller than 1024px) */
@media (max-width: 1024px) {
    .navbar__nav {
        display: none !important; /* Hide text links */
    }
    .navbar__hamburger {
        display: flex !important; /* Show hamburger */
    }
    .navbar__logo-text {
        display: none; /* Hide logo text to save space */
    }
}

/* 3. SHOW Desktop Nav on Laptops/Desktops (Screens larger than 1025px) */
@media (min-width: 1025px) {
    .navbar__nav {
        display: flex !important;
    }
    .navbar__hamburger {
        display: none !important;
    }
}
/* 1. Fix "Invisible" Metallic Text */
html.light-mode .metallic-text {
    /* Dark Metallic Gradient (Black/Charcoal/Dark Grey) */
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 25%, #000000 50%, #4a4a4a 75%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none; /* Remove any white glow */
}

/* 2. Ensure specific headers are dark */
html.light-mode .hero__title,
html.light-mode .shop__title,
html.light-mode .arrivals__title,
html.light-mode .about__title {
    color: #000000;
}

/* 3. Make scrollbar visible in light mode */
html.light-mode ::-webkit-scrollbar-thumb {
    background: #a0a0a0; /* Darker grey thumb */
    border: 2px solid #f5f5f7;
}
html.light-mode ::-webkit-scrollbar-track {
    background: #e0e0e0;
}
/* 1. Make the container fit the screen height */
/* ============ COMPACT MODAL FIXED (SCROLLING ENABLED) ============ */

/* 1. Force a FIXED height on the modal so the browser knows when to scroll */
.product-modal__content {
    width: 90%;
    max-width: 950px;
    /* CHANGE: Use fixed height instead of max-height to force layout calculation */
    height: 85vh; 
    background: #000;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent outer scroll */
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 2. The wrapper takes up 100% of that fixed height */
.product-modal__body {
    display: flex;
    flex-direction: row;
    height: 100%; /* Fill the 85vh */
    overflow: hidden; /* Stop spillover */
}

/* 3. Image Side (Left) */
.product-modal__image-container {
    width: 45%;
    height: 100%;
    background: #050505; /* Slightly lighter black */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.product-modal__image {
    max-height: 80%; /* Ensure image doesn't force overflow */
    max-width: 100%;
    object-fit: contain;
}

/* 4. Info Side (Right) - THIS IS WHERE THE SCROLL HAPPENS */
/* 4. Info Side (Right) - COMPACT & SCROLLABLE */
.product-modal__info {
    width: 55%;
    height: 100%;
    /* Reduced padding: 20px instead of 25px */
    padding: 20px 20px 0 20px; 
    
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    position: relative;
    
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

/* Tighter Title & Price */
.product-modal__name {
    font-size: 1.4rem; /* Slightly smaller for better fit */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 4px; /* Pull price closer */
    line-height: 1.2;
}

.product-modal__pricing {
    margin-bottom: 8px; /* Reduce gap below price */
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-modal__price {
    font-size: 1.5rem;
    color: var(--amber);
    line-height: 1;
}

.product-modal__description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px; /* Reduce gap */
}

/* COMPACT SPECS GRID (The Gray Box) */
.product-modal__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Tighter gap and padding to save vertical space */
    gap: 8px 12px; 
    padding: 10px 12px; 
    margin-bottom: 12px; 
    
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-modal__spec {
    display: flex;
    flex-direction: column;
}

.product-modal__spec-label {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.product-modal__spec-value {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Colors / Options Area */
.product-modal__options {
    margin-bottom: 10px;
}

.product-modal__options-label {
    font-size: 0.75rem;
    margin-bottom: 6px;
    display: block;
    color: var(--text-muted);
}

/* Sticky Actions Bar */
.product-modal__actions {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    
    /* Reduced padding inside the sticky bar itself */
    padding: 12px 0 20px 0; 
    
    margin-top: auto;
    z-index: 10;
    display: flex;
    gap: 10px;
}

/* Ensure buttons aren't huge */
.product-modal__add-cart, 
.product-modal__whatsapp {
    padding: 12px 20px; /* Slightly slimmer buttons */
    font-size: 0.95rem;
}

/* 6. Mobile Fallback (Stack vertically) */
@media (max-width: 768px) {
    .product-modal__content {
        height: auto; /* On mobile, let it grow */
        max-height: 90vh;
    }
    
    .product-modal__body {
        flex-direction: column;
        overflow-y: auto; /* Scroll the whole body on mobile */
    }
    
    .product-modal__image-container {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        flex-shrink: 0;
    }
    
     .product-modal__info {
        padding: 20px 20px 0 20px;
    }
    .product-modal__actions {
        padding-bottom: 20px; /* More padding for touch */
    }
}
/* ============ HERO TEXT FIX (CSS ANIMATION) ============ */

/* 1. Define the Animation */
@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Apply it to the words */
.hero__word {
    display: inline-block;
    opacity: 0; /* Start invisible */
    /* Animate it permanently into view */
    animation: heroReveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards; 
}

/* 3. Stagger the words (So they pop up one by one) */
.hero__line:nth-child(1) .hero__word:nth-child(1) { animation-delay: 0.1s; }
.hero__line:nth-child(1) .hero__word:nth-child(2) { animation-delay: 0.2s; }
.hero__line:nth-child(2) .hero__word:nth-child(1) { animation-delay: 0.3s; }
.hero__line:nth-child(2) .hero__word:nth-child(2) { animation-delay: 0.4s; }
/* LIGHT MODE SPECIFIC FIXES */
html.light-mode .navbar__logo img {
    background-color: #050505; /* Black background so white logo shows */
    border-color: #000000;      /* Solid black border */
}

/* Also fix the footer logo in light mode if needed */
html.light-mode .footer__logo img {
    background-color: #050505;
    border-color: #000000;
}
/* ============ LIGHT MODE HERO FIX ============ */
html.light-mode .hero {
    /* Create a soft, premium Apple-like gradient instead of the dark video */
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f0f5 100%);
    position: relative;
}

/* Hide the dark video and overlay in light mode */
html.light-mode .hero__video-container, 
html.light-mode .hero__overlay,
html.light-mode .hero__noise {
    display: none !important;
}

/* Fix the text colors to be dark and sharp */
html.light-mode .hero__title {
    color: #111111;
    text-shadow: none; /* Remove text shadow */
    background: none; /* Remove any text gradients if present */
    -webkit-text-fill-color: initial;
}

/* Fix the subtitle and badges */
html.light-mode .hero__subtitle {
    color: #444444;
}

html.light-mode .hero__badge span {
    color: #b45309; /* Darker Gold/Amber */
    border-color: rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.5);
}

/* Fix the "Marhba Bikom" gradient text */
html.light-mode .hero__word {
    color: #111111;
    text-shadow: none;
}

/* Keep the word "SOUFIANE" gold, but darker for contrast */
html.light-mode .hero__word.accent {
    color: #d97706; /* Darker Amber */
    text-shadow: none;
}
/* ============ LIGHT MODE FOOTER FIX ============ */
/* Force the footer to remain Dark Gray/Black even in light mode */
html.light-mode .footer-2025 {
    background: #111111 !important;
    border-top: 1px solid #333;
}

/* Ensure the title "Methodes de paiement" is light */
html.light-mode .footer__payment-title {
    color: rgba(255, 255, 255, 0.7);
}

/* Fix the Bank Icons and Text */
html.light-mode .payment-method {
    background: rgba(255, 255, 255, 0.05); /* Slight white tint */
    border-color: rgba(255, 255, 255, 0.1);
}

html.light-mode .payment-method i {
    color: #fff; /* Make bank icons white */
}

html.light-mode .payment-method span {
    color: #ccc; /* Make bank text light gray */
}

/* Hover state for banks */
html.light-mode .payment-method:hover {
    border-color: var(--amber);
    background: rgba(255, 255, 255, 0.1);
}

/* Fix general footer links in light mode */
html.light-mode .footer__links a,
html.light-mode .footer__contact-item p,
html.light-mode .footer__brand-desc {
    color: #aaaaaa; /* Light gray text */
}
/* ============ DESKTOP HAMBURGER FIX ============ */

/* ============ NAVBAR LAYOUT FIX (Hamburger Left) ============ */
.navbar__container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items from the start */
    gap: 15px;
}

/* 1. Hamburger: FIRST (Far Left) */
.navbar__hamburger {
    display: flex !important;
    order: 1; /* Priority #1 */
    margin-right: 15px; /* Push logo away */
    margin-left: 0;
    z-index: 1002;
}

/* 2. Logo: SECOND (Next to Hamburger) */
.navbar__logo {
    order: 2;
    margin: 0; /* Reset margins */
}

/* 3. Text Nav Links: THIRD */
.navbar__nav {
    order: 3;
    margin-left: 20px;
}

/* 4. Actions (Search/Cart): LAST (Far Right) */
.navbar__actions {
    order: 4;
    margin-left: auto; /* Pushes these icons to the far right edge */
    display: flex;
    gap: 10px;
}

/* RTL Support (For Arabic Mode) */
html[dir="rtl"] .navbar__hamburger { order: 1; margin-left: 15px; margin-right: 0; }
html[dir="rtl"] .navbar__logo { order: 2; }
html[dir="rtl"] .navbar__nav { order: 3; margin-right: 20px; margin-left: 0; }
html[dir="rtl"] .navbar__actions { order: 4; margin-right: auto; margin-left: 0; }

/* ============ MOBILE MENU SCROLL & CLOSE FIX ============ */
.mobile-menu__content {
    /* Fix scrolling with Mouse Wheel */
    overflow-y: auto;
    overscroll-behavior: contain; /* Prevents body scroll when menu ends */
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    height: 100%;
}

.mobile-menu__header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__close {
    cursor: pointer;
    z-index: 50; /* High Z-index to ensure clickability */
    padding: 15px; /* Larger click area */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ SKELETON LOADER ============ */
.skeleton-card {
    height: 400px;
    background: #111;
    border-radius: 15px;
    animation: pulse-gray 1.5s infinite;
}

@keyframes pulse-gray {
    0% { background: #111; }
    50% { background: #1a1a1a; }
    100% { background: #111; }
}
/* ============ WHATSAPP BUTTON PLACEMENT FIX ============ */
.whatsapp-float {
    position: fixed !important;
    /* DESKTOP: Stick nicely to the bottom right corner */
    bottom: 30px !important; 
    right: 30px !important;  
    
    /* Reset any centering code that might be interfering */
    top: auto !important;
    left: auto !important;
    transform: none !important; 
    z-index: 9999 !important;
}

/* MOBILE ONLY: Push it up slightly to avoid the Bottom Nav Bar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px !important;
        right: 20px !important;
    }
}
.mobile-menu__header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============ CLOSE BUTTON FORCE FIX ============ */
.mobile-menu__close {
    position: relative; 
    z-index: 9999 !important; /* Force it above everything */
    pointer-events: auto !important; /* Force it to accept clicks */
    cursor: pointer;
    
    /* Make the click target bigger */
    width: 50px; 
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Ensure icon color is visible in light mode */
    color: inherit; 
}

/* Ensure the icon doesn't block the click */
.mobile-menu__close i {
    pointer-events: none;
}
/* ============ LIGHT MODE DROPDOWN FIX ============ */
/* Force white background for dropdowns in Light Mode */
html.light-mode .navbar__dropdown,
html.light-mode .lang-switcher__dropdown {
    background-color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Soft shadow */
}

/* Force dark text for the links */
html.light-mode .navbar__dropdown-item,
html.light-mode .lang-switcher__option {
    color: #111111 !important;
}

/* Hover effect for light mode */
html.light-mode .navbar__dropdown-item:hover,
html.light-mode .lang-switcher__option:hover {
    background-color: #f2f2f7; /* Light gray hover */
    color: #d97706 !important; /* Gold/Amber hover text */
}
/* ============ LIGHT MODE SUBMENU FIX ============ */

/* 1. Remove the dark gray background block */
html.light-mode .mobile-menu__submenu {
    background-color: transparent !important; /* No gray box */
    border-left: 2px solid #e5e5e5; /* Add a subtle line on left instead */
    margin-left: 20px; /* Indent slightly */
}

/* 2. Fix the link text colors */
html.light-mode .mobile-menu__sublink {
    color: #555555 !important; /* Dark Gray text */
    font-weight: 500;
}

/* 3. Add a nice hover effect */
html.light-mode .mobile-menu__sublink:hover {
    color: #d97706 !important; /* Gold/Amber on hover */
    background-color: rgba(0,0,0,0.03) !important; /* Very subtle gray hover */
    padding-left: 30px; /* Slight movement animation */
}
#productsGrid {
    scroll-margin-top: 160px; /* Adjusts the scroll landing position */
}
/* ============ COMPACT IMAGE FIX ============ */
.product-card__media {
    /* Increased from 220px to 280px (Taller images, but not huge) */
    height: 280px !important; 
    
    background-color: #f5f5f7; /* Slight contrast background */
    aspect-ratio: unset !important;
}

.product-card__image {
    object-fit: contain !important;
    padding: 15px; /* Slightly more breathing room for the phone image */
}
/* ============ COMPACT GRID FIX ============ */
.shop__grid {
    /* Increased from 200px to 250px (Wider cards) */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    /* Increased max-width constraint */
    max-width: 320px; 
    margin: 0 auto;
}

.arrivals__swiper .swiper-slide {
    /* Reduce width from 280px to 220px */
    width: 220px !important; 
}
/* ============ LIGHT MODE MODAL FIX ============ */

/* 1. Make the Image Container Light */
html.light-mode .product-modal__image-container {
    background-color: #f5f5f7 !important; /* Light gray instead of black */
    border-right: 1px solid #e5e5e5;
}

/* 2. Fix the Bottom Action Bar (Make it White) */
html.light-mode .product-modal__actions {
    background-color: #ffffff !important;
    border-top: 1px solid #e5e5e5;
}

/* 3. Style "Add to Cart" button to be visible on white */
html.light-mode .product-modal__add-cart {
    background-color: #111111 !important; /* Black button */
    color: #ffffff !important; /* White text */
}
html.light-mode .product-modal__add-cart:hover {
    background-color: #333333 !important;
}

/* 4. Ensure the modal border is subtle */
html.light-mode .product-modal__content {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 5. Fix Close Button Visibility */
html.light-mode .product-modal__close {
    background-color: #f0f0f0;
    color: #111;
}
html.light-mode .product-modal__close:hover {
    background-color: #e0e0e0;
}
/* ============ MOBILE MODAL FIX ============ */
/* ============ IMPROVED MOBILE MODAL FIX ============ */
@media (max-width: 768px) {
    
    /* 1. Modal Container */
    .product-modal__content {
        height: 85vh !important; /* Taller to fit more info */
        width: 95% !important;
        max-width: none !important;
        display: flex;
        flex-direction: column !important;
        border-radius: 15px !important;
        overflow: hidden !important;
        background: #fff; /* Ensure background is solid */
    }

    .product-modal__body {
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative;
    }

    /* 2. Image Section (Shrink it to save space) */
    .product-modal__image-container {
        width: 100% !important;
        height: 200px !important; /* Reduced height */
        flex-shrink: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 15px !important;
        background-color: #f9f9f9; /* Light gray background */
    }
    
    .product-modal__image {
        max-height: 100% !important;
        width: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }

    /* 3. Info Section (Scrollable Area) */
    .product-modal__info {
        width: 100% !important;
        flex: 1;
        overflow-y: scroll !important; /* Allow scrolling */
        /* Massive bottom padding ensures text isn't hidden behind buttons */
        padding: 20px 20px 100px 20px !important; 
        height: auto !important;
    }

    /* Hide the scrollbar (Chrome/Safari) */
    .product-modal__info::-webkit-scrollbar {
        display: none; 
    }
    /* Hide scrollbar (Firefox) */
    .product-modal__info {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* 4. Sticky Button Bar */
    .product-modal__actions {
        position: absolute !important;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px !important;
        /* Ensure solid background so text doesn't show behind it */
        background-color: #ffffff !important; 
        border-top: 1px solid rgba(0,0,0,0.1);
        z-index: 50;
        display: flex;
        gap: 10px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05); /* Subtle shadow upwards */
    }

    /* Dark mode support for the button bar background */
    html:not(.light-mode) .product-modal__actions {
        background-color: #000000 !important;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* ============ FINAL MOBILE FIXES (Paste at very bottom) ============ */

@media (max-width: 768px) {

    /* --- 1. FORCE 2 PRODUCTS PER LINE --- */
    .shop__grid {
        display: grid !important;
        /* Force exactly 2 columns, ignoring the 250px desktop rule */
        grid-template-columns: 1fr 1fr !important; 
        gap: 10px !important; /* Small gap to save space */
        padding: 0 10px !important;
    }

    .product-card {
        max-width: none !important; /* Allow card to shrink to fit the column */
        width: 100% !important;
    }

    /* Shrink image height so 2 rows can fit on screen */
    .product-card__media {
        height: 160px !important; 
        padding: 10px !important;
    }
    
    .product-card__image {
        padding: 5px !important;
    }

    /* Shrink text so it doesn't break layout */
    .product-card__name {
        font-size: 0.8rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-card__price {
        font-size: 0.9rem !important;
    }

    /* --- 2. FIX MODAL CUT-OFF & SCROLLING --- */
    .product-modal__content {
        /* Use 'dvh' to account for mobile browser address bars */
        height: 80dvh !important; 
        max-height: 600px !important; /* Never get too tall */
        width: 95% !important;
        margin: auto; /* Center it */
        display: flex;
        flex-direction: column !important;
        background: #fff;
    }

    .product-modal__body {
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    /* Smaller Image Area */
    .product-modal__image-container {
        height: 200px !important; 
        flex-shrink: 0;
        padding: 10px !important;
        background: #f5f5f7;
    }

    /* Scrollable Text Area */
    .product-modal__info {
        flex: 1; /* Take remaining height */
        overflow-y: auto !important; /* Enable scrolling */
        /* Huge padding at bottom so text isn't hidden behind buttons */
        padding: 15px 15px 90px 15px !important; 
    }

    /* Fixed Button Bar */
    .product-modal__actions {
        position: absolute !important;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 12px !important;
        background: #fff !important;
        border-top: 1px solid #eee;
        z-index: 100;
    }

    /* Adjust button text size */
    .product-modal__add-cart, 
    .product-modal__whatsapp {
        font-size: 0.8rem !important;
        padding: 10px !important;
    }
}
/* ============ MOBILE MODAL FIX (Content Cut-off) ============ */
@media (max-width: 768px) {

    /* 1. Modal Container Size */
    .product-modal__content {
        height: 85dvh !important; /* Use dynamic viewport height */
        max-height: none !important;
        width: 95% !important;
        background: #fff;
        display: flex;
        flex-direction: column !important;
    }

    /* 2. Info Section (The Scrolling Part) */
    .product-modal__info {
        flex: 1;
        overflow-y: auto !important;
        
        /* FIX TOP: Add padding so title doesn't touch the edge */
        padding-top: 25px !important; 
        
        /* FIX BOTTOM: Huge padding so content clears the buttons */
        padding-bottom: 150px !important; 
        
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 3. Button Bar (Sticky Bottom) */
    .product-modal__actions {
        position: absolute !important;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff !important; /* Solid background hides scrolling text behind it */
        
        /* Add border/shadow to separate from content */
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
        
        padding: 15px !important;
        z-index: 50;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    /* 4. Fix Title Line Height */
    .product-modal__name {
        line-height: 1.3 !important;
        margin-top: 0 !important;
        padding-top: 5px !important; /* Extra safety for top clipping */
    }

    /* 5. Ensure Color Options are visible */
    .product-modal__options {
        margin-bottom: 20px !important;
    }
}
/* ============ FINAL MOBILE MODAL FIX ============ */
@media (max-width: 768px) {

    /* 1. Reset the Modal Container */
    .product-modal__content {
        height: 85dvh !important; /* Use dynamic viewport height */
        max-height: 800px !important;
        width: 95% !important;
        background: var(--bg-secondary) !important; /* Ensure background color */
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important; /* Prevent double scrollbars */
        position: relative !important;
    }

    /* 2. Reset the Body Wrapper */
    .product-modal__body {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* 3. Fix the Image Section (Top, Fixed Height) */
    .product-modal__image-container {
        width: 100% !important;
        height: 260px !important; /* Fixed height for image area */
        flex-shrink: 0 !important; /* Don't let it shrink */
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
        padding: 10px !important;
        background: var(--bg-tertiary) !important; /* Slight contrast */
        position: relative !important;
    }
    
    .product-modal__image {
        max-height: 100% !important;
        width: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    /* 4. Fix the Info Section (Middle, Scrollable) */
    .product-modal__info {
        flex: 1 !important; /* Take all remaining vertical space */
        height: auto !important;
        overflow-y: auto !important; /* Enable scrolling */
        overflow-x: hidden !important;
        
        /* Padding: Top for title, Bottom huge to clear buttons */
        padding: 20px 20px 100px 20px !important; 
        
        display: block !important; /* Reset flex to block for text flow */
    }

    /* 5. Fix the Action Bar (Bottom, Sticky) */
    .product-modal__actions {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 15px !important;
        background: var(--bg-secondary) !important; /* Solid background covers text */
        border-top: 1px solid var(--glass-border) !important;
        z-index: 50 !important;
        display: flex !important;
        gap: 10px !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1) !important;
    }

    /* 6. Ensure Title is visible and not cut off */
    .product-modal__name {
        margin-top: 0 !important;
        line-height: 1.3 !important;
        font-size: 1.3rem !important;
    }

    /* 7. Ensure Close Button is always on top */
    .product-modal__close {
        z-index: 60 !important;
        background: rgba(0,0,0,0.6) !important;
        color: white !important;
        top: 10px !important;
        right: 10px !important;
    }
    
    /* 8. Fix Color Options Layout */
    .product-modal__colors {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .product-modal__color {
        width: 35px !important;
        height: 35px !important;
    }
}

/* Light Mode specific fix for the Action Bar background */
html.light-mode .product-modal__actions {
    background: #ffffff !important;
}
html:not(.light-mode) .product-modal__actions {
    background: var(--bg-secondary, #0a0a0a) !important;
}

/* ============ ULTIMATE MOBILE MODAL FIX - FINAL OVERRIDE ============ */
@media (max-width: 768px) {
    /* Modal Overlay - Center the modal */
    .product-modal.active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* 1. Modal Content Container */
    .product-modal__content {
        position: relative !important;
        height: 90dvh !important;
        max-height: 90vh !important;
        width: 95vw !important;
        max-width: 450px !important;
        margin: auto !important;
        background: var(--bg-secondary, #0a0a0a) !important;
        border-radius: var(--radius-lg, 20px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    /* 2. Modal Body - Full height flex container */
    .product-modal__body {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* 3. Image Container - Fixed at top */
    .product-modal__image-container {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        flex-shrink: 0 !important;
        background: var(--bg-tertiary, #111) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
        border-bottom: 1px solid var(--glass-border, rgba(255,255,255,0.1)) !important;
    }
    
    .product-modal__image {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* 4. Info Section - Scrollable middle section */
    .product-modal__info {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 20px !important;
        padding-bottom: 120px !important; /* Extra space for buttons */
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Hide scrollbar but keep functionality */
    .product-modal__info::-webkit-scrollbar {
        width: 0 !important;
        display: none !important;
    }

    /* 5. Action Buttons - Fixed at bottom */
    .product-modal__actions {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 15px !important;
        background: var(--bg-secondary, #0a0a0a) !important;
        border-top: 1px solid var(--glass-border, rgba(255,255,255,0.1)) !important;
        display: flex !important;
        gap: 10px !important;
        z-index: 100 !important;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.3) !important;
    }
    
    /* Light mode override */
    html.light-mode .product-modal__content,
    html.light-mode .product-modal__info {
        background: #ffffff !important;
    }
    
    html.light-mode .product-modal__image-container {
        background: #f5f5f7 !important;
    }
    
    html.light-mode .product-modal__actions {
        background: #ffffff !important;
        border-top-color: rgba(0,0,0,0.1) !important;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1) !important;
    }

    /* 6. Make buttons smaller on mobile */
    .product-modal__add-cart,
    .product-modal__whatsapp {
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
    }
    
    .product-modal__wishlist {
        width: 45px !important;
        min-width: 45px !important;
    }

    /* 7. Title and price sizing */
    .product-modal__name {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    
    .product-modal__price {
        font-size: 1.4rem !important;
    }

    /* 8. Specs grid on mobile - single column */
    .product-modal__specs {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    /* 9. Close button always visible */
    .product-modal__close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 200 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        color: white !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
    }
}
/* ============ FINAL MOBILE MODAL FIX (FLEXBOX LAYOUT) ============ */
@media (max-width: 768px) {

    /* 1. Modal Container - Fixed Height & Flex Column */
    .product-modal__content {
        width: 95% !important;
        height: 85dvh !important; /* Fixed height relative to screen */
        max-height: 800px !important;
        background: var(--bg-secondary) !important;
        border-radius: 20px !important;
        display: flex !important;
        flex-direction: column !important; /* Stack items vertically */
        overflow: hidden !important; 
        position: relative !important;
        margin: auto !important;
    }

    /* 2. Body Wrapper - Full Height */
    .product-modal__body {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* 3. Top Section: Image (Fixed Height) */
    .product-modal__image-container {
        flex: 0 0 auto !important; /* Do not grow or shrink */
        height: 240px !important; /* Fixed height for image area */
        width: 100% !important;
        padding: 15px !important;
        background: var(--bg-tertiary) !important;
        border-bottom: 1px solid var(--glass-border) !important;
        position: relative !important;
        border-right: none !important;
    }
    
    .product-modal__image {
        max-height: 100% !important;
        width: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    /* 4. Middle Section: Info (Scrollable Area) */
    .product-modal__info {
        flex: 1 1 auto !important; /* Fill all remaining space */
        overflow-y: auto !important; /* Enable scrolling for text */
        overflow-x: hidden !important;
        padding: 20px !important; /* Normal padding */
        display: block !important;
        height: auto !important;
        /* No massive padding-bottom needed anymore */
    }

    /* 5. Bottom Section: Action Buttons (Fixed footer) */
    .product-modal__actions {
        flex: 0 0 auto !important; /* Do not shrink */
        width: 100% !important;
        padding: 15px !important;
        background: var(--bg-secondary) !important; /* Solid background */
        border-top: 1px solid var(--glass-border) !important;
        display: flex !important;
        gap: 10px !important;
        
        /* Reset positioning to sit naturally at the bottom */
        position: relative !important; 
        bottom: auto !important;
        left: auto !important;
        z-index: 20 !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2) !important;
    }

    /* 6. Fix Elements Sizing */
    .product-modal__name {
        font-size: 1.3rem !important;
        margin-top: 0 !important;
        line-height: 1.2 !important;
    }
    
    .product-modal__specs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    /* 7. Close Button styling */
    .product-modal__close {
        top: 10px !important;
        right: 10px !important;
        z-index: 100 !important;
        background: rgba(0,0,0,0.6) !important;
        color: white !important;
        width: 35px !important;
        height: 35px !important;
        backdrop-filter: blur(5px);
    }
}

/* Light Mode Support for the footer background */
html.light-mode .product-modal__actions {
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
}

/* ============ WHATSAPP CONTACT MODAL ============ */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-modal.active {
    opacity: 1;
    visibility: visible;
}

.whatsapp-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.whatsapp-modal__content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-modal.active .whatsapp-modal__content {
    transform: scale(1) translateY(0);
}

.whatsapp-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

html[dir="rtl"] .whatsapp-modal__close {
    right: auto;
    left: 15px;
}

.whatsapp-modal__close:hover {
    color: var(--text-primary);
}

.whatsapp-modal__header {
    text-align: center;
    margin-bottom: 25px;
}

.whatsapp-modal__header i {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 10px;
}

.whatsapp-modal__header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.whatsapp-modal__group {
    margin-bottom: 15px;
}

.whatsapp-modal__group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.whatsapp-modal__group input,
.whatsapp-modal__group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.whatsapp-modal__group input:focus,
.whatsapp-modal__group textarea:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-modal__group textarea {
    resize: none;
}

.whatsapp-modal__submit {
    width: 100%;
    padding: 14px;
    background: #25D366;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.whatsapp-modal__submit:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.whatsapp-modal__submit i {
    font-size: 1.2rem;
}

/* ============ SOLD OUT VARIANT STYLING (WITH COLOR VISIBLE) ============ */
.product-modal__text-variant.disabled,
.product-modal__color.disabled {
    position: relative;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.product-modal__text-variant.disabled::after {
    content: attr(data-soldout-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 600;
}

.product-modal__color.disabled::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}

.product-modal__color.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

/* ============ PHONE NUMBER LTR FIX (FOR ARABIC) ============ */
[dir="ltr"],
.phone-ltr,
a[href^="tel:"],
input[type="tel"] {
    direction: ltr !important;
    unicode-bidi: embed;
}

/* Force phone numbers to display LTR even in RTL context */
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] .phone-ltr {
    direction: ltr !important;
    unicode-bidi: isolate;
    text-align: right;
}

/* ============ CLIENT TESTIMONIALS SECTION ============ */
.testimonials {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials__label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.testimonials__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.testimonials__loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.9));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(212, 175, 55, 0.1);
}

.testimonial-card__image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    cursor: pointer;
}

.testimonial-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-card__image {
    transform: scale(1.05);
}

.testimonial-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.testimonial-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.testimonial-card__rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-card__rating i {
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-card__expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__expand {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card__expand:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* Testimonial Image Modal */
.testimonial-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.testimonial-modal.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-modal__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.testimonial-modal__image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-modal__close:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ============ DELIVERY OPTIONS STYLING ============ */
.delivery-options {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.delivery-option {
    flex: 1;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.delivery-option__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: rgba(30, 30, 30, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    gap: 0.5rem;
}

.delivery-option__box i {
    font-size: 1.25rem;
    color: var(--gold);
}

.delivery-option__box span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.delivery-option input[type="radio"]:checked + .delivery-option__box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.delivery-option input[type="radio"]:checked + .delivery-option__box i {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.delivery-option__box:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

/* Store Location Card in Cart */
.store-location-info {
    animation: fadeIn 0.3s ease;
}

.store-location-info .store-location-card {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.store-location-info .store-location-card > i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.store-location-info .store-location-card strong {
    display: block;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.store-location-info .store-location-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.store-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-map-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Delivery Fields */
.delivery-fields {
    animation: fadeIn 0.3s ease;
}

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

/* Modal variant sold out badge */

.delivery-address-fields.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Modal variant sold out badge */
.product-modal__color.disabled .variant-soldout-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(220, 53, 69, 0.95);
    color: white;
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 600;
    z-index: 10;
}

/* ============ LOGO GLOW FIX ============ */
.navbar__logo-sub {
    opacity: 1 !important;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.navbar__brand:hover .navbar__logo-sub {
    color: var(--gold-light);
}

.navbar__brand:hover .navbar__logo-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6),
                 0 0 40px rgba(212, 175, 55, 0.4),
                 0 0 60px rgba(212, 175, 55, 0.2);
}

/* ============ ENHANCED ANIMATIONS ============ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Card hover enhancements */
.product-card,
.feature-card,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(212, 175, 55, 0.15);
}

/* Button hover animations */
.btn-primary,
.cart-drawer__checkout {
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before,
.cart-drawer__checkout:hover::before {
    left: 100%;
}

/* Mobile responsive for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1rem;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .delivery-options__choices {
        flex-direction: column;
    }
    
    .testimonial-modal__content {
        max-width: 95vw;
    }
}