/**
 * Shop Header & Footer Styles
 * Common styles for all store pages
 */

/* shop-unified.css يتم تحميله كـ <link> منفصل في كل صفحة لضمان تحديث الكاش */

/* ===== FLASH DEALS ANNOUNCEMENT BAR ===== */
.flash-deals-bar {
    background: linear-gradient(90deg, #0f3460 0%, #16213e 40%, #1a1a2e 60%, #16213e 100%);
    position: fixed;
    top: 128px;
    left: 0;
    right: 0;
    z-index: 997;
    padding: 12px 0 10px;
    height: auto;
    border-top: 1px solid rgba(255, 165, 0, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

/* Adjust position when header collapses on scroll */
.header-collapsed .flash-deals-bar {
    top: 113px;
}

.flash-deals-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.flash-deals-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flash-deals-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    margin: 0 auto;
    max-width: fit-content;
}

.flash-deals-inner:hover {
    opacity: 0.85;
}

.flash-deals-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.flash-bolt {
    font-size: 1rem;
    animation: boltPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 165, 0, 0.5));
}

.flash-deals-timer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timer-label i {
    font-size: 0.8rem;
    color: #ffa500;
    animation: clockPulse 2s ease-in-out infinite;
}

.timer-countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
}

.timer-unit {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 42px;
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.timer-lbl {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.timer-num {
    font-size: 1rem;
    font-weight: 800;
    color: #ffa500;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    line-height: 1.1;
    height: 22px;
    min-width: 32px;
    overflow: hidden;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 120px;
    transform-style: preserve-3d;
    background: #18181b;
    border: 1px solid rgba(255, 165, 0, 0.25);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 0 4px rgba(255, 165, 0, 0.5);
}

.timer-num::after {
    display: none;
}

.timer-sep {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255, 165, 0, 0.5);
    animation: sepBlink 1s step-end infinite;
    line-height: 1;
}

.flash-deals-close {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 2;
}

.flash-deals-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Flash bar adjustments for body spacing */
body.has-flash-bar {
    padding-top: 195px;
    transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Auto-hide: collapsed state for flash deals */
.flash-deals-bar.navbar-hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Auto-hide: collapsed state for categories navbar */
.categories-navbar.navbar-hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Adjust body padding when header is collapsed */
.header-collapsed.has-flash-bar {
    padding-top: 110px;
}

body.header-collapsed {
    padding-top: 100px;
}

/* Animations */
@keyframes tickFlipOut {
    0% { transform: rotateX(0deg); opacity: 1; }
    50% { transform: rotateX(-90deg); opacity: 0; }
    100% { transform: rotateX(-90deg); opacity: 0; }
}
@keyframes tickFlipIn {
    0% { transform: rotateX(90deg); opacity: 0; }
    50% { transform: rotateX(90deg); opacity: 0; }
    100% { transform: rotateX(0deg); opacity: 1; }
}
@keyframes flashBarGlow {
    0%, 100% { box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 2px 20px rgba(255, 165, 0, 0.15); }
}

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

@keyframes clockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes sepBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

/* Flash Deals Responsive */
@media (max-width: 992px) {
    body.has-flash-bar {
        padding-top: 190px;
    }
    body.header-collapsed.has-flash-bar {
        padding-top: 95px;
    }
}

@media (max-width: 768px) {
    .flash-deals-bar {
        top: 100px;
        height: auto;
        padding: 4px 0;
    }
    
    /* Keep mobile position constant when header collapsed */
    .header-collapsed .flash-deals-bar {
        top: 100px;
    }
    
    .flash-deals-bar .container {
        height: auto;
    }
    
    .flash-deals-inner {
        flex-direction: column;
        gap: 4px;
        padding: 4px 10px;
        transform: translateY(2.5px);
    }
    
    .flash-deals-text {
        font-size: 0.85rem;
        font-weight: 800;
        gap: 3px;
        white-space: normal;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .flash-bolt {
        font-size: 0.85rem;
    }
    
    .timer-label {
        display: none;
    }
    
    .timer-unit {
        padding: 3px 6px;
        min-width: 32px;
        border-radius: 5px;
    }
    
    .timer-num {
        font-size: 0.78rem;
        height: 18px;
        min-width: 26px;
        font-family: 'Cairo', sans-serif;
        letter-spacing: 0;
    }
    
    .timer-lbl {
        font-size: 0.48rem;
    }
    
    .timer-sep {
        font-size: 0.75rem;
    }
    
    body.has-flash-bar {
        padding-top: 170px;
    }
    body.header-collapsed.has-flash-bar {
        padding-top: 55px;
    }
}

@media (max-width: 480px) {
    .flash-deals-inner {
        gap: 3px;
        padding: 3px 8px;
    }
    
    .flash-deals-text {
        font-size: 0.78rem;
        font-weight: 800;
        gap: 2px;
        white-space: normal;
        text-align: center;
    }
    
    .flash-bolt {
        font-size: 0.75rem;
    }
    
    .timer-unit {
        min-width: 28px;
        padding: 2px 5px;
    }
    
    .timer-num {
        font-size: 0.7rem;
        letter-spacing: 0;
        height: 16px;
        min-width: 22px;
        font-family: 'Cairo', sans-serif;
    }
    
    .timer-lbl {
        font-size: 0.45rem;
    }
    
    .timer-sep {
        font-size: 0.65rem;
    }
    
    body.has-flash-bar {
        padding-top: 165px;
    }
    body.header-collapsed.has-flash-bar {
        padding-top: 50px;
    }
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00d4ff;
    --primary-rgb: 0, 212, 255;
    --primary-dark: #00a8cc;
    --secondary: #6366f1;
    --secondary-rgb: 99, 102, 241;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-tertiary: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b7280;
    --border-color: #2a2a3a;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
}

/* ===== BASE STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; }

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    padding-top: 120px; /* Space for fixed header + categories bar */
    transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

input, button, select, textarea {
    font-family: inherit;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER ===== */
.shop-header {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-top {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Compact header when scrolled */
.header-collapsed .header-top {
    padding: 10px 0;
}

.header-collapsed .shop-logo img {
    height: 35px;
}

.header-collapsed .shop-nav-links > a {
    padding: 6px 16px;
    font-size: 0.82rem;
    outline-offset: 2px;
}

.header-collapsed .header-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.header-collapsed .search-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.header-collapsed .currency-btn {
    padding: 6px 14px;
    font-size: 0.82rem;
    outline-offset: 2px;
}

.shop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.shop-logo img { 
    height: 45px;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search Button */
.search-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.active { display: flex; }

.search-box {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.search-box form { position: relative; }

.search-box input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 60px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-close:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Live Search Results ===== */
.live-search-results {
    display: none;
    max-height: 65vh;
    overflow-y: auto;
    margin-top: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.live-search-results.active { display: block; }
.live-search-results::-webkit-scrollbar { width: 6px; }
.live-search-results::-webkit-scrollbar-track { background: transparent; }
.live-search-results::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.live-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}
.live-search-item:last-of-type { border-bottom: none; }
.live-search-item:hover,
.live-search-item.selected {
    background: rgba(0, 212, 255, 0.08);
}

.live-search-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.live-search-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}
.live-search-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.live-search-name mark {
    background: rgba(0, 212, 255, 0.25);
    color: var(--primary);
    border-radius: 3px;
    padding: 0 2px;
}
.live-search-cat {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.live-search-cat i {
    margin-left: 4px;
    font-size: 0.7rem;
}

.live-search-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.price-from {
    color: var(--text-secondary);
    font-size: 0.75rem;
}
.live-search-current-price {
    font-weight: 700;
    color: var(--primary);
}
.live-search-old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.78rem;
    opacity: 0.7;
}
.live-search-out {
    background: #ff4757;
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.live-search-price .sar-symbol {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

/* Loading & Empty States */
.live-search-loading,
.live-search-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.live-search-loading i,
.live-search-empty i {
    margin-left: 8px;
    color: var(--primary);
}

/* View All Results Link */
.live-search-all {
    display: block;
    padding: 14px 16px;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 16px 16px;
    transition: all 0.2s;
}
.live-search-all:hover {
    background: rgba(0, 212, 255, 0.1);
}
.live-search-all i {
    margin-left: 6px;
}

/* Live search on mobile */
@media (max-width: 768px) {
    .live-search-results { max-height: 55vh; margin-top: 10px; border-radius: 12px; }
    .live-search-item { padding: 10px 12px; gap: 10px; }
    .live-search-img { width: 46px; height: 46px; min-width: 46px; border-radius: 8px; }
    .live-search-name { font-size: 0.88rem; }
    .live-search-price { font-size: 0.8rem; }
}

/* Nav Links */
.shop-nav-links { 
    display: flex; 
    gap: 12px; 
    align-items: center;
}

.shop-nav-links > a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 12px 28px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    outline: 1px solid var(--border-color);
    outline-offset: 3px;
}

.shop-nav-links > a:hover,
.shop-nav-links > a.active {
    color: #fff;
    background: var(--bg-secondary);
    border-color: rgba(255,255,255,0.2);
    outline-color: var(--primary);
    outline-offset: 5px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.shop-nav-links > a i {
    color: var(--primary);
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.shop-nav-links > a:hover i,
.shop-nav-links > a.active i {
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--primary);
}

/* Exit Link Style */
.shop-nav-links > a.exit-link {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.shop-nav-links > a.exit-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: var(--danger);
    outline-color: var(--danger);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon:hover,
.header-icon.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--danger);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* ===== CATEGORIES NAVBAR - loaded from shop-unified.css ===== */

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 15px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.mobile-nav.active { right: 0; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-links a {
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-weight: 600;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--primary);
    color: #000;
}

.mobile-nav-links a i {
    width: 20px;
    text-align: center;
}

.mobile-nav-links a.exit-link {
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mobile-nav-links a.exit-link:hover {
    background: var(--danger);
    color: #fff;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
}

.mobile-nav-overlay.active { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    /* Footer handled by shop-unified.css */
}

@media (max-width: 992px) {
    body { padding-top: 120px; }
    
    body.header-collapsed { padding-top: 95px; }
    body.header-collapsed.has-flash-bar { padding-top: 95px; }
    
    .shop-nav-links { display: none; }
    
    .mobile-menu-btn { display: flex; }
    
    /* Categories navbar handled by shop-unified.css */
    
    .header-icons { gap: 10px; }
    
    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 12px; }
    
    body { padding-top: 105px !important; }
    body.has-flash-bar { padding-top: 170px !important; }
    body.header-collapsed { padding-top: 55px !important; }
    body.header-collapsed.has-flash-bar { padding-top: 55px !important; }
    
    .shop-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--bg-primary) !important;
    }
    
    .header-top {
        padding: 8px 0;
    }
    
    .shop-nav { 
        flex-wrap: nowrap; 
        gap: 8px; 
        padding: 0;
        justify-content: space-between;
        align-items: center;
    }
    
    .shop-logo {
        flex-shrink: 0;
        order: 1;
    }
    
    .shop-logo img { height: 28px; }
    
    .header-icons {
        gap: 4px;
        flex-shrink: 1;
        min-width: 0;
        order: 2;
        flex-wrap: nowrap;
    }
    
    .header-icons .header-icon { 
        width: 32px; 
        height: 32px; 
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .header-icons .header-icon .badge {
        top: -3px;
        right: -3px;
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .search-btn { 
        width: 32px; 
        height: 32px; 
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .mobile-menu-btn {
        order: 3;
        width: 32px;
        height: 32px;
        padding: 3px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    /* Collapsed state on mobile - keep things compact, don't grow */
    .header-collapsed .header-top {
        padding: 8px 0;
    }
    
    .header-collapsed .shop-logo img {
        height: 28px;
    }
    
    .header-collapsed .header-icons .header-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .header-collapsed .search-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .header-collapsed .mobile-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .currency-btn {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        gap: 6px !important;
        outline-offset: 1px !important;
    }
    .currency-btn:hover {
        outline-offset: 2px !important;
    }
    
    /* Categories navbar responsive handled by shop-unified.css */
}

@media (max-width: 480px) {
    .container { padding: 0 10px; }
    
    .header-icons { gap: 3px; }
    
    .currency-btn {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
        gap: 4px !important;
        outline-offset: 1px !important;
    }
    .currency-btn:hover {
        outline-offset: 2px !important;
    }
    
    .header-icons .header-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .search-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .mobile-menu-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .shop-logo img { height: 24px; }
    
    /* Collapsed on very small screens */
    .header-collapsed .header-icons .header-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .header-collapsed .search-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .header-collapsed .mobile-menu-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .header-collapsed .shop-logo img { height: 24px; }
}

/* ===== CURRENCY DROPDOWN ===== */
.currency-dropdown {
    position: relative;
    display: inline-block;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    outline: 1px solid var(--border-color);
    outline-offset: 3px;
}

.currency-btn:hover {
    color: #fff;
    background: var(--bg-secondary);
    border-color: rgba(255,255,255,0.2);
    outline-color: var(--primary);
    outline-offset: 5px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.currency-btn .fi {
    font-size: 1.1rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.currency-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.currency-code {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.currency-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    color: var(--text-muted);
    margin-right: -4px;
}

.currency-dropdown.open .currency-arrow {
    transform: rotate(180deg);
}

.currency-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 130px;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 5px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 1001;
}

/* Custom scrollbar for menu */
.currency-menu::-webkit-scrollbar {
    width: 3px;
}
.currency-menu::-webkit-scrollbar-track {
    background: transparent;
}
.currency-menu::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

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

.currency-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    font-size: 0.7rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    white-space: nowrap;
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.currency-option.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.currency-option .currency-flag {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.currency-option .fi {
    font-size: 0.85rem;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.currency-option .currency-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.68rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-option .currency-symbol {
    font-size: 0.7rem;
    color: var(--text-muted);
}

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

/* Saudi Riyal Symbol (SVG with mask - inherits color) */
.sar-symbol,
.sar-symbol-btn,
.sar-symbol-menu {
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1124.14 1256.39'%3E%3Cpath d='M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z'/%3E%3Cpath d='M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1124.14 1256.39'%3E%3Cpath d='M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z'/%3E%3Cpath d='M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.sar-symbol {
    width: 1em;
    height: 1.1em;
    vertical-align: -0.15em;
    margin-right: 2px;
}

/* SAR symbol in currency button */
.sar-symbol-btn {
    width: 18px;
    height: 20px;
    vertical-align: middle;
}

/* SAR symbol in currency menu */
.sar-symbol-menu {
    width: 14px;
    height: 16px;
    vertical-align: middle;
}

/* Primary/Cyan color for SAR symbol in prices */
.price .sar-symbol,
.product-price .sar-symbol,
.total-price .sar-symbol,
.cart-total .sar-symbol {
    filter: invert(74%) sepia(98%) saturate(1642%) hue-rotate(152deg) brightness(101%) contrast(104%);
}

/* Prevent coloring and adjust size of SAR symbol in old/slashed prices */
.old-price .sar-symbol,
.attr-old-price .sar-symbol,
.price-box .old-price .sar-symbol,
.related-product-price .old .sar-symbol,
.variation-price .old .sar-symbol,
span.old-price .sar-symbol {
    filter: none !important;
    width: 0.63em !important;
    height: 0.7em !important;
    vertical-align: -0.03em !important;
}

/* Currency dropdown responsive */
@media (max-width: 992px) {
    /* Hide from nav-links on tablet/mobile */
    .shop-nav-links .currency-dropdown {
        display: none;
    }
}

/* Mobile Currency Button - in header icons area */
/* Hidden - currency is moved to mobile menu (burger) */
.header-icons .currency-dropdown {
    display: none !important;
}

/* Mobile Currency in Mobile Nav */
.mobile-currency-selector {
    padding: 12px 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.mobile-currency-selector .currency-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.mobile-currency-selector .currency-label i {
    font-size: 0.8rem;
    color: var(--primary);
}

.mobile-currency-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mobile-currency-options a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.mobile-currency-options a .fi {
    font-size: 0.9rem;
    border-radius: 2px;
}

.mobile-currency-options a:hover,
.mobile-currency-options a.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Mobile Currency Dropdown in Mobile Nav */
.mobile-currency-dropdown {
    position: relative;
}

.mobile-currency-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-align: right;
    transition: all 0.3s;
}

.mobile-currency-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.mobile-currency-toggle i:first-child {
    width: 24px;
    text-align: center;
    color: var(--text-muted);
}

.mobile-currency-toggle:hover i:first-child {
    color: var(--primary);
}

.mobile-currency-toggle .current-currency {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--primary);
}

.mobile-currency-toggle .current-currency .fi {
    font-size: 1rem;
}

.mobile-currency-toggle .mobile-currency-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

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

.mobile-currency-submenu {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 5px 10px 10px;
    overflow: hidden;
}

.mobile-currency-dropdown.open .mobile-currency-submenu {
    display: block;
}

.mobile-currency-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.mobile-currency-submenu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.mobile-currency-submenu a.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
}

.mobile-currency-submenu a .fi {
    font-size: 1.1rem;
}

.mobile-currency-submenu a .currency-name {
    flex: 1;
}

.mobile-currency-submenu a .currency-code {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== LIGHT THEME VARIABLES & OVERRIDES ===== */
[data-theme="light"] {
    --primary: #7c3aed; /* Rich Purple */
    --primary-rgb: 124, 58, 237;
    --secondary: #4f46e5; /* Indigo */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.06);
}

/* Light Theme Header Overrides */
[data-theme="light"] .shop-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .header-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Light Theme Mobile Nav Overrides */
[data-theme="light"] .mobile-nav {
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-currency-submenu {
    background: rgba(0, 0, 0, 0.04);
}

/* Light Theme Search Overlay Overrides */
[data-theme="light"] .search-overlay {
    background: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .search-close {
    color: var(--text-primary);
}

/* Light Theme Currency Dropdown Overrides */
[data-theme="light"] .currency-menu {
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .currency-option {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .currency-option:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* Light Theme Giveaway Card Overrides */
[data-theme="light"] .giveaway-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}

[data-theme="light"] .giveaway-card > div:first-child {
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="light"] #giveaway-locked-state {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px dashed rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] #giveaway-locked-state > div[style*="border-top"] {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #email-unlock-form-container {
    border-top: 1px dashed rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] #giveaway-unlocked-state {
    background: rgba(16, 185, 129, 0.03) !important;
}

/* Light Theme FAQ Accordion Overrides */
[data-theme="light"] .faq-answer {
    background: rgba(0, 0, 0, 0.02) !important;
}

/* Light Theme Flash Deals Bar Overrides */
[data-theme="light"] .flash-deals-bar {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 40%, #faf5ff 60%, #ede9fe 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.25);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.04);
}

[data-theme="light"] .flash-deals-inner,
[data-theme="light"] .flash-deals-text {
    color: #4c1d95;
}

[data-theme="light"] .timer-label {
    color: rgba(91, 33, 182, 0.85);
}

[data-theme="light"] .timer-unit {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .timer-lbl {
    color: rgba(91, 33, 182, 0.65);
}

[data-theme="light"] .timer-num {
    color: #ea580c;
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.18);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

[data-theme="light"] .theme-toggle-btn:hover {
    color: #000;
}

.theme-icon-light {
    display: none;
}
.theme-icon-dark {
    display: block;
}

[data-theme="light"] .theme-icon-light {
    display: block;
    color: #f59e0b; /* Warm sun color */
}
[data-theme="light"] .theme-icon-dark {
    display: none;
}

/* Collapsed Header state for Theme Toggle Button */
.header-collapsed .theme-toggle-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

/* Responsive sizes for Theme Toggle Button */
@media (max-width: 768px) {
    .theme-toggle-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .header-collapsed .header-icons .theme-toggle-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .header-collapsed .header-icons .theme-toggle-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* Mobile Theme Toggle Styles */
.mobile-theme-toggle-wrapper {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: right;
    font-family: inherit;
    font-weight: 600;
}

.mobile-theme-toggle span {
    font-size: 0.95rem;
}

[data-theme="light"] .mobile-theme-toggle {
    color: var(--text-primary);
}

/* Light Theme Advanced Accessibility Overrides */
[data-theme="light"] .shop-nav-links > a:hover,
[data-theme="light"] .shop-nav-links > a.active {
    color: var(--text-primary) !important;
    background: var(--bg-primary) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .product-category-tag {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #4f46e5 !important;
}

[data-theme="light"] .live-search-all {
    color: var(--secondary) !important;
    background: var(--bg-tertiary) !important;
}

[data-theme="light"] .live-search-all:hover {
    background: rgba(99, 102, 241, 0.08) !important;
}

[data-theme="light"] .product-title a:hover {
    color: var(--secondary) !important;
}

[data-theme="light"] .stock-badge.out-of-stock {
    color: #b91c1c !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
}

[data-theme="light"] .stock-badge.in-stock-unlimited {
    color: #047857 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

[data-theme="light"] .stock-badge.limited-stock {
    color: #b45309 !important;
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
}

[data-theme="light"] .share-btn-round.twitter:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .auth-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .form-input {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: var(--text-primary) !important;
}

[data-theme="light"] .form-input:hover:not(:focus) {
    border-color: #94a3b8 !important;
}

[data-theme="light"] .form-input:focus {
    border-color: var(--primary) !important;
    background: #ffffff !important;
}

[data-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    color: #b91c1c !important;
}

[data-theme="light"] .alert-error a {
    color: #b91c1c !important;
}

[data-theme="light"] .alert-success {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #047857 !important;
}

[data-theme="light"] .btn-logout {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #b91c1c !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

[data-theme="light"] .btn-logout:hover {
    background: #b91c1c !important;
    color: #ffffff !important;
}

[data-theme="light"] .od-delivery h4 {
    color: #047857 !important;
}

[data-theme="light"] .od-instructions h4 {
    color: #b45309 !important;
}

[data-theme="light"] .wishlist-category {
    color: var(--secondary) !important;
}

[data-theme="light"] .btn-view:hover {
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
}

[data-theme="light"] .search-result-count strong,
[data-theme="light"] .search-result-count i {
    color: var(--secondary) !important;
}

[data-theme="light"] .toast-info i {
    color: var(--secondary) !important;
}

[data-theme="light"] .cart-modal-product-info span,
[data-theme="light"] .wishlist-modal-product-info span {
    color: var(--secondary) !important;
}

[data-theme="light"] .wishlist-modal-product-info .sar-symbol {
    background-color: var(--secondary) !important;
}

[data-theme="light"] .cart-modal-btn.secondary:hover,
[data-theme="light"] .wishlist-modal-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .live-search-item:hover,
[data-theme="light"] .live-search-item.selected {
    background: rgba(124, 58, 237, 0.08) !important;
}

[data-theme="light"] .currency-option.active {
    background: rgba(124, 58, 237, 0.1) !important;
    color: var(--primary) !important;
}

[data-theme="light"] .header-icon:hover,
[data-theme="light"] .header-icon.active,
[data-theme="light"] .search-btn:hover,
[data-theme="light"] .theme-toggle-btn:hover {
    color: #fff !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3) !important;
}

[data-theme="light"] .product-card:hover {
    border-color: rgba(124, 58, 237, 0.4) !important;
    box-shadow: var(--shadow-glow), 0 25px 50px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .btn-view:hover {
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3) !important;
}

[data-theme="light"] .btn-order.primary:hover {
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3) !important;
}

[data-theme="light"] .product-info .product-category-tag {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(79, 70, 229, 0.08)) !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
    color: var(--primary) !important;
}

[data-theme="light"] .product-title {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(79, 70, 229, 0.03) 100%) !important;
    border: 1px solid rgba(124, 58, 237, 0.12) !important;
    border-top: 1px solid rgba(124, 58, 237, 0.18) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(124, 58, 237, 0.04) !important;
}

[data-theme="light"] .product-card:hover .product-title {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(79, 70, 229, 0.06) 100%) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}
