/**
 * ====================================================================
 * YemenArt Unified Master Theme (theme.css)
 * Single-Source Architectural Design System
 * 
 * Palette:
 * - Ultra-Light Alabaster Beige: #F9F6F0 (#FCFAF6, #FDFBF8, #EAE3D6)
 * - Deep Royal Burgundy: #4A0012 (#5C0017, #33000C, #220008)
 * - Burnished Antique Metallic Gold: #C5A059 (#C5A059, #A68238, #A68238)
 * ====================================================================
 */

:root {
    /* ===== 1. CORE COLOR TOKENS ===== */
    /* Ultra-Light Alabaster Beige */
    --ya-ice-silver: #F9F6F0;
    --ya-ice-silver-light: #FCFAF6;
    --ya-ice-silver-surface: #FDFBF8;
    --ya-ice-silver-pure: #FFFFFF;
    --ya-ice-silver-deep: #EAE3D6;
    --ya-ice-silver-border: #E2D9CB;
    --ya-ice-silver-dark: #C8BCAC;
    --ya-beige: #F9F6F0;
    --ya-beige-light: #FCFAF6;
    --ya-beige-surface: #FDFBF8;
    --ya-beige-deep: #EAE3D6;
    --ya-beige-border: #E2D9CB;

    /* Deep Royal Burgundy (Darker & Regal) */
    --ya-burgundy: #4A0012;
    --ya-burgundy-light: #5C0017;
    --ya-burgundy-hover: #66001A;
    --ya-burgundy-dark: #33000C;
    --ya-burgundy-deep: #220008;
    --ya-burgundy-surface: #FFF0F3;
    --ya-burgundy-glow: rgba(74, 0, 18, 0.40);
    --ya-burgundy-glow-intense: rgba(74, 0, 18, 0.60);
    --ya-burgundy-gradient: linear-gradient(180deg, #5C0017 0%, #4A0012 55%, #33000C 100%);
    --ya-burgundy-btn-hover: linear-gradient(180deg, #66001A 0%, #4D0014 100%);

    /* Luxury Soft Matte Gold (ذهبي مطفي راقي وفاتح) */
    --ya-matte-gold: #C5A059;
    --ya-gold: #C5A059;
    --ya-matte-gold-light: #D8BA7A;
    --ya-matte-gold-hover: #CCA862;
    --ya-matte-gold-dark: #A68238;
    --ya-matte-gold-deep: #8E6D28;
    --ya-matte-gold-surface: #FAF5EA;
    --ya-matte-gold-border: rgba(197, 160, 89, 0.50);
    --ya-matte-gold-border-solid: #C5A059;
    --ya-matte-gold-glow: rgba(197, 160, 89, 0.25);
    --ya-gold-metallic: #C5A059;
    --ya-gold-metallic-hover: #CCA862;
    --ya-gold-matte: #C5A059;
    --ya-gold-matte-hover: #CCA862;

    /* High-Contrast Deep Slate Typography */
    --ya-text-primary: #1A2128;
    --ya-text-secondary: #35424D;
    --ya-text-muted: #596A78;
    --ya-text-inverse: #FFFFFF;
    --ya-text-gold: #C5A059;

    /* Semantic Compatibility Aliases */
    --primary: var(--ya-burgundy);
    --secondary: var(--ya-matte-gold);
    --accent: var(--ya-matte-gold);
    --accent1: var(--ya-burgundy);
    --accent2: var(--ya-matte-gold);
    --lux-emerald: var(--ya-burgundy);
    --lux-gold: var(--ya-matte-gold);
    --lux-stone: var(--ya-ice-silver);
    --lux-stone-dark: var(--ya-ice-silver-border);
    --lux-night: #141A20;

    /* Tactile Skeuomorphic Lighting Engine */
    --specular-rim-strong: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    --specular-rim-subtle: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    --specular-rim-gold: inset 0 1px 0 rgba(255, 245, 210, 0.25);
    --specular-rim-burgundy: inset 0 1px 0 rgba(255, 140, 160, 0.40);
    --extrusion-bottom-subtle: 0 2px 0 var(--ya-ice-silver-deep);
    --extrusion-bottom-medium: 0 3px 0 var(--ya-ice-silver-dark);
    --extrusion-bottom-burgundy: 0 4px 0 var(--ya-burgundy-deep);
    --extrusion-bottom-gold: 0 4px 0 var(--ya-matte-gold-deep);
    --sunken-well: inset 0 2px 4px rgba(20, 26, 32, 0.12), inset 0 1px 2px rgba(20, 26, 32, 0.08);

    /* Material Elevation Surfaces */
    --surface-base: var(--ya-ice-silver);
    --surface-card: var(--ya-ice-silver-pure);
    --surface-elevated: var(--ya-ice-silver-light);
    --surface-overlay: rgba(255, 255, 255, 0.94);
    --surface-burgundy: var(--ya-burgundy);
    --surface-gold: var(--ya-matte-gold-surface);

    /* Elevation Drops */
    --elevation-1: 0 2px 8px rgba(20, 26, 32, 0.06);
    --elevation-2: 0 6px 18px rgba(20, 26, 32, 0.09);
    --elevation-3: 0 12px 28px rgba(20, 26, 32, 0.12);
    --elevation-4: 0 20px 42px rgba(20, 26, 32, 0.16);

    /* Responsive Transitions */
    --motion-tactile: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    --motion-fluid: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================================================
   BASE CANVAS & MUSNAD PATTERN HERITAGE LAYER
   ==================================================================== */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body, body.ya-theme, .ya-theme {
    background-color: var(--ya-ice-silver, #F9F6F0) !important;
    color: var(--ya-text-primary, #1A2128) !important;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Fixed Musnad Inscriptions Background Pattern Layer */
body::before,
body.ya-theme::before,
.ya-theme::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: var(--ya-ice-silver, #F9F6F0) !important;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 75%),
        radial-gradient(circle at 100% 100%, rgba(197, 160, 89, 0.05) 0%, transparent 60%),
        url('../img/musnad-pattern.svg') !important;
    background-repeat: repeat !important;
    background-size: auto, auto, 480px 480px !important;
    background-position: top center, bottom right, top center !important;
    opacity: 0.95 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* ====================================================================
   UNIFIED WIDE CONTAINER ARCHITECTURE (Header, Footer, Main)
   ==================================================================== */
.container,
.main-footer .container,
.footer-top .container,
.footer-main .container,
.footer-bottom .container {
    width: 95% !important;
    max-width: 1560px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Full-Width Expansive Header Container (زد في عرض الرأس) */
.main-header .container,
.announcement-bar .container,
#topAnnouncementBar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 36px !important;
    padding-right: 36px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Header Content Padding */
.header-content {
    padding: 18px 0 !important;
}
.main-header.sticky .header-content {
    padding: 12px 0 !important;
}

/* ====================================================================
   HEADER ACTIONS (Borderless, Clean Action Icons)
   ==================================================================== */
.header-actions .nav-actions,
.nav-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border: none !important; /* Removed outer border around all icons */
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: row !important;
}

/* Action Buttons: Clean, Borderless Circular Buttons */
.action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: none !important; /* No border */
    background: #FFFFFF !important;
    color: #4A0012 !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
    text-decoration: none !important;
}
.action-btn i,
.action-btn.search-trigger i,
.action-btn.cart-trigger i,
.action-btn.user-trigger i,
.action-btn .fa-heart {
    color: #4A0012 !important;
    transition: color 0.25s ease !important;
}
.action-btn:hover {
    background: rgba(197, 160, 89, 0.14) !important;
    color: #4A0012 !important;
    border: none !important;
    transform: translateY(-1px) scale(1.06) !important;
    box-shadow: none !important;
}
.action-btn:hover i,
.action-btn:hover .fa-heart {
    color: #4A0012 !important;
}
.action-btn:active {
    transform: scale(0.95) !important;
    box-shadow: none !important;
}

/* Badges on Action Buttons */
.cart-badge, .wishlist-badge, .chat-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: linear-gradient(180deg, #5C0017 0%, #4A0012 100%) !important;
    color: #ffffff !important;
    border: 2px solid #C5A059 !important;
    border-radius: 50% !important;
    min-width: 20px !important;
    height: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 5px !important;
    box-shadow: 0 3px 8px rgba(74, 0, 18, 0.45) !important;
}

/* ====================================================================
   NAVIGATION ICONS & MAIN NAVIGATION BAR
   ==================================================================== */
.main-nav .nav-list {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.main-nav .nav-item {
    position: relative !important;
}
.main-nav .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    color: #1A2128 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border-radius: 8px !important;
}
.main-nav .nav-link .nav-icon {
    font-size: 1.1rem !important;
    color: #C5A059 !important; /* Dark Metallic Gold */
    transition: all 0.25s ease !important;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #4A0012 !important;
    background: rgba(197, 160, 89, 0.08) !important;
}
.main-nav .nav-link:hover .nav-icon,
.main-nav .nav-link.active .nav-icon {
    color: #4A0012 !important;
    transform: translateY(-2px) !important;
}

/* ====================================================================
   TACTILE 3D FLOATING CONTROLS (Chat, Back-to-Top, Heritage FAB)
   ==================================================================== */
#chat-widget-btn,
#public-ai-btn,
.back-to-top {
    position: fixed !important;
    left: 24px !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #5C0017 0%, #4A0012 60%, #33000C 100%) !important;
    color: #C5A059 !important;
    border: 2px solid #C5A059 !important;
    box-shadow: inset 0 1px 0 rgba(255, 140, 160, 0.45), 0 4px 0 #220008, 0 10px 25px rgba(74, 0, 18, 0.45) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    z-index: 9998 !important;
    outline: none !important;
}

/* Separate Vertical Positions: Spaced Apart, Never Overlapping */
#chat-widget-btn {
    bottom: 24px !important;
    font-size: 24px !important;
}
#public-ai-btn {
    bottom: 96px !important; /* 14px comfortable gap above chat button */
    font-size: 23px !important;
}
.back-to-top {
    bottom: 168px !important; /* 14px comfortable gap above AI button */
    font-size: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
}
.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#chat-widget-btn:hover,
#public-ai-btn:hover,
.back-to-top:hover {
    transform: translateY(-3px) scale(1.06) !important;
    background: linear-gradient(180deg, #6A001B 0%, #540015 60%, #3B000E 100%) !important;
    border-color: #C5A059 !important;
    box-shadow: inset 0 1px 0 rgba(255, 140, 160, 0.6), 0 6px 0 #220008, 0 14px 28px rgba(74, 0, 18, 0.5) !important;
    color: #FFFFFF !important;
}

#chat-widget-btn:active,
#public-ai-btn:active,
.back-to-top:active {
    transform: translateY(2px) scale(0.96) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 0 #220008 !important;
}

/* Floating Heritage Artisans FAB ("صناع التراث") */
.artisan-fab {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 995 !important;
    background: #C5A059 !important; /* New Gold Background */
    color: #4A0012 !important;
    border: 2.5px solid #4A0012 !important; /* Dark Burgundy Border */
    border-radius: 50px !important;
    padding: 12px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4), 0 2px 5px rgba(74, 0, 18, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    font-family: inherit !important;
    outline: none !important;
    overflow: hidden !important;
}
.artisan-fab .artisan-fab-icon,
.artisan-fab .artisan-fab-text,
.artisan-fab .artisan-fab-search-badge {
    color: #4A0012 !important;
}
.artisan-fab .artisan-fab-search-badge {
    background: rgba(74, 0, 18, 0.12) !important;
    border: 1px solid rgba(74, 0, 18, 0.25) !important;
}
.artisan-fab:hover {
    background: #D4B26F !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 8px 22px rgba(197, 160, 89, 0.5), 0 4px 10px rgba(74, 0, 18, 0.3) !important;
    border-color: #33000C !important;
}
.artisan-fab:active {
    transform: translateY(-1px) scale(0.99) !important;
    box-shadow: 0 2px 5px rgba(74, 0, 18, 0.3) !important;
}

/* Mobile Floating Clearance (accounting for mobile bottom nav) */
@media (max-width: 768px) {
    #chat-widget-btn {
        bottom: 74px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
    #public-ai-btn {
        bottom: 136px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 21px !important;
    }
    .back-to-top {
        bottom: 198px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 18px !important;
    }
    .artisan-fab {
        bottom: 75px !important;
        right: 16px !important;
        padding: 10px 16px !important;
    }
}

/* ====================================================================
   EXPANDED FOOTER SYSTEM (Wide Container, 2-Column Categories, Balanced Newsletter)
   ==================================================================== */
.main-footer {
    padding-top: 0 !important;
    width: 100% !important;
}
.footer-top {
    padding: 24px 0 !important;
}
.footer-newsletter {
    gap: 20px !important;
}
.newsletter-content {
    gap: 15px !important;
}
.newsletter-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
    background: linear-gradient(180deg, #8E6E22 0%, #7A5E18 100%) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.newsletter-text h3 {
    font-size: 1.15rem !important;
    margin-bottom: 2px !important;
}
.newsletter-text p {
    font-size: 0.85rem !important;
}
.newsletter-input {
    padding: 11px 20px !important;
}
.newsletter-btn {
    padding: 11px 24px !important;
    background: linear-gradient(180deg, #5C0017 0%, #4A0012 100%) !important;
    border: 1.5px solid #C5A059 !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 140, 160, 0.4), 0 3px 0 #220008, 0 6px 14px rgba(74, 0, 18, 0.3) !important;
}

/* Footer Content Grid & Categories 2 Columns */
.footer-content {
    grid-template-columns: 1.8fr 1fr 1.8fr 1fr !important;
    gap: 30px !important;
}
.categories-links .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 6px !important;
}
.categories-links .footer-link-item {
    min-width: 0 !important;
}
.categories-links .footer-link {
    font-size: 0.88rem !important;
    padding: 5px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.categories-links .footer-link span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}
@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr !important;
    }
    .categories-links .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 16px !important;
    }
}


/* ====================================================================
   INTEGRATED CORE STYLES
   ==================================================================== */
﻿/* assets/css/style.css - Ø§ï¿½?ï¿½?Ø³Ø®Ø© Ø§ï¿½?ï¿½?ØµØ­Ø­Ø© */

:root {
    --primary: #0f172a;
    --secondary: #C5A059;
    --accent: #C5A059;
    --accent1: #C5A059;
    --accent2: #d97706;
    --accent3: #fbbf24;
    --dark: #1e293b;
    --dark2: #334155;
    --dark3: #020617;
    --light: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ø¥Ø¹Ø¯Ø§Ø¯Ø§Øª Ø£Ø³Ø§Ø³ÙŠØ© */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: linear-gradient(90deg, var(--accent1), var(--secondary));
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    overflow: visible;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.announcement-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-currency-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-select {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    font-family: inherit !important;
}
.top-bar-select:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(197, 160, 89, 0.7) !important;
}
.top-bar-select option {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.announcement-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.announcement-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== Main Header ===== */
.main-header {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #E2D9CB !important;
    box-shadow: 0 4px 20px rgba(74, 0, 18, 0.05) !important;
    position: fixed !important;
    top: var(--ya-bar-height, 50px) !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.main-header.sticky {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #C5A059 !important;
    box-shadow: 0 8px 30px rgba(74, 0, 18, 0.08) !important;
    padding: 8px 0 !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* ===== Logo ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent1);
    line-height: 1.2;
}

/* ===== Main Navigation ===== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--secondary));
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(217, 165, 38, 0.1);
}

.nav-icon {
    font-size: 1.1rem;
    color: var(--accent2);
    transition: var(--transition);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    color: var(--secondary);
    transform: scale(1.1);
}

/* ===== Dropdown Menus ===== */
.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent2);
}

/* ===== Header Actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent1);
}

.search-toggle:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent1));
    color: white;
    transform: translateY(-3px) scale(1.08);
    border-color: var(--secondary);
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.25);
}

.search-box {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-container:hover .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.search-btn {
    background: var(--accent2);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--dark2);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent1);
}

.user-toggle:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent1));
    color: white;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.25);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent2), var(--dark2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--primary);
}

.user-email {
    font-size: 0.8rem;
    color: var(--text-light);
}

.user-links {
    padding: 10px 0;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.user-link:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent2);
}

.user-link.logout {
    color: #e74c3c;
}

.user-link.logout:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Cart Menu */
.cart-menu {
    position: relative;
}

.cart-toggle {
    position: relative;
    color: var(--text);
    font-size: 1.3rem;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent1);
}

.cart-toggle:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent1));
    color: white;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.25);
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--accent1);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-menu:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h4 {
    margin: 0;
    color: var(--primary);
}

.cart-items-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(197, 160, 89, 0.05);
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--accent1);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.empty-cart {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
}

.empty-cart i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary);
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.view-cart-btn,
.checkout-btn {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.view-cart-btn {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.view-cart-btn:hover {
    background: var(--border);
}

.checkout-btn {
    background: var(--accent1);
    color: white;
}

.checkout-btn:hover {
    background: var(--secondary);
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--dark2));
    color: white;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-nav-menu {
    padding: 20px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent2);
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
}

/* ===== Overlay ===== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 50%, 
        rgba(2, 6, 23, 0.85) 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(197,160,89,0.03) 2px, rgba(197,160,89,0.03) 4px);
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    padding: 20px 0;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent1), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(199, 102, 56, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-family: 'Mirza', 'Scheherazade New', 'Traditional Arabic', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(45deg, var(--secondary), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--secondary), var(--light));
    border-radius: 2px;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
    font-family: 'Cairo', sans-serif;
}

.himyaritic-text {
    display: block;
    font-family: 'Segoe UI Historic', 'Arial', sans-serif;
    font-size: 1.8rem;
    color: var(--light);
    margin-top: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    border-right: 3px solid var(--secondary);
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent2), var(--dark2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--accent1), var(--secondary));
    color: white;
    box-shadow: 0 8px 25px rgba(217, 165, 38, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(217, 165, 38, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Cairo', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.hero-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, rgba(197,160,89,0.03) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    border: 3px solid var(--secondary);
}

.floating-element img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.element-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.element-2 {
    top: 50%;
    right: -30px;
    animation-delay: 2s;
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
}

.element-3 {
    bottom: 20%;
    left: -20px;
    animation-delay: 4s;
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.badge i {
    color: var(--secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--secondary);
    margin: 0 auto 10px;
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Home Page Layout ===== */
.home-page {
    background: var(--bg);
    min-height: 100vh;
}

.main-content-with-sidebar {
    padding: 20px 0 40px;
    background: var(--bg);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 0;
}

/* ===== Sidebar Styles ===== */
.sidebar {
    position: sticky;
    top: 120px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0;
    overflow: hidden;
}

.sidebar-widget {
    padding: 25px;
    border-bottom: 1px solid var(--border);
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--accent2);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.category-link:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent2);
    transform: translateX(-5px);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent2), var(--dark2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.category-link:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-name {
    flex: 1;
    font-weight: 500;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 12px;
}

.arrow-icon {
    color: var(--text-light);
    font-size: 0.8rem;
    transition: var(--transition);
}

.category-link:hover .arrow-icon {
    color: var(--accent2);
    transform: translateX(-3px);
}

.special-offers {
    margin-top: 15px;
}

.offer-banner {
    background: linear-gradient(135deg, var(--accent1), var(--secondary));
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.offer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.offer-banner h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.offer-banner p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.offer-link {
    display: inline-block;
    background: white;
    color: var(--accent1);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.offer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item-sidebar:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: translateX(-3px);
}

.contact-item-sidebar i {
    width: 40px;
    height: 40px;
    background: var(--accent2);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item-sidebar div {
    display: flex;
    flex-direction: column;
}

.contact-item-sidebar span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.contact-item-sidebar strong {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
}

/* ===== Main Content Styles ===== */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-title i {
    color: var(--accent2);
}

.view-all {
    color: var(--accent2);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--dark2);
    transform: translateX(-3px);
}

/* ===== Offers Section ===== */
.offers-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.offer-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.main-offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, var(--primary), var(--dark2));
    color: white;
}

.offer-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-offer .offer-badge {
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    align-self: flex-start;
}

.main-offer h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.main-offer p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.offer-code {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.copy-code {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.copy-code:hover {
    background: var(--light);
    transform: scale(1.05);
}

.offer-timer {
    margin-top: auto;
}

.timer-title {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    gap: 10px;
}

.time-unit {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 6px;
    min-width: 50px;
}

.time-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.time-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 2px;
}

.offer-image {
    position: relative;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offers-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-offer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent2), var(--dark2));
    color: white;
}

.side-offer .offer-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.side-offer h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.side-offer p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ===== Featured Products Section ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--secondary), var(--light));
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid #C5A059 !important; /* Soft Matte Gold Rim */
    background: #FFFFFF !important;
    color: #4A0012 !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.15) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
    text-decoration: none !important;
}

.action-btn.search-trigger i { color: var(--secondary) !important; }
.action-btn.cart-trigger i { color: var(--secondary) !important; }
.action-btn.user-trigger i { color: var(--accent1) !important; }
.action-btn .fa-heart { color: #e74c3c !important; }

.action-btn::before {
    content: '';
    position: absolute !important;
    inset: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12), transparent 60%) !important;
    opacity: 0 !important;
    transition: opacity 0.35s ease !important;
    pointer-events: none !important;
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent1)) !important;
    color: white !important;
    transform: translateY(-3px) scale(1.08) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.3) !important;
}

.action-btn:hover i {
    color: white !important;
}

.action-btn:hover .fa-heart {
    color: white !important;
}

.action-btn:hover::before {
    opacity: 1 !important;
}

.action-btn:active {
    transform: scale(0.96) !important;
}

.action-btn.search-trigger:hover { border-color: var(--secondary) !important; }
.action-btn.cart-trigger:hover { border-color: var(--secondary) !important; }
.action-btn.user-trigger:hover { border-color: var(--secondary) !important; }

.cart-badge, .wishlist-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: linear-gradient(135deg, var(--secondary), var(--accent1)) !important;
    color: var(--dark3) !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    min-width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 5px !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.3s ease !important;
}

.action-btn:hover .cart-badge,
.action-btn:hover .wishlist-badge {
    transform: scale(1.15) !important;
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4) !important;
}

.wishlist-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3) !important;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent1);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.category-tag {
    background: var(--bg);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.stock-status {
    font-size: 0.8rem;
    font-weight: 500;
}

.stock-status.in-stock {
    color: #C5A059;
}

.stock-status.out-of-stock {
    color: #e74c3c;
}

.product-actions-bottom {
    display: flex;
    gap: 10px;
}

.view-details-btn {
    flex: 1;
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.view-details-btn:hover {
    background: var(--accent2);
    color: white;
    transform: translateY(-2px);
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(45deg, var(--accent1), var(--secondary));
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 102, 56, 0.3);
}

.add-to-cart-btn:disabled {
    background: var(--border);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-products i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 20px;
    display: block;
}

.no-products h3 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.no-products p {
    color: var(--text-light);
    opacity: 0.8;
}

/* ===== Testimonials Section ===== */
.testimonials-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.testimonials-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent2);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin: 0 0 2px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonial-header .rating {
    display: flex;
    gap: 2px;
}

.testimonial-header .rating i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 15px 0;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent2);
    position: absolute;
    top: -15px;
    right: -5px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.product-mention {
    background: var(--bg);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonials-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent1);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 10px;
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.stat-stars i {
    color: var(--secondary);
    font-size: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent2);
}

/* ===== Footer Styles ===== */
.main-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    margin-top: 80px;
    position: relative;
}

.footer-top {
    background: linear-gradient(90deg, var(--accent1), var(--secondary));
    padding: 40px 0;
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.newsletter-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.newsletter-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: #000 !important; /* make typed email text black */
}

/* Ensure placeholder is readable (with vendor prefixes) */
.newsletter-input::placeholder,
.newsletter-input::-webkit-input-placeholder,
.newsletter-input:-ms-input-placeholder {
    color: #666 !important;
}

/* Autofill fix for Chrome */
.newsletter-input:-webkit-autofill,
.newsletter-input:-webkit-autofill::first-line {
    color: #000 !important;
    background: transparent !important;
}

.newsletter-btn {
    background: linear-gradient(45deg, var(--accent2), var(--dark2));
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

html[dir="ltr"] .footer-newsletter .input-group {
    flex-direction: row;
}
html[dir="ltr"] .footer-newsletter .newsletter-btn {
    border-radius: 0 50px 50px 0 !important;
}
html[dir="rtl"] .footer-newsletter .newsletter-btn {
    border-radius: 50px 0 0 50px !important;
}
html[dir="ltr"] .newsletter-btn:hover {
    transform: translateX(2px);
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, var(--dark2), var(--accent2));
    transform: translateX(-2px);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text .logo-main {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.footer-logo-text .logo-sub {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    line-height: 1.2;
}

.footer-description {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--secondary);
    transform: scale(1.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item {
    margin: 0;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: var(--secondary);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-link:hover::before {
    width: 8px;
    height: 8px;
}

.footer-link:hover .link-icon {
    color: var(--secondary);
    transform: scale(1.2);
}

.link-icon {
    font-size: 0.9rem;
    color: var(--light);
    transition: var(--transition);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.copyright {
    flex: 1;
}

.copyright p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.brand-name {
    color: var(--secondary);
    font-weight: 600;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social h4 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0.2;
    transition: var(--transition);
}

.social-link:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-link.youtube { background: #ff0000; }
.social-link.tiktok { background: #000000; }
.social-link.whatsapp { background: #25d366; }

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods h4 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent1), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-box {
        width: 250px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text {
        padding: 20px 0;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .image-container {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .announcement-content {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }
    
    .search-box {
        width: 200px;
    }
    
    .user-dropdown,
    .cart-dropdown {
        width: 280px;
    }
    
    .hero {
        padding: 60px 0 30px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 20px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .himyaritic-text {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .floating-element {
        width: 50px;
        height: 50px;
        display: none;
    }
    
    .trust-badges {
        gap: 10px;
    }
    
    .badge {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .main-content-with-sidebar {
        padding: 15px 0 30px;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .main-offer {
        grid-template-columns: 1fr;
    }
    
    .offers-side {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .side-offer {
        min-width: 200px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions-bottom {
        flex-direction: column;
    }
    
    .footer-top {
        padding: 30px 0;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-social,
    .payment-methods {
        flex-direction: column;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .newsletter-input {
        border-radius: 12px 12px 0 0;
    }
    
    .newsletter-btn {
        border-radius: 0 0 12px 12px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Strong, specific override to ensure newsletter typed text is black
   - targets footer newsletter with higher specificity to beat luxury-ui.css
   - covers focus, placeholder and Chrome autofill (-webkit-text-fill-color)
*/
.main-footer .footer-newsletter .newsletter-input,
.main-footer .footer-newsletter .newsletter-input:focus,
.main-footer .footer-newsletter .newsletter-input:-webkit-autofill,
.main-footer .footer-newsletter .newsletter-input:-webkit-autofill::first-line {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.main-footer .footer-newsletter .newsletter-input::placeholder {
    color: #666 !important;
    opacity: 1;
}

/* Selection (highlight) styling so selected text remains readable */
.main-footer .footer-newsletter .newsletter-input::selection,
.main-footer .footer-newsletter .newsletter-input::-moz-selection {
    background: #0b5e4a; /* dark accent */
    color: #fff;
}

/* For some browsers / input internals */
.main-footer .footer-newsletter .newsletter-input::-webkit-selection {
    background: #0b5e4a;
    color: #fff;
}


@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .search-box {
        width: 180px;
    }
    
    .user-dropdown,
    .cart-dropdown {
        width: 250px;
    }
    
    .mobile-nav {
        width: 280px;
    }
    
    .hero {
        padding: 50px 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .himyaritic-text {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .main-content-with-sidebar {
        padding: 10px 0 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-link {
        padding: 10px 12px;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .offer-content {
        padding: 20px;
    }
    
    .countdown {
        justify-content: center;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-top {
        padding: 25px 0;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-logo-text {
        align-items: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ØªØ­Ø³ï¿½?ï¿½?Ø§Øª Ø¥Ø¶Ø§ï¿½ï¿½?Ø© */
.fa-vase:before {
    content: "\f4c6";
}

img {
    max-width: 100%;
    height: auto;
}

.product-image {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.product-image img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image img.loaded {
    opacity: 1;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.product-image img.loaded + ::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.newsletter-success {
    animation: newsletterSuccess 0.6s ease;
    background: var(--accent2) !important;
}

@keyframes newsletterSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.newsletter-loading .newsletter-btn {
    position: relative;
    color: transparent;
}

.newsletter-loading .newsletter-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced animations */
.floating-element {
    animation: floatEnhanced 8s ease-in-out infinite;
}

@keyframes floatEnhanced {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-15px) rotate(2deg) scale(1.05);
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.1);
    }
    75% { 
        transform: translateY(-15px) rotate(-2deg) scale(1.05);
    }
}

.title-line.highlight {
    background: linear-gradient(
        45deg,
        var(--secondary),
        var(--light),
        var(--accent1),
        var(--secondary)
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS FIXES ===== */
@media (max-width: 991px) {
    .content-wrapper { grid-template-columns: 1fr !important; }
    .sidebar { display: none; }
    .main-nav { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    .hero-content { grid-template-columns: 1fr !important; text-align: center; }
    .hero-text { order: 2; padding: 20px !important; }
    .hero-visual { order: 1; }
    .hero-title { font-size: 2.2rem !important; }
    .hero-stats { justify-content: center !important; }
    .trust-badges { justify-content: center !important; }
}

@media (max-width: 768px) {
    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px !important;
    }
    .product-card { margin-bottom: 10px; }
    .product-title { font-size: 1rem !important; }
    .product-price { font-size: 1.1rem !important; }
    .product-actions-bottom { flex-direction: column; gap: 5px; }
    .add-to-cart-btn, .buy-now-btn { padding: 8px !important; font-size: 0.9rem !important; }
    
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .search-box {
        order: 3;
        width: 100% !important;
        margin-top: 15px;
    }
    
    .footer-content { grid-template-columns: 1fr !important; }
    .newsletter-input-group { flex-direction: column; }
    .newsletter-btn { border-radius: 8px !important; margin-top: 10px; }
}

@media (max-width: 480px) {
    .products-grid { 
        grid-template-columns: 1fr !important; 
    }
    .hero-title { font-size: 1.8rem !important; }
    .hero { padding: 40px 0 !important; }
    .header-actions { gap: 10px !important; }
    .cart-dropdown, .user-dropdown { width: 300px !important; right: -50px !important; }
}

/* Mobile Nav Drawer Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #0f172a;
    color: #f8fafc;
    z-index: 999999;
    box-shadow: -10px 0 35px rgba(0,0,0,0.6);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}
html[dir="ltr"] .mobile-nav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}
.mobile-nav.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary, #C5A059);
    cursor: pointer;
    display: none;
}
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .main-nav {
        display: none !important;
    }
}



/* ====================================================================
   LUXURY UI ENHANCEMENTS
   ==================================================================== */
/* 
=========================================================
   YEMEN ART - LUXURY UI / UX OVERHAUL (100% IMPROVED)
   A deeply rich, premium, and sophisticated aesthetic.
========================================================= 
*/


:root {
    /* Luxury Color Palette - Deep Burgundy / Matte Gold / Ultra-Light Beige */
    --lux-gold: #C5A059;
    --lux-gold-light: #F3E5AB;
    --lux-gold-dark: #AA8000;
    
    --lux-emerald: #4A0012; /* Deep Burgundy */
    --lux-emerald-light: #C5A059;
    
    --lux-night: #0B0F19; /* Very dark rich blue/slate */
    --lux-night-light: #1E293B;
    
    --lux-stone: #FAFAFA;
    --lux-stone-dark: #E5E7EB;
    
    --text-main: #111827;
    --text-muted: #6B7280;
    
    /* Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    --shadow-lux: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(74, 0, 18, 0.15);
    
    /* Transitions */
    --trans-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: all 0.3s ease;
}

/* Base Overrides for Premium Feel */
body {
    background-color: var(--lux-stone);
    font-family: 'Cairo', 'Outfit', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Custom Elegant Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--lux-stone); }
::-webkit-scrollbar-thumb { background: var(--lux-gold-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--lux-gold); }

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--lux-night);
}

/* =========================================================
   GLASSMORPHISM & UTILITIES
========================================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
}

/* =========================================================
   HEADER OVERHAUL
========================================================= */
.main-header {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #E2D9CB !important;
    box-shadow: 0 4px 20px rgba(74, 0, 18, 0.05) !important;
    position: fixed !important;
    top: var(--ya-bar-height, 50px) !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.main-header.sticky {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #C5A059 !important;
    box-shadow: 0 8px 30px rgba(74, 0, 18, 0.08) !important;
    padding: 8px 0 !important;
}

.logo-main {
    background: linear-gradient(to right, var(--lux-emerald), var(--lux-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900 !important;
    letter-spacing: 1px;
}

/* Modern Nav Links */
.nav-link {
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    padding: 10px 18px !important;
    border-radius: 30px !important;
}
.nav-link:hover, .nav-link.active {
    background: var(--lux-emerald) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(74, 0, 18, 0.3) !important;
}
.nav-link:hover .nav-icon, .nav-link.active .nav-icon {
    color: var(--lux-gold-light) !important;
}

/* Header Actions */
.search-toggle, .user-toggle, .cart-toggle {
    background: var(--lux-stone-dark) !important;
    color: var(--lux-night) !important;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    transition: var(--trans-smooth) !important;
}
.search-toggle:hover, .user-toggle:hover, .cart-toggle:hover {
    background: var(--lux-emerald) !important;
    color: white !important;
    transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(74, 0, 18, 0.2) !important;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn-lux {
    background: linear-gradient(135deg, #4A0012 0%, #5C0017 100%);
    color: white !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--trans-smooth);
    border: none;
    box-shadow: 0 10px 25px rgba(74, 0, 18, 0.3);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.btn-lux::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--lux-gold-dark) 0%, var(--lux-gold) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.btn-lux:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}
.btn-lux:hover::before {
    opacity: 1;
}

.btn-lux-outline {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--trans-smooth);
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}
.btn-lux-outline:hover {
    background: #fff;
    color: var(--lux-night) !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* =========================================================
   HERO SECTION (Index)
========================================================= */
.hero-premium {
    position: relative;
    min-height: 85vh;
    padding: 100px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0f19;
    background-image: url('../img/hiro.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    width: 100%;
}

.hero-premium::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.82) 0%, rgba(45, 35, 15, 0.72) 45%, rgba(197, 160, 89, 0.58) 100%) !important;
    z-index: 1 !important;
}
.hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.82) 0%, rgba(45, 35, 15, 0.72) 45%, rgba(197, 160, 89, 0.58) 100%) !important;
    z-index: 1;
}
.hero-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: clamp(30px, 6vw, 70px) clamp(20px, 5vw, 50px);
    text-align: center;
    max-width: 950px;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: translateY(40px);
    opacity: 0;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}
.hero-badge-modern {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: var(--lux-gold-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}
.hero-title-modern {
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--lux-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.hero-desc-modern {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 35px;
    font-weight: 400;
}
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================================
   FEATURES BAND (Index)
========================================================= */
.features-band {
    background: #fff;
    padding: 50px 0;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 5;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
}
.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}
.feat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--trans-smooth);
}
.feat-item:hover { transform: translateY(-8px); }
.feat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(74, 0, 18, 0.1), rgba(197, 160, 89, 0.1));
    color: var(--lux-emerald);
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    font-size: 1.6rem;
    box-shadow: inset 0 0 0 1px rgba(74, 0, 18, 0.2);
}
.feat-text h4 { margin: 0 0 5px; font-size: 1.1rem; font-weight: 800; color: var(--lux-night); }
.feat-text p { margin: 0; font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* =========================================================
   SECTION HEADERS
========================================================= */
.section-premium-hdr {
    text-align: center;
    margin: 100px 0 60px;
}
.section-premium-hdr h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--lux-night);
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}
.section-premium-hdr h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(to right, var(--lux-emerald), var(--lux-gold));
    border-radius: 4px;
}
.section-premium-hdr p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 600;
}

/* =========================================================
   CARDS & GRIDS (Used in Index & Shop)
========================================================= */
.prod-premium-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    max-width: 1400px !important;
    margin: 0 auto 50px !important;
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 550px) {
    .prod-premium-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
}

.lux-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lux);
    transition: var(--trans-smooth);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}
.lux-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(74, 0, 18, 0.15);
}

.lux-card-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
}
.lux-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.lux-card:hover .lux-card-img-wrap img {
    transform: scale(1.12);
}

/* Hover & Click Actions inside Card */
.lux-card-img-wrap {
    cursor: pointer;
}
.lux-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}
.lux-card:hover .lux-hover-overlay,
.lux-card:focus-within .lux-hover-overlay,
.lux-card.show-actions .lux-hover-overlay,
.lux-card.active .lux-hover-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (hover: none), (pointer: coarse) {
    .lux-hover-overlay {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(11, 15, 25, 0.55);
        backdrop-filter: blur(4px);
        align-items: center;
        padding-bottom: 0;
    }
    .lux-card.show-actions .lux-hover-overlay,
    .lux-card.active .lux-hover-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .lux-card.show-actions .lux-action-btn,
    .lux-card.active .lux-action-btn {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
    }
}
.lux-action-btn {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--lux-night, #0F172A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transform: translateY(12px) scale(0.9);
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.lux-action-btn:hover {
    background: var(--lux-emerald, #C5A059);
    color: white !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
}
.lux-card:hover .lux-action-btn,
.lux-card:focus-within .lux-action-btn,
.lux-card.show-actions .lux-action-btn,
.lux-card.active .lux-action-btn {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.lux-action-btn:nth-child(2) { transition-delay: 0.05s; }
.lux-action-btn:nth-child(3) { transition-delay: 0.1s; }
.lux-action-btn:nth-child(4) { transition-delay: 0.15s; }
.lux-action-btn:nth-child(3) { transition-delay: 0.12s; }
.lux-action-btn:nth-child(4) { transition-delay: 0.16s; }
.lux-action-btn:nth-child(5) { transition-delay: 0.2s; }
a.lux-action-btn { text-decoration: none; }

/* Quick View Modal */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.78);
    backdrop-filter: blur(8px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}
.qv-overlay.active {
    display: flex;
    opacity: 1;
}
.qv-overlay.fade-in {
    opacity: 1;
}
body.qv-open {
    overflow: hidden;
    touch-action: none;
}
.qv-overlay > div {
    position: relative;
    max-width: 820px;
    width: 100%;
    margin: auto;
}
.qv-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: min(90vh, 720px);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: qvIn 0.35s ease;
}
@keyframes qvIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
.qv-img { width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; }
.qv-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}
.qv-body .btn-lux-outline {
    color: var(--lux-night) !important;
    background: #fff;
    border-color: rgba(74, 0, 18, 0.25);
}
.qv-body .btn-lux-outline:hover {
    background: var(--lux-emerald);
    color: #fff !important;
    border-color: var(--lux-emerald);
}
.qv-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 3;
}
@media (max-width: 768px) {
    .qv-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .qv-overlay > div {
        max-width: 100%;
    }
    .qv-modal {
        grid-template-columns: 1fr;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        animation: qvSlideUp 0.35s ease;
    }
    @keyframes qvSlideUp {
        from { opacity: 0; transform: translateY(100%); }
        to { opacity: 1; transform: translateY(0); }
    }
    .qv-img { min-height: 200px; max-height: 240px; }
    .qv-close { top: 12px; left: 12px; }
}
.lux-hover-overlay form {
    margin: 0;
    display: flex;
}

.prod-badges { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.lux-badge {
    background: #fff;
    color: var(--lux-night);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
}
.lux-badge.gold {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: var(--lux-night);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4);
    border-color: rgba(197, 160, 89, 0.4);
}
.lux-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.lux-card-content {
    padding: 30px 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    transition: background 0.4s ease;
}
.lux-card:hover .lux-card-content {
    background: rgba(255, 255, 255, 0.95);
}
.prod-cat-text {
    color: var(--lux-gold-dark);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
    position: relative;
}
.prod-cat-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--lux-gold), var(--lux-gold-dark));
}
.lux-card-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--lux-night);
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    position: relative;
}
.lux-card-title:hover {
    color: var(--lux-emerald);
}
.prod-price-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}
.lux-card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--lux-emerald);
    position: relative;
}
.lux-card-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
    opacity: 0.6;
}
.old-price-text {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 600;
}
.rating-lux {
    color: var(--lux-gold);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* =========================================================
   CTA BANNER (Index)
========================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--lux-night) 0%, #172554 100%);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    margin: 60px 0 100px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.cta-banner::after {
    content: 'يمن آرت';
    position: absolute;
    font-family: inherit;
    font-size: 350px;
    color: rgba(255,255,255,0.03);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
}

/* =========================================================
   FOOTER LUXURY OVERHAUL
========================================================= */
.main-footer {
    background: var(--lux-night) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(74, 0, 18, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.footer-title {
    color: white !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px !important;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0; width: 50px; height: 3px;
    background: linear-gradient(to right, var(--lux-gold), transparent);
    border-radius: 2px;
}
.footer-link {
    color: rgba(255,255,255,0.6) !important;
    transition: var(--trans-smooth) !important;
    font-size: 1.05rem;
    display: inline-block;
    padding: 5px 0;
}
.footer-link:hover {
    color: var(--lux-gold-light) !important;
    transform: translateX(-10px);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 25px 0 !important;
}

/* Newsletter Input */
.newsletter-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important;
    border-radius: 50px 0 0 50px !important;
    padding: 18px 30px !important;
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
}
.newsletter-btn {
    background: linear-gradient(135deg, var(--lux-emerald) 0%, #5C0017 100%) !important;
    border-radius: 0 50px 50px 0 !important;
    padding: 18px 35px !important;
    font-weight: 800 !important;
    font-size: 1.05rem;
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 0, 18, 0.3);
}
.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--lux-gold-dark) 0%, var(--lux-gold) 100%) !important;
}

/* Social Links Override */
.social-link {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--trans-smooth) !important;
}
.social-link:hover {
    background: var(--lux-emerald) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(74, 0, 18, 0.4) !important;
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}
@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 768px) {
    .hero-title-modern { font-size: 3rem; }
    .hero-glass-card { padding: 40px 25px; }
    .hero-btns { flex-direction: column; }
    .section-premium-hdr h2 { font-size: 2.2rem; }
}

/* =========================================================
   NEW SECTIONS: CATEGORIES, STORY, ARTISANS
========================================================= */

/* Promo Carousel Section */
.offers-banners-section {
    padding: 40px 0 30px;
}
.promo-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.promo-slides {
    position: relative;
    height: 550px;
    border-radius: 24px;
    overflow: hidden;
}
.promo-slide {
    display: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.promo-slide.active {
    display: block;
    opacity: 1;
}
.promo-img {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 0, 18,0.25), rgba(197,160,89,0.1));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.promo-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(74, 0, 18,0.6), rgba(74, 0, 18,0.2));
}
.promo-img::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: radial-gradient(circle at 30% 40%, rgba(197,160,89,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 70% 60%, rgba(74, 0, 18,0.3) 0%, transparent 50%);
    pointer-events: none;
}
.promo-img-1 { background: linear-gradient(135deg, #4A0012, #5C0017); }
.promo-img-2 { background: linear-gradient(135deg, #C5A059, #FFD700); }
.promo-img-3 { background: linear-gradient(135deg, #4A0012, #C5A059); }
.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(74, 0, 18,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 40px 60px;
    color: #fff;
}
.promo-top-info {
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.promo-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
}
.promo-type-special {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: var(--lux-night);
    box-shadow: 0 5px 15px rgba(197,160,89,0.3);
}
.promo-type-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}
.promo-type-coupon {
    background: linear-gradient(135deg, #C5A059, #A68238);
    color: #fff;
    box-shadow: 0 5px 15px rgba(197, 160, 89,0.3);
}
.promo-badge {
    font-weight: 900;
    font-size: 1.25rem;
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}
.promo-badge.gold {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: var(--lux-night);
    box-shadow: 0 5px 15px rgba(197,160,89,0.4);
}
.promo-badge.red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}
.promo-badge.gold, .promo-badge.green {
    background: linear-gradient(135deg, #C5A059, #A68238);
    color: #fff;
    box-shadow: 0 5px 15px rgba(197, 160, 89,0.4);
}
.promo-duration, .promo-store, .promo-desc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}
.promo-duration { font-weight: 600; color: var(--lux-gold-light); }
.promo-store { opacity: 0.9; }
.promo-store-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lux-gold-light);
    margin: 6px 0;
}
.promo-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-top: 12px;
    max-width: 80%;
}
.promo-btn {
    align-self: flex-start;
    margin-top: 16px;
}

/* Carousel Navigation */
.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: var(--lux-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.promo-nav:hover {
    background: var(--lux-gold);
    color: var(--lux-night);
    transform: translateY(-50%) scale(1.1);
}
.promo-prev { left: 16px; }
.promo-next { right: 16px; }

/* Carousel Dots */
.promo-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.promo-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}
.promo-dot.active, .promo-dot:hover {
    background: var(--lux-gold);
    width: 32px;
    color: var(--lux-night);
}

/* RTL Support */
[dir="rtl"] .promo-nav {
    /* swap chevron icons handled via fa-rotate */
}
[dir="rtl"] .promo-btn i.fa-arrow-left {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .promo-overlay {
        padding: 90px 30px 50px;
    }
    .promo-top-info {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    .promo-desc {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .promo-slides {
        height: 420px;
    }
    .promo-overlay {
        padding: 70px 20px 90px;
    }
    .promo-top-info {
        top: 16px;
        left: 12px;
        right: 12px;
    }
    .promo-type { padding: 6px 14px; font-size: 0.75rem; }
    .promo-badge { font-size: 1rem; padding: 6px 16px; }
    .promo-desc, .promo-duration, .promo-store { font-size: 0.9rem; }
    .promo-duration, .promo-store, .promo-desc, .promo-btn {
        margin: 4px 0;
    }
    .promo-nav { width: 36px; height: 36px; }
}

/* Dark Mode */
@media (max-width: 768px) {
    [dir="rtl"] .promo-carousel {
        padding: 0 10px;
    }
}

/* Promo Carousel View All Button */
.promo-view-all {
    text-align: center;
    margin-top: 36px;
    position: relative;
    z-index: 5;
}
.btn-promo-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 40px;
    font-size: 1.08rem;
    font-weight: 800;
    border-radius: 50px;
    background: linear-gradient(135deg, #4A0012 0%, #2A000A 100%);
    color: #ffffff !important;
    border: 2px solid #C5A059;
    box-shadow: 0 10px 30px rgba(74, 0, 18, 0.35), 0 0 15px rgba(197, 160, 89, 0.2);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}
.btn-promo-view::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #C5A059 0%, #E5C365 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}
.btn-promo-view > * {
    position: relative;
    z-index: 1;
}
.btn-promo-view:hover {
    transform: translateY(-4px) scale(1.02);
    color: #4A0012 !important;
    border-color: #E5C365;
    box-shadow: 0 16px 35px rgba(197, 160, 89, 0.45);
}
.btn-promo-view:hover::before {
    opacity: 1;
}
.btn-promo-view:hover i.fa-bolt {
    color: #4A0012 !important;
}
.btn-promo-view i.fa-arrow-left {
    transition: transform 0.3s ease;
}
.btn-promo-view:hover i.fa-arrow-left {
    transform: translateX(-5px);
}
@media (max-width: 768px) {
    .promo-view-all {
        margin-top: 24px;
    }
    .btn-promo-view {
        padding: 12px 28px;
        font-size: 0.98rem;
        width: calc(100% - 40px);
        max-width: 380px;
    }
}

/* Categories Carousel */
.home-categories { padding: 60px 0 40px; background: #fff; }
.cat-carousel-container { max-width: 1400px; margin: 0 auto; overflow: hidden; padding: 20px; }
.cat-view-all { text-align: center; margin-top: 30px; }
.btn-cat-view { display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px; font-size: 1rem; }
.cat-carousel {
    display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
/* Image-based Category Cards â€” Premium Luxury Edition */
.cat-carousel { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding: 24px; }
.cat-card-img {
    flex: 0 0 280px; height: 360px; position: relative; border-radius: 28px; overflow: hidden;
    text-decoration: none; color: #fff; scroll-snap-align: start;
    box-shadow: 0 15px 35px rgba(15,10,5,0.18), 0 5px 15px rgba(15,10,5,0.1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d; perspective: 1000px;
    border: 1px solid rgba(197, 160, 89, 0.12);
}
.cat-card-img:hover {
    transform: translateY(-12px) scale(1.03) rotateX(3deg);
    box-shadow: 0 30px 60px rgba(74, 0, 18,0.28), 0 15px 30px rgba(15,10,5,0.15);
    border-color: rgba(197, 160, 89, 0.3);
}
.cat-card-img-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.cat-card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.85) saturate(1.1);
}
.cat-card-placeholder {
    position: absolute; inset: 0; display: none;
    background: linear-gradient(135deg, #4A0012 0%, #5C0017 50%, #C5A059 100%);
    align-items: center; justify-content: center; font-size: 5rem; color: rgba(197,160,89,0.25);
    z-index: 1;
}
.cat-card-img:hover img { transform: scale(1.12); filter: brightness(0.95) saturate(1.2); }
.cat-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,10,5,0) 25%, rgba(15,10,5,0.55) 60%, rgba(15,10,5,0.92) 100%);
    display: flex; align-items: flex-end; padding: 28px;
    transition: background 0.5s ease;
}
.cat-card-img:hover .cat-card-overlay {
    background: linear-gradient(180deg, rgba(15,10,5,0) 15%, rgba(15,10,5,0.45) 50%, rgba(15,10,5,0.88) 100%);
}
.cat-card-content { position: relative; z-index: 2; width: 100%; transform: translateY(0); transition: transform 0.4s ease; }
.cat-card-img:hover .cat-card-content { transform: translateY(-4px); }
.cat-card-content h3 {
    font-size: 1.45rem; font-weight: 900; margin: 0 0 14px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4); line-height: 1.35;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cat-card-count {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, rgba(197,160,89,0.95) 0%, rgba(197,160,89,0.95) 100%);
    color: #4A0012; padding: 10px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 800;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(8px); position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}
.cat-card-count::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transition: left 0.6s ease;
}
.cat-card-img:hover .cat-card-count::before { left: 100%; }
.cat-card-count i { font-size: 0.95rem; position: relative; z-index: 1; }
.cat-card-count span { position: relative; z-index: 1; }
.cat-card-shine {
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    transform: skewX(-20deg); pointer-events: none; transition: left 0.8s ease;
}
.cat-card-img:hover .cat-card-shine { left: 150%; }
.cat-card-gold-accent {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--lux-gold) 0%, var(--lux-gold-dark) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #4A0012;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
    opacity: 0.9; transition: all 0.3s ease;
    z-index: 2;
}
.cat-card-img:hover .cat-card-gold-accent {
    transform: scale(1.15) rotate(10deg);
    opacity: 1;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.5);
}
.cat-carousel::-webkit-scrollbar { height: 6px; }
.cat-carousel::-webkit-scrollbar-thumb { background: var(--lux-gold); border-radius: 10px; }
.cat-carousel::-webkit-scrollbar-track { background: rgba(197, 160, 89, 0.05); }
.heritage-story {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--lux-night);
    color: #fff;
    margin: 80px 0;
    border-radius: 24px;
    overflow: hidden;
}
.story-content {
    flex: 1 1 350px;
    padding: clamp(35px, 6vw, 80px) clamp(20px, 5vw, 60px);
    box-sizing: border-box;
}
.story-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--lux-gold-light);
    margin-bottom: 25px;
    line-height: 1.25;
}
.story-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}
.story-image {
    flex: 1 1 350px;
    min-height: 380px;
    height: 100%;
    background-color: #1a1528;
    background-image: url('../img/artisan_candles_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}
.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, var(--lux-night) 0%, transparent 60%);
}

/* Top Artisans Section */
.top-artisans-section { padding: 80px 5%; background: var(--lux-stone); }
.artisans-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; max-width: 1400px; margin: 0 auto;
}
.artisan-card {
    background: #fff; border-radius: 20px; padding: 30px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: var(--shadow-glass);
    transition: var(--trans-smooth);
    border: 1px solid transparent;
}
.artisan-card:hover {
    transform: translateY(-5px);
    border-color: var(--lux-gold);
    box-shadow: var(--shadow-lux);
}
.art-avatar {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--lux-emerald), #5C0017);
    color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(74, 0, 18,0.3);
}
.art-info h4 { margin: 0 0 5px 0; font-size: 1.2rem; }
.art-rating { color: var(--lux-gold-dark); font-weight: 700; font-size: 0.95rem; }

/* =========================================================
   MOBILE BOTTOM NAVIGATION & APP-LIKE RESPONSIVENESS
========================================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.mobile-bottom-nav .nav-item {
    display: flex; flex-direction: column; align-items: center;
    color: #888;
    text-decoration: none; font-size: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    padding: 5px 0;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem; margin-bottom: 5px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary, #C5A059);
}

.mobile-bottom-nav .badge {
    position: absolute; top: -2px; right: calc(50% - 20px);
    background: #e74c3c; color: #fff;
    font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

/* =========================================================
   ROBUST MOBILE, TABLET & LAPTOP MEDIA QUERIES
========================================================= */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding-left: 24px; padding-right: 24px; }
    .hero-premium { min-height: 75vh; }
}

@media (max-width: 992px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .hero-premium { min-height: 70vh; padding: 90px 16px 50px; }
    .heritage-story { flex-direction: column; }
    .story-content { width: 100%; padding: 40px 24px; }
    .story-image { width: 100%; min-height: 320px; height: 320px; }
    .features-band { border-radius: 20px 20px 0 0; }
    .cat-carousel { gap: 15px; }
    .cat-card-img { flex: 0 0 220px; height: 300px; border-radius: 24px; }
    .cat-card-content h3 { font-size: 1.25rem; }
    .cat-card-count { font-size: 0.8rem; padding: 7px 14px; }
}

@media(max-width: 768px) {
    /* Enable bottom nav and add padding */
    .mobile-bottom-nav { display: flex !important; }
    body { padding-bottom: 80px; overflow-x: hidden; }
    .main-footer { padding-bottom: 100px; }

    /* Fix header height and padding */
    .top-bar { display: none; /* Hide top bar on mobile */ }
    .main-header { padding: 10px 0; }
    .nav-actions { gap: 8px !important; }
    .mobile-menu-toggle { display: flex !important; }

    /* Hide desktop nav on mobile */
    .main-nav {
        display: none !important;
    }

    /* Product Grids to 2 columns on tablet, 1 column on small phones */
    .products-grid, .art-grid, .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .cat-card-img { flex: 0 0 160px; height: 240px; border-radius: 20px; }
    .cat-card-content h3 { font-size: 1.05rem; margin-bottom: 10px; }
    .cat-card-count { font-size: 0.72rem; padding: 6px 12px; gap: 6px; }

    /* Hero section font sizing */
    .hero-glass-card { padding: 35px 20px; border-radius: 20px; }
    .hero-title-modern { font-size: 2.2rem !important; line-height: 1.3 !important; }
    .hero-subtitle-modern, .hero-desc-modern { font-size: 1rem !important; margin-bottom: 25px; }
    .hero-btns { flex-direction: column; width: 100%; gap: 12px; }
    .hero-btns .btn-lux, .hero-btns .btn-lux-outline { width: 100%; text-align: center; }

    /* Enlarge touch targets */
    .btn, .btn-lux, .btn-lux-outline, select, input {
        min-height: 44px;
    }
}

@media(max-width: 480px) {
    /* Product Grids to 1 column on small phones */
    .products-grid, .art-grid, .categories-grid {
        grid-template-columns: 1fr !important;
    }

    /* Category cards on very small screens */
    .cat-card-img { flex: 0 0 150px; height: 220px; border-radius: 18px; }
    .cat-card-content h3 { font-size: 1rem; margin-bottom: 8px; }
    .cat-card-count { font-size: 0.7rem; padding: 5px 10px; gap: 4px; }
    .cat-card-overlay { padding: 18px; }

    /* Adjust paddings */
    .section-padding { padding: 40px 0; }
    .container { padding-left: 15px; padding-right: 15px; }

    /* Optimize product cards for full width */
    .lux-card { margin-bottom: 15px; }
    .lux-card-img-wrap { height: 250px; }
    
    /* Disable zoom on form inputs for iOS */
    input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
        font-size: 16px !important;
    }
}


.lux-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; max-height: 2.8em; }

/* ========================================================
   Hero Promo Carousel - Ultra-Luxury Split Showcase Layout
   ======================================================== */
.promo-slides {
    position: relative;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(197, 160, 89, 0.4);
}

.promo-slide {
    display: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    overflow: hidden;
}

.promo-slide.active {
    display: block !important;
    opacity: 1 !important;
}

.promo-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65) saturate(1.15);
    transition: transform 8s ease-out;
}

.promo-slide.active .promo-slide-bg {
    transform: scale(1.05);
}

.promo-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(285deg, rgba(22, 11, 5, 0.94) 0%, rgba(38, 19, 10, 0.78) 50%, rgba(20, 10, 5, 0.55) 100%);
    pointer-events: none;
}

.promo-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px;
    padding: 40px 60px !important;
    color: #fff;
    box-sizing: border-box;
    direction: rtl;
    background: none !important;
}

/* Right Content Column */
.promo-content-col {
    flex: 1.25;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.promo-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.promo-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
}

.promo-type-special {
    background: linear-gradient(135deg, #C5A059, #C5A059);
    color: #1A2128;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

.promo-type-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.promo-type-coupon {
    background: linear-gradient(135deg, #C5A059, #A68238);
    color: #fff;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

.promo-duration-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    color: #f7e7ce;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
}

.promo-headline {
    margin: 0 0 12px;
    font-size: 2.15rem;
    font-weight: 800;
    font-family: 'Amiri', serif;
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.promo-body-text {
    margin: 0 0 18px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #f0e2d0;
    max-width: 580px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.promo-artisan-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 18px;
    border-radius: 40px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.promo-artisan-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #C5A059;
    background: #fff;
}

.promo-artisan-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.promo-artisan-rating {
    color: #f59e0b;
    font-size: 0.84rem;
    margin-right: 6px;
}

.promo-actions-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.promo-btn-primary {
    background: linear-gradient(135deg, #C5A059, #C5A059);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
    transition: all 0.25s ease;
}

.promo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.6);
    color: #fff !important;
}

.promo-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.promo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

/* Left Showcase Column (Floating Product Visual) */
.promo-showcase-col {
    flex: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.promo-showcase-card {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: promoFloat 5s ease-in-out infinite;
}

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

.promo-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.promo-showcase-badge {
    position: absolute;
    top: -12px;
    left: -12px;
    background: linear-gradient(135deg, #C5A059, #C5A059);
    color: #1A2128;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    border: 2px solid #fff;
}

.promo-showcase-tag {
    position: absolute;
    bottom: -14px;
    right: 20px;
    background: #1A2128;
    color: #ebd49f;
    border: 1px solid #C5A059;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .promo-slides {
        height: auto;
        min-height: 560px;
    }
    .promo-overlay {
        flex-direction: column !important;
        padding: 40px 25px !important;
        text-align: center;
    }
    .promo-content-col {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .promo-headline {
        font-size: 1.7rem;
    }
    .promo-actions-row {
        justify-content: center;
    }
    .promo-showcase-card {
        width: 250px;
        height: 250px;
        margin-top: 15px;
    }
}


/* ============================================================
   Social Comments Modal & Drawer (Instagram & Facebook Style)
   ============================================================ */
.social-comments-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    padding: 20px;
}
.social-comments-overlay.active {
    display: flex;
}
.social-comments-modal {
    background: #ffffff;
    width: 100%;
    max-width: 560px;
    height: 85vh;
    max-height: 680px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: scmSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.06);
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}
@keyframes scmSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.scm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #F1F5F9;
    background: #ffffff;
    flex-shrink: 0;
}
.scm-prod-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.scm-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}
.scm-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--lux-night, #0F172A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}
.scm-count {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.scm-close-btn {
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: all 0.2s;
}
.scm-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.scm-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #FAFBFD;
}
.scm-loading {
    text-align: center;
    padding: 50px 20px;
    color: #64748B;
    font-weight: 700;
}
.scm-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94A3B8;
}
.scm-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
    color: #CBD5E1;
}

/* Comment Item */
.sc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}
.sc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #E2E8F0;
    flex-shrink: 0;
}
.sc-content {
    flex: 1;
}
.sc-bubble {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.sc-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.sc-author-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0F172A;
}
.sc-badge {
    font-size: 0.72rem;
    background: rgba(197, 160, 89, 0.12);
    color: #C5A059;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    margin-right: 6px;
}
.sc-text {
    margin: 0;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    word-break: break-word;
}

.sc-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 10px 0;
    font-size: 0.8rem;
    color: #94A3B8;
}
.sc-time {
    color: #94A3B8;
}
.sc-like-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}
.sc-like-btn:hover {
    color: #EF4444;
}
.sc-like-btn.liked {
    color: #EF4444;
    font-weight: 800;
}
.sc-like-btn.liked i {
    animation: heartBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes heartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.sc-reply-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.sc-reply-btn:hover {
    color: #2563EB;
}

/* Replies Thread */
.sc-replies {
    margin-right: 24px;
    margin-top: 10px;
    padding-right: 14px;
    border-right: 2.5px solid #CBD5E1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sc-replies .sc-avatar {
    width: 32px;
    height: 32px;
}
.sc-replies .sc-bubble {
    background: #F8FAFC;
    padding: 10px 14px;
}

/* Reply Banner */
.scm-reply-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    background: #EFF6FF;
    border-top: 1px solid #DBEAFE;
    font-size: 0.82rem;
    color: #1E40AF;
    font-weight: 700;
}
.scm-cancel-reply {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-weight: 800;
    font-family: inherit;
}

/* Footer / Input Bar */
.scm-footer {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #F1F5F9;
    flex-shrink: 0;
}
.scm-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.scm-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #E2E8F0;
    flex-shrink: 0;
}
.scm-input-wrap {
    flex: 1;
    background: #F1F5F9;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1.5px solid transparent;
    transition: all 0.2s;
}
.scm-input-wrap:focus-within {
    background: #ffffff;
    border-color: #C5A059;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}
#scm-comment-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.92rem;
    color: #0F172A;
    outline: none;
    resize: none;
    max-height: 90px;
}
.scm-guest-name-input {
    width: 100%;
    border: none;
    border-top: 1px dashed #CBD5E1;
    padding-top: 4px;
    background: transparent;
    font-family: inherit;
    font-size: 0.8rem;
    color: #64748B;
    outline: none;
}
.scm-send-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #C5A059, #C5A059);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}
.scm-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}
.scm-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .social-comments-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .social-comments-modal {
        max-width: 100%;
        height: 90vh;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
    }
}


/* ====================================================================
   YEMEN HERITAGE SIGNATURE
   ==================================================================== */
/**
 * YemenArt Signature Visual Layer
 * هوية بصرية يمنية فريدة — CSS فقط، بدون JS، محسّنة للأداء
 * GPU: transform / opacity فقط في الحركات
 */

:root {
    --ya-pattern-gold: rgba(197, 160, 89, 0.12);
    --ya-pattern-emerald: rgba(74, 0, 18, 0.06);
    --ya-glow-gold: 0 0 40px rgba(197, 160, 89, 0.25);
    --ya-glow-emerald: 0 0 50px rgba(74, 0, 18, 0.2);
    --ya-corner-size: 28px;
}

/* ===== خلفية زخرفية خفيفة (بدون صور) ===== */
.ya-theme {
    background-color: var(--ya-ice-silver, #F9F6F0);
    position: relative;
    isolation: isolate;
}

.ya-theme::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: var(--ya-ice-silver, #F9F6F0);
    background-image: 
        radial-gradient(ellipse 85% 55% at 50% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 75% 65% at 50% 100%, rgba(197, 160, 89, 0.08) 0%, transparent 65%),
        url('../img/musnad-pattern.svg');
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 100% 100%, 100% 100%, 460px 460px;
    background-position: center top, center bottom, center top;
    opacity: 1;
}

::selection {
    background: rgba(197, 160, 89, 0.35);
    color: var(--lux-night, #0b0f19);
}

/* ===== شريط الإعلان — لمعان ذهبي ===== */
.announcement-bar {
    background: linear-gradient(90deg, #4A0012 0%, #5C0017 40%, #4A0012 70%, #4A0012 100%) !important;
    background-size: 200% 100% !important;
    animation: yaBarShift 12s ease-in-out infinite alternate;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
    position: relative;
    overflow: visible;
}

.announcement-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%);
    animation: yaShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes yaBarShift {
    to { background-position: 100% 0; }
}

@keyframes yaShimmer {
    0%, 100% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
}

/* ===== الهيدر — ثابت أثناء التمرير ===== */
.main-header {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #E2D9CB !important;
    box-shadow: 0 4px 20px rgba(74, 0, 18, 0.05) !important;
    position: fixed !important;
    top: var(--ya-bar-height, 50px) !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.main-header.sticky {
    background: #F9F6F0 !important;
    border-bottom: 1.5px solid #C5A059 !important;
    box-shadow: 0 8px 30px rgba(74, 0, 18, 0.08) !important;
    padding: 8px 0 !important;
}

.announcement-bar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
}

.logo-main {
    filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.2));
}

.nav-link.active,
.nav-link:hover {
    background: linear-gradient(135deg, #4A0012, #5C0017) !important;
    box-shadow: 0 4px 20px rgba(74, 0, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* ===== HERO — أداء: بدون parallax ===== */
.hero-premium {
    background-attachment: scroll !important;
    overflow: hidden;
}

.hero-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 35%);
    animation: yaAurora 18s ease-in-out infinite alternate;
}

@keyframes yaAurora {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-glass-card {
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        var(--ya-glow-gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    position: relative;
}

/* زوايا قمرية — CSS فقط */
.hero-glass-card::before,
.hero-glass-card::after {
    content: '';
    position: absolute;
    width: var(--ya-corner-size);
    height: var(--ya-corner-size);
    border: 2px solid var(--lux-gold, #C5A059);
    opacity: 0.7;
    pointer-events: none;
}

.hero-glass-card::before {
    top: 20px;
    inset-inline-start: 20px;
    border-inline-end: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.hero-glass-card::after {
    bottom: 20px;
    inset-inline-end: 20px;
    border-inline-start: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

.hero-badge-modern {
    animation: yaPulseBadge 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px !important;
}

@keyframes yaPulseBadge {
    0%, 100% { box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2); }
    50% { box-shadow: 0 5px 25px rgba(197, 160, 89, 0.45); }
}

.hero-title-modern {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

/* ===== أزرار — حافة ذهبية متحركة ===== */
.btn-lux {
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 10px 25px rgba(74, 0, 18, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-lux::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-lux:hover::after {
    opacity: 0.85;
}

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

/* ===== عناوين الأقسام — زخرفة ===== */
.section-premium-hdr {
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.section-premium-hdr::after {
    content: '◆';
    display: block;
    margin-top: 12px;
    font-size: 0.65rem;
    color: var(--lux-gold);
    letter-spacing: 0.5em;
    opacity: 0.8;
}

.section-premium-hdr h2 {
    position: relative;
    display: inline-block;
}

.section-premium-hdr h2::before,
.section-premium-hdr h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lux-gold));
}

.section-premium-hdr h2::before {
    inset-inline-end: calc(100% + 20px);
    background: linear-gradient(90deg, transparent, var(--lux-gold));
}

.section-premium-hdr h2::after {
    inset-inline-start: calc(100% + 20px);
    background: linear-gradient(90deg, var(--lux-gold), transparent);
}

/* ===== بطاقات المنتجات ===== */
.lux-card {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.08) !important;
    border-radius: 28px !important;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s ease,
                border-color 0.3s ease !important;
    contain: layout style;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.lux-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lux-emerald), var(--lux-gold), var(--lux-emerald));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.lux-card:hover {
    transform: translateY(-12px) rotateX(2deg) !important;
    border-color: rgba(197, 160, 89, 0.45) !important;
    box-shadow:
        var(--shadow-hover, 0 30px 60px rgba(74, 0, 18, 0.2)),
        var(--ya-glow-gold) !important;
}

.lux-card:hover::before {
    transform: scaleX(1);
}

.lux-card-price {
    background: linear-gradient(135deg, #4A0012, #5C0017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}
.lux-card-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
    opacity: 0.6;
}

/* ===== بطاقات التصنيفات ===== */
.cat-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(197, 160, 89, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cat-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(74, 0, 18, 0.15) !important;
}

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

.cat-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cat-card:hover .cat-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* ===== قصة التراث ===== */
.heritage-story {
    position: relative;
}

.story-image .story-img-inner {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(197, 160, 89, 0.2),
        0 0 0 8px rgba(74, 0, 18, 0.08) !important;
}

/* ===== الفوتر ===== */
.main-footer {
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A0012, #C5A059, #4A0012);
}

.footer-top {
    background: linear-gradient(180deg, #0b0f19 0%, #111827 100%) !important;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--lux-gold-dark), var(--lux-gold)) !important;
    color: var(--lux-night) !important;
    font-weight: 800 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ya-glow-gold) !important;
}

/* ===== صفحات داخلية ===== */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 80px;
    background: linear-gradient(to top, #f7f4ef, transparent);
    pointer-events: none;
}

.legal-content,
.form-wrapper,
.success-wrap {
    border: 1px solid rgba(197, 160, 89, 0.1) !important;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06) !important;
}

/* ===== scroll indicator ===== */
.scroll-mouse {
    z-index: 3;
    opacity: 0.85;
}

.mouse-wheel {
    border-color: var(--lux-gold) !important;
}

/* ===== أداء: تقليل التأثيرات على الموبايل ===== */
@media (max-width: 768px) {
    .ya-theme::before {
        opacity: 0.2;
    }

    .hero-premium::after,
    .announcement-bar::after {
        animation: none;
    }

    .hero-glass-card,
    .main-header {
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    .section-premium-hdr h2::before,
    .section-premium-hdr h2::after {
        display: none;
    }

    .hero-title-modern {
        font-size: 2.4rem !important;
    }

    .lux-card:hover {
        transform: translateY(-4px) !important;
    }

    .ya-theme {
        padding-top: var(--ya-top-offset, 126px);
    }

    .main-header {
        top: var(--ya-bar-height, 66px) !important;
    }
}

/* ===== احترام تقليل الحركة ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-premium::after,
    .announcement-bar,
    .announcement-bar::after,
    .hero-badge-modern {
        animation: none !important;
    }
}

/* ===== Dark Mode ===== */
.ya-theme.dark-mode {
    background-color: #0b0f19;
}
.ya-theme.dark-mode::before {
    opacity: 0.3;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 18px,
            rgba(197, 160, 89, 0.05) 18px,
            rgba(197, 160, 89, 0.05) 19px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 18px,
            rgba(74, 0, 18, 0.05) 18px,
            rgba(74, 0, 18, 0.05) 19px
        ),
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 0, 18, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(197, 160, 89, 0.03), transparent 50%);
}
.ya-theme.dark-mode .main-header,
.ya-theme.dark-mode .about-hero,
.ya-theme.dark-mode .about-card,
.ya-theme.dark-mode .section-wrapper,
.ya-theme.dark-mode .about-story,
.ya-theme.dark-mode .user-dropdown-menu,
.ya-theme.dark-mode .cart-dropdown {
    background: #1a1a2e;
    border-color: #333;
    color: #e0e0e0;
}
.ya-theme.dark-mode .about-card h3,
.ya-theme.dark-mode .about-hero h1,
.ya-theme.dark-mode .section-wrapper h2 {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .about-hero h1 {
    background: linear-gradient(135deg, #fff, #e8d4a3);
}
.ya-theme.dark-mode .about-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}
.ya-theme.dark-mode .about-card p,
.ya-theme.dark-mode .about-story p,
.ya-theme.dark-mode .vision-content,
.ya-theme.dark-mode .mission-content,
.ya-theme.dark-mode .message-content,
.ya-theme.dark-mode .partners-content {
    color: #aaa;
}
.ya-theme.dark-mode .main-footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
}
.ya-theme.dark-mode .nav-link {
    color: #ccc;
}
.ya-theme.dark-mode .nav-link:hover,
.ya-theme.dark-mode .nav-link.active {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .announcement-bar {
    background: linear-gradient(90deg, #2c1b11 0%, #4a2e1f 40%, #2c1b11 70%, #2c1b11 100%) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
}
.ya-theme.dark-mode .announcement-bar .announcement-text {
    color: rgba(255, 255, 255, 0.85);
}
.ya-theme.dark-mode .topbar-contact {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #e0e0e0;
}
.ya-theme.dark-mode .lc-trigger {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(197, 160, 89, 0.4);
    color: #e0e0e0;
}
.ya-theme.dark-mode .lc-menu {
    background: rgba(26, 26, 46, 0.95);
    border-color: rgba(197, 160, 89, 0.4);
}
.ya-theme.dark-mode .lc-item {
    color: #e0e0e0;
}
.ya-theme.dark-mode .lc-item.active {
    background: rgba(197, 160, 89, 0.2);
    color: #fff;
}
.ya-theme.dark-mode .cat-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
}
.ya-theme.dark-mode .cat-card-content h3,
.ya-theme.dark-mode .cat-card-count {
    color: #fff;
}
.ya-theme.dark-mode .btn-cat-view {
    background: linear-gradient(135deg, #C5A059, #C5A059);
    color: #4A0012;
    border-color: rgba(197, 160, 89, 0.4);
}
.ya-theme.dark-mode .btn-cat-view:hover {
    background: linear-gradient(135deg, #e8c96a, #C5A059);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

/* ===== PUBLIC PAGES — Hero Section ===== */
.ya-theme.dark-mode .hero-premium {
    background: linear-gradient(135deg, #0b0f19 0%, #171a2e 100%);
}
.ya-theme.dark-mode .hero-glass-card {
    border-color: rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), var(--ya-glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.ya-theme.dark-mode .hero-title-modern,
.ya-theme.dark-mode .hero-desc-modern {
    color: #e0e0e0;
}
.ya-theme.dark-mode .hero-badge-modern {
    color: var(--dark3, #020617);
}

/* ===== PUBLIC PAGES — Top Artisans ===== */
.ya-theme.dark-mode .top-artisans-section {
    background: #1a1a2e;
}
.ya-theme.dark-mode .top-artisans-section .section-premium-hdr p {
    color: rgba(255, 255, 255, 0.6);
}
.ya-theme.dark-mode .artisan-card {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .art-avatar {
    background: rgba(197, 160, 89, 0.12);
}
.ya-theme.dark-mode .art-info h4,
.ya-theme.dark-mode .art-type,
.ya-theme.dark-mode .art-rating {
    color: #e0e0e0;
}

/* ===== PUBLIC PAGES — Product Cards ===== */
.ya-theme.dark-mode .lux-card {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.12) !important;
}
.ya-theme.dark-mode .lux-card-title {
    color: #e0e0e0;
}
.ya-theme.dark-mode .lux-card-price {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .prod-cat-text {
    color: #a78bfa;
}
.ya-theme.dark-mode .old-price-text {
    color: #888;
}
.ya-theme.dark-mode .prod-badges .lux-badge {
    background: #0f172a;
    color: #e0e0e0;
}
.ya-theme.dark-mode .rating-lux {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .rating-lux i {
    color: #C5A059;
}
.ya-theme.dark-mode .rating-lux span {
    color: #888;
}
.ya-theme.dark-mode .lux-card-content {
    background: rgba(10, 15, 26, 0.85);
    border-top-color: rgba(197, 160, 89, 0.1);
}
.ya-theme.dark-mode .prod-cat-text::after {
    background: linear-gradient(90deg, rgba(197,160,89,0.2), rgba(197,160,89,0.1));
}
.ya-theme.dark-mode .lux-card:hover {
    transform: translateY(-12px) rotateX(2deg) !important;
    border-color: rgba(197, 160, 89, 0.5) !important;
}

/* ===== PUBLIC PAGES — CTA Banner ===== */
.ya-theme.dark-mode .cta-banner::after {
    color: rgba(255, 255, 255, 0.05);
}

/* ===== PUBLIC PAGES — Promo Banners ===== */
.ya-theme.dark-mode .banner-card {
    background: rgba(26, 26, 46, 0.8) !important;
    border-color: rgba(197, 160, 89, 0.25) !important;
}
.ya-theme.dark-mode .banner-glow {
    background: linear-gradient(135deg, rgba(197,160,89,0.08), rgba(197,160,89,0.03) 60%, transparent);
}
.ya-theme.dark-mode .banner-title {
    color: #fff;
}
.ya-theme.dark-mode .banner-desc {
    color: #aaa;
}
.ya-theme.dark-mode .banner-badge {
    background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059));
    color: #4A0012;
}

/* ===== PUBLIC PAGES — Action Buttons & Badges ===== */
.ya-theme.dark-mode .action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(197, 160, 89, 0.45) !important; /* Soft Matte Gold Rim */
    background: #1E293B !important;
    color: var(--secondary, #C5A059) !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.15) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
    text-decoration: none !important;
}
.ya-theme.dark-mode .action-btn:hover {
    background: rgba(197, 160, 89, 0.15) !important;
}
.ya-theme.dark-mode .action-btn i {
    color: #e0e0e0 !important;
}
.ya-theme.dark-mode .cart-badge,
.ya-theme.dark-mode .wishlist-badge {
    color: #4A0012 !important;
}

/* ===== PUBLIC PAGES — Footer ===== */
.ya-theme.dark-mode .footer-top {
    background: linear-gradient(180deg, #0a0a1a 0%, #0f172a 100%) !important;
}
.ya-theme.dark-mode .main-footer h4,
.ya-theme.dark-mode .main-footer p,
.ya-theme.dark-mode .main-footer a,
.ya-theme.dark-mode .footer-links a {
    color: #ccc;
}
.ya-theme.dark-mode .main-footer a:hover {
    color: var(--secondary, #C5A059);
}

/* ===== RTL Support for Dropdown Menus (Arabic) ===== */
[dir="rtl"] .lc-menu {
    right: auto;
    left: 0;
    transform-origin: top left;
}
[dir="rtl"] .lc-dropdown:hover .lc-menu,
[dir="rtl"] .lc-dropdown.open .lc-menu {
    transform-origin: top left;
}
[dir="rtl"] .lc-item {
    text-align: left;
}
[dir="rtl"] .lc-item::before {
    right: auto;
    left: 0;
}
[dir="rtl"] .cat-view-all {
    text-align: center;
}

/* ===== PUBLIC PAGES — Quick View Modal ===== */
.ya-theme.dark-mode .qv-modal {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.2);
}
.ya-theme.dark-mode .qv-body h3,
.ya-theme.dark-mode #qvName,
.ya-theme.dark-mode .qv-body p,
.ya-theme.dark-mode .qv-body span {
    color: #e0e0e0;
}
.ya-theme.dark-mode #qvDesc,
.ya-theme.dark-mode .qv-body p[style*="color:#666"],
.ya-theme.dark-mode .qv-body p[style*="color:#555"] {
    color: #aaa !important;
}
.ya-theme.dark-mode .qv-close {
    color: #e0e0e0;
}
.ya-theme.dark-mode .news-text h3 {
    color: #fff;
}
.ya-theme.dark-mode .newsletter-input {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: #fff;
}
.ya-theme.dark-mode .comment-modal h3,
.ya-theme.dark-mode .comment-modal strong,
.ya-theme.dark-mode .comment-modal p {
    color: #e0e0e0 !important;
}
.ya-theme.dark-mode .comment-modal strong {
    color: #e0e0e0 !important;
}

/* ===== PUBLIC PAGES — Shop Page ===== */
.ya-theme.dark-mode .shop-header {
    background: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95));
}
.ya-theme.dark-mode .shop-header h1 {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .filter-box,
.ya-theme.dark-mode .shop-topbar,
.ya-theme.dark-mode .pagination .page-btn,
.ya-theme.dark-mode .products-grid .lux-card {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.15);
    color: #e0e0e0;
}
.ya-theme.dark-mode .filter-box h3,
.ya-theme.dark-mode .filter-title,
.ya-theme.dark-mode .shop-topbar div {
    color: #e0e0e0;
}
.ya-theme.dark-mode .cat-list a,
.ya-theme.dark-mode .cat-list a.active {
    color: #e0e0e0;
}
.ya-theme.dark-mode .cat-list a.active {
    background: var(--secondary, #C5A059);
    color: #4A0012;
}
.ya-theme.dark-mode .cat-list a:hover {
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .search-input {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.3);
    color: #e0e0e0;
}
.ya-theme.dark-mode .search-btn {
    background: var(--dark2, #334155);
    color: #fff;
}
.ya-theme.dark-mode .page-btn {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.2);
    color: #e0e0e0;
}
.ya-theme.dark-mode .page-btn:hover,
.ya-theme.dark-mode .page-btn.active {
    background: var(--secondary, #C5A059);
    color: #4A0012;
    border-color: var(--secondary, #C5A059);
}

/* ===== PUBLIC PAGES — Product Detail ===== */
.ya-theme.dark-mode .product-detail {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .product-info h1 {
    color: #fff;
}
.ya-theme.dark-mode .product-meta {
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .old-price {
    color: #888;
}
.ya-theme.dark-mode .product-description p {
    color: #aaa;
}
.ya-theme.dark-mode .product-actions {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .quantity-controls {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.2);
}
.ya-theme.dark-mode .quantity-btn {
    color: #e0e0e0;
}
.ya-theme.dark-mode .product-features .feature {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .product-tabs {
    background: #1a1a2e;
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .tab-btn {
    color: #888;
}
.ya-theme.dark-mode .tab-btn.active {
    color: #fff;
}
.ya-theme.dark-mode .tab-panel {
    color: #aaa;
}
.ya-theme.dark-mode .specs-table th {
    background: #1a1a2e;
    color: #fff;
}
.ya-theme.dark-mode .specs-table th,
.ya-theme.dark-mode .specs-table td,
.ya-theme.dark-mode .specs-table {
    border-color: rgba(197, 160, 89, 0.15);
}
.ya-theme.dark-mode .breadcrumb {
    color: #888;
}
.ya-theme.dark-mode .breadcrumb a {
    color: #e0e0e0;
}

/* ===== PUBLIC PAGES — Footer ===== */
.ya-theme.dark-mode .footer-top {
    background: linear-gradient(180deg, #0a0a1a 0%, #0f172a 100%) !important;
}
.ya-theme.dark-mode .footer-title,
.ya-theme.dark-mode .footer-links a,
.ya-theme.dark-mode .footer-description,
.ya-theme.dark-mode .contact-value,
.ya-theme.dark-mode .logo-sub {
    color: #ccc;
}
.ya-theme.dark-mode .footer-links a:hover {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}
.ya-theme.dark-mode .mobile-bottom-nav {
    background: #0a0a1a;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    color: #ccc;
}
.ya-theme.dark-mode .mobile-bottom-nav .nav-item {
    color: #ccc;
}
.ya-theme.dark-mode .mobile-bottom-nav .nav-item.active,
.ya-theme.dark-mode .mobile-bottom-nav .nav-item:hover {
    color: var(--secondary, #C5A059);
}
.ya-theme.dark-mode .mobile-bottom-nav .badge {
    color: #4A0012;
}
.ya-theme.dark-mode .comment-modal {
    border-color: rgba(197, 160, 89, 0.15) !important;
}

/* ===== Promo Carousel — Dark Mode ===== */
.ya-theme.dark-mode .promo-overlay {
    background: linear-gradient(transparent 40%, rgba(10, 15, 26, 0.9) 100%);
}
.ya-theme.dark-mode .promo-nav {
    background: rgba(26, 26, 46, 0.5);
    color: var(--lux-gold, #C5A059);
}
.ya-theme.dark-mode .promo-nav:hover {
    background: var(--lux-gold, #C5A059);
    color: #4A0012;
}
.ya-theme.dark-mode .promo-dot {
    background: rgba(197, 160, 89, 0.3);
}
.ya-theme.dark-mode .promo-dot.active {
    background: var(--lux-gold, #C5A059);
}
.ya-theme.dark-mode .promo-type,
.ya-theme.dark-mode .promo-badge,
.ya-theme.dark-mode .promo-duration {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* ====================================================================
   HEADER & DROPDOWNS INTEGRATED STYLES
   ==================================================================== */

        /* ===== Header Width & Layout Expansion (زد في عرض الرأس) ===== */
        .main-header .container,
        .announcement-bar .container,
        #topAnnouncementBar .container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 36px !important;
            padding-right: 36px !important;
            box-sizing: border-box !important;
        }
        .header-content {
            padding: 18px 0 !important;
        }
        .main-header.sticky .header-content {
            padding: 12px 0 !important;
        }

        /* ===== Header Actions ===== */
        .nav-actions {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            flex-direction: row !important;
        }
        .action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid #C5A059 !important; /* Soft Matte Gold Rim */
    background: #FFFFFF !important;
    color: #4A0012 !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.15) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
    text-decoration: none !important;
}
        .action-btn.search-trigger i { color: #4A0012 !important; }
        .action-btn.cart-trigger i { color: #4A0012 !important; }
        .action-btn.user-trigger i { color: #4A0012 !important; }
        .action-btn .fa-heart { color: #4A0012 !important; }

        .action-btn::before {
            content: '';
            position: absolute !important;
            inset: 0 !important;
            border-radius: 50% !important;
            background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), transparent 60%) !important;
            opacity: 0 !important;
            transition: opacity 0.35s ease !important;
            pointer-events: none !important;
        }
        .action-btn:hover {
            background: linear-gradient(180deg, #5C0017 0%, #4A0012 100%) !important;
            color: #FFFFFF !important;
            transform: translateY(-2px) scale(1.06) !important;
            border-color: #4A0012 !important;
            box-shadow: inset 0 1px 0 rgba(255, 140, 160, 0.35), 0 4px 0 #220008, 0 8px 18px rgba(74, 0, 18, 0.35) !important;
        }
        .action-btn:hover i { color: #FFFFFF !important; }
        .action-btn:hover .fa-heart { color: #FFFFFF !important; }
        .action-btn:hover::before { opacity: 1 !important; }
        .action-btn:active {
            transform: translateY(2px) scale(0.96) !important;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 1px 0 #220008 !important;
        }

        .cart-badge, .wishlist-badge, .chat-badge {
            position: absolute !important;
            top: -4px !important;
            right: -4px !important;
            background: linear-gradient(180deg, #5C0017 0%, #4A0012 100%) !important;
            color: #ffffff !important;
            border: 2px solid white !important;
            border-radius: 50% !important;
            min-width: 20px !important;
            height: 20px !important;
            font-size: 0.72rem !important;
            font-weight: 800 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 2px 5px !important;
            box-shadow: 0 3px 8px rgba(74, 0, 18, 0.45) !important;
            backdrop-filter: blur(4px) !important;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        }
        .chat-badge {
            background: linear-gradient(180deg, #8E6E22 0%, #7A5E18 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4) !important;
        }
        .cart-badge {
            background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
            color: #ffffff !important;
            font-weight: 800 !important;
        }
        .action-btn:hover .cart-badge,
        .action-btn:hover .wishlist-badge {
            transform: scale(1.18) !important;
            box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5) !important;
        }
        .wishlist-badge {
            background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3) !important;
        }
        @keyframes cartPopAnim {
            0% { transform: scale(1); }
            40% { transform: scale(1.45); }
            100% { transform: scale(1); }
        }
        .cart-badge.pop-anim {
            animation: cartPopAnim 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        }

        /* ===== User Dropdown ===== */
        .user-dropdown-container {
            position: relative;
        }
        .user-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: #fff;
            min-width: 240px;
            border-radius: 14px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.12);
            padding: 0;
            display: none;
            flex-direction: column;
            z-index: 9999;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.05);
        }
        [dir="rtl"] .user-dropdown-menu {
            left: auto;
            right: 0;
        }
        .user-dropdown-container:hover .user-dropdown-menu {
            display: flex !important;
        }
        .udm-header {
            padding: 16px;
            border-bottom: 1px solid #f0ebe3;
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #faf8f5 0%, #fff 100%);
        }
        .udm-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #5C0017, #4A0012);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .udm-info {
            overflow: hidden;
        }
        .udm-name {
            font-weight: 700;
            color: #2c2c2c;
            font-size: 0.95rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .udm-email {
            font-size: 0.8rem;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 170px;
        }
        .udm-links {
            padding: 8px 0;
        }
        .udm-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 20px;
            color: #555;
            text-decoration: none;
            font-size: 0.92rem;
            transition: all 0.2s ease;
        }
        .udm-link:hover {
            background: #f9f7f4;
            color: var(--primary, #C5A059);
            padding-right: 25px;
        }
        .udm-link i {
            width: 18px;
            text-align: center;
            font-size: 0.95rem;
        }
        .udm-divider {
            height: 1px;
            background: #f0ebe3;
            margin: 2px 0;
        }
        .udm-link.admin-link {
            color: #c76638;
            font-weight: 600;
        }
        .udm-link.vendor-link {
            color: #C5A059;
            font-weight: 600;
        }
        .udm-link.logout-link {
            color: #e74c3c;
        }
        .udm-link.logout-link:hover {
            background: #fdf2f2;
            color: #c0392b;
        }

        /* ===== Categories Dropdown Fix ===== */
        .nav-item {
            position: relative;
        }
        .nav-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            min-width: 240px;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(15, 10, 5, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.2);
            padding: 12px 8px;
            display: none;
            z-index: 999;
            border: 1px solid rgba(197, 160, 89, 0.25);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .nav-item:hover > .nav-dropdown {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .nav-dropdown .dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #4A0012;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.25s ease;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }
        .nav-dropdown .dropdown-menu a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            background: linear-gradient(180deg, #4A0012, #C5A059);
            border-radius: 0 3px 3px 0;
            transition: height 0.3s ease;
        }
        .nav-dropdown .dropdown-menu a:hover {
            background: rgba(197, 160, 89, 0.1);
            color: #4A0012;
            padding-right: 20px;
            padding-left: 20px;
        }
        .nav-dropdown .dropdown-menu a:hover::before {
            height: 60%;
        }

        /* User Dropdown */
        .user-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            min-width: 280px;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(15, 10, 5, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 1000;
            border: 1px solid rgba(197, 160, 89, 0.25);
            overflow: hidden;
        }
        .user-dropdown-container:hover .user-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .udm-header {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 20px;
            background: linear-gradient(135deg, #4A0012 0%, #5C0017 100%);
            color: #fff;
        }
        .udm-avatar {
            width: 48px;
            height: 48px;
            background: rgba(197, 160, 89, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            border: 2px solid rgba(197, 160, 89, 0.4);
            flex-shrink: 0;
        }
        .udm-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        .udm-name {
            font-weight: 700;
            font-size: 1rem;
            color: #fff;
        }
        .udm-email {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
        }
        .udm-links {
            padding: 12px 8px;
        }
        .udm-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #4A0012;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.25s ease;
            border-radius: 10px;
            position: relative;
        }
        .udm-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            background: linear-gradient(180deg, #4A0012, #C5A059);
            border-radius: 0 3px 3px 0;
            transition: height 0.3s ease;
        }
        .udm-link:hover {
            background: rgba(197, 160, 89, 0.1);
            padding-right: 20px;
            padding-left: 20px;
        }
        .udm-link:hover::before {
            height: 60%;
        }
        .udm-link i {
            width: 20px;
            text-align: center;
            color: #C5A059;
        }
        .udm-divider {
            height: 1px;
            background: rgba(197, 160, 89, 0.15);
            margin: 8px 16px;
        }
        .udm-link.admin-link {
            color: #c76638;
        }
        .udm-link.admin-link i {
            color: #c76638;
        }
        .udm-link.vendor-link {
            color: #C5A059;
        }
        .udm-link.vendor-link i {
            color: #C5A059;
        }
        .udm-link.logout-link {
            color: #e74c3c;
        }
        .udm-link.logout-link i {
            color: #e74c3c;
        }
        .udm-link.logout-link:hover {
            background: #fdf2f2;
            color: #c0392b;
        }

        /* Cart Dropdown */
        .cart-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            min-width: 340px;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(15, 10, 5, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 1000;
            border: 1px solid rgba(197, 160, 89, 0.25);
            overflow: hidden;
        }
        .cart-menu:hover .cart-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .cart-header {
            padding: 18px 20px;
            border-bottom: 1px solid rgba(197, 160, 89, 0.15);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #4A0012 0%, #5C0017 100%);
            color: #fff;
        }
        .cart-header h4 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 700;
        }
        .cart-items-count {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
            background: rgba(197, 160, 89, 0.2);
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
        }
        .cart-items {
            max-height: 300px;
            overflow-y: auto;
            padding: 12px 8px;
        }
        .cart-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            transition: all 0.25s ease;
            border-radius: 10px;
            margin-bottom: 6px;
        }
        .cart-item:last-child {
            margin-bottom: 0;
        }
        .cart-item:hover {
            background: rgba(197, 160, 89, 0.08);
        }
        .cart-item-image {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid rgba(197, 160, 89, 0.2);
        }
        .cart-item-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .cart-item-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: #4A0012;
        }
        .cart-item-price {
            font-size: 0.8rem;
            color: #C5A059;
            font-weight: 700;
        }
        .cart-item-remove {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            padding: 6px;
            border-radius: 6px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }
        .cart-item-remove:hover {
            color: #e74c3c;
            background: rgba(231, 76, 60, 0.1);
        }
        .empty-cart {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }
        .empty-cart i {
            font-size: 3rem;
            color: #ddd;
            margin-bottom: 12px;
            display: block;
        }
        .empty-cart p {
            margin: 0;
            font-size: 0.95rem;
            font-weight: 600;
            color: #666;
        }
        .cart-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(197, 160, 89, 0.15);
            background: rgba(197, 160, 89, 0.05);
        }
        .cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            font-weight: 700;
            color: #4A0012;
            font-size: 1.05rem;
        }
        .cart-actions {
            display: flex;
            gap: 10px;
        }
        .view-cart-btn,
        .checkout-btn {
            flex: 1;
            padding: 10px 14px;
            text-align: center;
            text-decoration: none;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 700;
            transition: all 0.25s ease;
        }
        .view-cart-btn {
            background: transparent;
            color: #4A0012;
            border: 1px solid rgba(197, 160, 89, 0.3);
        }
        .view-cart-btn:hover {
            background: rgba(197, 160, 89, 0.1);
            border-color: #C5A059;
            transform: translateY(-2px);
        }
        .checkout-btn {
            background: linear-gradient(135deg, #4A0012 0%, #5C0017 100%);
            color: white;
            border: none;
        }
        .checkout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 0, 18, 0.3);
        }

        /* Announcement Controls */
        .announcement-controls {
            position: static;
            z-index: auto;
        }
        .topbar-contact {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.25);
            padding: 7px 16px;
            border-radius: 50px;
            color: #fff;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        .topbar-contact i {
            color: #C5A059;
            font-size: 0.9rem;
        }
        .topbar-contact:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(197,160,89,0.5);
            transform: translateY(-1px);
        }

        .lang-currency-switch {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            z-index: 9999;
        }
        .theme-toggle-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid rgba(197, 160, 89, 0.3);
            background: rgba(255, 255, 255, 0.9);
            color: var(--accent1, #C5A059);
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 10;
        }
        .theme-toggle-btn:hover {
            background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059));
            color: white;
            border-color: var(--secondary, #C5A059);
            transform: translateY(-3px) scale(1.08);
            box-shadow: 0 12px 28px rgba(197, 160, 89, 0.3);
        }
        .theme-toggle-btn.dark-mode {
            background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059)) !important;
            color: var(--dark3, #020617) !important;
        }
        .theme-toggle-btn.dark-mode:hover {
            background: rgba(255, 255, 255, 0.9) !important;
            color: var(--accent1, #C5A059) !important;
        }
        .lc-dropdown {
            position: relative;
            z-index: 9999;
        }
        .lc-trigger {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.18);
            padding: 9px 16px;
            border-radius: 50px;
            color: #fff;
            font-size: 0.82rem;
            font-weight: 700;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            white-space: nowrap;
            position: relative;
            overflow: visible;
        }
        .lc-trigger::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(197,160,89,0.18) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.35s ease;
            border-radius: 50px;
        }
        .lc-trigger:hover {
            background: rgba(255,255,255,0.14);
            border-color: rgba(197,160,89,0.6);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 0 0 1px rgba(197,160,89,0.2);
        }
        .lc-trigger:hover::before {
            opacity: 1;
        }
        .lc-icon {
            color: #C5A059;
            font-size: 0.85rem;
            position: relative;
            z-index: 1;
            transition: transform 0.35s ease;
        }
        .lc-trigger:hover .lc-icon {
            transform: scale(1.15);
        }
        .lc-label {
            position: relative;
            z-index: 1;
            letter-spacing: 0.01em;
        }
        .lc-arrow {
            font-size: 0.7rem;
            color: rgba(255,255,255,0.7);
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }
        .lc-dropdown:hover .lc-trigger .lc-arrow {
            transform: rotate(180deg);
        }
        .lc-menu {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            min-width: 180px;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(15, 10, 5, 0.25), 0 0 0 1px rgba(197, 160, 89, 0.3);
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
            z-index: 10000;
            border: 1px solid rgba(197, 160, 89, 0.35);
            pointer-events: none;
            transform-origin: top right;
        }
        .lc-dropdown:hover .lc-menu,
        .lc-dropdown.open .lc-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            pointer-events: all;
            position: absolute;
        }
        .lc-item {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 12px 16px;
            background: transparent;
            border: none;
            color: #4A0012;
            font-size: 0.9rem;
            font-weight: 600;
            font-family: 'Cairo', sans-serif;
            cursor: pointer;
            transition: all 0.25s ease;
            border-radius: 10px;
            position: relative;
            text-align: right;
            touch-action: manipulation;
        }
        .lc-item::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            background: linear-gradient(180deg, #4A0012, #C5A059);
            border-radius: 3px 0 0 3px;
            transition: height 0.3s ease;
        }
        .lc-item:hover {
            background: rgba(197, 160, 89, 0.12);
            padding-right: 20px;
            padding-left: 20px;
        }
        .lc-item:hover::before {
            height: 60%;
        }
        .lc-item.active {
            background: rgba(197, 160, 89, 0.18);
            color: #4A0012;
        }
        .lc-item.active::before {
            height: 60%;
        }
        .lc-item-text {
            position: relative;
            z-index: 1;
        }
        @media (max-width: 768px) {
            .lang-currency-switch {
                gap: 6px;
            }
            .lc-trigger {
                padding: 7px 12px;
                font-size: 0.75rem;
            }
            .lc-icon {
                font-size: 0.75rem;
            }
            .lc-menu {
                min-width: 150px;
            }
            .lc-item {
                padding: 10px 14px;
                font-size: 0.85rem;
            }
        }
    

    /* Search Dropdown Styles */
    .search-wrapper {
        position: relative;
        display: inline-block;
    }
    .search-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(197, 160, 89, 0.3);
        border-radius: 14px;
        padding: 14px;
        min-width: 300px;
        box-shadow: 0 20px 50px rgba(15, 10, 5, 0.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        pointer-events: none;
    }
    .search-wrapper.open .search-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
    .search-form-dropdown {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .search-form-dropdown input {
        width: 240px;
        padding: 10px 14px;
        font-size: 0.95rem;
        border: 1px solid var(--border, #e2e8f0);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
        outline: none;
        font-family: 'Cairo', sans-serif;
        color: var(--text, #1e293b);
    }
    .search-form-dropdown button {
        background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059));
        color: white;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    .search-form-dropdown button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
    }
    .user-dropdown-container.touch-active .user-dropdown-menu {
        display: flex !important;
    }
    

/* ====================================================================
   NOTIFICATION BELL INTEGRATED STYLES
   ==================================================================== */
/**
 * YemenArt - Unified Notification Bell & Dropdown Styles
 * تصميم موحد وفاخر لجرس وقائمة الإشعارات المنسدلة لكافة اللوحات والواجهات
 */

/* الغلاف العام للزر والقائمة */
.ya-notif-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* زر جرس الإشعارات */
.ya-notif-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    font-size: 1.15rem;
    line-height: 1;
}

.ya-notif-btn:hover {
    transform: translateY(-1px);
    color: var(--secondary, #C5A059) !important;
}

.ya-notif-btn i {
    transition: transform 0.2s ease;
}

.ya-notif-btn:hover i {
    transform: rotate(15deg);
}

/* شارة العداد للغير مقروء */
.ya-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #0f172a;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* قائمة الإشعارات المنسدلة */
.ya-notif-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 370px;
    max-width: calc(100vw - 30px);
    background: #0f172a;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 999999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: yaNotifDropIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top left;
}

[dir="rtl"] .ya-notif-dropdown {
    left: auto;
    right: 0;
    transform-origin: top right;
}

/* عندما تكون القائمة مفتوحة */
.ya-notif-dropdown.show {
    display: flex !important;
}

@keyframes yaNotifDropIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ترويسة القائمة */
.ya-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.ya-notif-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #f8fafc;
}

.ya-notif-header-title i {
    color: #C5A059;
}

.ya-notif-header-count {
    background: rgba(197, 160, 89, 0.15);
    color: #C5A059;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.ya-notif-mark-all {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ya-notif-mark-all:hover {
    background: rgba(197, 160, 89, 0.1);
    color: #C5A059;
    border-color: rgba(197, 160, 89, 0.4);
}

/* جسم القائمة وقائمة الإشعارات */
.ya-notif-body {
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0;
}

/* شريط التمرير */
.ya-notif-body::-webkit-scrollbar {
    width: 5px;
}
.ya-notif-body::-webkit-scrollbar-track {
    background: transparent;
}
.ya-notif-body::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.25);
    border-radius: 4px;
}
.ya-notif-body::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 160, 89, 0.45);
}

/* عنصر الإشعار */
.ya-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    cursor: pointer;
    position: relative;
}

.ya-notif-item:last-child {
    border-bottom: none;
}

.ya-notif-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* غير المقروء */
.ya-notif-item.is-unread {
    background: rgba(197, 160, 89, 0.06);
}

.ya-notif-item.is-unread::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C5A059;
    box-shadow: 0 0 8px #C5A059;
}

[dir="ltr"] .ya-notif-item.is-unread::before {
    right: auto;
    left: 6px;
}

/* أيقونة الإشعار */
.ya-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: #C5A059;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ya-notif-item.is-urgent .ya-notif-icon {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* نصوص الإشعار */
.ya-notif-content {
    flex: 1;
    min-width: 0;
}

.ya-notif-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 3px;
    word-break: break-word;
}

.ya-notif-msg {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.ya-notif-time {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* حالة الفراغ */
.ya-notif-empty {
    padding: 35px 20px;
    text-align: center;
    color: #94a3b8;
}

.ya-notif-empty i {
    font-size: 2.2rem;
    color: rgba(197, 160, 89, 0.3);
    margin-bottom: 10px;
    display: block;
}

.ya-notif-empty p {
    font-size: 0.88rem;
    margin: 0;
    font-weight: 600;
}

/* تذييل القائمة */
.ya-notif-footer {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(197, 160, 89, 0.18);
    text-align: center;
}

.ya-notif-view-all {
    color: #C5A059;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.ya-notif-view-all:hover {
    color: #f1d279;
}

/* مظهر مخصص لواجهة العميل الفاتحة عند تفعيل الوضع الفاتح */
[data-theme="light"] .ya-notif-dropdown,
body.light-theme .ya-notif-dropdown,
.ya-public-header .ya-notif-dropdown {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ya-notif-header,
.ya-public-header .ya-notif-header {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .ya-notif-header-title,
.ya-public-header .ya-notif-header-title {
    color: #1e293b;
}

[data-theme="light"] .ya-notif-title,
.ya-public-header .ya-notif-title {
    color: #0f172a;
}

[data-theme="light"] .ya-notif-msg,
.ya-public-header .ya-notif-msg {
    color: #64748b;
}

[data-theme="light"] .ya-notif-item,
.ya-public-header .ya-notif-item {
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .ya-notif-item:hover,
.ya-public-header .ya-notif-item:hover {
    background: #f8fafc;
}

[data-theme="light"] .ya-notif-item.is-unread,
.ya-public-header .ya-notif-item.is-unread {
    background: #fefce8;
}

[data-theme="light"] .ya-notif-badge,
.ya-public-header .ya-notif-badge {
    border-color: #ffffff;
}

[data-theme="light"] .ya-notif-footer,
.ya-public-header .ya-notif-footer {
    background: #f8fafc;
    border-top-color: #e2e8f0;
}

/* شاشات الجوال */
@media (max-width: 576px) {
    .ya-notif-dropdown {
        width: 320px;
        right: -60px;
    }
    [dir="rtl"] .ya-notif-dropdown {
        right: -60px;
        left: auto;
    }
}


/* ====================================================================
   DARK MODE INTEGRATED STYLES
   ==================================================================== */
/**
 * YemenArt - Comprehensive Master Dark Mode Engine
 * يضمن تباين الألوان العالي وظهور كافة النصوص والأزرار والقوائم في الوضع الليلي 100%
 */

/* ==========================================================================
   1. الهيكل العام والألوان الأساسية (Global Body & Canvas)
   ========================================================================== */
body.dark-mode,
.ya-theme.dark-mode,
[data-theme="dark"] body {
    background-color: #0B0F19 !important;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 160, 89, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(74, 0, 18, 0.15), transparent) !important;
    color: #E2E8F0 !important;
}

/* ==========================================================================
   2. نصوص وعناوين الصفحات (Typography & Headings)
   ========================================================================== */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
.ya-theme.dark-mode h1,
.ya-theme.dark-mode h2,
.ya-theme.dark-mode h3,
.ya-theme.dark-mode h4,
.ya-theme.dark-mode h5,
.ya-theme.dark-mode h6 {
    color: #FFFFFF !important;
}

body.dark-mode p,
.ya-theme.dark-mode p {
    color: #CBD5E1 !important;
}

body.dark-mode .text-muted,
.ya-theme.dark-mode .text-muted {
    color: #94A3B8 !important;
}

/* ==========================================================================
   3. الهيدر وشريط التنقل الرئيسي (Header & Main Navigation)
   ========================================================================== */
body.dark-mode .main-header,
.ya-theme.dark-mode .main-header,
body.dark-mode .main-header.sticky,
.ya-theme.dark-mode .main-header.sticky {
    background: #0F172A !important;
    border-bottom: 1.5px solid rgba(197, 160, 89, 0.4) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 8px 0 !important;
}

/* شعار الموقع في الوضع الليلي */
body.dark-mode .logo-text,
.ya-theme.dark-mode .logo-text,
body.dark-mode .logo-main,
.ya-theme.dark-mode .logo-main {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background: none !important;
}

body.dark-mode .logo-sub,
.ya-theme.dark-mode .logo-sub {
    color: var(--secondary, #C5A059) !important;
}

/* روابط شريط التنقل (تسوق، الحرفيون، التصنيفات، من نحن، تواصل معنا) */
body.dark-mode .main-nav .nav-link,
.ya-theme.dark-mode .main-nav .nav-link {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
}

body.dark-mode .main-nav .nav-link .nav-text,
.ya-theme.dark-mode .main-nav .nav-link .nav-text {
    color: #FFFFFF !important;
}

body.dark-mode .main-nav .nav-link .nav-icon,
.ya-theme.dark-mode .main-nav .nav-link .nav-icon {
    color: var(--secondary, #C5A059) !important;
}

/* الرابط النشط وحالة التأشير (Hover & Active) */
body.dark-mode .main-nav .nav-link:hover,
.ya-theme.dark-mode .main-nav .nav-link:hover,
body.dark-mode .main-nav .nav-link.active,
.ya-theme.dark-mode .main-nav .nav-link.active {
    background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059)) !important;
    color: #0F172A !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35) !important;
}

body.dark-mode .main-nav .nav-link:hover .nav-text,
body.dark-mode .main-nav .nav-link:hover .nav-icon,
body.dark-mode .main-nav .nav-link.active .nav-text,
body.dark-mode .main-nav .nav-link.active .nav-icon,
.ya-theme.dark-mode .main-nav .nav-link:hover .nav-text,
.ya-theme.dark-mode .main-nav .nav-link:hover .nav-icon,
.ya-theme.dark-mode .main-nav .nav-link.active .nav-text,
.ya-theme.dark-mode .main-nav .nav-link.active .nav-icon {
    color: #0F172A !important;
}

/* القوائم المنسدلة للتصنيفات */
body.dark-mode .dropdown-menu,
.ya-theme.dark-mode .dropdown-menu,
body.dark-mode .user-dropdown-menu,
.ya-theme.dark-mode .user-dropdown-menu {
    background: #1E293B !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .dropdown-menu a,
.ya-theme.dark-mode .dropdown-menu a,
body.dark-mode .udm-link,
.ya-theme.dark-mode .udm-link {
    color: #E2E8F0 !important;
}

body.dark-mode .dropdown-menu a:hover,
.ya-theme.dark-mode .dropdown-menu a:hover,
body.dark-mode .udm-link:hover,
.ya-theme.dark-mode .udm-link:hover {
    background: rgba(197, 160, 89, 0.15) !important;
    color: var(--secondary, #C5A059) !important;
}

/* أزرار العمليات (بحث، مفضلة، سلة، دردشة، مستخدم) */
body.dark-mode .header-actions,
.ya-theme.dark-mode .header-actions {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .action-btn,
.ya-theme.dark-mode .action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(197, 160, 89, 0.45) !important; /* Soft Matte Gold Rim */
    background: #1E293B !important;
    color: var(--secondary, #C5A059) !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.15) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10 !important;
    text-decoration: none !important;
}

body.dark-mode .action-btn i,
.ya-theme.dark-mode .action-btn i {
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .action-btn .fa-heart,
.ya-theme.dark-mode .action-btn .fa-heart {
    color: #EF4444 !important;
}

body.dark-mode .action-btn:hover,
.ya-theme.dark-mode .action-btn:hover {
    background: linear-gradient(135deg, var(--secondary, #C5A059), var(--accent1, #C5A059)) !important;
    color: #0F172A !important;
    border-color: var(--secondary, #C5A059) !important;
}

body.dark-mode .action-btn:hover i,
.ya-theme.dark-mode .action-btn:hover i {
    color: #0F172A !important;
}

body.dark-mode .cart-badge,
.ya-theme.dark-mode .cart-badge {
    background: linear-gradient(135deg, #EF4444, #B91C1C) !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

body.dark-mode .chat-badge,
.ya-theme.dark-mode .chat-badge {
    background: linear-gradient(180deg, #8E6E22 0%, #7A5E18 100%) !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

body.dark-mode .wishlist-badge,
.ya-theme.dark-mode .wishlist-badge {
    background: #EF4444 !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

/* ==========================================================================
   4. كروت المنتجات (Product Cards & Grids)
   ========================================================================== */
body.dark-mode .lux-card,
.ya-theme.dark-mode .lux-card,
body.dark-mode .product-card,
.ya-theme.dark-mode .product-card {
    background: #1E293B !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .lux-card-content,
.ya-theme.dark-mode .lux-card-content {
    background: #1E293B !important;
}

body.dark-mode .lux-card-title,
.ya-theme.dark-mode .lux-card-title,
body.dark-mode .product-title a,
.ya-theme.dark-mode .product-title a {
    color: #FFFFFF !important;
}

body.dark-mode .lux-card-title:hover,
.ya-theme.dark-mode .lux-card-title:hover {
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .prod-cat-text,
.ya-theme.dark-mode .prod-cat-text {
    color: #94A3B8 !important;
}

body.dark-mode .lux-card-price,
.ya-theme.dark-mode .lux-card-price,
body.dark-mode .product-price,
.ya-theme.dark-mode .product-price {
    color: #F1C40F !important;
    font-weight: 900 !important;
}

body.dark-mode .old-price-text,
.ya-theme.dark-mode .old-price-text,
body.dark-mode .old-price,
.ya-theme.dark-mode .old-price {
    color: #64748B !important;
}

body.dark-mode .lux-hover-overlay,
.ya-theme.dark-mode .lux-hover-overlay {
    background: rgba(15, 23, 42, 0.92) !important;
}

body.dark-mode .lux-action-btn,
.ya-theme.dark-mode .lux-action-btn {
    background: rgba(30, 41, 59, 0.95) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
}

body.dark-mode .lux-action-btn:hover,
.ya-theme.dark-mode .lux-action-btn:hover {
    background: var(--secondary, #C5A059) !important;
    color: #0F172A !important;
}

/* ==========================================================================
   5. صفحة السلة (Cart Page)
   ========================================================================== */
body.dark-mode .cart-header h1,
.ya-theme.dark-mode .cart-header h1 {
    color: #FFFFFF !important;
}

body.dark-mode .vendor-group,
.ya-theme.dark-mode .vendor-group {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .vendor-header,
.ya-theme.dark-mode .vendor-header,
body.dark-mode .vendor-footer,
.ya-theme.dark-mode .vendor-footer {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #334155 !important;
}

body.dark-mode .cart-table th,
.ya-theme.dark-mode .cart-table th {
    background: #0F172A !important;
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

body.dark-mode .cart-table td,
.ya-theme.dark-mode .cart-table td {
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .ct-name,
.ya-theme.dark-mode .ct-name {
    color: #FFFFFF !important;
}

body.dark-mode .ct-price,
.ya-theme.dark-mode .ct-price {
    color: #F1C40F !important;
}

body.dark-mode .qty-control,
.ya-theme.dark-mode .qty-control {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .qty-input,
.ya-theme.dark-mode .qty-input {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #334155 !important;
}

body.dark-mode .qty-btn,
.ya-theme.dark-mode .qty-btn {
    color: #FFFFFF !important;
}

body.dark-mode .qty-btn:hover,
.ya-theme.dark-mode .qty-btn:hover {
    background: #334155 !important;
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .cart-grand-summary,
.ya-theme.dark-mode .cart-grand-summary {
    background: #1E293B !important;
    border-color: var(--secondary, #C5A059) !important;
    color: #FFFFFF !important;
}

body.dark-mode #cart_grand_total,
.ya-theme.dark-mode #cart_grand_total {
    color: #F1C40F !important;
}

/* ==========================================================================
   6. صفحة الدفع (Checkout Page)
   ========================================================================== */
body.dark-mode .co-panel,
.ya-theme.dark-mode .co-panel {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .co-title,
.ya-theme.dark-mode .co-title {
    color: #FFFFFF !important;
}

body.dark-mode .form-group label,
.ya-theme.dark-mode .form-group label {
    color: #CBD5E1 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select,
.ya-theme.dark-mode .form-group input,
.ya-theme.dark-mode .form-group textarea,
.ya-theme.dark-mode .form-group select {
    background: #0F172A !important;
    border: 1px solid #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
.ya-theme.dark-mode .form-group input:focus,
.ya-theme.dark-mode .form-group textarea:focus {
    border-color: var(--secondary, #C5A059) !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.25) !important;
}

body.dark-mode .pay-option,
.ya-theme.dark-mode .pay-option {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .pay-option.selected,
.ya-theme.dark-mode .pay-option.selected {
    background: rgba(197, 160, 89, 0.12) !important;
    border-color: var(--secondary, #C5A059) !important;
}

body.dark-mode input[readonly],
.ya-theme.dark-mode input[readonly] {
    background: #162032 !important;
    color: #F1C40F !important;
    border-color: #334155 !important;
}

body.dark-mode .btn-copy-account,
.ya-theme.dark-mode .btn-copy-account {
    background: #334155 !important;
    color: #FFFFFF !important;
    border-color: #475569 !important;
}

/* ==========================================================================
   7. صفحة تفاصيل المنتج (Product Details Page)
   ========================================================================== */
body.dark-mode .current-price,
.ya-theme.dark-mode .current-price {
    color: #F1C40F !important;
}

body.dark-mode .product-description,
.ya-theme.dark-mode .product-description {
    color: #CBD5E1 !important;
}

body.dark-mode .product-actions,
.ya-theme.dark-mode .product-actions {
    background: #1E293B !important;
    border-color: #334155 !important;
}

body.dark-mode .quantity-controls,
.ya-theme.dark-mode .quantity-controls {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .quantity-controls input,
.ya-theme.dark-mode .quantity-controls input {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #334155 !important;
}

body.dark-mode .quantity-btn,
.ya-theme.dark-mode .quantity-btn {
    color: #FFFFFF !important;
}

body.dark-mode .add-to-wishlist,
.ya-theme.dark-mode .add-to-wishlist,
body.dark-mode .chat-with-seller,
.ya-theme.dark-mode .chat-with-seller {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .chat-with-seller:hover,
.ya-theme.dark-mode .chat-with-seller:hover {
    background: var(--secondary, #C5A059) !important;
    color: #0F172A !important;
}

body.dark-mode .tab-btn,
.ya-theme.dark-mode .tab-btn {
    color: #94A3B8 !important;
}

body.dark-mode .tab-btn.active,
.ya-theme.dark-mode .tab-btn.active {
    color: var(--secondary, #C5A059) !important;
    border-color: var(--secondary, #C5A059) !important;
}

body.dark-mode .tab-content,
.ya-theme.dark-mode .tab-content {
    background: #1E293B !important;
    color: #E2E8F0 !important;
}

/* ==========================================================================
   8. صفحة الملف الشخصي والطلبات (Profile & Orders)
   ========================================================================== */
body.dark-mode .pm-card,
body.dark-mode .ps-card,
.ya-theme.dark-mode .pm-card,
.ya-theme.dark-mode .ps-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .pm-card-header,
.ya-theme.dark-mode .pm-card-header {
    border-color: #334155 !important;
}

body.dark-mode .pm-card-header h2,
.ya-theme.dark-mode .pm-card-header h2 {
    color: #FFFFFF !important;
}

body.dark-mode .ps-tab,
.ya-theme.dark-mode .ps-tab {
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

body.dark-mode .ps-tab:hover,
.ya-theme.dark-mode .ps-tab:hover {
    color: #FFFFFF !important;
    background: #0F172A !important;
}

body.dark-mode .ps-tab.active,
.ya-theme.dark-mode .ps-tab.active {
    background: #0F172A !important;
    color: var(--secondary, #C5A059) !important;
    border-color: var(--secondary, #C5A059) !important;
}

body.dark-mode .profile-main .order-box,
.ya-theme.dark-mode .profile-main .order-box {
    background: #0F172A !important;
    border-color: #334155 !important;
}

/* ==========================================================================
   9. المتجر والفلاتر (Shop & Filter Sidebar)
   ========================================================================== */
body.dark-mode .filter-sidebar,
body.dark-mode .shop-sidebar,
.ya-theme.dark-mode .filter-sidebar,
.ya-theme.dark-mode .shop-sidebar {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .shop-sort select,
.ya-theme.dark-mode .shop-sort select {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   10. الفوتر وشريط الجوال (Footer & Mobile Bottom Bar)
   ========================================================================== */
body.dark-mode .main-footer,
.ya-theme.dark-mode .main-footer {
    background: #0A0E1A !important;
    border-top: 1px solid rgba(197, 160, 89, 0.2) !important;
}

body.dark-mode .footer-bottom,
.ya-theme.dark-mode .footer-bottom {
    background: #060911 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}


/* ====================================================================
   FIXED HEADER CLEARANCE & HERO SPACING
   ==================================================================== */
body, body.ya-theme, .ya-theme {
    padding-top: 140px !important;
}

.modern-home {
    margin-top: -140px !important;
}

.hero-premium {
    position: relative;
    min-height: calc(85vh + 70px) !important;
    padding: 210px 20px 75px !important; /* Clearance so hero card sits 100% visible below header */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0b0f19;
    background-image: url('../img/hiro.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    width: 100%;
}

.hero-premium::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.82) 0%, rgba(45, 35, 15, 0.72) 45%, rgba(197, 160, 89, 0.58) 100%) !important;
    z-index: 1 !important;
}

@media (max-width: 992px) {
    body, body.ya-theme, .ya-theme {
        padding-top: 135px !important;
    }
    .modern-home {
        margin-top: -135px !important;
    }
    .hero-premium {
        padding: 185px 16px 55px !important;
        min-height: calc(75vh + 60px) !important;
    }
}

@media (max-width: 768px) {
    body, body.ya-theme, .ya-theme {
        padding-top: 130px !important;
    }
    .modern-home {
        margin-top: -130px !important;
    }
    .hero-premium {
        padding: 170px 14px 45px !important;
        min-height: calc(70vh + 50px) !important;
    }
}


/* ====================================================================
   UNIFIED PAGE HERO SYSTEM (Shop, About, Contact, Artisans)
   ==================================================================== */
.unified-page-hero {
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.82) 0%, rgba(45, 35, 15, 0.72) 45%, rgba(197, 160, 89, 0.58) 100%), url('../img/hiro.jpg') center center / cover no-repeat !important;
    padding: 75px 20px 65px !important;
    color: #ffffff !important;
    text-align: center !important;
    border-bottom: 3px solid #C5A059 !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.unified-page-hero .container {
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.unified-hero-badge {
    background: rgba(197, 160, 89, 0.22) !important;
    border: 1px solid #C5A059 !important;
    color: #F5E8C8 !important;
    padding: 5px 18px !important;
    border-radius: 50px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.unified-hero-title {
    font-family: 'Amiri', 'Cairo', serif !important;
    font-size: clamp(2.1rem, 4.5vw, 2.7rem) !important;
    font-weight: 800 !important;
    margin: 0 0 14px 0 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

.unified-hero-desc {
    font-size: clamp(0.98rem, 2vw, 1.12rem) !important;
    color: #e8ded1 !important;
    line-height: 1.8 !important;
    margin: 0 auto !important;
    max-width: 740px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

.shop-container {
    padding-top: 35px !important;
}

@media (max-width: 768px) {
    .unified-page-hero {
        padding: 55px 16px 45px !important;
    }
}

/* ====================================================================
   LUXURY 50/50 STORE / ARTISAN CARDS SYSTEM
   ==================================================================== */
.artisans-premium-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)) !important;
    gap: 28px !important;
    margin-top: 15px !important;
}

.store-lux-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D2 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    box-shadow: 0 10px 28px -6px rgba(74, 0, 18, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    min-height: 290px !important;
}

.store-lux-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 36px -8px rgba(197, 160, 89, 0.28), 0 4px 14px rgba(74, 0, 18, 0.08) !important;
    border-color: #C5A059 !important;
}

/* 50% Visual Image Half */
.store-card-visual {
    flex: 0 0 50% !important;
    width: 50% !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 270px !important;
    background: #2D230F !important;
}

.store-card-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.store-lux-card:hover .store-card-bg-img {
    transform: scale(1.08) !important;
}

.store-visual-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.08) 45%, rgba(15, 23, 42, 0.78) 100%) !important;
    pointer-events: none !important;
}

.store-visual-top {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 3 !important;
}

.store-craft-pill {
    background: rgba(74, 0, 18, 0.88) !important;
    color: #FAF5EA !important;
    border: 1px solid rgba(197, 160, 89, 0.55) !important;
    padding: 4px 12px !important;
    border-radius: 30px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.store-verified-pill {
    background: rgba(197, 160, 89, 0.95) !important;
    color: #1A2128 !important;
    border: 1px solid #FAF5EA !important;
    padding: 4px 10px !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.store-visual-bottom {
    position: absolute !important;
    bottom: 14px !important;
    right: 14px !important;
    left: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    z-index: 3 !important;
}

.store-avatar-wrapper {
    position: relative !important;
}

.store-avatar-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #FFFFFF !important;
    border: 3px solid #C5A059 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    display: block !important;
}

.store-avatar-badge {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    background: #4A0012 !important;
    color: #C5A059 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 2px solid #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.65rem !important;
    font-weight: 900 !important;
}

.store-visual-location {
    color: #FFFFFF !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    padding: 4px 11px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* 50% Info Half */
.store-card-info {
    flex: 0 0 50% !important;
    width: 50% !important;
    padding: 22px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    background: #FFFFFF !important;
}

.store-info-head {
    margin-bottom: 8px !important;
}

.store-rating-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #C5A059 !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    background: #FAF5EA !important;
    border: 1px solid #EAE3D2 !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
}

.store-title {
    font-family: 'Amiri', 'Cairo', serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1A2128 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.store-artisan-sub {
    font-size: 0.84rem !important;
    color: #64748B !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
}

.store-artisan-sub strong {
    color: #4A0012 !important;
    font-weight: 700 !important;
}

.store-desc-snippet {
    font-size: 0.86rem !important;
    color: #475569 !important;
    line-height: 1.55 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
}

.store-stats-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    background: #F9F6F0 !important;
    border: 1px solid #EAE3D2 !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    margin-bottom: 14px !important;
}

.store-stat-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2px !important;
}

.store-stat-col .stat-label {
    font-size: 0.74rem !important;
    color: #64748B !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.store-stat-col .stat-value {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #1A2128 !important;
}

.store-stat-col .stat-value.trust-val {
    color: #4A0012 !important;
}

.store-stat-divider {
    width: 1px !important;
    height: 26px !important;
    background: #EAE3D2 !important;
}

.store-actions-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.btn-store-visit {
    flex: 1 !important;
    background: #C5A059 !important;
    color: #4A0012 !important;
    border: 2px solid #4A0012 !important;
    text-decoration: none !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.32) !important;
    transition: all 0.25s ease !important;
}

.btn-store-visit:hover {
    background: #b38e47 !important;
    color: #FAF5EA !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.45) !important;
}

.btn-store-chat {
    background: #4A0012 !important;
    color: #FAF5EA !important;
    border: 2px solid #C5A059 !important;
    text-decoration: none !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(74, 0, 18, 0.22) !important;
    flex-shrink: 0 !important;
}

.btn-store-chat:hover {
    background: #600018 !important;
    border-color: #E5C365 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(74, 0, 18, 0.35) !important;
}

/* Mobile & Tablet adjustments */
@media (max-width: 768px) {
    .artisans-premium-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .store-lux-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .store-card-visual {
        flex: 0 0 230px !important;
        width: 100% !important;
        min-height: 230px !important;
    }
    .store-card-info {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 20px !important;
    }
}

/* ====================================================================
   PREMIUM FEATURED PRODUCTS GRID & LUXURY CARDS SYSTEM
   ==================================================================== */
.prod-premium-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    max-width: 1400px !important;
    margin: 0 auto 50px !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.prod-premium-grid .lux-card {
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D2 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 8px 24px -4px rgba(74, 0, 18, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}

.prod-premium-grid .lux-card:hover {
    transform: translateY(-7px) !important;
    border-color: #C5A059 !important;
    box-shadow: 0 18px 36px -8px rgba(197, 160, 89, 0.28), 0 4px 14px rgba(74, 0, 18, 0.08) !important;
}

.prod-premium-grid .lux-card-img-wrap {
    width: 100% !important;
    height: 230px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #FAF6EF !important;
}

.prod-premium-grid .lux-card-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.prod-premium-grid .lux-card:hover .lux-card-img-wrap img {
    transform: scale(1.09) !important;
}

/* Badges on Product Image */
.prod-premium-grid .prod-badges {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 4 !important;
}

.prod-premium-grid .lux-badge {
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.prod-premium-grid .lux-badge.gold {
    background: #C5A059 !important;
    color: #FFFFFF !important;
    border-color: #FAF5EA !important;
}

/* Overlay & Floating Action Buttons */
.prod-premium-grid .lux-hover-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.prod-premium-grid .lux-action-btn {
    width: 40px !important;
    height: 40px !important;
    background: #FFFFFF !important;
    color: #1A2128 !important;
    border-radius: 50% !important;
    border: 1px solid #EAE3D2 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    transition: all 0.22s ease !important;
}

.prod-premium-grid .lux-action-btn:hover {
    background: #C5A059 !important;
    color: #FFFFFF !important;
    border-color: #C5A059 !important;
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.45) !important;
}

/* Card Content Details */
.prod-premium-grid .lux-card-content {
    padding: 16px 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    background: #FFFFFF !important;
    text-align: right !important;
}

.prod-premium-grid .prod-cat-text {
    font-size: 0.76rem !important;
    color: #8C7B65 !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
    text-transform: none !important;
    display: inline-block !important;
}

.prod-premium-grid .prod-cat-text::after {
    display: none !important;
}

.prod-premium-grid .lux-card-title {
    font-family: 'Amiri', 'Cairo', serif !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    color: #1A2128 !important;
    line-height: 1.4 !important;
    margin: 2px 0 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.8em !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.prod-premium-grid .lux-card-title:hover {
    color: #4A0012 !important;
}

.prod-premium-grid .prod-price-area {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 4px 0 6px !important;
}

.prod-premium-grid .lux-card-price {
    font-size: 1.18rem !important;
    font-weight: 900 !important;
    color: #4A0012 !important;
    line-height: 1 !important;
}

.prod-premium-grid .lux-card-price::after {
    display: none !important;
}

.prod-premium-grid .old-price-text {
    font-size: 0.86rem !important;
    color: #94A3B8 !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}

.prod-premium-grid .rating-lux {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    color: #C5A059 !important;
    font-size: 0.8rem !important;
    margin: 0 0 12px !important;
}

/* ====================================================================
   BUTTONS STYLING: ADD TO CART & OUTLINE BUTTONS
   ==================================================================== */
.btn-card-add,
.prod-premium-grid button[onclick*="submitCardCart"],
button.btn-card-add {
    width: 100% !important;
    background: #4A0012 !important;
    color: #FAF5EA !important;
    border: 1.5px solid #C5A059 !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(74, 0, 18, 0.22) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    text-decoration: none !important;
}

.btn-card-add:hover,
.prod-premium-grid button[onclick*="submitCardCart"]:hover,
button.btn-card-add:hover {
    background: #C5A059 !important;
    color: #FFFFFF !important;
    border-color: #4A0012 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4) !important;
}

.btn-card-add:active,
.prod-premium-grid button[onclick*="submitCardCart"]:active {
    transform: translateY(0) scale(0.98) !important;
}

.btn-card-add i,
.prod-premium-grid button[onclick*="submitCardCart"] i {
    font-size: 0.95rem !important;
    color: #C5A059 !important;
    transition: all 0.25s ease !important;
}

.btn-card-add:hover i,
.prod-premium-grid button[onclick*="submitCardCart"]:hover i {
    color: #FFFFFF !important;
    transform: scale(1.15) !important;
}

/* Luxury View Catalog / Outline Button */
.btn-lux-outline {
    background: #FFFFFF !important;
    color: #4A0012 !important;
    border: 2px solid #C5A059 !important;
    padding: 13px 38px !important;
    border-radius: 50px !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.18) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.btn-lux-outline:hover {
    background: #C5A059 !important;
    color: #FFFFFF !important;
    border-color: #4A0012 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 26px rgba(197, 160, 89, 0.4) !important;
}

.btn-lux-outline i {
    transition: transform 0.3s ease !important;
}

.btn-lux-outline:hover i {
    transform: translateX(-4px) !important;
}

/* Responsiveness for Product Cards Grid */
@media (max-width: 1100px) {
    .prod-premium-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (max-width: 768px) {
    .prod-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 12px !important;
    }
    .prod-premium-grid .lux-card-img-wrap {
        height: 180px !important;
    }
    .prod-premium-grid .lux-card-content {
        padding: 12px 10px 14px !important;
    }
    .prod-premium-grid .lux-card-title {
        font-size: 0.95rem !important;
        height: 2.7em !important;
    }
    .prod-premium-grid .lux-card-price {
        font-size: 1.05rem !important;
    }
    .btn-card-add,
    .prod-premium-grid button[onclick*="submitCardCart"] {
        padding: 8px 10px !important;
        font-size: 0.82rem !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 480px) {
    .prod-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    .prod-premium-grid .lux-card-img-wrap {
        height: 150px !important;
    }
    .btn-lux-outline {
        padding: 11px 24px !important;
        font-size: 0.92rem !important;
    }
}

/* ====================================================================
   HEADER USER PILL & USERNAME DISPLAY SYSTEM
   ==================================================================== */
.user-pill-btn,
.action-btn.user-pill-btn,
.user-dropdown-container .user-pill-btn {
    width: auto !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 50px !important;
    padding: 3px 14px 3px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #EAE3D2 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    overflow: visible !important;
}

[dir="ltr"] .user-pill-btn,
[dir="ltr"] .action-btn.user-pill-btn {
    padding: 3px 6px 3px 14px !important;
}

.user-pill-btn:hover,
.user-dropdown-container:hover .user-pill-btn,
.user-dropdown-container.touch-active .user-pill-btn {
    border-color: #C5A059 !important;
    background: #FAF5EA !important;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25) !important;
    transform: translateY(-1px) !important;
}

.user-pill-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAF5EA !important;
    border: 1.5px solid #C5A059 !important;
    flex-shrink: 0 !important;
}

.user-pill-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
}

.user-pill-avatar i {
    font-size: 0.85rem !important;
    color: #4A0012 !important;
}

.user-pill-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1A2128 !important;
    max-width: 130px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    display: inline-block !important;
}

.user-pill-btn:hover .user-pill-name,
.user-dropdown-container:hover .user-pill-name {
    color: #4A0012 !important;
}

.user-pill-chevron {
    font-size: 0.65rem !important;
    color: #8C7B65 !important;
    transition: transform 0.25s ease !important;
    margin-inline-start: 2px !important;
}

.user-dropdown-container:hover .user-pill-chevron,
.user-dropdown-container.touch-active .user-pill-chevron {
    transform: rotate(180deg) !important;
    color: #C5A059 !important;
}

/* Dark mode compatibility */
body.dark-mode .user-pill-btn,
.ya-theme.dark-mode .user-pill-btn {
    background: #1E293B !important;
    border-color: rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .user-pill-name,
.ya-theme.dark-mode .user-pill-name {
    color: #FAF5EA !important;
}
body.dark-mode .user-pill-btn:hover,
.ya-theme.dark-mode .user-dropdown-container:hover .user-pill-btn {
    border-color: #C5A059 !important;
    background: #253349 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .user-pill-name {
        max-width: 85px !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 480px) {
    .user-pill-name,
    .user-pill-chevron {
        display: none !important;
    }
    .user-pill-btn,
    .action-btn.user-pill-btn {
        width: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
    }
}

/* ====================================================================
   ROYAL BUTTON PAIR: BURGUNDY (GOLD BORDER) & GOLD (BURGUNDY BORDER)
   ==================================================================== */
/* 1. Burgundy Button with Gold Border */
.btn-hero-burgundy,
.btn-lux-burgundy,
.hero-btns .btn-lux {
    background: #4A0012 !important;
    color: #FAF5EA !important;
    border: 2.5px solid #C5A059 !important;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(74, 0, 18, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.btn-hero-burgundy:hover,
.btn-lux-burgundy:hover,
.hero-btns .btn-lux:hover {
    background: #5C0017 !important;
    border-color: #E5C365 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.35), 0 4px 14px rgba(74, 0, 18, 0.35) !important;
}

.btn-hero-burgundy i,
.btn-lux-burgundy i,
.hero-btns .btn-lux i {
    color: #C5A059 !important;
    transition: transform 0.25s ease !important;
}

.btn-hero-burgundy:hover i,
.btn-lux-burgundy:hover i,
.hero-btns .btn-lux:hover i {
    color: #FFFFFF !important;
    transform: scale(1.15) !important;
}

/* 2. Gold Button with Burgundy Border */
.btn-hero-gold,
.btn-lux-gold,
.hero-btns .btn-lux-gold {
    background: #C5A059 !important;
    color: #4A0012 !important;
    border: 2.5px solid #4A0012 !important;
    padding: 14px 34px !important;
    border-radius: 50px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.btn-hero-gold:hover,
.btn-lux-gold:hover,
.hero-btns .btn-lux-gold:hover {
    background: #b38e45 !important;
    border-color: #2D000A !important;
    color: #FAF5EA !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(74, 0, 18, 0.38), 0 4px 14px rgba(197, 160, 89, 0.3) !important;
}

.btn-hero-gold i,
.btn-lux-gold i,
.hero-btns .btn-lux-gold i {
    color: #4A0012 !important;
    transition: transform 0.25s ease !important;
}

.btn-hero-gold:hover i,
.btn-lux-gold:hover i,
.hero-btns .btn-lux-gold:hover i {
    color: #FAF5EA !important;
    transform: scale(1.15) !important;
}

/* ====================================================================
   YEMENART MASTER MOBILE-FIRST & APP-LIKE RESPONSIVE ARCHITECTURE
   ==================================================================== */

/* 1. Global Viewport & Performance */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991px) {
    /* Safe Area & Bottom Nav Clearance */
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Container fluid padding on tablet & mobile */
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Header Width & Action Buttons (زد في عرض الرأس للهاتف) */
    .main-header .container,
    .announcement-bar .container,
    #topAnnouncementBar .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        box-sizing: border-box !important;
    }

    .main-header {
        padding: 11px 0 !important;
    }

    .header-content {
        padding: 6px 0 !important;
    }

    .logo-link {
        gap: 12px !important;
    }

    .logo-image {
        height: 42px !important;
    }

    .logo-main {
        font-size: 1.25rem !important;
    }

    .logo-sub {
        display: none !important;
    }

    .nav-actions {
        gap: 9px !important;
    }

    .action-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 1.05rem !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 1.5px solid #EAE3D2 !important;
        color: #4A0012 !important;
        font-size: 1rem !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
    }

    .ya-theme.dark-mode .mobile-menu-toggle {
        background: #241419 !important;
        border-color: rgba(197, 160, 89, 0.4) !important;
        color: #E5C365 !important;
    }

    /* User pill in header hidden on small phones since it is in Drawer & Bottom Nav */
    .user-pill-name,
    .user-pill-chevron {
        display: none !important;
    }

    .user-pill-btn {
        padding: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }

    /* Mobile Navigation Drawer & Backdrop */
    .mobile-nav {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 310px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 10005 !important;
        box-shadow: -5px 0 35px rgba(0, 0, 0, 0.3) !important;
        transform: translateX(100%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    [dir="ltr"] .mobile-nav {
        right: auto !important;
        left: 0 !important;
        transform: translateX(-100%) !important;
        box-shadow: 5px 0 35px rgba(0, 0, 0, 0.3) !important;
    }

    .mobile-nav.active,
    .mobile-nav.open {
        transform: translateX(0) !important;
    }

    .mobile-nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.65) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        z-index: 10000 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .mobile-nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-nav-header {
        background: linear-gradient(135deg, #4A0012 0%, #5C0017 100%) !important;
        padding: 24px 20px 20px !important;
        border-bottom: 2px solid rgba(197, 160, 89, 0.4) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .mobile-nav-header .user-info {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .mobile-nav-header .user-avatar {
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 2px solid #E5C365 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-size: 1.4rem !important;
        overflow: hidden !important;
    }

    .mobile-nav-header .user-details .user-name {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 1.05rem !important;
        display: block !important;
    }

    .mobile-nav-header .user-details .user-email {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 0.78rem !important;
        display: block !important;
    }

    .mobile-nav-close {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .mobile-nav-close:hover {
        background: rgba(239, 68, 68, 0.5) !important;
        border-color: #EF4444 !important;
    }

    .mobile-nav-menu {
        padding: 10px 0 !important;
        flex: 1 !important;
    }

    .mobile-nav-link {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 13px 22px !important;
        color: #2D3748 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 0.94rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
        transition: all 0.2s ease !important;
    }

    .mobile-nav-link i {
        color: #997A15 !important;
        font-size: 1.15rem !important;
        width: 22px !important;
        text-align: center !important;
    }

    .mobile-nav-link.active,
    .mobile-nav-link:hover {
        background: rgba(197, 160, 89, 0.12) !important;
        color: #4A0012 !important;
        padding-inline-start: 26px !important;
    }

    .ya-theme.dark-mode .mobile-nav {
        background: #1a1215 !important;
    }

    .ya-theme.dark-mode .mobile-nav-link {
        color: #E2E8F0 !important;
        border-bottom-color: rgba(255, 255, 255, 0.05) !important;
    }

    .ya-theme.dark-mode .mobile-nav-link.active,
    .ya-theme.dark-mode .mobile-nav-link:hover {
        background: rgba(197, 160, 89, 0.15) !important;
        color: #E5C365 !important;
    }

    /* 2. Hero Section on Mobile */
    .modern-home {
        margin-top: 0 !important;
    }

    .hero-premium {
        min-height: auto !important;
        padding: 30px 14px 38px !important;
    }

    .hero-glass-card {
        padding: 26px 18px !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-badge-modern {
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
        margin-bottom: 14px !important;
    }

    .hero-title-modern {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .hero-desc-modern {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .btn-hero-burgundy,
    .btn-hero-gold {
        width: 100% !important;
        height: 48px !important;
        font-size: 0.95rem !important;
        border-radius: 14px !important;
        justify-content: center !important;
    }

    /* 3. Section Headers on Mobile */
    .section-premium-hdr {
        margin-bottom: 22px !important;
        padding: 0 10px !important;
    }

    .section-premium-hdr h2 {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }

    .section-premium-hdr p {
        font-size: 0.88rem !important;
    }

    /* 4. Category Carousel on Mobile */
    .home-categories {
        padding: 30px 0 !important;
    }

    .cat-carousel-container {
        padding: 0 10px !important;
    }

    .cat-carousel {
        gap: 12px !important;
        padding-bottom: 12px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .cat-card-img {
        flex: 0 0 150px !important;
        height: 205px !important;
        border-radius: 18px !important;
        scroll-snap-align: start !important;
    }

    .cat-card-content h3 {
        font-size: 1rem !important;
    }

    .cat-card-count {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }

    /* 5. Product Grid on All Mobile Devices (2 Columns) */
    .products-grid,
    .prod-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 4px !important;
    }

    .lux-card {
        border-radius: 16px !important;
    }

    .lux-card-img-wrap {
        height: 155px !important;
    }

    .lux-card-content {
        padding: 10px 8px 12px !important;
    }

    .lux-card-title {
        font-size: 0.86rem !important;
        line-height: 1.35 !important;
        height: 2.7em !important;
    }

    .lux-card-price {
        font-size: 0.96rem !important;
    }

    .btn-card-add,
    button[onclick*="submitCardCart"] {
        padding: 7px 10px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }

    /* 6. Promotional Carousel on Mobile */
    .promo-slides {
        min-height: 480px !important;
        height: auto !important;
    }

    .promo-overlay {
        padding: 25px 16px 35px !important;
    }

    .promo-headline {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
        margin: 10px 0 !important;
    }

    .promo-body-text {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .promo-showcase-card {
        width: 170px !important;
        height: 170px !important;
        margin-top: 14px !important;
    }

    /* 7. Artisans Grid on Mobile */
    .artisans-premium-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 6px !important;
    }

    .store-lux-card {
        border-radius: 20px !important;
        min-height: 270px !important;
    }

    .store-card-visual {
        height: 170px !important;
    }

    /* 8. Story Section on Mobile */
    .heritage-story {
        flex-direction: column !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        margin: 25px 10px !important;
    }

    .story-content {
        padding: 28px 18px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .story-title {
        font-size: 1.7rem !important;
    }

    .story-text {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }

    .story-image {
        width: 100% !important;
        min-height: 220px !important;
        height: 220px !important;
    }

    /* 9. Floating Chat Widget Mobile Alignment */
    #chat-widget-btn,
    #chatFloatingWidget {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        left: 14px !important;
        width: 50px !important;
        height: 50px !important;
        z-index: 9995 !important;
    }

    /* 10. Form Fields on Mobile (Prevent iOS Safari auto-zoom) */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* 11. Mobile Bottom Navigation Luxury Bar */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 64px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(197, 160, 89, 0.25) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        z-index: 9990 !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 4px calc(env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 !important;
    }

    .mobile-bottom-nav .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        color: #718096 !important;
        text-decoration: none !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        font-family: 'Cairo', sans-serif !important;
        position: relative !important;
        transition: all 0.25s ease !important;
        gap: 3px !important;
        padding: 4px 0 !important;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.22rem !important;
        transition: transform 0.25s ease, color 0.25s ease !important;
    }

    .mobile-bottom-nav .nav-item.active {
        color: #4A0012 !important;
    }

    .mobile-bottom-nav .nav-item.active i {
        color: #997A15 !important;
        transform: translateY(-2px) scale(1.1) !important;
    }

    .mobile-bottom-nav .nav-item.active::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        width: 24px !important;
        height: 3px !important;
        background: linear-gradient(90deg, #997A15, #E5C365) !important;
        border-radius: 0 0 4px 4px !important;
    }

    .mobile-bottom-nav .badge {
        position: absolute !important;
        top: 4px !important;
        right: calc(50% - 18px) !important;
        background: linear-gradient(135deg, #EF4444, #DC2626) !important;
        color: #ffffff !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        min-width: 17px !important;
        height: 17px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 3px !important;
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4) !important;
        border: 1.5px solid #ffffff !important;
    }

    .ya-theme.dark-mode .mobile-bottom-nav,
    body.dark-mode .mobile-bottom-nav {
        background: rgba(22, 14, 18, 0.96) !important;
        border-top-color: rgba(197, 160, 89, 0.3) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    }

    .ya-theme.dark-mode .mobile-bottom-nav .nav-item,
    body.dark-mode .mobile-bottom-nav .nav-item {
        color: #A0AEC0 !important;
    }

    .ya-theme.dark-mode .mobile-bottom-nav .nav-item.active,
    body.dark-mode .mobile-bottom-nav .nav-item.active {
        color: #E5C365 !important;
    }

    .ya-theme.dark-mode .mobile-bottom-nav .nav-item.active i,
    body.dark-mode .mobile-bottom-nav .nav-item.active i {
        color: #E5C365 !important;
    }
}

/* 12. Ultra Small Screens (iPhone SE, Galaxy A series < 380px) */
@media (max-width: 380px) {
    .hero-title-modern {
        font-size: 1.6rem !important;
    }

    .products-grid,
    .prod-premium-grid {
        gap: 6px !important;
        padding: 0 2px !important;
    }

    .lux-card-img-wrap {
        height: 135px !important;
    }

    .lux-card-title {
        font-size: 0.8rem !important;
    }

    .lux-card-price {
        font-size: 0.88rem !important;
    }

    .mobile-bottom-nav .nav-item {
        font-size: 0.67rem !important;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.1rem !important;
    }
}

/* ====================================================================
   YEMENART MASTER PUBLIC DARK MODE ENGINE (100% UNIFIED ACROSS ALL PAGES)
   ==================================================================== */

/* 1. Global Canvas & Background Reset */
body.dark-mode,
.ya-theme.dark-mode,
html[data-theme="dark"],
html[data-theme="dark"] body {
    --ya-ice-silver: #0B0F19 !important;
    --ya-ice-silver-light: #1E293B !important;
    --ya-ice-silver-surface: #1E293B !important;
    --ya-ice-silver-pure: #1E293B !important;
    --ya-ice-silver-deep: #0F172A !important;
    --ya-ice-silver-border: #334155 !important;
    --ya-ice-silver-dark: #334155 !important;
    --ya-beige: #0B0F19 !important;
    --ya-beige-light: #1E293B !important;
    --ya-beige-surface: #1E293B !important;
    --ya-beige-deep: #0F172A !important;
    --ya-beige-border: #334155 !important;
    --primary: #FFFFFF !important;
    --light: #1E293B !important;
    --text: #F1F5F9 !important;
    --text-main: #E2E8F0 !important;
    --text-dark: #FFFFFF !important;
    --text-primary: #FFFFFF !important;
    --text-secondary: #CBD5E1 !important;
    --text-light: #94A3B8 !important;
    --bg: #0B0F19 !important;
    --surface: #1E293B !important;
    --card: #1E293B !important;
    --card-bg: #1E293B !important;
    --white: #1E293B !important;
    --border: #334155 !important;
    --shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.7) !important;
    background-color: #0B0F19 !important;
    color: #E2E8F0 !important;
}

body.dark-mode::before,
.ya-theme.dark-mode::before,
html[data-theme="dark"] body::before {
    background-color: #0B0F19 !important;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(197, 160, 89, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(74, 0, 18, 0.15), transparent),
        url('../img/musnad-pattern.svg') !important;
    opacity: 0.25 !important;
}

/* 2. Global Headings, Texts & Links */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
.ya-theme.dark-mode h1, .ya-theme.dark-mode h2, .ya-theme.dark-mode h3, .ya-theme.dark-mode h4, .ya-theme.dark-mode h5, .ya-theme.dark-mode h6,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 {
    color: #FFFFFF !important;
}

body.dark-mode p, .ya-theme.dark-mode p, html[data-theme="dark"] p {
    color: #CBD5E1 !important;
}

body.dark-mode .text-muted, .ya-theme.dark-mode .text-muted, html[data-theme="dark"] .text-muted {
    color: #94A3B8 !important;
}

/* 3. Global Header, Navigation & Dropdowns */
body.dark-mode .main-header,
.ya-theme.dark-mode .main-header,
body.dark-mode .main-header.sticky,
.ya-theme.dark-mode .main-header.sticky,
html[data-theme="dark"] .main-header {
    background: #0F172A !important;
    border-bottom: 1.5px solid rgba(197, 160, 89, 0.4) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .logo-text, .ya-theme.dark-mode .logo-text,
body.dark-mode .logo-main, .ya-theme.dark-mode .logo-main,
html[data-theme="dark"] .logo-main {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

body.dark-mode .main-nav .nav-link,
.ya-theme.dark-mode .main-nav .nav-link,
html[data-theme="dark"] .main-nav .nav-link {
    color: #E2E8F0 !important;
}

body.dark-mode .main-nav .nav-link:hover,
.ya-theme.dark-mode .main-nav .nav-link:hover,
body.dark-mode .main-nav .nav-link.active,
.ya-theme.dark-mode .main-nav .nav-link.active {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(74, 0, 18, 0.4)) !important;
    color: #FFFFFF !important;
    border-color: #C5A059 !important;
}

/* Action Buttons & User Pill in Header */
body.dark-mode .header-actions,
.ya-theme.dark-mode .header-actions,
html[data-theme="dark"] .header-actions {
    background: rgba(30, 41, 59, 0.85) !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
}

body.dark-mode .action-btn,
.ya-theme.dark-mode .action-btn,
html[data-theme="dark"] .action-btn {
    background: #1E293B !important;
    border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .action-btn i,
.ya-theme.dark-mode .action-btn i,
html[data-theme="dark"] .action-btn i {
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .action-btn:hover,
.ya-theme.dark-mode .action-btn:hover,
html[data-theme="dark"] .action-btn:hover {
    background: rgba(197, 160, 89, 0.2) !important;
    border-color: #C5A059 !important;
}

body.dark-mode .user-pill-btn,
.ya-theme.dark-mode .user-pill-btn,
html[data-theme="dark"] .user-pill-btn {
    background: #1E293B !important;
    border-color: rgba(197, 160, 89, 0.4) !important;
}

body.dark-mode .user-pill-name,
.ya-theme.dark-mode .user-pill-name,
html[data-theme="dark"] .user-pill-name {
    color: #FFFFFF !important;
}

body.dark-mode .user-dropdown-menu,
.ya-theme.dark-mode .user-dropdown-menu,
body.dark-mode .dropdown-menu,
.ya-theme.dark-mode .dropdown-menu,
body.dark-mode .cart-dropdown,
.ya-theme.dark-mode .cart-dropdown,
body.dark-mode .ya-notif-dropdown,
.ya-theme.dark-mode .ya-notif-dropdown,
html[data-theme="dark"] .ya-notif-dropdown {
    background: #1E293B !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
    color: #E2E8F0 !important;
}

body.dark-mode .udm-header,
.ya-theme.dark-mode .udm-header,
body.dark-mode .ya-notif-header,
.ya-theme.dark-mode .ya-notif-header {
    background: #0F172A !important;
    border-bottom: 1px solid #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .udm-user-name,
.ya-theme.dark-mode .udm-user-name,
body.dark-mode .ya-notif-header-title,
.ya-theme.dark-mode .ya-notif-header-title {
    color: #FFFFFF !important;
}

body.dark-mode .udm-link,
.ya-theme.dark-mode .udm-link,
body.dark-mode .ya-notif-item,
.ya-theme.dark-mode .ya-notif-item {
    background: transparent !important;
    color: #E2E8F0 !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .udm-link:hover,
.ya-theme.dark-mode .udm-link:hover,
body.dark-mode .ya-notif-item:hover,
.ya-theme.dark-mode .ya-notif-item:hover {
    background: rgba(197, 160, 89, 0.12) !important;
    color: #C5A059 !important;
}

body.dark-mode .ya-notif-title,
.ya-theme.dark-mode .ya-notif-title {
    color: #FFFFFF !important;
}

body.dark-mode .ya-notif-msg,
.ya-theme.dark-mode .ya-notif-msg {
    color: #94A3B8 !important;
}

body.dark-mode .ya-notif-footer,
.ya-theme.dark-mode .ya-notif-footer {
    background: #0F172A !important;
    border-top: 1px solid #334155 !important;
}

/* 4. Products Grid & Cards on Home, Shop & Artisans */
body.dark-mode .prod-premium-grid .lux-card,
.ya-theme.dark-mode .prod-premium-grid .lux-card,
body.dark-mode .products-grid .lux-card,
.ya-theme.dark-mode .products-grid .lux-card,
body.dark-mode .lux-card,
.ya-theme.dark-mode .lux-card,
html[data-theme="dark"] .lux-card {
    background: #1E293B !important;
    border: 1.5px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .prod-premium-grid .lux-card-content,
.ya-theme.dark-mode .prod-premium-grid .lux-card-content,
body.dark-mode .lux-card-content,
.ya-theme.dark-mode .lux-card-content,
html[data-theme="dark"] .lux-card-content {
    background: #1E293B !important;
    border-top: 1px solid rgba(197, 160, 89, 0.15) !important;
}

body.dark-mode .prod-premium-grid .lux-card-title,
.ya-theme.dark-mode .prod-premium-grid .lux-card-title,
body.dark-mode .lux-card-title,
.ya-theme.dark-mode .lux-card-title,
html[data-theme="dark"] .lux-card-title {
    color: #FFFFFF !important;
}

body.dark-mode .prod-premium-grid .prod-cat-text,
.ya-theme.dark-mode .prod-premium-grid .prod-cat-text,
body.dark-mode .prod-cat-text,
.ya-theme.dark-mode .prod-cat-text {
    color: #C5A059 !important;
}

body.dark-mode .prod-premium-grid .lux-card-price,
.ya-theme.dark-mode .prod-premium-grid .lux-card-price,
body.dark-mode .lux-card-price,
.ya-theme.dark-mode .lux-card-price {
    color: #F1C40F !important;
}

body.dark-mode .prod-premium-grid .old-price-text,
.ya-theme.dark-mode .prod-premium-grid .old-price-text,
body.dark-mode .old-price-text,
.ya-theme.dark-mode .old-price-text {
    color: #64748B !important;
}

/* 5. Artisans Showcase Cards */
body.dark-mode .artisans-premium-grid .store-lux-card,
.ya-theme.dark-mode .artisans-premium-grid .store-lux-card,
body.dark-mode .store-lux-card,
.ya-theme.dark-mode .store-lux-card,
html[data-theme="dark"] .store-lux-card {
    background: #1E293B !important;
    border: 1.5px solid rgba(197, 160, 89, 0.28) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .store-card-info,
.ya-theme.dark-mode .store-card-info,
html[data-theme="dark"] .store-card-info {
    background: #1E293B !important;
}

body.dark-mode .store-title,
.ya-theme.dark-mode .store-title,
html[data-theme="dark"] .store-title {
    color: #FFFFFF !important;
}

body.dark-mode .store-artisan-sub,
.ya-theme.dark-mode .store-artisan-sub {
    color: #94A3B8 !important;
}

body.dark-mode .store-artisan-sub strong,
.ya-theme.dark-mode .store-artisan-sub strong {
    color: #C5A059 !important;
}

body.dark-mode .store-desc-snippet,
.ya-theme.dark-mode .store-desc-snippet {
    color: #CBD5E1 !important;
}

body.dark-mode .store-stats-strip,
.ya-theme.dark-mode .store-stats-strip {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .store-stat-val,
.ya-theme.dark-mode .store-stat-val {
    color: #F1C40F !important;
}

body.dark-mode .store-stat-lbl,
.ya-theme.dark-mode .store-stat-lbl {
    color: #94A3B8 !important;
}

body.dark-mode .store-rating-chip,
.ya-theme.dark-mode .store-rating-chip {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #C5A059 !important;
}

/* 6. Shop Page Filters & Topbar */
body.dark-mode .filter-box,
.ya-theme.dark-mode .filter-box,
body.dark-mode .shop-topbar,
.ya-theme.dark-mode .shop-topbar {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #E2E8F0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .filter-title,
.ya-theme.dark-mode .filter-title {
    color: #FFFFFF !important;
    border-bottom-color: #334155 !important;
}

body.dark-mode .cat-list a,
.ya-theme.dark-mode .cat-list a {
    color: #CBD5E1 !important;
}

body.dark-mode .cat-list a:hover,
.ya-theme.dark-mode .cat-list a:hover {
    background: rgba(197, 160, 89, 0.15) !important;
    color: #C5A059 !important;
}

body.dark-mode .cat-count,
.ya-theme.dark-mode .cat-count {
    background: #0F172A !important;
    color: #94A3B8 !important;
}

body.dark-mode .search-input,
.ya-theme.dark-mode .search-input,
body.dark-mode .sort-select,
.ya-theme.dark-mode .sort-select,
body.dark-mode .filter-select,
.ya-theme.dark-mode .filter-select {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .shop-view-switchers,
.ya-theme.dark-mode .shop-view-switchers {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .view-switch-btn,
.ya-theme.dark-mode .view-switch-btn {
    color: #94A3B8 !important;
}

body.dark-mode .view-switch-btn.active,
.ya-theme.dark-mode .view-switch-btn.active {
    background: #1E293B !important;
    color: #C5A059 !important;
}

body.dark-mode .pagination .page-btn,
.ya-theme.dark-mode .pagination .page-btn {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #CBD5E1 !important;
}

body.dark-mode .pagination .page-btn.active,
.ya-theme.dark-mode .pagination .page-btn.active {
    background: var(--secondary, #C5A059) !important;
    color: #0F172A !important;
}

/* 7. Product Details Page */
body.dark-mode .product-detail,
.ya-theme.dark-mode .product-detail {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .main-image,
.ya-theme.dark-mode .main-image {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .product-info h1,
.ya-theme.dark-mode .product-info h1 {
    color: #FFFFFF !important;
}

body.dark-mode .product-meta,
.ya-theme.dark-mode .product-meta {
    border-bottom-color: #334155 !important;
}

body.dark-mode .product-description,
.ya-theme.dark-mode .product-description {
    color: #CBD5E1 !important;
}

body.dark-mode .product-actions,
.ya-theme.dark-mode .product-actions {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .quantity-controls,
.ya-theme.dark-mode .quantity-controls {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .quantity-controls input,
.ya-theme.dark-mode .quantity-controls input {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-inline-color: #334155 !important;
}

body.dark-mode .quantity-btn,
.ya-theme.dark-mode .quantity-btn {
    color: #FFFFFF !important;
}

body.dark-mode .add-to-wishlist,
.ya-theme.dark-mode .add-to-wishlist,
body.dark-mode .chat-with-seller,
.ya-theme.dark-mode .chat-with-seller {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .chat-with-seller:hover,
.ya-theme.dark-mode .chat-with-seller:hover {
    background: var(--secondary, #C5A059) !important;
    color: #0F172A !important;
}

body.dark-mode .product-features .feature,
.ya-theme.dark-mode .product-features .feature {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .feature span:last-child,
.ya-theme.dark-mode .feature span:last-child {
    color: #CBD5E1 !important;
}

body.dark-mode .product-tabs,
.ya-theme.dark-mode .product-tabs {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .tabs-header,
.ya-theme.dark-mode .tabs-header {
    border-bottom-color: #334155 !important;
}

body.dark-mode .tab-btn,
.ya-theme.dark-mode .tab-btn {
    color: #94A3B8 !important;
}

body.dark-mode .tab-btn.active,
.ya-theme.dark-mode .tab-btn.active {
    color: var(--secondary, #C5A059) !important;
    border-bottom-color: var(--secondary, #C5A059) !important;
}

body.dark-mode .tab-panel,
.ya-theme.dark-mode .tab-panel {
    color: #CBD5E1 !important;
}

body.dark-mode .specs-table,
.ya-theme.dark-mode .specs-table,
body.dark-mode .specs-table th,
.ya-theme.dark-mode .specs-table th,
body.dark-mode .specs-table td,
.ya-theme.dark-mode .specs-table td {
    border-color: #334155 !important;
}

body.dark-mode .specs-table th,
.ya-theme.dark-mode .specs-table th {
    background: #0F172A !important;
    color: var(--secondary, #C5A059) !important;
}

body.dark-mode .specs-table td,
.ya-theme.dark-mode .specs-table td {
    background: #1E293B !important;
    color: #E2E8F0 !important;
}

/* 8. Cart Page */
body.dark-mode .cart-wrap,
.ya-theme.dark-mode .cart-wrap {
    color: #E2E8F0 !important;
}

body.dark-mode .vendor-group,
.ya-theme.dark-mode .vendor-group {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .vendor-header,
.ya-theme.dark-mode .vendor-header,
body.dark-mode .vendor-footer,
.ya-theme.dark-mode .vendor-footer {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #334155 !important;
}

body.dark-mode .cart-table th,
.ya-theme.dark-mode .cart-table th {
    background: #0F172A !important;
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

body.dark-mode .cart-table td,
.ya-theme.dark-mode .cart-table td {
    background: #1E293B !important;
    color: #E2E8F0 !important;
    border-color: #334155 !important;
}

body.dark-mode .ct-name,
.ya-theme.dark-mode .ct-name {
    color: #FFFFFF !important;
}

body.dark-mode .ct-price,
.ya-theme.dark-mode .ct-price {
    color: #F1C40F !important;
}

body.dark-mode .qty-control,
.ya-theme.dark-mode .qty-control {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .qty-input,
.ya-theme.dark-mode .qty-input {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-inline-color: #334155 !important;
}

.wishlist-empty-box {
    background: #fff;
    border: 1px solid #ebdcc6;
}

body.dark-mode .empty-cart,
.ya-theme.dark-mode .empty-cart,
body.dark-mode .wishlist-empty-box,
.ya-theme.dark-mode .wishlist-empty-box {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .cart-grand-summary,
.ya-theme.dark-mode .cart-grand-summary {
    background: #1E293B !important;
    border: 1.5px solid var(--secondary, #C5A059) !important;
    color: #FFFFFF !important;
}

/* 9. Checkout Page */
body.dark-mode .checkout-stepper-wrap,
.ya-theme.dark-mode .checkout-stepper-wrap {
    background: #0F172A !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .step-item:not(.active),
.ya-theme.dark-mode .step-item:not(.active) {
    background: #1E293B !important;
    color: #94A3B8 !important;
}

body.dark-mode .co-panel,
.ya-theme.dark-mode .co-panel {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .co-title,
.ya-theme.dark-mode .co-title {
    color: #FFFFFF !important;
    border-bottom-color: #334155 !important;
}

body.dark-mode .form-group label,
.ya-theme.dark-mode .form-group label {
    color: #CBD5E1 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select,
.ya-theme.dark-mode .form-group input,
.ya-theme.dark-mode .form-group textarea,
.ya-theme.dark-mode .form-group select {
    background: #0F172A !important;
    border: 1px solid #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .pay-card-option,
.ya-theme.dark-mode .pay-card-option {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .pay-card-option.selected,
.ya-theme.dark-mode .pay-card-option.selected {
    background: rgba(197, 160, 89, 0.15) !important;
    border-color: var(--secondary, #C5A059) !important;
}

body.dark-mode .gateway-portal-box,
.ya-theme.dark-mode .gateway-portal-box {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

/* 10. Contact Us Page */
body.dark-mode .contact-page,
.ya-theme.dark-mode .contact-page {
    color: #E2E8F0 !important;
}

body.dark-mode .contact-hero h1,
.ya-theme.dark-mode .contact-hero h1 {
    background: linear-gradient(135deg, #FFFFFF 0%, #C5A059 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.dark-mode .contact-hero p,
.ya-theme.dark-mode .contact-hero p {
    color: #94A3B8 !important;
}

body.dark-mode .contact-form-box,
.ya-theme.dark-mode .contact-form-box {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .contact-form-box h2,
.ya-theme.dark-mode .contact-form-box h2 {
    color: #FFFFFF !important;
}

body.dark-mode .contact-form-box .form-group label,
.ya-theme.dark-mode .contact-form-box .form-group label {
    color: #C5A059 !important;
}

body.dark-mode .contact-form-box .form-group input,
body.dark-mode .contact-form-box .form-group textarea,
.ya-theme.dark-mode .contact-form-box .form-group input,
.ya-theme.dark-mode .contact-form-box .form-group textarea {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

/* 10.5 About Page */
body.dark-mode .about-card,
.ya-theme.dark-mode .about-card,
body.dark-mode .about-story,
.ya-theme.dark-mode .about-story,
body.dark-mode .section-wrapper,
.ya-theme.dark-mode .section-wrapper,
body.dark-mode .partner-card,
.ya-theme.dark-mode .partner-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

body.dark-mode .about-card h3,
.ya-theme.dark-mode .about-card h3,
body.dark-mode .section-wrapper h2,
.ya-theme.dark-mode .section-wrapper h2,
body.dark-mode .partner-name,
.ya-theme.dark-mode .partner-name,
body.dark-mode .value-item h4,
.ya-theme.dark-mode .value-item h4 {
    color: #FFFFFF !important;
}

body.dark-mode .about-card p,
.ya-theme.dark-mode .about-card p,
body.dark-mode .about-story,
.ya-theme.dark-mode .about-story,
body.dark-mode .vision-content,
.ya-theme.dark-mode .vision-content,
body.dark-mode .mission-content,
.ya-theme.dark-mode .mission-content,
body.dark-mode .message-content,
.ya-theme.dark-mode .message-content,
body.dark-mode .partners-content,
.ya-theme.dark-mode .partners-content {
    color: #CBD5E1 !important;
}

body.dark-mode .value-item,
.ya-theme.dark-mode .value-item {
    background: #0F172A !important;
    border-color: #334155 !important;
}

.search-cat-card {
    background: #ffffff;
    border: 1px solid #ebdcc6;
    color: var(--primary);
}

body.dark-mode .search-cat-card,
.ya-theme.dark-mode .search-cat-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .search-cat-card h3,
.ya-theme.dark-mode .search-cat-card h3 {
    color: #FFFFFF !important;
}

/* 11. Orders History & Details */
body.dark-mode .orders-table,
.ya-theme.dark-mode .orders-table {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .orders-table th,
.ya-theme.dark-mode .orders-table th {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .orders-table td,
.ya-theme.dark-mode .orders-table td {
    background: #1E293B !important;
    color: #E2E8F0 !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .orders-table tr:hover td,
.ya-theme.dark-mode .orders-table tr:hover td {
    background: #253347 !important;
}

body.dark-mode .btn-view,
.ya-theme.dark-mode .btn-view {
    background: #0F172A !important;
    color: #C5A059 !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .order-invoice-card,
.ya-theme.dark-mode .order-invoice-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

/* 12. Artisans Directory Dropdown & Filter Card */
body.dark-mode .artisans-filter-card,
.ya-theme.dark-mode .artisans-filter-card,
body.dark-mode .empty-artisans-card,
.ya-theme.dark-mode .empty-artisans-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .artisans-search-input,
.ya-theme.dark-mode .artisans-search-input {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: rgba(197, 160, 89, 0.4) !important;
}

body.dark-mode .empty-artisans-card h3,
.ya-theme.dark-mode .empty-artisans-card h3 {
    color: #FFFFFF !important;
}

body.dark-mode .filter-dd-trigger,
.ya-theme.dark-mode .filter-dd-trigger {
    background: #0F172A !important;
    border-color: rgba(197, 160, 89, 0.4) !important;
    color: #FFFFFF !important;
}

body.dark-mode .filter-dd-trigger:hover,
.ya-theme.dark-mode .filter-dd-trigger:hover,
body.dark-mode .filter-dd-wrap.open .filter-dd-trigger,
.ya-theme.dark-mode .filter-dd-wrap.open .filter-dd-trigger {
    background: #1E293B !important;
    border-color: #C5A059 !important;
}

body.dark-mode .filter-dd-menu,
.ya-theme.dark-mode .filter-dd-menu {
    background: #1E293B !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .filter-dd-item,
.ya-theme.dark-mode .filter-dd-item {
    color: #CBD5E1 !important;
}

body.dark-mode .filter-dd-item:hover,
.ya-theme.dark-mode .filter-dd-item:hover,
body.dark-mode .filter-dd-item.active,
.ya-theme.dark-mode .filter-dd-item.active {
    background: rgba(197, 160, 89, 0.15) !important;
    color: #C5A059 !important;
}

/* 13. Vendor Store Profile */
.v-store-toolbar {
    background: #ffffff;
    border: 1px solid #ebdcc6;
}
.v-store-toolbar-title {
    color: #1A2128;
}
.v-store-empty {
    background: #ffffff;
    border: 1px solid #eee;
}

body.dark-mode .vendor-store-page,
.ya-theme.dark-mode .vendor-store-page {
    background: #0B0F19 !important;
}

body.dark-mode .v-store-toolbar,
.ya-theme.dark-mode .v-store-toolbar,
body.dark-mode .v-store-empty,
.ya-theme.dark-mode .v-store-empty,
body.dark-mode .vendor-store-page div[style*="background:#fff"],
.ya-theme.dark-mode .vendor-store-page div[style*="background:#fff"],
body.dark-mode .vendor-store-page div[style*="background: #fff"],
.ya-theme.dark-mode .vendor-store-page div[style*="background: #fff"] {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .v-store-toolbar-title,
.ya-theme.dark-mode .v-store-toolbar-title,
body.dark-mode .v-store-empty h3,
.ya-theme.dark-mode .v-store-empty h3 {
    color: #FFFFFF !important;
}

body.dark-mode .vendor-store-page select,
.ya-theme.dark-mode .vendor-store-page select {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
}

/* 14. Luxury Chat Widget & Floating Panels */
body.dark-mode #chat-widget-panel,
.ya-theme.dark-mode #chat-widget-panel {
    background: #0F172A !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode #chat-widget-header,
.ya-theme.dark-mode #chat-widget-header {
    background: #1E293B !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
}

body.dark-mode #chat-widget-body,
.ya-theme.dark-mode #chat-widget-body {
    background: #0B0F19 !important;
}

body.dark-mode .chat-search-inner,
.ya-theme.dark-mode .chat-search-inner {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .chat-search-input,
.ya-theme.dark-mode .chat-search-input {
    color: #FFFFFF !important;
}

body.dark-mode .chat-person-item,
.ya-theme.dark-mode .chat-person-item {
    background: #1E293B !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .chat-person-item:hover,
.ya-theme.dark-mode .chat-person-item:hover {
    background: #253347 !important;
}

body.dark-mode .chat-person-name,
.ya-theme.dark-mode .chat-person-name {
    color: #FFFFFF !important;
}

body.dark-mode .chat-last-msg,
.ya-theme.dark-mode .chat-last-msg {
    color: #94A3B8 !important;
}

body.dark-mode .ya-chat-area,
.ya-theme.dark-mode .ya-chat-area {
    background: #0B0F19 !important;
}

body.dark-mode .ya-msg-bubble.ya-msg-received,
.ya-theme.dark-mode .ya-msg-bubble.ya-msg-received {
    background: #1E293B !important;
    color: #FFFFFF !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .ya-msg-bubble.ya-msg-sent,
.ya-theme.dark-mode .ya-msg-bubble.ya-msg-sent {
    background: linear-gradient(135deg, #4A0012, #66001A) !important;
    color: #FFFFFF !important;
}

body.dark-mode .ya-chat-footer,
.ya-theme.dark-mode .ya-chat-footer {
    background: #1E293B !important;
    border-top: 1px solid #334155 !important;
}

body.dark-mode .ya-input-field,
.ya-theme.dark-mode .ya-input-field {
    background: #0F172A !important;
    border: 1px solid #334155 !important;
    color: #FFFFFF !important;
}

/* 15. Quick View Modal */
body.dark-mode .qv-overlay .qv-modal,
.ya-theme.dark-mode .qv-overlay .qv-modal {
    background: #1E293B !important;
    border: 1.5px solid rgba(197, 160, 89, 0.4) !important;
    color: #FFFFFF !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode #qvName,
.ya-theme.dark-mode #qvName {
    color: #FFFFFF !important;
}

body.dark-mode #qvDesc,
.ya-theme.dark-mode #qvDesc {
    color: #CBD5E1 !important;
}

body.dark-mode #qvClose,
.ya-theme.dark-mode #qvClose {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 15.5 Social Comments Modal */
body.dark-mode .social-comments-modal,
.ya-theme.dark-mode .social-comments-modal {
    background: #0F172A !important;
    border: 1.5px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

body.dark-mode .scm-header,
.ya-theme.dark-mode .scm-header {
    background: #1E293B !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-mode .scm-title,
.ya-theme.dark-mode .scm-title {
    color: #FFFFFF !important;
}

body.dark-mode .scm-count,
.ya-theme.dark-mode .scm-count {
    color: #94A3B8 !important;
}

body.dark-mode .scm-close-btn,
.ya-theme.dark-mode .scm-close-btn {
    background: #0F172A !important;
    color: #CBD5E1 !important;
}

body.dark-mode .scm-close-btn:hover,
.ya-theme.dark-mode .scm-close-btn:hover {
    background: #334155 !important;
    color: #FFFFFF !important;
}

body.dark-mode .scm-body,
.ya-theme.dark-mode .scm-body {
    background: #0B0F19 !important;
}

body.dark-mode .sc-bubble,
.ya-theme.dark-mode .sc-bubble {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .sc-author-name,
.ya-theme.dark-mode .sc-author-name {
    color: #FFFFFF !important;
}

body.dark-mode .sc-text,
.ya-theme.dark-mode .sc-text {
    color: #CBD5E1 !important;
}

body.dark-mode .sc-replies,
.ya-theme.dark-mode .sc-replies {
    border-right-color: #334155 !important;
}

body.dark-mode .sc-replies .sc-bubble,
.ya-theme.dark-mode .sc-replies .sc-bubble {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .scm-reply-banner,
.ya-theme.dark-mode .scm-reply-banner {
    background: #1E293B !important;
    border-top: 1px solid #334155 !important;
    color: #C5A059 !important;
}

body.dark-mode .scm-footer,
.ya-theme.dark-mode .scm-footer {
    background: #1E293B !important;
    border-top: 1px solid #334155 !important;
}

body.dark-mode .scm-input-wrap,
.ya-theme.dark-mode .scm-input-wrap {
    background: #0F172A !important;
    border-color: #334155 !important;
}

body.dark-mode .scm-input-wrap:focus-within,
.ya-theme.dark-mode .scm-input-wrap:focus-within {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

body.dark-mode #scm-comment-input,
.ya-theme.dark-mode #scm-comment-input {
    color: #FFFFFF !important;
}

body.dark-mode .scm-guest-name-input,
.ya-theme.dark-mode .scm-guest-name-input {
    border-top-color: #334155 !important;
    color: #94A3B8 !important;
}

/* 16. Footer */
body.dark-mode .main-footer,
.ya-theme.dark-mode .main-footer {
    background: #0A0E1A !important;
    border-top: 1.5px solid rgba(197, 160, 89, 0.25) !important;
}

body.dark-mode .footer-newsletter .input-group,
.ya-theme.dark-mode .footer-newsletter .input-group {
    background: #0F172A !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .footer-newsletter .newsletter-input,
.ya-theme.dark-mode .footer-newsletter .newsletter-input {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

body.dark-mode .footer-newsletter .newsletter-input::placeholder,
.ya-theme.dark-mode .footer-newsletter .newsletter-input::placeholder {
    color: #94A3B8 !important;
}

body.dark-mode .footer-bottom,
.ya-theme.dark-mode .footer-bottom {
    background: #060911 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}








/* ========================================================
   GLOBAL LTR (ENGLISH) POLISH & REFINEMENT
   ======================================================== */
html[dir="ltr"] body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif !important;
}

html[dir="ltr"] .unified-hero-title,
html[dir="ltr"] .page-title,
html[dir="ltr"] .section-title {
    letter-spacing: -0.01em;
}

html[dir="ltr"] .search-input {
    text-align: left;
}

html[dir="ltr"] .footer-newsletter .newsletter-input {
    border-radius: 50px 0 0 50px !important;
    text-align: left;
}

html[dir="ltr"] .footer-newsletter .newsletter-btn {
    border-radius: 0 50px 50px 0 !important;
}

html[dir="ltr"] .bento-vendor-tag {
    text-align: left;
}

html[dir="ltr"] .ya-comm-author-info {
    text-align: left;
}