        :root {
            --primary-color: #a37d56;
            --secondary-color: #5c1617; 
            --dark-bg: #2b0a0a;
            --dark-text-color: #E0E0E0;
            --light-text-color: #FFFFFF;
            --border-color: #4a1212;
            --success-color: #2ecc71; 
            --font-main: 'Cairo', sans-serif;
            --font-heading: 'Playfair Display', serif;
            --gold-gradient: linear-gradient(135deg, #a37d56 0%, #d4af37 50%, #a37d56 100%);
        }
/* الحالة الافتراضية: الأيقونة ظاهرة والصورة مخفية */
#userDefaultIcon {
    display: inline-block !important;
}

#userAvatar {
    display: none !important; /* مخفية تماماً في البداية */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

/* لما المستخدم يسجل دخول، بنضيف كلاس "logged-in" للأب (اختياري) أو نعتمد على الـ JS */

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { font-family: var(--font-main); line-height: 1.6; color: var(--dark-text-color); background-color: var(--secondary-color); overflow-x: hidden; }

        /* --- Splash Screen Styles --- */
        #splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--secondary-color);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10002;
            transition: transform 1s cubic-bezier(1, 0, 0, 1), opacity 0.6s ease;
        }

        .splash-logo-container { text-align: center; }
        .splash-logo-container img { width: 180px; max-width: 60vw; height: auto; animation: logoRotate 2s linear infinite; }

        @keyframes logoRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .exit-splash { transform: translateY(-100%); opacity: 0; pointer-events: none; }

        /* --- Admin Panel Extra Styles --- */
        .admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid rgba(163, 125, 86, 0.3); padding-bottom: 10px; }
        .admin-tab { flex: 1; padding: 10px; background: rgba(0,0,0,0.3); color: #ccc; border: 1px solid transparent; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: 700; font-family: var(--font-main); font-size: 0.9em; }
        .admin-tab.active { background: rgba(163, 125, 86, 0.2); border-color: var(--primary-color); color: var(--primary-color); }
        .admin-search-results { max-height: 150px; overflow-y: auto; background: rgba(0,0,0,0.5); border-radius: 8px; margin-top: 5px; border: 1px solid rgba(163, 125, 86, 0.2); display: none; }
        .admin-search-item { padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; color: #fff; font-size: 0.9em; transition: 0.2s; display: flex; justify-content: space-between; }
        .admin-search-item:hover { background: var(--primary-color); }
        .admin-search-item span.cat-label { font-size: 0.75em; color: #ccc; background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 4px; }
/* حل مشكلة خلفية قائمة الأقسام */
/* الحل النهائي والوحيد لإجبار المتصفح على الألوان الغامقة */
#adm_category {
    background-color: #2b0a0a !important; /* لون نبيتي داكن */
    color: #a37d56 !important; /* لون ذهبي */
    border: 1px solid #a37d56 !important;
    padding: 12px !important;
    border-radius: 10px !important;
    width: 100% !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    
    /* أهم سطرين لإلغاء تحكم المتصفح */
    -webkit-appearance: listbox !important; 
    appearance: listbox !important;
}

/* تنسيق رؤوس الأقسام (العطور، الإكسسوارات..) */
#adm_category optgroup {
    background-color: #5c1617 !important; /* لون أفتح شوية عشان يبان كبرواز */
    color: #ffffff !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* تنسيق الخيارات بالداخل */
#adm_category option {
    background-color: #2b0a0a !important; /* رجوع للون الغامق */
    color: #ffffff !important;
    padding: 10px !important;
}
        /* --- Website Content Initial State --- */
        #main-site-wrapper { opacity: 0; transition: opacity 1s ease-in-out; visibility: hidden; }
        #main-site-wrapper.visible { opacity: 1; visibility: visible; }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }

        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: var(--primary-color);
            z-index: 10001;
            transition: width 0.1s;
        }
        /* --- Header Styles --- */
        .header-top { display: grid; grid-template-columns: 80px 1fr 140px; align-items: center; width: 100%; margin-bottom: 5px; text-align: center; }
        
        .logo { position: relative; display: inline-flex; justify-content: center; align-items: center; height: 110px; cursor: pointer; width: 100%; }
        .logo img { position: absolute; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); max-height: 100%; object-fit: contain; }
        
        .logo-icon { width: 65px; opacity: 1; animation: logoRotate 2s linear infinite; }
        .logo-full { opacity: 0; transform: translateY(10px) scale(0.9); filter: blur(5px); width: 220px; max-width: 80%; }

        .site-ready .logo-icon { opacity: 0; transform: translateY(-20px) scale(0.5); pointer-events: none; }
        .site-ready .logo-full { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.lang-toggle { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid var(--primary-color); 
    padding: 8px 18px; 
    border-radius: 50px; 
    cursor: pointer; 
    display: inline-flex !important; /* دي بتجبره يظهر */
    align-items: center; 
    justify-content: center; 
    transition: 0.4s; 
    color: white !important; /* عشان يضمن لون الخط أبيض */
    font-weight: 600; 
    font-size: 0.9em;
    min-width: 90px; /* بتدي مساحة للكلمة عشان متبقاش محشورة */
}
.lang-toggle:hover { 
    background: var(--primary-color); 
}
        .header-actions-side { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

        .header-badge {
            position: absolute; 
            top: -2px; 
            right: -2px; 
            background: #FFFFFF; 
            color: #000000;
            font-size: 10px; 
            font-weight: 800; 
            min-width: 18px; 
            height: 18px; 
            border-radius: 50%;
            display: none; 
            align-items: center; 
            justify-content: center; 
            border: 1px solid rgba(0,0,0,0.1);
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
        }
        [dir="rtl"] .header-badge { right: auto; left: -2px; }
        .header-badge.bump { transform: scale(1.4); }

        /* --- Mobile Menu Drawer --- */
        .mobile-nav-drawer { position: fixed; top: 0; left: -100%; width: 280px; height: 100%; background: var(--dark-bg); z-index: 10010; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 10px 0 30px rgba(0,0,0,0.8); display: flex; flex-direction: column; border-right: 1px solid var(--border-color); }
        .mobile-nav-drawer.active { left: 0; }
        [dir="rtl"] .mobile-nav-drawer { left: auto; right: -100%; border-right: none; border-left: 1px solid var(--border-color); }
        [dir="rtl"] .mobile-nav-drawer.active { right: 0; }
        
/* تعديل الهيدر عشان يسنتر اللوجو */
.m-drawer-header { 
    padding: 25px 20px; 
    border-bottom: 1px solid var(--border-color); 
    display: flex; 
    align-items: center; 
    justify-content: center; /* ده اللي بيجيب اللوجو في النص */
    background: rgba(0,0,0,0.2); 
    position: relative; /* عشان نفصل زرار الإغلاق عن التوسيط */
}

/* تنسيق اللوجو الجديد (تكبير ودوران) */
.rotating-m-logo {
    height: 65px !important; /* تقدر تكبر الرقم ده لو عايزها أكبر */
    animation: logoRotate 2s linear infinite; /* نفس أنيميشن الدوران بتاع السبلاش سكرين */
}

/* تثبيت زرار الإغلاق على اليمين/الشمال بحرية */
.close-m-drawer { 
    color: #fff; 
    font-size: 1.4em; 
    cursor: pointer; 
    position: absolute; 
    right: 20px; /* مكانه في النسخة الإنجليزي */
    transition: 0.3s;
}
.close-m-drawer:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* عشان الزرار يعكس مكانه في النسخة العربي */
[dir="rtl"] .close-m-drawer {
    right: auto;
    left: 20px;
}
        .m-drawer-body { flex: 1; overflow-y: auto; padding: 20px 0; }
        .m-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 25px; color: #fff; font-weight: 600; font-size: 1em; border-bottom: 1px solid rgba(255,255,255,0.03); transition: 0.3s; }
        .m-nav-link:active { background: rgba(163, 125, 86, 0.1); color: var(--primary-color); }
        .m-nav-link i { font-size: 0.8em; opacity: 0.5; }
        
        .m-sub-links { background: rgba(0,0,0,0.2); display: none; flex-direction: column; }
        .m-sub-links.active { display: flex; }
        .m-sub-link { padding: 12px 40px; color: #aaa; font-size: 0.9em; border-bottom: 1px solid rgba(255,255,255,0.02); display: block; }
        .m-sub-link:active { color: var(--primary-color); }

        /* --- Toast Notification Style --- */
        .toast-container {
            position: fixed;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10010;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
            width: 90%;
            max-width: 440px;
        }

        .toast-notification {
            background: rgba(43, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: white;
            padding: 16px 22px 20px; 
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
            display: flex;
            align-items: center;
            gap: 15px;
            animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: auto;
            position: relative;
            overflow: hidden;
        }

        .toast-notification.hide {
            animation: toastOut 0.5s forwards;
        }

        .toast-notification i { 
            background: var(--primary-color); 
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1em;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(163, 125, 86, 0.3);
        }
        
        .toast-content { display: flex; flex-direction: column; flex: 1; }
        .toast-content .toast-title { font-size: 0.95em; font-weight: 700; color: var(--primary-color); margin-bottom: 2px; }
        .toast-content .toast-msg { font-size: 0.8em; color: #ccc; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

        .toast-view-cart {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--primary-color); 
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75em;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s;
            display: flex; align-items: center; gap: 6px;
        }

        .toast-view-cart:hover { background: var(--primary-color); color: #fff; transform: scale(1.05); }

        .toast-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            width: 100%;
            background: var(--success-color); 
            transform-origin: left;
            animation: toastProgress 3.5s linear forwards;
        }

        @keyframes toastProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
        @keyframes toastIn { from { transform: translateY(100px) scale(0.8); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
        @keyframes toastOut { from { transform: translateY(-30px) scale(0.9); opacity: 0; } to { transform: translateY(-30px) scale(0.9); opacity: 0; } }

        /* --- Nav Elements Styles --- */
        .main-nav { width: 100%; overflow: visible; scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0 15px; background: transparent; }
        .main-nav::-webkit-scrollbar { display: none; }
        .main-nav ul { display: flex; justify-content: center; gap: 10px; padding: 0 15px; flex-wrap: wrap; }
        .main-nav ul li { position: relative; z-index: 1; }
        .main-nav ul li:hover, .main-nav ul li:focus-within, .main-nav ul li.active { z-index: 1000; }

        .site-ready .main-nav ul li { animation: navItemPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; opacity: 0; }
        .site-ready .main-nav ul li:nth-child(1) { animation-delay: 0.1s; }
        .site-ready .main-nav ul li:nth-child(2) { animation-delay: 0.2s; }
        .site-ready .main-nav ul li:nth-child(3) { animation-delay: 0.3s; }
        .site-ready .main-nav ul li:nth-child(4) { animation-delay: 0.4s; }
        .site-ready .main-nav ul li:nth-child(5) { animation-delay: 0.5s; }

        @keyframes navItemPop { from { opacity: 0; transform: translateY(15px) scale(0.9); } to { opacity: 1; transform: none; } }

        .main-nav ul li a { 
            white-space: nowrap; font-size: 0.85em; font-weight: 600; color: rgba(255,255,255,0.7); 
            padding: 8px 18px; cursor: pointer; display: inline-block; border-radius: 50px; 
            border: 1px solid rgba(163, 125, 86, 0.2); background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
            text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .main-nav ul li a:hover { color: white; background: rgba(163, 125, 86, 0.15); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
        .main-nav ul li a.active { color: white; background: var(--primary-color); border-color: white; box-shadow: 0 4px 20px rgba(163, 125, 86, 0.5); font-weight: 700; transform: scale(1.05); }
        .main-nav ul li a:active { transform: scale(0.95); }

        .search-wrapper { width: 100%; max-height: 0; overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0; display: flex; align-items: center; gap: 10px; }
        .search-wrapper.active { max-height: 70px; opacity: 1; margin-top: 10px; padding-bottom: 15px; }
        .search-wrapper input { flex: 1; padding: 12px 20px; border-radius: 30px; border: 1px solid var(--primary-color); background: rgba(0,0,0,0.3); color: white; text-align: center; font-family: var(--font-main); outline: none; font-size: 1em; transition: 0.3s; }
        .search-wrapper input:focus { background: rgba(0,0,0,0.5); box-shadow: 0 0 10px rgba(163, 125, 86, 0.3); }
        .search-wrapper .close-search { color: var(--primary-color); cursor: pointer; font-size: 1.2em; transition: 0.3s; }
        .search-wrapper .close-search:hover { transform: scale(1.2) rotate(90deg); }

/* ========================================= */
/* --- Live Search Dropdown Styles --- */
/* ========================================= */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: rgba(20, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    z-index: 10050;
    display: none;
    flex-direction: column;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(163, 125, 86, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: rgba(163, 125, 86, 0.15);
    padding-inline-start: 25px; /* تأثير حركة خفيف للداخل */
}

.live-search-item img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(163, 125, 86, 0.3);
}

.live-search-item .item-info {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.live-search-item .item-info h4 {
    color: #fff;
    font-size: 0.95em;
    margin: 0 0 4px 0;
    font-family: var(--font-main);
}

.live-search-item .item-info .item-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85em;
}

.live-search-empty {
    padding: 20px;
    text-align: center;
    color: #aaa;
    font-size: 0.9em;
}

.live-search-more {
    padding: 12px;
    text-align: center;
    background: rgba(163, 125, 86, 0.1);
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.live-search-more:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Dropdown Menu --- */
        .dropdown-content {
            position: absolute; 
            left: 50%; 
            top: calc(100% + 5px); 
            width: max-content; 
            min-width: 190px; /* العرض الجديد المناسب للمحتوى */
            transform: translateX(-50%) translateY(15px); 
            transform-origin: top center;
            background-color: #110303; /* لون الخلفية الجديد الداكن الفخم */
            border: 1px solid var(--primary-color); 
            border-radius: 8px; /* حواف دائرية أرق وأشيك */
            padding: 10px 0; 
            z-index: 10000;
            display: flex; 
            flex-direction: column; 
            opacity: 0; 
            visibility: hidden; 
            pointer-events: none; 
            transition: all 0.3s ease;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }

        /* ظهور القائمة المنسدلة بسلاسة ونعومة عند تمرير الماوس */
        .dropdown:hover .dropdown-content, 
        .dropdown.active .dropdown-content { 
            opacity: 1; 
            visibility: visible; 
            pointer-events: auto !important; 
            transform: translateX(-50%) translateY(0); 
        }

        /* تنسيق الروابط الداخلية للقائمة المنسدلة */
        .dropdown-content a { 
            font-size: 14px !important; 
            font-weight: 600 !important; 
            color: #e0e0e0 !important; 
            padding: 10px 20px !important; 
            text-transform: capitalize !important; 
            border-radius: 0 !important; 
            border: none !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; /* الخط الفاصل الشفاف بين العناصر */
            background: transparent !important; 
            transition: all 0.3s ease !important; 
            width: 100% !important; 
            text-align: center !important; 
            position: relative !important; 
            cursor: pointer !important;
            box-shadow: none !important;
            transform: none !important;
        }

        /* إزالة الخط الفاصل من آخر عنصر في القائمة */
        .dropdown-content a:last-child { 
            border-bottom: none !important; 
        }

        /* تأثير الـ Hover الجديد (حركة الإزاحة الخفيفة للداخل مع اللون الذهبي) */
        .dropdown-content a:hover { 
            color: var(--primary-color) !important;
            background-color: rgba(163, 125, 86, 0.1) !important; 
            padding-inline-start: 25px !important; /* حركة الإزاحة الجمالية الناعمة */
        }

        .dropbtn { display: flex; align-items: center; gap: 8px; cursor: pointer; }
        .dropbtn i { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s; }
        .dropdown.active .dropbtn i { transform: rotate(180deg); color: var(--primary-color); }

        /* الكوبري الشفاف لمنع اختفاء القائمة عند نزول الماوس */
        .dropdown-content::before {
            content: '';
            position: absolute;
            top: -15px; 
            left: 0;
            width: 100%;
            height: 15px;
        }
        /* --- Advanced Filter & Responsive Grid --- */
:root { --grid-cols: 2; }
@media (min-width: 768px) { :root { --grid-cols: 4; } }

.perfume-grid { 
    display: grid; 
    grid-template-columns: repeat(var(--grid-cols), 1fr) !important; 
    gap: 12px; 
    padding: 20px 0; 
    width: 100%;
}

.filter-toggle-btn { 
    background: rgba(0,0,0,0.3); 
    color: white; 
    border: 1px solid rgba(163, 125, 86, 0.6); 
    padding: 10px 15px; 
    border-radius: 30px; 
    font-family: var(--font-main); 
    font-size: 0.85em; 
    cursor: pointer; 
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 8px; 
    font-weight: 700;
    min-width: 110px;
    height: 42px;
    white-space: nowrap;
}

.filter-toggle-btn:hover, .filter-toggle-btn.active { 
    background: var(--primary-color); 
    border-color: #fff; 
    box-shadow: 0 5px 15px rgba(163, 125, 86, 0.3);
}

.view-mode-container { 
    display: flex; 
    gap: 5px; 
    background: transparent; 
    padding: 0; 
    height: 42px;
    align-items: center;
}

.view-btn { 
    width: 38px; 
    height: 38px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: rgba(255,255,255,0.7); /* White/grayish color for visibility */
    background: transparent; 
    cursor: pointer; 
    border-radius: 5px; /* Square with slightly rounded corners instead of circle */
    transition: 0.3s; 
    font-size: 1.2em; 
    margin: 0 2px;
}
.view-btn.active { 
    background: #000; /* Dark/Black background */
    color: #fff; /* Bright white icon */
    box-shadow: 0 0 5px rgba(0,0,0,0.5); 
}
.view-btn:hover:not(.active) { 
    color: white; 
    background: rgba(0,0,0,0.3);
}

.filter-panel { 
    background: rgba(20, 5, 5, 0.98); 
    backdrop-filter: blur(10px); 
    border-radius: 12px; 
    border: 1px solid var(--primary-color); 
    padding: 15px; 
    display: none; 
    flex-direction: column; 
    gap: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    z-index: 1000;
    min-width: 220px;
}
#sort-panel {
    background: rgba(20, 5, 5, 0.98); 
    backdrop-filter: blur(10px); 
    border-radius: 12px; 
    border: 1px solid var(--primary-color); 
    padding: 15px; 
    display: none; 
    flex-direction: column; 
    gap: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: absolute;
    top: calc(100% + 5px);
    
    /* التعديلات هنا: نثبت القائمة ناحية اليسار للغة العربية لأن زر الترتيب يقع يساراً */
    left: 0 !important; 
    right: auto !important; 
    
    z-index: 1000;
    min-width: 200px;
}

/* التعديلات هنا: نعكس الاتجاه للغة الإنجليزية ليصبح يميناً */
[dir="ltr"] #sort-panel { 
    right: 0 !important; 
    left: auto !important; 
}
#sort-panel.show { display: flex; animation: fadeInUp 0.3s ease; }
.filter-panel.show { display: flex; animation: fadeInUp 0.3s ease; }
.filter-group label { display: block; color: var(--primary-color); font-weight: 700; margin-bottom: 10px; font-size: 0.9em; border-bottom: 1px dashed rgba(163, 125, 86, 0.3); padding-bottom: 5px; }
.filter-notes-container { display: flex; flex-direction: column; gap: 5px; }
.filter-note-chip { background: transparent; color: #ccc; padding: 8px 12px; border-radius: 8px; font-size: 0.85em; cursor: pointer; transition: 0.3s; display: flex; align-items: center; border: 1px solid transparent; }
.filter-note-chip:hover { background: rgba(163, 125, 86, 0.1); color: white; border-color: rgba(163, 125, 86, 0.3); }
.filter-note-chip.active { background: var(--primary-color); color: white; font-weight: 700; }

.img-placeholder { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(163, 125, 86, 0.05) 25%, rgba(163, 125, 86, 0.15) 50%, rgba(163, 125, 86, 0.05) 75%); background-size: 400% 100%; animation: skeleton-loading 1.5s infinite ease-in-out; }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
/* --- Skeleton Loading Card --- */
.skeleton-card {
    background: rgba(30, 5, 5, 0.4);
    border: 1px solid rgba(163, 125, 86, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skel-img { width: 100%; aspect-ratio: 1/1; border-radius: 12px; }
.skel-line { height: 12px; border-radius: 6px; width: 80%; margin: 0 auto; }
.skel-line.short { width: 40%; height: 10px; }
.skel-boxes { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.skel-box { width: 45px; height: 30px; border-radius: 6px; }
.skel-anim {
    background: linear-gradient(90deg, rgba(163, 125, 86, 0.05) 25%, rgba(163, 125, 86, 0.15) 50%, rgba(163, 125, 86, 0.05) 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
}
/* توافق مع عرض القائمة (List View) */
html[style*="--grid-cols: list"] .skeleton-card {
    flex-direction: row; align-items: center; padding: 15px; text-align: right;
}
[dir="ltr"] html[style*="--grid-cols: list"] .skeleton-card { text-align: left; }
html[style*="--grid-cols: list"] .skeleton-card .skel-img { width: 140px; height: 140px; flex-shrink: 0; margin: 0 !important; }
/* خلينا المربع بنسبة 1:1 (مربع متناسق) عشان ميمطش معاك */
/* 1. ضبط مقاس الكارت ليتناسب مع صور 800x1200 (نسبة 2:3) */
.img-container { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 2 / 3; 
    margin-top: 10px; 
    margin-bottom: 15px; 
    border-radius: 12px; 
    overflow: hidden; 
    background-color: #2b0a0a;
    background-image: url('https://i.postimg.cc/wBJKRHHC/1.png'); 
    background-size: cover;
    background-position: center;
    display: block;
    align-self: stretch; 
}

.real-image { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 1; /* تم التعديل لتظهر فوراً */
    display: block;
}

.custom-checkbox { display: flex; align-items: center; position: relative; padding-right: 35px; margin-bottom: 18px; cursor: pointer; font-size: 1em; color: #E0E0E0; font-weight: 600; transition: 0.3s; }
[dir="ltr"] .custom-checkbox { padding-right: 0; padding-left: 35px; }
.custom-checkbox input[type="checkbox"] { display: none !important; }
.checkmark { position: absolute; top: -2px; right: 0; height: 24px; width: 24px; background-color: rgba(0,0,0,0.5); border: 1px solid var(--primary-color); border-radius: 6px; }
[dir="ltr"] .checkmark { right: auto; left: 0; }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--primary-color); }
.checkmark:after { content: ""; position: absolute; display: none; }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.custom-checkbox .checkmark:after { left: 8px; top: 4px; width: 6px; height: 12px; border: solid white; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.filter-divider { border: 0; height: 1px; background: rgba(163, 125, 86, 0.2); margin: 20px 0; }
.filter-heading { color: var(--primary-color); font-family: var(--font-heading); margin-bottom: 15px; font-size: 1.1em; text-transform: uppercase; border-bottom: 1px dashed rgba(163, 125, 86, 0.3); padding-bottom: 5px;}
.custom-range { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 5px; background: rgba(163, 125, 86, 0.2); outline: none; margin: 15px 0; }
.custom-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-color); cursor: pointer; }


.admin-panel {
    background: rgba(20, 5, 5, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border-radius: 15px;
    padding: 25px;
}
.admin-panel label, .admin-panel h2 {
    color: var(--primary-color) !important;
}
.admin-panel p, .admin-panel span {
    color: #fff !important;
}

/* --- Hero Banner & Heading Redesign --- */
        .page-banner { 
            background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(43, 10, 10, 0.85)), url('https://i.postimg.cc/Dw127HGG/Gemini-Generated-Image-2h56w02h56w02h56.png'); 
            background-size: cover; 
            background-position: center; 
            background-repeat: no-repeat; 
            text-align: center; 
            padding: 100px 20px; 
            border-bottom: 1px solid var(--border-color); 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center; 
            min-height: 92vh; 
            position: relative; 
        }
        
        .hero-content-box { 
            background: transparent; 
            padding: 20px; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            z-index: 5;
        }

        .page-banner h2 { 
            font-family: var(--font-heading); 
            font-size: clamp(2.5rem, 8vw, 4.5rem); 
            color: #fff;
            margin-bottom: 30px; 
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 4px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
            position: relative;
            background: linear-gradient(to right, #fff 20%, var(--primary-color) 40%, var(--primary-color) 60%, #fff 80%);
            background-size: 200% auto;
            color: #000;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shineText 5s linear infinite;
        }

        .site-ready .page-banner h2 {
            opacity: 1;
            transform: translateY(0);
        }

        @keyframes shineText {
            to { background-position: 200% center; }
        }

        .scroll-down { 
            position: absolute; 
            bottom: 30px; 
            left: 50%; 
            transform: translateX(-50%); 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            gap: 15px; 
            color: var(--primary-color); 
            cursor: pointer;
            transition: 0.3s;
            z-index: 10;
            filter: drop-shadow(0 0 8px rgba(163, 125, 86, 0.4));
        }
        .scroll-down:hover { transform: translateX(-50%) translateY(-5px); filter: drop-shadow(0 0 12px rgba(163, 125, 86, 0.6)); }
        .scroll-down span { 
            font-size: 0.85em; 
            letter-spacing: 5px; 
            text-transform: uppercase; 
            font-weight: 700;
            opacity: 1; 
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .mouse-icon {
            width: 30px; 
            height: 48px; 
            border: 2.5px solid var(--primary-color); 
            border-radius: 20px;
            position: relative;
            display: block;
            opacity: 1; 
            background: rgba(163, 125, 86, 0.05); 
        }
        .mouse-icon .wheel {
            width: 3px;
            height: 10px;
            background-color: var(--primary-color);
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 3px;
            animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
            box-shadow: 0 0 5px var(--primary-color);
        }
        @keyframes scrollWheel {
            0% { opacity: 1; transform: translateX(-50%) translateY(0); }
            100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
        }

        .last-update-badge { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(163, 125, 86, 0.3); padding: 8px 24px; border-radius: 50px; color: rgba(255,255,255,0.9); font-size: 0.85em; display: flex; align-items: center; gap: 12px; backdrop-filter: blur(8px); font-weight: 400; letter-spacing: 0.5px; margin-top: 10px; }
        .last-update-badge i { color: var(--primary-color); font-size: 0.9em; }
/* ========================================= */
/* --- Luxury Homepage Sections --- */
/* ========================================= */

.philosophy-section {
    padding: 100px 20px;
    text-align: center;
    background: var(--dark-bg);
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
}
.section-latin-title {
    font-family: 'Great Vibes', cursive;
    color: var(--primary-color);
    font-size: 3.5em;
    margin-bottom: 5px;
    font-weight: 400;
    opacity: 0.9;
}
/* التنسيق الجديد للعناوين الرئيسية (ديناميكي وفخم) */
.section-main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.2rem); /* حجم متجاوب بيكبر ويصغر بنعومة */
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    
    /* تأثير اللمعة الذهبية المتحركة */
    background: linear-gradient(to right, #fff 20%, var(--primary-color) 40%, var(--primary-color) 60%, #fff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

/* خط ذهبي ديكور تحت العنوان */
.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* الخط بيمتد لما الماوس يلمس العنوان */
.section-main-title:hover::after {
    width: 100px;
    box-shadow: 0 0 10px rgba(163, 125, 86, 0.5);
}
/* التنسيق الجديد لصندوق الفلسفة (البرواز) */
/* التنسيق الجديد لصندوق الفلسفة (بعد التكبير) */
.philosophy-text {
    max-width: 900px; /* كبرنا العرض الكلي للبرواز عشان ياخد مساحة أكبر */
    margin: 0 auto;
    color: #E0E0E0; 
    font-size: 1.35em; /* كبرنا حجم الخط عشان يملى البرواز ويبقى مقري أكتر */
    line-height: 1.9;
    font-weight: 600;
    
    /* تفاصيل البرواز الفخم */
    background: linear-gradient(135deg, rgba(43, 10, 10, 0.7) 0%, rgba(20, 5, 5, 0.9) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 45px 40px; /* كبرنا المسافات الداخلية عشان البرواز ينفش ويبقى مرتاح */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* تشغيل الأنيميشن */
    animation: floatAndGlow 4s ease-in-out infinite;
}

/* علامة تنصيص فخمة في الخلفية تدي شكل جمالي */
.philosophy-text::before {
    content: '\f10d'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 3.5em; /* كبرنا الأيقونة شوية عشان تناسب الحجم الجديد */
    color: var(--primary-color);
    opacity: 0.1;
}
[dir="rtl"] .philosophy-text::before {
    left: auto;
    right: 20px;
    transform: scaleX(-1); 
}

/* تظبيط المقاسات على الموبايل عشان يبقى متناسق وميكبرش بزيادة يضرب الشاشة */
@media (max-width: 767px) {
    .philosophy-text {
        padding: 30px 20px;
        font-size: 1.15em; /* خط أكبر نسبياً للموبايل بس متظبط */
    }
}

/* --- Signa (Showcase) Section --- */
.showcase-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, var(--dark-bg), var(--secondary-color));
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
    text-align: center;
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.sc-card {
    position: relative;
    border: 1px solid rgba(163, 125, 86, 0.3);
    border-radius: 16px;
    padding: 40px 20px 30px;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 2 / 3; 
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

/* طبقة الصورة المنفصلة عشان الزووم يبقى ناعم */
.sc-card-bg {
    position: absolute;
    inset: 0;
    
    /* التعديلات السحرية هنا 👇 */
    background-size: 100% 100%; /* ده هيجبر الصورة تاخد مساحة الكارت بالمللي من غير ما يقص منها فتفوتة */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px; /* عشان حواف الصورة تدوّر وتبقى ماشية مع حواف الكارت */
    
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}
/* الطبقة الزجاجية الغامقة (معدلة للشفافية) */
.sc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    /* شفافة تماماً من فوق، وظل خفيف جداً من الأسفل فقط */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 40%);
    z-index: 1;
    transition: opacity 0.6s ease;
}
/* لمعة الزجاج الفخمة (Shine effect) */
.sc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s ease-in-out;
    z-index: 3;
}

/* التأثيرات المينيمال لكروت Signa */
.sc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* تقليل الظل الثقيل والتوهج الذهبي */
    border-color: var(--primary-color);
}
.sc-card:hover .sc-card-bg {
    transform: scale(1.08); /* الزووم البطيء للصورة */
}
.sc-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
}
.sc-card:hover::after {
    left: 125%; /* اللمعة بتعدي وتختفي */
}

/* محتوى الكارت (النصوص والأيقونات) */
.sc-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sc-icon {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s;
    opacity: 0.8;
}
.sc-card:hover .sc-icon { 
    transform: scale(1.15) translateY(-5px); 
    opacity: 1; 
    color: #fff;
    filter: drop-shadow(0 0 10px var(--primary-color));
}
.sc-name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5em;
    margin-bottom: 8px;
    letter-spacing: 1px;
    transition: 0.4s;
}
.sc-card:hover .sc-name { color: var(--primary-color); }
.sc-desc {
    color: #aaa;
    font-size: 0.85em;
    transition: 0.4s;
}
.sc-card:hover .sc-desc { color: #fff; }
/* --- Pura (Trust) Section --- */
.trust-section {
    padding: 80px 20px;
    background: var(--dark-bg);
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
    /* التعديل: السطر ده هيخلي كلمة Pura وكل اللي تحتها في النص بالظبط */
    text-align: center; 
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1050px;
    margin: 50px auto 0;
    text-align: center;
}

/* الكارت الشفاف الفخم */
.trust-item {
    position: relative;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(163, 125, 86, 0.08);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

/* خط التوهج الذهبي اللي فوق المربع */
.trust-item::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 15%; 
    width: 70%; 
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
    transition: 0.5s ease;
}

/* التأثيرات المينيمال لكروت Pura */
.trust-item:hover {
    transform: translateY(-5px);
    background: transparent;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* تقليل الظلال لمنح مظهر نظيف */
}
.trust-item:hover::before {
    opacity: 1;
    left: 0;
    width: 100%;
}

/* شكل الأيقونة وحجمها الجديد */
.trust-item i {
    font-size: 2.8em; /* كبرنا الأيقونة عشان تليق مع الحجم الجديد */
    color: var(--primary-color);
    margin-bottom: 25px;
    opacity: 0.9;
    transition: transform 0.4s ease, color 0.4s;
}

.trust-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: #fff;
    text-shadow: 0 0 15px var(--primary-color);
}

/* تكبير خط العنوان (Long-lasting Performance..) */
.trust-item h4 {
    color: #fff;
    font-size: 1.6em; /* كبرنا الخط من 1.35 لـ 1.6 */
    margin-bottom: 15px; /* زودنا المسافة تحت العنوان */
    font-family: var(--font-heading);
    letter-spacing: 1px;
    line-height: 1.3; /* عشان لو العنوان سطرين ميبقاش لازق في بعضه */
}

/* تكبير خط الوصف اللي تحت العنوان */
.trust-item p {
    color: #ccc; 
    font-size: 1.15em; /* كبرنا خط الوصف عشان يبقى مقروء ومريح */
    line-height: 1.8;
    margin: 0;
}
/* ========================================= */
/* --- Minimalist Marquee (شريط آراء العملاء) --- */
/* ========================================= */
.reviews-marquee {
    background: #1a0505; /* لون داكن جداً وفخم */
    padding: 15px 0;
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* التدرج اللوني على الحواف عشان يعمل تأثير التلاشي (Fade effect) */
.reviews-marquee::before,
.reviews-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.reviews-marquee::before {
    left: 0;
    background: linear-gradient(to right, #1a0505 0%, transparent 100%);
}
.reviews-marquee::after {
    right: 0;
    background: linear-gradient(to left, #1a0505 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: scrollMarquee 35s linear infinite;
}

/* عكس الاتجاه لو الموقع عربي عشان يمشي صح */
[dir="rtl"] .marquee-content {
    animation: scrollMarqueeRTL 35s linear infinite;
}

/* إيقاف الحركة عند وقوف الماوس أو اللمس */
.marquee-content:hover {
    animation-play-state: paused; 
}

.review-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 45px;
    color: #ccc;
    font-family: var(--font-main);
    font-size: 0.9em;
    font-weight: 300;
    letter-spacing: 1px;
}

.review-item i {
    color: var(--primary-color);
    font-size: 0.7em;
    opacity: 0.8;
}

.review-item b {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85em;
}

/* الأنيميشن بتاع الحركة */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollMarqueeRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* تظبيط حجم الخط والمسافات في الموبايل */
@media (max-width: 767px) {
    .review-item {
        font-size: 0.8em;
        margin: 0 30px;
    }
}
        /* --- Aura Categories --- */
/* --- Aura Categories --- */
.aura-section { 
    padding: 80px 0; 
    background-color: var(--dark-bg); 
    position: relative; 
    text-align: center; /* السطر السحري اللي هيسنتر العنوان */
}
        .aura-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(163, 125, 86, 0.05), transparent); pointer-events: none; }
        .aura-grid { display: grid; grid-template-columns: 1fr; gap: 35px; }
        .aura-card { height: 420px; position: relative; border-radius: 25px; overflow: hidden; border: 1px solid rgba(163, 125, 86, 0.2); cursor: pointer; background: #2b0a0a; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgba(0,0,0,0.4); transition: 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
        .aura-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: 1.5s ease; display: block; }
        .aura-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 0, 0, 0.9) 0%, rgba(20, 0, 0, 0.4) 40%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 30px; text-align: center; backdrop-filter: blur(0px); transition: 0.6s; }
        .aura-overlay h3 { color: var(--primary-color); font-size: 2.2em; font-family: var(--font-heading); margin-bottom: 12px; transform: translateY(10px); transition: 0.6s; }
        .aura-overlay p { font-size: 1em; color: #ccc; opacity: 0.8; transform: translateY(10px); transition: 0.6s 0.1s; }
        .aura-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--primary-color); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
        .aura-card:hover img { transform: scale(1.15); }
        .aura-card:hover .aura-overlay { background: linear-gradient(to top, rgba(20, 0, 0, 0.95) 10%, rgba(20, 0, 0, 0.5) 50%, transparent 100%); }
        .aura-card:hover .aura-overlay h3 { transform: translateY(0); color: #fff; text-shadow: 0 0 15px rgba(163, 125, 86, 0.8); }
        .aura-card:hover .aura-overlay p { transform: translateY(0); opacity: 1; color: var(--primary-color); }

        /* --- Fragrance Finder Styles --- */
        .finder-section { padding: 80px 0; background: linear-gradient(to bottom, var(--dark-bg), var(--secondary-color)); text-align: center; border-bottom: 1px solid var(--border-color); }
        .finder-card { max-width: 900px; margin: 0 auto; background: rgba(30, 5, 5, 0.6); border: 1px solid var(--primary-color); border-radius: 30px; padding: 50px 30px; backdrop-filter: blur(10px); position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
        .finder-card::before { content: '\f0d0'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; font-size: 15em; color: var(--primary-color); opacity: 0.03; top: -50px; right: -50px; transform: rotate(15deg); }
        .finder-card h2 { font-family: var(--font-heading); font-size: 2.5em; color: var(--primary-color); margin-bottom: 15px; }
        .finder-card p { color: #ccc; font-size: 1.1em; margin-bottom: 30px; }
        .start-finder-btn { background: var(--primary-color); color: white; padding: 15px 40px; border-radius: 50px; font-weight: 700; font-size: 1.1em; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: 0.4s; border: none; }
        .start-finder-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(163, 125, 86, 0.4); filter: brightness(1.1); }

        /* --- Quiz Overlay --- */
        .quiz-overlay { position: fixed; inset: 0; background: rgba(26, 5, 5, 0.98); z-index: 10005; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(10px); }
        .quiz-overlay.active { display: flex; animation: fadeIn 0.4s ease; }
        .quiz-container { background: var(--dark-bg); width: 100%; max-width: 550px; border-radius: 24px; border: 1px solid var(--primary-color); padding: 40px 30px; position: relative; text-align: center; }
        .close-quiz { position: absolute; top: 20px; right: 20px; font-size: 1.5em; color: #fff; cursor: pointer; opacity: 0.5; transition: 0.3s; }
        .close-quiz:hover { opacity: 1; transform: rotate(90deg); }
        
        .quiz-step { display: none; flex-direction: column; gap: 20px; animation: fadeInUp 0.4s ease; }
        .quiz-step.active { display: flex; }
        .quiz-question { font-size: 1.4em; color: var(--primary-color); font-weight: 700; margin-bottom: 10px; font-family: var(--font-heading); }
        .quiz-options { display: grid; grid-template-columns: 1fr; gap: 12px; }
        .quiz-option { background: rgba(255,255,255,0.04); border: 1px solid rgba(163, 125, 86, 0.2); padding: 18px; border-radius: 12px; cursor: pointer; transition: 0.3s; font-weight: 600; color: #fff; display: flex; align-items: center; justify-content: center; gap: 12px; }
        .quiz-option:hover { background: rgba(163, 125, 86, 0.15); border-color: var(--primary-color); transform: translateX(5px); }
        .quiz-option i { color: var(--primary-color); font-size: 1.2em; }

        .results-header { margin-bottom: 30px; }
        .results-header h3 { color: var(--primary-color); font-size: 1.8em; margin-bottom: 5px; }
        .results-grid { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
        .result-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(163, 125, 86,0.1); padding: 15px; border-radius: 12px; display: flex; align-items: center; gap: 15px; text-align: left; cursor: pointer; transition: 0.3s; }
        [dir="rtl"] .result-item { text-align: right; }
        .result-item:hover { border-color: var(--primary-color); background: rgba(163, 125, 86, 0.1); }
        .result-info { flex: 1; }
        .result-name { font-weight: 700; font-size: 1.1em; color: #fff; display: block; }
        .result-maison { font-size: 0.8em; color: var(--primary-color); text-transform: uppercase; }
        .view-suggestion-btn { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9em; }

        .progress-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
        .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: 0.3s; }
        .dot.active { background: var(--primary-color); transform: scale(1.5); }

        /* --- Perfume Cards Grid --- */
        #price-list-page { display: none; min-height: auto; background-image: linear-gradient(rgba(43, 10, 10, 0.9), rgba(43, 10, 10, 0.9)), url('https://i.postimg.cc/Dw127HGG/Gemini-Generated-Image-2h56w02h56w02h56.png'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; padding-bottom: 40px; }
        .perfume-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px 0; }
        .perfume-card { background: rgba(30, 5, 5, 0.7); border: 1px solid rgba(163, 125, 86, 0.2); border-radius: 12px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; backdrop-filter: blur(8px); transition: 0.3s; position: relative; overflow: hidden; animation: fadeInUp 0.5s ease-out forwards; }

        /* Favorite Icon on Card */
/* زرار المفضلة الجديد أسفل الكارت */
.wishlist-card-btn {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.85em;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.wishlist-card-btn:hover {
    background: rgba(163, 125, 86, 0.1);
}

.wishlist-card-btn.active {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

/* تنسيق القلب جوه الزرار */
.wishlist-card-btn i {
}
.wishlist-card-btn.active i {
    color: #ff4757; /* لون القلب أحمر لما ينضاف */
    transform: scale(1.1);
}
        .perfume-maison { font-size: 0.65em; text-transform: uppercase; color: var(--primary-color); letter-spacing: 1px; margin-bottom: 5px; font-weight: 700; opacity: 0.8; }
        .perfume-name { font-family: var(--font-heading); font-size: 1.1em; color: #fff; margin-bottom: 10px; font-weight: 700; min-height: 2.5em; display: flex; align-items: center; justify-content: center; line-height: 1.2; }
        .perfume-notes { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; font-size: 0.6em; color: #bbb; flex-wrap: wrap; width: 100%; }
        .note-item { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.04); padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(163, 125, 86, 0.15); transition: 0.3s; }
        .note-item:hover { background: rgba(163, 125, 86, 0.1); border-color: var(--primary-color); color: #fff; }
        .note-item i { color: var(--primary-color); font-size: 0.8em; }

/* --- التصميم الجديد لمربعات الأسعار (VIP Cascade Edition) --- */
.price-boxes { 
    width: 100%; 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px; 
    margin-bottom: 15px; 
}

.price-item { 
    background: linear-gradient(145deg, rgba(20, 5, 5, 0.4), rgba(43, 10, 10, 0.6));
    border-radius: 12px;
    padding: 10px 8px; 
    border: 1px solid rgba(163, 125, 86, 0.2); 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(163, 125, 86, 0.05); /* توهج داخلي دائم خفيف */
}

/* التأثير الدائم (بدل اللمعة اللي بتجري) - توهج هادي ثابت وبينبض ببطء شديد */
.price-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(163, 125, 86, 0.15) 0%, transparent 80%);
    pointer-events: none;
    animation: steadyGlow 3s infinite alternate ease-in-out;
}

@keyframes steadyGlow {
    from { opacity: 0.4; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

.price-item:active { transform: scale(0.95); }

.price-item:hover { 
    background: rgba(163, 125, 86, 0.2); 
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4), inset 0 0 20px rgba(163, 125, 86, 0.15);
}

/* --- شكل الأحجام (10ml, 20ml, 30ml, 50ml) والخط اللي تحتها --- */
.price-size { 
    display: block; 
    font-family: var(--font-main); 
    font-size: 0.85em; 
    font-weight: 700; 
    color: var(--primary-color); 
    margin-bottom: 5px; 
    padding-bottom: 4px; 
    pointer-events: none; 
    letter-spacing: 1px;
    transition: 0.3s;
    text-transform: uppercase;
    position: relative; 
    z-index: 1;
}

.price-size::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px; 
    height: 1px; 
    background: var(--primary-color);
    opacity: 0.5; 
}

.price-val { 
    display: block; 
    font-size: 1.05em; 
    font-weight: 800; 
    color: #fff; 
    pointer-events: none; 
    font-family: var(--font-heading);
    transition: 0.3s;
    z-index: 1;
}

.price-val span { 
    font-size: 0.65em; 
    color: var(--primary-color); 
    margin-left: 2px; 
}

/* --- أنيميشن أيقونة التسوق (الجديد) --- */
@keyframes cartPop {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.7; }
    50% { transform: scale(1.15) translateY(-2px); opacity: 1; color: #fff; }
}

/* أيقونة التسوق للمربعات الصغيرة (كمبيوتر) */
.price-item .cart-icon-magic {
    position: absolute;
    bottom: -20px; 
    color: var(--primary-color);
    font-size: 1.1em;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 1;
}

/* تأثير الـ Hover للكمبيوتر */
.price-item:not(.full-width):hover .price-val {
    opacity: 0;
    transform: translateY(-10px);
}
.price-item:not(.full-width):hover .cart-icon-magic {
    bottom: 8px; 
    opacity: 1;
    animation: cartPop 1.5s infinite ease-in-out; /* الأنيميشن اللذيذ */
}

/* --- تصميم الحجم الأخير المميز (100ml) --- */
.price-item.full-width { 
    grid-column: span 2; 
    background: linear-gradient(145deg, rgba(163, 125, 86, 0.08), rgba(43, 10, 10, 0.8));
    border: 1px dashed rgba(163, 125, 86, 0.4);
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 20px;
}

.price-item.full-width .price-size {
    margin-bottom: 0;
    padding-bottom: 0;
    color: #d4af37; 
    font-size: 0.95em; 
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4); 
}

.price-item.full-width .price-size::after { display: none; }

.price-item.full-width .cart-icon-magic {
    position: static;
    opacity: 0.8;
    font-size: 1.3em;
    animation: cartPop 2s infinite ease-in-out; /* شغالة دايماً هنا */
}

.price-item.full-width:hover .cart-icon-magic {
    color: #fff;
    animation: none;
    transform: scale(1.2) rotate(-5deg);
}

/* ======================================================= */
/* --- توافق الموبايل (إصلاح تداخل الأيقونة مع السعر) --- */
/* ======================================================= */
@media (max-width: 767px) {
    /* نكبر مساحة المربع من تحت شوية عشان الأيقونة تاخد راحتها */
    .price-item:not(.full-width) {
        padding-bottom: 22px; 
    }

    /* نرفع السعر لفوق مليمترات عشان يبعد عن الأيقونة تماماً */
    .price-item:not(.full-width) .price-val {
        transform: translateY(-8px);
    }
    
    /* الأيقونة ظاهرة علطول تحت في المساحة الفاضية اللي عملناها ليها */
    .price-item:not(.full-width) .cart-icon-magic {
        opacity: 0.7; 
        bottom: 4px; 
        font-size: 0.95em;
        transform: none; 
        animation: cartPop 2s infinite ease-in-out; /* الأنيميشن شغال في الموبايل */
    }
    
    /* نلغي تأثير اختفاء السعر عشان يفضل ثابت */
    .price-item:not(.full-width):hover .price-val,
    .price-item:not(.full-width):active .price-val {
        opacity: 1;
        transform: translateY(-8px); 
    }

    /* تأثير التفاعل لما العميل يلمس المربع (Tap) */
    .price-item:not(.full-width):active .cart-icon-magic {
        opacity: 1;
        transform: scale(1.3);
        color: #fff;
        animation: none;
    }
}
        .wa-order-btn { width: 100%; background: var(--primary-color); color: white; padding: 10px; border-radius: 8px; font-size: 0.8em; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; border: none; cursor: pointer; transition: 0.3s; }
        .wa-order-btn:hover { filter: brightness(1.1); }

        .load-more-container { text-align: center; margin: 30px 0; display: none; }
        .loading-spinner {
            color: var(--primary-color);
            font-size: 1.1em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 20px;
            font-family: var(--font-main);
            font-weight: 700;
            opacity: 0.8;
        }

        .custom-request-box {
            background: linear-gradient(135deg, rgba(43, 10, 10, 0.9), rgba(20, 5, 5, 0.95));
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 15px 40px rgba(0,0,0,0.6);
            max-width: 600px;
            margin: 50px auto;
            border: 1px solid rgba(163, 125, 86, 0.3);
            position: relative;
            overflow: hidden;
            animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(10px);
        }
        .custom-request-box::before {
            content: '\f002';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            font-size: 12em;
            color: var(--primary-color);
            opacity: 0.03;
            top: -20px;
            left: -20px;
            transform: rotate(-15deg);
            pointer-events: none;
        }
        .custom-request-title {
            color: var(--primary-color);
            font-size: 1.8em;
            font-weight: 800;
            margin-bottom: 10px;
            font-family: var(--font-heading);
            position: relative;
            z-index: 1;
        }
        .custom-request-desc {
            color: #E0E0E0;
            font-size: 1em;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }
        .custom-request-input {
            width: 100%;
            padding: 16px 20px;
            border: 1px solid rgba(163, 125, 86, 0.4);
            border-radius: 12px;
            margin-bottom: 20px;
            font-family: var(--font-main);
            font-size: 1em;
            outline: none;
            transition: all 0.3s;
            background-color: rgba(0, 0, 0, 0.4);
            color: #fff;
            position: relative;
            z-index: 1;
            text-align: center;
        }
        .custom-request-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }
        .custom-request-input:focus {
            border-color: var(--primary-color);
            background-color: rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 15px rgba(163, 125, 86, 0.3);
        }
        
        .custom-request-btn {
            width: 100%;
            background: linear-gradient(135deg, #a37d56 0%, #8a6540 100%);
            color: white;
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-size: 1.15em;
            font-weight: bold;
            cursor: pointer;
            transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-family: var(--font-main);
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center; gap: 10px;
        }
        .custom-request-btn i { font-size: 1.3em; }
        .custom-request-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 10px 25px rgba(163, 125, 86, 0.5);
            background: linear-gradient(135deg, #b88f65 0%, #9e734c 100%);
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-8px); }
            50% { transform: translateX(8px); }
            75% { transform: translateX(-8px); }
        }

        .notices-grid { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; max-width: 800px; margin: 0 auto; }
        .notice-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(163, 125, 86, 0.2); padding: 18px 25px; border-radius: 12px; display: flex; align-items: center; gap: 15px; backdrop-filter: blur(5px); transition: 0.3s; }
        .notice-card:hover { border-color: var(--primary-color); background: rgba(255, 255, 255, 0.07); transform: translateX(5px); }
        .notice-card i { font-size: 1.4em; color: var(--primary-color); flex-shrink: 0; }
        .notice-card p { font-size: 0.95em; color: #E0E0E0; line-height: 1.6; }
        .update-notice-footer { margin-top: 40px; background: linear-gradient(135deg, #5c1617, #2b0a0a); border: 2px solid var(--primary-color); padding: 20px; border-radius: 15px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: pulseBorder 3s infinite; }
        @keyframes pulseBorder { 0% { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(0,0,0,0.4); } 50% { border-color: #fff; box-shadow: 0 10px 40px rgba(163, 125, 86, 0.6); } 100% { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(0,0,0,0.4); } }
        .update-notice-footer p { font-weight: 700; font-size: 1.1em; letter-spacing: 0.5px; position: relative; z-index: 1; }
        .update-notice-footer::before { content: '\f021'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; font-size: 5em; opacity: 0.05; left: -10px; top: -10px; transform: rotate(-15deg); }

        .side-drawer { position: fixed; top: 0; right: -100%; width: 320px; height: 100%; background: var(--dark-bg); z-index: 10011; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); display: flex; flex-direction: column; border-left: 1px solid var(--border-color); }
        .side-drawer.active { right: 0; }
        [dir="rtl"] .side-drawer { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--border-color); }
        [dir="rtl"] .side-drawer.active { left: 0; }
        
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
        .drawer-header h3 { font-family: var(--font-heading); color: var(--primary-color); font-size: 1.5em; }
        .close-drawer { font-size: 1.5em; cursor: pointer; color: #fff; }
        
        .drawer-items { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 15px; }
        .drawer-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(163, 125, 86, 0.1); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 5px; position: relative; animation: fadeInHero 0.4s ease-out forwards; }
        .drawer-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; padding: 40px 20px; text-align: center; color: rgba(255,255,255,0.4); }
        .drawer-empty-state i { font-size: 4.5em; color: var(--primary-color); margin-bottom: 20px; opacity: 0.3; }
        
        .drawer-item .remove-btn { position: absolute; top: 10px; right: 10px; color: #ff4d4d; cursor: pointer; transition: 0.3s; }
        [dir="rtl"] .drawer-item .remove-btn { right: auto; left: 10px; }
        .drawer-item .remove-btn:hover { transform: scale(1.2); }
        .drawer-item-name { font-weight: 700; color: #fff; font-size: 0.95em; }
        .drawer-item-info { font-size: 0.8em; color: #aaa; }
        .drawer-item-price { color: var(--primary-color); font-weight: 700; margin-top: 5px; }

        .cart-input-section { padding: 15px; border-top: 1px solid var(--border-color); background: rgba(0,0,0,0.15); display: flex; flex-direction: column; gap: 10px; }
        .input-group { display: flex; flex-direction: column; gap: 8px; }
        .input-group-row { display: flex; gap: 8px; }
        .cart-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(163, 125, 86, 0.4); border-radius: 8px; padding: 10px 15px; color: white; font-family: var(--font-main); outline: none; font-size: 0.85em; transition: 0.3s; }
        .cart-input:focus { border-color: var(--primary-color); background: rgba(255,255,255,0.1); }
        .cart-btn-small { background: var(--primary-color); border: none; color: white; border-radius: 8px; padding: 0 15px; cursor: pointer; font-weight: 700; font-size: 0.8em; }
        .cart-btn-outline { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); border-radius: 8px; padding: 10px; cursor: pointer; font-weight: 700; font-size: 0.85em; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; }
        .cart-btn-outline:hover { background: var(--primary-color); color: white; }
        .coupon-msg { font-size: 0.75em; display: none; padding-top: 4px; }
        .coupon-msg.success { color: var(--success-color); }
        .coupon-msg.error { color: #ff4d4d; }

        .payment-options { padding: 15px; background: rgba(0,0,0,0.2); }
        .payment-options p { font-size: 0.85em; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; border-bottom: 1px dashed rgba(163, 125, 86, 0.3); padding-bottom: 5px; }
        .pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 15px; }
        .pay-btn { background: rgba(255,255,255,0.03); border: 1px solid rgba(163, 125, 86, 0.2); border-radius: 10px; padding: 10px 5px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #ccc; transition: 0.3s; }
        .pay-btn i, .pay-btn img { font-size: 1.3em; height: 20px; object-fit: contain; transition: 0.3s; }
        .pay-btn img { filter: grayscale(1) brightness(1.5); }
        .pay-btn.active img { filter: brightness(0) invert(1); }
        .pay-btn span { font-size: 0.65em; font-weight: 700; text-align: center; }
        .pay-btn.active { background: rgba(163, 125, 86, 0.15); border-color: var(--primary-color); color: white; box-shadow: 0 0 10px rgba(163, 125, 86, 0.3); }
        
        #payment-details-box { display: none; animation: fadeIn 0.4s ease; background: rgba(0,0,0,0.4); border: 1px solid rgba(163, 125, 86, 0.3); border-radius: 12px; padding: 12px; margin-bottom: 15px; }
        .details-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
        .details-label { font-size: 0.75em; color: #aaa; }
        .details-val { font-size: 1.1em; font-weight: 800; color: var(--primary-color); letter-spacing: 1px; }
        .copy-btn { background: var(--primary-color); color: white; border: none; padding: 5px 15px; border-radius: 20px; font-size: 0.75em; font-weight: 700; cursor: pointer; margin-top: 5px; }
        .screenshot-instruction { font-size: 0.7em; color: #888; font-style: italic; margin-top: 8px; line-height: 1.4; }

        .drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); background: rgba(0,0,0,0.3); }
        .drawer-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .drawer-total-row.main { font-weight: 800; font-size: 1.25em; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
        .drawer-total-row.main span:last-child { color: var(--primary-color); }
        
        .checkout-btn { width: 100%; background: var(--gold-gradient); color: black; border: none; padding: 12px; border-radius: 10px; font-size: 0.95em; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: 0.4s; }
        .checkout-btn:disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(1); }
        .checkout-btn:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(163, 125, 86, 0.4); }

        /* --- Checkout Modal Styles --- */
        .checkout-overlay { position: fixed; inset: 0; background: rgba(15, 3, 3, 0.95); z-index: 10020; display: none; align-items: center; justify-content: center; padding: 15px; backdrop-filter: blur(10px); overflow-y: auto; }
        .checkout-overlay.active { display: flex; animation: fadeIn 0.4s ease; }
        .checkout-container { background: var(--secondary-color); width: 100%; max-width: 600px; border-radius: 20px; border: 1px solid var(--primary-color); position: relative; margin: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.8); overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
        .chk-header { padding: 20px; background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--primary-color); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 10; }
        .chk-header h3 { color: var(--primary-color); font-family: var(--font-heading); margin: 0; font-size: 1.4em; }
        .chk-body { padding: 20px; overflow-y: auto; flex: 1; }
        
        .delivery-toggle { display: flex; background: rgba(0,0,0,0.3); border-radius: 12px; padding: 5px; margin-bottom: 20px; border: 1px solid rgba(163, 125, 86, 0.3); }
        .del-btn { flex: 1; padding: 12px; text-align: center; color: #aaa; cursor: pointer; border-radius: 8px; font-weight: 700; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9em; }
        .del-btn.active { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(163, 125, 86, 0.4); }
        
        .chk-section-title { color: var(--primary-color); font-size: 1.1em; font-weight: 700; margin-bottom: 15px; border-bottom: 1px dashed rgba(163, 125, 86, 0.3); padding-bottom: 5px; display: flex; align-items: center; gap: 8px; }
        .chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
        .chk-full { grid-column: span 2; }
        .chk-input-group { display: flex; flex-direction: column; gap: 5px; }
        .chk-input-group label { font-size: 0.8em; color: #ccc; }
        .chk-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(163, 125, 86, 0.4); border-radius: 8px; padding: 12px 15px; color: white; font-family: var(--font-main); outline: none; font-size: 0.9em; transition: 0.3s; }
        .chk-input:focus { border-color: var(--primary-color); background: rgba(255,255,255,0.1); }
        
        .chk-info-box { background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.3); padding: 12px; border-radius: 8px; font-size: 0.85em; color: #e0e0e0; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
        .chk-info-box i { color: var(--success-color); font-size: 1.2em; margin-top: 2px; }
        .chk-pickup-box { background: rgba(163, 125, 86, 0.1); border: 1px solid var(--primary-color); padding: 15px; border-radius: 10px; text-align: center; display: none; margin-bottom: 20px; }
        .chk-pickup-box i { font-size: 2.5em; color: var(--primary-color); margin-bottom: 10px; }
        .chk-pickup-box p { font-size: 0.9em; margin-bottom: 5px; color: #ddd; }
        .chk-pickup-box .location-btn { display: inline-block; background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 8px 20px; border-radius: 20px; text-decoration: none; margin-top: 10px; font-size: 0.85em; transition: 0.3s; }
        .chk-pickup-box .location-btn:hover { background: var(--primary-color); color: #fff; }

        .chk-footer { padding: 20px; background: rgba(0,0,0,0.5); border-top: 1px solid var(--primary-color); position: sticky; bottom: 0; }
        .chk-summary-row { display: flex; justify-content: space-between; font-size: 0.9em; color: #bbb; margin-bottom: 8px; }
        .chk-summary-row.total { font-size: 1.2em; font-weight: 800; color: #fff; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 10px; margin-top: 5px; }
        .chk-summary-row.total span:last-child { color: var(--primary-color); }

        .wishlist-to-cart-btn {
            background: rgba(163, 125, 86, 0.1);
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            font-size: 0.75em;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 8px;
            align-self: flex-start;
            transition: 0.3s;
        }
        .wishlist-to-cart-btn:hover { background: var(--primary-color); color: #fff; }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 10009; display: none; backdrop-filter: blur(4px); }
        .drawer-overlay.active { display: block; }

        /* --- Footer --- */
        .footer { background: #1a0505; padding: 50px 0 30px; text-align: center; border-top: none; }
        .contact-list { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
        .contact-box { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 10px; border: 1px solid rgba(163, 125, 86,0.3); color: white; }
        .contact-box i { font-size: 1.8em; color: var(--primary-color); margin-bottom: 10px; }
        .social-row { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
        .social-row a { width: 55px; height: 55px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5em; color: var(--primary-color); border: 1px solid rgba(163, 125, 86, 0.2); transition: 0.3s; }
        
        .wa-float { position: fixed; right: 20px; bottom: 20px; width: 55px; height: 55px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 9999; box-shadow: 0 6px 20px rgba(0,0,0,0.4); transition: 0.3s; }
        .mobile-lang-section { display: none; }

        @media (min-width: 768px) {
            .perfume-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
            .aura-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
            .contact-list { grid-template-columns: repeat(3, 1fr); }
            .main-nav ul { justify-content: center; }
            .logo { height: 140px; }
            .logo-icon { width: 85px; }
            .logo-full { width: 300px; }
            .side-drawer { width: 400px; }
            .aura-card { height: 500px; }
        }
        @media (max-width: 767px) { 
            .aura-grid { grid-template-columns: 1fr; padding: 0 10px; } 
            .page-banner { min-height: 80vh; } 
            
            .header-top { 
                display: flex !important;
                flex-direction: row !important;
                justify-content: space-between !important;
                align-items: center;
                padding: 0 15px;
                position: relative;
                direction: ltr !important; 
            }

            .header-actions-side { 
                display: flex !important; 
                flex: 1;
                justify-content: flex-start;
                gap: 5px; 
                direction: ltr !important; 
            }

            .logo-area { 
                flex: 1;
                display: flex;
                justify-content: center;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                z-index: 10;
                pointer-events: none;
            }
            .logo-area * { pointer-events: auto; }
            .logo { height: 60px; width: auto; min-width: 140px; }
            .logo-full { width: 120px; }
            .logo-icon { width: 40px; }

            .mobile-menu-trigger { 
                display: block !important; 
                flex: 1;
                text-align: right;
                padding: 10px 0;
                z-index: 11;
            }

            .main-nav { display: none; }
            .side-item.hide-mobile { display: none; }

            .toast-container { bottom: 30px; }
            body { padding-bottom: 0; }
            
            .wa-float { bottom: 20px; right: 20px; }
            .top-float { bottom: 20px; left: 20px; }

            .mobile-lang-section { display: block; }
        }
        
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* تنسيق أيقونة المستخدم وصورته */
#userProfileBtn { position: relative; cursor: pointer; }
#userAvatar { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--primary-color); object-fit: cover; }
.auth-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.auth-btn { width: 100%; padding: 12px; border-radius: 8px; border: none; cursor: pointer; font-family: var(--font-main); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; }
.btn-google { background: #fff; color: #000; }
.btn-facebook { background: #1877F2; color: #fff; }
/* ستايل نافذة تسجيل الدخول الجديدة */
:root {
    --primary-gold: #c5a059;
    --font-calligraphy: 'Great Vibes', cursive;
}

.auth-card-luxury {
    /* التعديل هنا فقط: صورة الخلفية مع لون نبيتي داكن جداً شفاف بدل الأسود */
    background: linear-gradient(rgba(20, 5, 5, 0.95), rgba(43, 10, 10, 0.95)), 
                url('https://i.postimg.cc/Dw127HGG/Gemini-Generated-Image-2h56w02h56w02h56.png') !important;
    background-size: cover !important;
    background-position: center !important;

    /* باقي كودك الأصلي زي ما هو بالمللي بدون أي تغيير في المقاسات */
    border: 1px solid rgba(163, 125, 86, 0.3) !important;
    padding: 60px 45px !important;
    width: 90% !important;
    max-width: 450px !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9) !important;
    text-align: center;
    position: relative;
    animation: luxuryEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    overflow: hidden;
    margin: auto;
}
@keyframes luxuryEntrance {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* تنسيق العنوان الكاليجرافي الجديد */
.auth-card-luxury h2.welcome-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: 3.8rem !important;
    color: #a37d56 !important;
    margin: 0 0 5px 0 !important;
    font-weight: 400 !important;
}

.auth-card-luxury .subtitle {
    font-size: 0.75rem !important;
    color: #666 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase;
    margin-bottom: 50px !important;
    display: block;
}

/* الخانات (خط سفلي فقط ونص ممركز) */
.input-group-luxury { text-align: center; margin-bottom: 25px; }

.input-group-luxury label {
    display: block;
    color: #a37d56;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.auth-input-luxury {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(163, 125, 86, 0.2);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: 0.4s;
    text-align: center;
}
/* إصلاح شكل الخانات عند الملء التلقائي (Autofill) */
.auth-input-luxury:-webkit-autofill,
.auth-input-luxury:-webkit-autofill:hover, 
.auth-input-luxury:-webkit-autofill:focus, 
.auth-input-luxury:-webkit-autofill:active {
    /* خدعة لمنع المتصفح من تغيير لون الخلفية */
    transition: background-color 5000s ease-in-out 0s !important;
    
    /* الحفاظ على لون النص أبيض */
    -webkit-text-fill-color: #fff !important;
    
    /* لون مؤشر الكتابة */
    caret-color: #a37d56 !important; 
    
    /* الحفاظ على الخط الفخم بتاعنا */
    font-family: var(--font-main) !important;
}
.auth-input-luxury:focus {
    outline: none;
    border-bottom-color: #a37d56;
    background: rgba(163, 125, 86, 0.05);
}

/* زرار جوجل العريض والفاخر */
.google-full-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}
/* --------------------------------------------------- */
/* --- تعديلات السيرش والبرجر منيو للموبايل --- */
/* --------------------------------------------------- */

/* 1. إخفاء الجروب ده بالكامل في الديسكتوب عشان ميبوظش القديم */
.mobile-right-group {
    display: none;
}

@media (max-width: 767px) {
    /* 2. إخفاء أيقونة السيرش القديمة (اللي في الشمال) في الموبايل بس */
    #mainSearchTrigger {
        display: none !important;
    }
    
    /* 3. إظهار الجروب الجديد اللي شايل السيرش والبرجر منيو في الموبايل */
    .mobile-right-group {
        display: flex !important;
        flex: 1; /* عشان ياخد مساحته زي البرجر القديم */
        justify-content: flex-end; /* يزقهم لليمين */
        align-items: center; /* يسنترهم بالطول */
        gap: 15px; /* المسافة بين السيرش والبرجر منيو (تقدر تكبرها أو تصغرها براحتك) */
        z-index: 11;
    }

}
    
        .upload-btn-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
            width: 100%;
        }
        .btn-upload {
            border: 1px dashed var(--primary-color);
            color: var(--primary-color);
            background-color: rgba(163, 125, 86, 0.1);
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 0.9em;
            font-weight: bold;
            width: 100%;
            cursor: pointer;
            transition: 0.3s;
        }
        .btn-upload:hover { background-color: var(--primary-color); color: white; }

        /* --- إصلاح مشكلة الترحيل (السكرول العرضي) في الموبايل --- */
body, html {
    overflow-x: hidden; /* لمنع السكرول العرضي المزعج */
    overflow-y: auto !important;   /* إجبار السماح بالسكرول الطولي */
    height: auto;
}
        @media (max-width: 767px) {
            /* إلغاء العرض الإجباري لأزرار الفلتر والترتيب وتقليل حجمها */
            .filter-toggle-btn {
                min-width: unset !important;
                padding: 8px 10px !important;
                font-size: 0.75em !important;
                height: 38px !important;
                gap: 5px !important;
            }

            /* تقليل المسافات الداخلية في شريط الفلتر لتوفير المساحة */
            #filter-section > div {
                padding: 8px 5px !important;
                gap: 5px !important;
            }

           
            /* تصغير خط عداد المنتجات داخل زرار الترتيب */
            .product-count-badge {
                font-size: 0.8em !important;
            }
        }


/* --- تصميم شريط الفلتر المينيمال (نسخة مطابقة للصورة) --- */
.filter-bar {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(163, 125, 86, 0.2);
}
.filter-left {
    display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.4);
    font-size: 15px; cursor: pointer; transition: color 0.2s; font-weight: 600;
}
.filter-left:hover { color: var(--primary-color); }
.filter-left svg { width: 16px; height: 16px; }

/* --- تصميم أزرار العرض المينيمال (النسخة الرايقة) --- */
/* --- تصميم أزرار العرض المينيمال (تطابق الصورة تماماً) --- */
.view-modes { 
    display: flex; 
    gap: 6px !important; /* المسافة بين كل زرار والتاني */
    align-items: center;
}

/* الإطار الخارجي للزرار */
.view-btn {
    height: 22px !important; /* ارتفاع الزرار ثابت */
    display: flex; 
    gap: 2px !important; /* المسافة بين العواميد جوه الزرار */
    padding: 2px !important; /* المسافة بين العواميد والإطار الخارجي */
    border: 1px solid rgba(255, 255, 255, 0.4) !important; 
    border-radius: 0 !important; /* دي اللي بتخلي الحواف حادة جداً ومربعة */
    background: transparent !important; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    box-sizing: border-box;
    margin: 0 !important;
    width: auto !important; /* دي السحر اللي بيخلي الزرار يطول بالعرض حسب عدد العواميد اللي جواه */
}

/* العواميد والصفوف من جوه */
.view-btn .bar {
    background-color: rgba(255, 255, 255, 0.4); 
    border-radius: 0 !important; /* حواف حادة للعواميد نفسها */
    transition: all 0.2s ease;
}

/* الأزرار الطولية (2, 3, 4, 5, 6 أعمدة) */
.view-btn.col .bar { 
    width: 6px !important; /* عرض العمود أعرض شوية زي الصورة */
    height: 100% !important; 
    flex: none !important;
}

/* الزرار العرضي الأول (زرار القائمة) */
.view-btn.row { 
    flex-direction: column; 
    width: 24px !important; /* نثبت عرض زرار القائمة عشان يبقى مربع متناسق */
}
.view-btn.row .bar { 
    width: 100% !important; 
    height: 4px !important; /* سمك الصف العرضي */
    flex: none !important;
}

/* --- الألوان (بألوان موقعك) --- */
/* الحالة النشطة (باللون الدهبي بتاعك) */
.view-btn.active { 
    border-color: var(--primary-color) !important; 
}
.view-btn.active .bar { 
    background-color: var(--primary-color) !important; 
}

/* تأثير مرور الماوس (أبيض زاهي شوية) */
.view-btn:hover:not(.active) { 
    border-color: rgba(255, 255, 255, 0.8) !important; 
}
.view-btn:hover:not(.active) .bar { 
    background-color: rgba(255, 255, 255, 0.8) !important; 
}
.sort-box {
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px;
    padding: 6px 12px; display: flex; align-items: center; justify-content: space-between;
    min-width: 160px; color: rgba(255, 255, 255, 0.4); font-size: 14px;
    cursor: pointer; transition: all 0.2s; background: transparent;
}
.sort-box:hover { border-color: var(--primary-color); color: var(--primary-color); }
.sort-box svg { width: 14px; height: 14px; }

@media (max-width: 767px) {
    .sort-box { min-width: 120px; padding: 6px 8px; }
    .filter-left span { display: none; }
}
/* --- تظبيط شكل الكارت العرضي (النسخة الاحترافية بالـ Grid) --- */
html[style*="--grid-cols: list"] .perfume-card {
    display: grid !important;
    grid-template-columns: 140px 1fr !important; /* عمود للصورة 140 بيكسل، والباقي للمعلومات */
    gap: 5px 20px; /* مسافات محترمة بين الصورة والكلام */
    align-items: center; /* توسيط الكلام مع الصورة */
    text-align: right;
    padding: 15px;
}

/* عشان نعكس الاتجاه لو اللغة اتغيرت لإنجليزي */
[dir="ltr"] html[style*="--grid-cols: list"] .perfume-card {
    text-align: left;
}

html[style*="--grid-cols: list"] .perfume-card .img-container {
    grid-column: 1; 
    grid-row: 1 / span 5; 
    width: 140px !important;
    height: 210px !important; /* الارتفاع الطولي الجديد */
    margin: 0 !important;
}
/* 2. توجيه باقي البيانات للعمود التاني */
html[style*="--grid-cols: list"] .perfume-card .perfume-maison,
html[style*="--grid-cols: list"] .perfume-card .perfume-name,
html[style*="--grid-cols: list"] .perfume-card .perfume-notes,
html[style*="--grid-cols: list"] .perfume-card .price-boxes {
    grid-column: 2;
    margin: 0; /* بنلغي المسافات العشوائية القديمة */
}

/* 3. تظبيط شكل النصوص */
html[style*="--grid-cols: list"] .perfume-card .perfume-name {
    justify-content: flex-start;
    font-size: 1.2em;
    min-height: auto;
    margin-bottom: 5px;
}

html[style*="--grid-cols: list"] .perfume-card .perfume-notes {
    justify-content: flex-start;
}

/* 4. تظبيط مربعات الأسعار عشان تترص بشكل أنيق ومش ممطوط */
html[style*="--grid-cols: list"] .perfume-card .price-boxes {
    display: flex !important;
    flex-wrap: wrap; /* لو الشاشة ضاقت ينزلوا سطر جديد شياكة */
    gap: 8px;
    margin-top: 10px;
}

html[style*="--grid-cols: list"] .perfume-card .price-item {
    flex: 1 1 calc(20% - 8px); /* نحاول نحطهم كلهم في سطر واحد */
    min-width: 65px; /* أقل عرض للمربع عشان الكلام ميبظش بره */
    padding: 8px 4px;
}

/* إلغاء تمدد المربع الأخير (100مل) عشان ميبوظش السطر */
html[style*="--grid-cols: list"] .perfume-card .price-item.full-width {
    grid-column: auto;
}

/* 5. مكان زرار المفضلات (القلب) */
html[style*="--grid-cols: list"] .perfume-card .favorite-trigger {
    top: 15px;
    left: 15px;
    right: auto;
}

[dir="ltr"] html[style*="--grid-cols: list"] .perfume-card .favorite-trigger {
    right: 15px;
    left: auto;
}

/* --- تظبيط الموبايل (نرجعه كارت عادي فوق بعضه) --- */

/* إخفاء زرار الكارت الواحد في الديسكتوب */
.view-modes .show-mobile { display: none !important; }

@media (max-width: 767px) {
    /* إخفاء زراير 3 و 4 و 5 و 6 في الموبايل */
    .view-modes .hide-mobile { display: none !important; }
    /* إظهار زرار الكارت الواحد في الموبايل */
    .view-modes .show-mobile { display: flex !important; }
}

/* تأكيد إن شبكة العرض هتكون عمود واحد لما نختار القائمة */
html[style*="--grid-cols: list"] .perfume-grid {
    grid-template-columns: 1fr !important;
}

/* تنسيق عداد المنتجات الاحترافي */
.product-count-badge {
    background: rgba(163, 125, 86, 0.1); /* لون دهبي خفيف جداً خلفية */
    color: var(--primary-color); /* لون النص الدهبي بتاع براندك */
    border: 1px solid rgba(163, 125, 86, 0.3); /* إطار رفيع فخم */
    padding: 2px 8px;
    border-radius: 12px; /* حواف دائرية */
    font-size: 0.8em;
    font-weight: 700;
    margin-right: 8px; /* مسافة بينه وبين كلمة تصفية */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    transition: all 0.3s ease;
}

/* حركة بسيطة لما الماوس ييجي على زرار الفلتر */
.filter-left:hover .product-count-badge {
    background: var(--primary-color);
    color: #fff;
}
/* --- تصميم نافذة النظرة السريعة (Quick View) --- */
.qv-overlay {
    position: fixed; inset: 0; background: rgba(15, 3, 3, 0.95); z-index: 10030; 
    display: none; align-items: center; justify-content: center; padding: 15px; 
    backdrop-filter: blur(10px); overflow-y: auto;
}
.qv-overlay.active { display: flex; animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.qv-container {
    background: linear-gradient(rgba(20, 5, 5, 0.95), rgba(43, 10, 10, 0.95)), url('https://i.postimg.cc/Dw127HGG/Gemini-Generated-Image-2h56w02h56w02h56.png');
    background-size: cover; background-position: center;
    width: 100%; max-width: 850px; border-radius: 20px; border: 1px solid var(--primary-color);
    position: relative; margin: auto; box-shadow: 0 40px 80px rgba(0,0,0,0.9);
    display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden;
}

@media (max-width: 767px) { 
    .qv-container { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; } 
}

.qv-img-side {
    background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; padding: 30px; border-right: 1px solid rgba(163, 125, 86, 0.2);
}
[dir="rtl"] .qv-img-side { border-right: none; border-left: 1px solid rgba(163, 125, 86, 0.2); }

.qv-img-side img { 
    width: 100%; max-width: 280px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.6); 
}

/* 1. توسيط النصوص والعناصر داخل نافذة التفاصيل */
.qv-info-side { 
    padding: 40px 30px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; /* السطر ده بيسنتر العناصر بالطول */
    text-align: center;  /* السطر ده بيسنتر النصوص */
}

/* 2. توسيط نجوم التقييم وعدد المراجعات */
.qv-reviews { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* السطر ده بيجيب النجوم في النص */
    gap: 4px; 
    color: #f1c40f; 
    font-size: 0.9em; 
    margin-bottom: 10px; 
}

/* 3. توسيط محتويات الهرم العطري (الأيقونة والنوتات) */
.pyramid-tier {
    display: flex;
    align-items: center;
    justify-content: center; /* بيسنتر الأيقونة مع التاجات في نص المربع */
    gap: 15px;
}

.tier-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center; /* بيسنتر التاجات نفسها (زي لافندر، قرفة) */
    flex: unset !important;  /* السطر ده مهم جداً عشان يمنع التمدد للآخر ويفضلوا متجمعين في النص */
}
.qv-close { 
    position: absolute; top: 20px; right: 20px; color: var(--primary-color); font-size: 1.5em; cursor: pointer; z-index: 10; transition: 0.3s; 
}
[dir="rtl"] .qv-close { right: auto; left: 20px; }
.qv-close:hover { transform: rotate(90deg) scale(1.2); color: #fff; }

.qv-maison { color: var(--primary-color); font-size: 0.9em; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; font-weight: 700; }
.qv-name { font-family: var(--font-heading); font-size: 2.2em; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.qv-notes-container { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }

.qv-note-tag { 
    background: rgba(163, 125, 86, 0.1); border: 1px solid rgba(163, 125, 86, 0.3); 
    color: #ddd; padding: 6px 14px; border-radius: 20px; font-size: 0.85em; display: flex; align-items: center; gap: 6px; 
}
.qv-note-tag i { color: var(--primary-color); }

/* --- التعديلات الجديدة لشكل النظرة السريعة الاحترافي --- */
.qv-reviews { display: flex; align-items: center; gap: 4px; color: #f1c40f; font-size: 0.9em; margin-bottom: 10px; }
.qv-reviews span { color: #ccc; font-size: 0.8em; margin-inline-start: 8px; }
.qv-inspired-desc { font-size: 0.85em; color: #aaa; margin-bottom: 15px; font-style: italic; }

.qv-urgency-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(163, 125, 86, 0.2); padding: 12px; border-radius: 10px; margin-bottom: 15px; }
.urgency-row { display: flex; align-items: center; gap: 8px; font-size: 0.8em; color: #ddd; margin-bottom: 5px; }
.urgency-row:last-child { margin-bottom: 0; }
.urgency-row b { color: #fff; font-weight: bold; }

.qv-price-area { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; }
.qv-price-area .current-price { font-size: 1.8em; font-weight: 800; color: #fff; font-family: var(--font-heading); }
.qv-price-area .old-price { font-size: 1em; color: #888; text-decoration: line-through; }
.qv-price-area .save-badge { background: #e74c3c; color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: bold; animation: pulsePlus 2s infinite; }

.qv-size-selectors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.qv-size-btn { background: transparent; border: 1px solid #555; color: #ccc; padding: 8px 20px; border-radius: 50px; cursor: pointer; transition: 0.3s; font-weight: bold; font-family: var(--font-main); }
.qv-size-btn:hover { border-color: var(--primary-color); color: #fff; }
.qv-size-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; box-shadow: 0 4px 10px rgba(163, 125, 86, 0.4); }

.qv-action-row { display: flex; gap: 15px; margin-bottom: 25px; }
.qv-qty-box { display: flex; align-items: center; background: rgba(0,0,0,0.4); border: 1px solid rgba(163, 125, 86, 0.3); border-radius: 50px; overflow: hidden; height: 50px; }
.qv-qty-box button { background: transparent; border: none; color: var(--primary-color); width: 40px; height: 100%; font-size: 1.2em; cursor: pointer; transition: 0.3s; }
.qv-qty-box button:hover { background: rgba(163, 125, 86, 0.2); }
.qv-qty-box input { width: 40px; text-align: center; background: transparent; border: none; color: #fff; font-weight: bold; font-size: 1.1em; pointer-events: none; }
.qv-add-btn { flex: 1; background: var(--primary-color); color: #fff; border: none; border-radius: 50px; font-size: 1.1em; font-weight: bold; font-family: var(--font-main); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; box-shadow: 0 5px 15px rgba(163, 125, 86, 0.3); }
.qv-add-btn:hover { background: #8a6540; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(163, 125, 86, 0.5); }

.qv-trust-badges { display: flex; justify-content: space-between; border-top: 1px dashed rgba(163, 125, 86, 0.3); padding-top: 15px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 0.7em; color: #aaa; text-align: center; }
.trust-item i { font-size: 1.5em; color: var(--primary-color); }
/* --- النافذة: ريسبونسيف وكاملة (التعديل الجديد) --- */
.qv-container {
    background: #1a0505; /* نفس لون موقعك */
    width: 95%; 
    max-width: 1000px; 
    border-radius: 12px; 
    border: 1px solid var(--primary-color);
    position: relative; 
    margin: auto; 
    display: grid; 
    /* التعديل هنا: جعل عمود الصورة (1.2) أكبر من عمود الكلام (1) ليظهر العطر بوضوح */
    grid-template-columns: 1.2fr 1fr; 
    overflow: hidden; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}
/* --- تعديلات مساحة الصور في النظرة السريعة (النسخة المظبوطة) --- */
.qv-img-side-full { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; /* بيسنتر قسم الصور كله جوا الشاشة بالطول */
    align-items: center; /* بيسنتر قسم الصور كله جوا الشاشة بالعرض */
    gap: 20px; 
    width: 100%;
    height: 100%; /* بياخد طول النافذة كلها عشان يكبر مساحة الصورة */
    padding: 20px; /* مسافة أمان من الحواف عشان متلزقش */
}

/* حاوية الصورة الكبيرة */
.qv-main-image-container { 
    position: relative; 
    width: 100%; 
    height: 550px; /* 👈 كبرنا الارتفاع جداً عشان الصورة تاخد مساحة أكبر وتفرش براحتها */
    border-radius: 12px; 
    overflow: hidden; 
    cursor: crosshair; 
    background: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-main-image-container img { 
    width: 100%; 
    height: 100%; 
    max-width: 100% !important; /* 👈 لغينا أي تقييد قديم لحجم الصورة */
    object-fit: contain; /* هيخليها في النص بالظبط وكل أطرافها باينة */
    object-position: center; 
    transition: opacity 0.2s ease; 
}
/* --- شكل العدسة (المكبر الحقيقي) - التصميم المربع الذهبي الجديد --- */
.qv-lens {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 15px; 
    width: 130px; 
    height: 130px;
    pointer-events: none;
    opacity: 0;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 15px rgba(163, 125, 86, 0.3), 0 15px 30px rgba(0,0,0,0.6);
    background-color: rgba(0, 0, 0, 0.05);
    transition: opacity 0.2s ease;
    z-index: 10;
}

/* إخفاء إيد المكبر القديمة */
.qv-lens::after {
    display: none;
}
.qv-main-image-container:hover .qv-lens { opacity: 1; }
.qv-main-image-container:hover img { opacity: 1 !important; } /* 👈 التعديل هنا: الصورة هتفضل منورة وطبيعية 100% */

/* --- الصور المصغرة --- */
.qv-thumbnails { 
    display: flex; 
    gap: 12px; 
    height: 70px; 
    justify-content: center; 
    width: 100%;
}

.qv-thumb { 
    width: 70px; 
    height: 100%; 
    border-radius: 8px; 
    object-fit: cover; 
    cursor: pointer; 
    border: 2px solid transparent; 
    opacity: 0.6; 
    transition: all 0.3s ease; 
}

.qv-thumb.active { opacity: 1; border-color: var(--primary-color); }

/* تظبيط الموبايل */
@media (max-width: 767px) { 
    .qv-main-image-container { height: 420px; } /* 👈 كبرناها في الموبايل كمان عشان تملى الشاشة أطول */
    .qv-thumbnails { height: 60px; }
    .qv-thumb { width: 60px; }
    .qv-lens { display: none !important; } 
    .qv-main-image-container:hover img { opacity: 1 !important; } /* 👈 تأكيد إنها متغمقش في الموبايل */
}
.qv-label-text { font-size: 0.8em; color: #aaa; margin-bottom: 8px; display: block; font-weight: 700; letter-spacing: 1px; }

/* تنسيق أيقونات الدفع الجديدة */
/* تنسيق أيقونات الدفع الموحدة والاحترافية */
.qv-payment-methods { border-top: 1px dashed rgba(163,125,86,0.2); padding-top: 15px; margin-top: 15px; text-align: center; }
.qv-payment-methods p { font-size: 0.7em; color: #aaa; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; font-weight: bold; }
.pay-icons-row { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }

/* الحجم الموحد والشكل الافتراضي (رمادي وشفاف شوية) */
.pay-icons-row img { height: 28px; filter: grayscale(1) brightness(1.5); opacity: 0.6; transition: all 0.3s ease; cursor: pointer; }
.pay-icons-row i { font-size: 30px; color: #888; opacity: 0.6; transition: all 0.3s ease; cursor: pointer; }

/* التأثير الموحد عند مرور الماوس (كلهم بيكبروا وينوروا) */
.pay-icons-row img:hover { filter: grayscale(0) brightness(1); opacity: 1; transform: scale(1.1); }
.pay-icons-row i:hover { color: var(--primary-color); opacity: 1; transform: scale(1.1); }
/* --- تنسيق الاقتراحات جوه النظرة السريعة --- */
.qv-cs-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.qv-cs-grid::-webkit-scrollbar { display: none; } /* إخفاء شريط التمرير لشكل أنظف */

.qv-cs-item { 
    min-width: 120px; background: rgba(0,0,0,0.3); border: 1px solid rgba(163, 125, 86, 0.2); 
    border-radius: 8px; padding: 6px; text-align: center; transition: 0.3s; 
}
.qv-cs-item:hover { border-color: var(--primary-color); background: rgba(163, 125, 86, 0.05); transform: translateY(-3px); }

.qv-cs-item img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; margin-bottom: 5px; }
.qv-cs-item h4 { font-size: 0.7em; color: #fff; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-main); }
.qv-cs-item .cs-price { font-size: 0.8em; color: var(--primary-color); font-weight: bold; display: block; margin-bottom: 6px; }

.cs-add-btn { 
    background: transparent; color: #ccc; border: 1px solid #555; border-radius: 4px; 
    padding: 4px; font-size: 0.7em; cursor: pointer; width: 100%; transition: 0.3s; 
}
.cs-add-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
/* --- تصميم الهرم العطري (Fragrance Pyramid) --- */
.pyramid-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(20, 5, 5, 0.6);
    border: 1px solid rgba(163, 125, 86, 0.3);
    border-radius: 16px;
    padding: 18px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.pyramid-tier {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pyramid-tier:not(:last-child) {
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
    padding-bottom: 12px;
}

.tier-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    color: var(--primary-color);
    text-align: center;
}

.tier-icon-container i {
    font-size: 1.2em;
    margin-bottom: 4px;
    opacity: 0.8;
}

.tier-label {
    font-size: 0.7em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
}

.tier-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

/* التاج الجديد للنوتة (عربي وإنجليزي معاً) */
.qv-note-tag {
    background: linear-gradient(135deg, rgba(163, 125, 86, 0.15) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(163, 125, 86, 0.4);
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 80px;
}

.qv-note-tag:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(163, 125, 86, 0.4);
    border-color: #fff;
}

.note-ar {
    font-weight: 700;
    font-size: 0.9em;
}

.note-en {
    font-size: 0.65em;
    opacity: 0.7;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
/* --- Header Styles الأصلي --- */
.header { 
    background-color: var(--secondary-color) !important; /* لون الخلفية الأصلي */
    padding: 5px 0 !important; 
    position: sticky !important; 
    top: 0 !important; 
    z-index: 9999 !important; 
    border-bottom: 1px solid var(--border-color) !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important; 
}

/* الأيقونات الحرة (بدون دوائر) */
.search-trigger { 
    color: var(--primary-color) !important; 
    font-size: 1.25em !important; 
    cursor: pointer !important; 
    padding: 8px !important; 
    transition: 0.4s !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    position: relative !important;
    background: transparent !important; /* إلغاء الخلفية الزجاجية */
    border: none !important; /* إلغاء الإطار الدائري */
    width: auto !important; /* إلغاء العرض الثابت */
    height: auto !important; /* إلغاء الطول الثابت */
}
.search-trigger:hover { 
    transform: rotate(10deg) scale(1.15) !important; 
    background: transparent !important; /* ضمان عدم ظهور خلفية عند الهوفر */
    color: var(--primary-color) !important; /* الاحتفاظ باللون الذهبي */
    box-shadow: none !important; /* إلغاء الشادو المزعج */
}

/* زرار القائمة (Hamburger) في الموبايل */
.mobile-menu-trigger { 
    display: none !important; 
    color: var(--primary-color) !important; 
    font-size: 1.5em !important; 
    cursor: pointer !important; 
    padding: 10px !important; 
    background: transparent !important;
    border: none !important;
}

@media (max-width: 767px) {
    .mobile-menu-trigger { 
        display: block !important; 
    }
    .header-actions-side .search-trigger { 
        padding: 8px 6px !important; 
    }
    .mobile-right-group .mobile-menu-trigger {
        flex: unset !important;
        display: block !important;
        padding: 5px 0 !important;
        text-align: center !important;
    }
}
/* ========================================= */
/* --- تأثير زر العين المينيمال (بدون نبض) --- */
/* ========================================= */

.quick-view-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    background: rgba(20, 5, 5, 0.8); color: #fff; border: 1px solid var(--primary-color);
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.3em; cursor: pointer; opacity: 0; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); backdrop-filter: blur(5px); z-index: 5;
}

/* ظهور ناعم فقط عند وقوف الماوس على كارت العطر */
.perfume-card:hover .quick-view-btn { 
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1);
}

/* تأثير التمرير على الزر نفسه (بدون إضاءة مشتتة) */
.quick-view-btn:hover { 
    background: var(--primary-color) !important; color: #fff !important; 
    transform: translate(-50%, -50%) scale(1.05) !important; 
}
/* --- تظبيط التوسيط وإصلاح عرض الأزرار في النظرة السريعة (موبايل وديسكتوب) --- */

/* 1. توسيط كل المحتوى */
.qv-info-side { 
    align-items: center !important; 
    text-align: center !important; 
}

/* 2. إجبار صف السلة، بوكس المشاهدات، والهرم العطري إنهم ياخدوا العرض كامل وميكشوش */
.qv-action-row, 
.qv-urgency-box, 
.pyramid-container { 
    width: 100% !important; 
}

/* 3. توسيط العناصر الداخلية (النجوم، السعر، الأحجام، والنوتات) */
.qv-reviews, 
.qv-price-area, 
.qv-size-selectors, 
.pyramid-tier, 
.tier-notes { 
    justify-content: center !important; 
}

/* 4. منع تمدد النوتات بشكل عشوائي */
.tier-notes { 
    flex: unset !important; 
}
/* ========================================= */
/* --- زرار واتساب HAVANA التفاعلي الفخم --- */
/* ========================================= */

.wa-luxury-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); /* تدرج لوني فخم للأخضر */
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 55px;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* حركة التمدد الناعمة */
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); 
}

/* الأيقونة نفسها بتنبض بهدوء */
.wa-luxury-float i {
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* إخفاء النص في البداية (للديسكتوب) */
.wa-luxury-float .wa-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    margin-inline-start: 0;
}

/* تأثير التمدد لما الماوس ييجي عليه */
.wa-luxury-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    padding: 0 22px;
}

.wa-luxury-float:hover .wa-text {
    max-width: 200px; /* بيفتح المساحة للنص */
    opacity: 1;
    margin-inline-start: 10px; /* بيبعد الكلمة عن الأيقونة شوية */
}

/* --- تظبيط الموبايل --- */
/* نرجعه شكل دائري ملموم في الموبايل عشان مياخدش مساحة ويداري على المنتجات */
@media (max-width: 767px) {
    .wa-luxury-float {
        width: 55px; /* عرض ثابت عشان يبقى دائرة */
        height: 55px;
        padding: 0;
        bottom: 20px;
        right: 20px;
        border-radius: 50%; /* دائرة كاملة */
    }
    
    /* إخفاء النص تماماً في الموبايل عشان نحافظ على المساحة */
    .wa-luxury-float .wa-text {
        display: none !important;
    }
    
    /* إلغاء تأثير التمدد في الموبايل */
    .wa-luxury-float:hover {
        transform: none;
        padding: 0;
        width: 55px;
    }
}
/* ========================================= */
/* --- زرار الطلوع لأعلى الفخم (تحديث التناسق والأنيميشن) --- */
/* ========================================= */
.top-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 55px;  /* نفس مقاس زرار الواتساب بالظبط */
    height: 55px; /* نفس مقاس زرار الواتساب بالظبط */
    background: rgba(43, 10, 10, 0.7); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--primary-color); 
    color: var(--primary-color); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; /* كبرنا الأيقونة شوية عشان تليق مع الحجم الجديد */
    z-index: 9998; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.top-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

/* الأنيميشن المستمر للسهم (بيشاور لفوق) */
.top-float i {
    animation: arrowBounce 1.5s infinite ease-in-out;
}

/* تفاصيل حركة السهم */
@keyframes arrowBounce {
    0%, 100% { transform: translateY(2px); }
    50% { transform: translateY(-4px); } /* بيطلع لفوق 4 بيكسل وينزل تاني بنعومة */
}

/* التأثير لما تقف عليه بالماوس */
.top-float:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 25px rgba(163, 125, 86, 0.5);
    border-color: transparent;
}

/* تظبيط الموبايل عشان يفضل نفس مقاس الواتساب (55 بيكسل) */
@media (max-width: 767px) {
    .top-float {
        width: 55px;
        height: 55px;
        font-size: 22px;
        left: 20px; 
        bottom: 20px;
    }
}
/* ========================================= */
/* --- زرار المشاركة في النظرة السريعة --- */
/* ========================================= */
.qv-share-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-shrink: 0; /* عشان ميكشش لو الشاشة صغرت */
}

.qv-share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(163, 125, 86, 0.4);
}

@media (max-width: 767px) {
    .qv-share-btn {
        width: 45px; /* تصغير بسيط في الموبايل */
        height: 45px;
        font-size: 1.1em;
    }
}
@media (max-width: 767px) {
    /* إصلاح كروت قسم البصمة العطرية (Signa) ومعايير الجودة (Pura) */
    .showcase-grid,
    .trust-grid {
        grid-template-columns: 1fr !important; /* عمود واحد بدل 3 عشان الكلام ياخد راحته */
        gap: 25px !important;
        padding: 0 15px; /* مسافة من الحواف عشان ميبقوش لازقين في شاشة الموبايل */
    }

    /* تظبيط طول كروت العطور (Signa) عشان متبقاش ممطوطة وطويلة بزيادة على الموبايل */
    .sc-card {
        aspect-ratio: auto !important; 
        height: 320px; /* طول مخصص ومناسب للموبايل */
    }
}
/* تظبيط كروت Signa و Pura على الموبايل لتكون عمود واحد */
@media (max-width: 767px) {
    .showcase-grid,
    .trust-grid {
        grid-template-columns: 1fr !important; /* إجبارهم على عمود واحد */
        gap: 30px !important; /* مسافة ممتازة بين كل كارت والتاني */
        padding: 0 15px;
    }

    /* تظبيط كارت العطر بناءً على أبعاد صورك الجديدة */
    .sc-card {
        aspect-ratio: 2 / 3 !important; /* بيحافظ على نسبة 800*1200 */
        height: auto !important; 
        width: 100% !important;
        max-width: 380px; /* عشان ميكبرش بزيادة ويبقى شكله غبي */
        margin: 0 auto; /* توسيط الكارت */
    }
}
/* ========================================= */
/* --- Materia Prima (سيكشن المكونات - شريط بيلف) --- */
/* ========================================= */
.materia-section {
    padding: 80px 0; 
    background: var(--dark-bg);
    border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
    overflow: hidden; 
    display: block; /* تأكيد عشان مياخدش خصائص Grid قديمة */
}

/* حاوية الشريط (اللي بتعمل التلاشي من الأطراف) */
.materia-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    display: block;
}

.materia-marquee-container::before,
.materia-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.materia-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg) 0%, transparent 100%);
}
.materia-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg) 0%, transparent 100%);
}

/* التراك اللي بيمشي جواه الكروت */
.materia-track {
    display: flex !important;
    gap: 20px;
    width: max-content;
    animation: scrollMateria 180s linear infinite; /* تم التعديل لـ 180 ثانية ليتطابق مع آراء العملاء */
}

/* عكس الاتجاه لو الموقع عربي عشان يمشي من اليمين للشمال */
[dir="rtl"] .materia-track {
    animation: scrollMateriaRTL 180s linear infinite; /* تم التعديل لـ 180 ثانية */
}
/* وقوف القطر لما الماوس ييجي عليه */
.materia-track:hover {
    animation-play-state: paused;
}

/* الكارت الواحد جوه القطر */
.materia-card-slide {
    width: 260px !important; 
    height: 340px !important; 
    flex-shrink: 0 !important;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(163, 125, 86, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: block;
}

.materia-card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

/* الطبقة الشفافة (الخلفية متدرجة بشكل دائم عشان الكلمة تبان) */
.materia-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 5, 5, 0.8) 0%, rgba(26, 5, 5, 0.1) 40%, transparent 100%);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: center; 
    padding: 30px 20px;
    text-align: center;
    opacity: 1; /* ظاهرة دايماً */
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* اسم المكون (ظاهر دايماً وواخد مسافة لتحت شوية) */
.materia-overlay h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4em;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: block;
    width: 100%;
    transform: translateY(15px); /* نزلناه لتحت شوية */
    transition: all 0.4s ease;
}

/* الوصف (مخفي ومبيظهرش غير لما تقف بالماوس) */
.materia-overlay p {
    color: #E0E0E0;
    font-size: 0.9em;
    line-height: 1.6;
    display: block;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    max-height: 0; /* عشان مياخدش مساحة وهو مخفي */
    transform: translateY(10px);
    transition: all 0.4s ease;
    margin-top: 10px;
}

/* --- تأثير الـ Hover (وقوف الماوس) --- */
.materia-card-slide:hover img {
    transform: scale(1.15); /* الصورة بتعمل زووم */
}

/* بنغمق الخلفية شوية لما تقف بالماوس عشان الوصف يتقري بوضوح */
.materia-card-slide:hover .materia-overlay {
    background: linear-gradient(to top, rgba(26, 5, 5, 0.95) 0%, rgba(26, 5, 5, 0.6) 60%, transparent 100%);
}

/* نرفع الاسم لمكانه الطبيعي */
.materia-card-slide:hover .materia-overlay h4 {
    transform: translateY(0);
}

/* نظهر الوصف */
.materia-card-slide:hover .materia-overlay p {
    opacity: 1;
    visibility: visible;
    max-height: 100px;
    transform: translateY(0);
}

/* حركات القطر (إنجليزي وعربي) */
@keyframes scrollMateria {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

@keyframes scrollMateriaRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* تظبيط الموبايل */
@media (max-width: 767px) {
    .materia-card-slide {
        width: 220px !important;
        height: 280px !important;
    }
    
    /* في الموبايل بنخلي الطبقة ظاهرة علطول عشان مفيش ماوس */
    .materia-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* إظهار الوصف بشكل دائم في الموبايل */
    .materia-overlay p { 
        opacity: 1; 
        visibility: visible; 
        max-height: 100px; 
        transform: translateY(0); 
    }
}
/* ========================================= */
/* --- تكبير صورة الكويك فيو للضعف --- */
/* ========================================= */

/* 1. تكبير عرض النافذة بالكامل وإعطاء مساحة أضخم لعمود الصورة */
.qv-container {
    max-width: 1300px !important; /* كبرنا العرض الكلي (كان 1000) */
    grid-template-columns: 1.8fr 1fr !important; /* نسبة عرض الصورة بقت تقريباً ضعف الكلام */
}

/* 2. مضاعفة الارتفاع للصورة في الشاشات الكبيرة (الكمبيوتر) */
.qv-main-image-container {
    height: 800px !important; /* كبرنا الارتفاع جداً (كان 550) */
}

/* 3. زووم إضافي للصورة نفسها عشان تفرش في المساحة (مفيد جداً لو صور العطور مفرغة أو حواليها مساحة بيضا) */
.qv-main-image-container img {
    transform: scale(1.3) !important; 
}

/* 4. تكبير المقاسات بشكل يتناسب مع الموبايل */
@media (max-width: 767px) {
    .qv-main-image-container {
        height: 550px !important; /* كبرنا الطول في الموبايل (كان 420) */
    }
    
    /* إرجاع النافذة لعمود واحد في الموبايل عشان التصميم ميبظش */
    .qv-container {
        grid-template-columns: 1fr !important; 
    }
}
.lang-switcher-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}
.lang-switcher {
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px;
    direction: ltr;
}
.lang-switcher .lang-btn {
    background: transparent;
    border: none;
    color: var(--light-text-color);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-switcher .lang-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* تصميم قسم آراء العملاء الجديد (Opiniones) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.review-card {
    background: rgba(20, 5, 5, 0.4); /* لون خلفية الكارت غامق جداً يتماشى مع الـ dark-bg */
    border: 1px solid rgba(163, 125, 86, 0.2); /* إطار ذهبي خفيف */
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.review-quote-icon {
    color: var(--primary-color);
    font-size: 28px;
    opacity: 0.6;
    margin-bottom: 15px;
}

.review-text {
    color: var(--dark-text-color);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1; /* عشان يخلي النجوم والأسماء كلها على خط واحد تحت */
}

.review-stars {
    color: #f39c12; /* لون النجوم الذهبي */
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.reviewer-name {
            color: var(--light-text-color);
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }

        /* --- التصميم الجديد للنوتات داخل النظرة السريعة --- */
        .note-box-modern {
            background: rgba(163, 125, 86, 0.1);
            border: 1px solid var(--primary-color);
            border-radius: 12px;
            padding: 12px;
            margin: 5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 100px;
            transition: 0.3s;
            flex: 1;
        }
        .note-box-modern i { font-size: 1.8em; color: var(--primary-color); margin-bottom: 8px; }
        .note-box-modern .note-ar { font-weight: 700; font-size: 0.9em; color: #fff; }
        .note-box-modern .note-en { font-size: 0.7em; opacity: 0.6; text-transform: uppercase; margin-top: 2px; }

        .perf-badge {
            background: rgba(0,0,0,0.5);
            color: var(--primary-color);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.8em;
            border: 1px solid var(--primary-color);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
        }
/* تصغير حجم عجلة الحظ على الموبايل */
@media (max-width: 768px) {
    .wheel-popup-content {
        transform: scale(0.9) translateY(0) !important; /* تصغير الكارت بالكامل بنسبة 10% */
        padding: 15px 10px !important;
        max-height: 85vh !important;
        margin-top: 20px;
    }
    .wheel-wrapper {
        width: 240px !important;
        height: 240px !important;
        margin: 0 auto 10px auto !important;
    }
    .wheel-spin-btn {
        padding: 10px 20px !important;
        font-size: 1rem !important;
        width: 95% !important;
    }
    .wheel-popup-title {
        font-size: 1.4rem !important;
    }
}
/* --- تنسيقات العينة المجانية --- */
.free-sample-box {
    background-color: rgba(0,0,0,0.2);
    border: 1px dashed var(--primary-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: center;
}
.sample-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.sample-header p {
    margin: 0; font-size: 0.85em; font-weight: 700; color: #fff;
}
.sample-dropdown {
    width: 100%; padding: 8px; border: 1px solid rgba(163, 125, 86, 0.4);
    border-radius: 5px; font-family: var(--font-main); font-size: 0.85em;
    background-color: rgba(255,255,255,0.05); color: #fff; outline: none; cursor: pointer;
}
.sample-dropdown option { background-color: var(--dark-bg); color: #fff; }
/* ===== شريط الإعلانات المينيمال (Minimalist Bar) ===== */
.havana-3d-bar {
    background: var(--dark-bg); /* لون سادة مريح للعين */
    border-bottom: 1px solid rgba(163, 125, 86, 0.15); /* إطار ذهبي نحيف جداً */
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001; 
    overflow: hidden;
}

.text-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-item {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
}

/* استبدال الـ 3D باختفاء وظهور ناعم (Fade In/Out) */
.flip-in { animation: minimalFadeIn 0.8s ease forwards; }
.flip-out { animation: minimalFadeOut 0.8s ease forwards; }

@keyframes minimalFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes minimalFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-5px); }
}

.icon-3d { font-size: 14px; color: var(--primary-color); }
.border-line { display: none; } /* إخفاء الخطوط الدوارة نهائياً */

@keyframes drawTop { 0% { width: 0; } 45%, 100% { width: 100%; } }
@keyframes drawLeft { 0%, 45% { height: 0; } 50%, 100% { height: 100%; } }
@keyframes drawBottom { 0%, 50% { width: 0; } 95%, 100% { width: 100%; } }
@keyframes drawRight { 0%, 95% { height: 0; } 100% { height: 100%; } }
    /* ضبط ظهور اللغة للقوائم المنسدلة */
    html[dir="rtl"] .ltr-only { display: none !important; }
    html[dir="ltr"] .rtl-only { display: none !important; }
        /* ======================================= */
        /* --- شريط التنقل السفلي للموبايل --- */
        /* ======================================= */

        /* إخفاء الشريط في شاشات الكمبيوتر */
        .mobile-bottom-nav {
            display: none; 
        }

        /* إظهار الشريط وتنسيقه في شاشات الموبايل فقط */
        @media (max-width: 900px) {
            .mobile-bottom-nav {
                display: flex;
                justify-content: space-around;
                align-items: center;
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                background-color: #110303; /* لون الخلفية الفخم */
                border-top: 1px solid rgba(163, 125, 86, 0.2); /* خط ذهبي خفيف */
                padding: 10px 0;
                z-index: 9999;
                box-shadow: 0 -5px 20px rgba(0,0,0,0.6);
                backdrop-filter: blur(10px); /* تأثير زجاجي خفيف */
            }

            .bottom-nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-decoration: none;
                color: #888; /* لون رمادي هادي للأيقونات غير النشطة */
                font-size: 11px;
                font-weight: 600;
                gap: 4px;
                position: relative;
                transition: all 0.3s ease;
            }

            .bottom-nav-item i {
                font-size: 20px;
                margin-bottom: 2px;
            }

            /* لون الأيقونة النشطة أو عند الضغط */
            .bottom-nav-item.active, 
            .bottom-nav-item:hover {
                color: var(--primary-color);
                transform: translateY(-2px);
            }

            /* شارة الأرقام للسلة */
            .bottom-nav-item .badge {
                position: absolute;
                top: -4px;
                right: -8px;
                background-color: var(--primary-color);
                color: #1a0505;
                font-size: 10px;
                font-weight: bold;
                padding: 2px 5px;
                border-radius: 50%;
            }

            /* إضافة مساحة أسفل الموقع عشان الشريط مايغطيش على المحتوى */
            body {
                padding-bottom: 65px;
            }

            /* إخفاء أيقونات السلة والمفضلة من الهيدر العلوي في الموبايل لمنع التكرار */
            .header-container .header-icons a[href="#wishlist"],
            .header-container .header-icons a[href="#cart"] {
                display: none;
            }
        }
        .havana-marquee-section {
            padding: 60px 0;
            background: var(--dark-bg);
            overflow: hidden;
            border-bottom: 1px dashed rgba(163, 125, 86, 0.2);
        }
        .marquee-container {
            display: flex;
            overflow: hidden;
            user-select: none;
            gap: 20px;
            padding: 20px 0;
        }
        .marquee-track {
            display: flex;
            gap: 20px;
            animation: scroll-marquee 180s linear infinite;
        }
[dir="rtl"] .marquee-track {
    animation: scroll-marquee-rtl 180s linear infinite;
}

@keyframes scroll-marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); } 
}
        .marquee-track:hover {
            animation-play-state: paused;
        }
        .review-card-modern {
            background: rgba(20, 5, 5, 0.6);
            border: 1px solid rgba(163, 125, 86, 0.3);
            border-radius: 15px;
            padding: 20px;
            min-width: 320px;
            max-width: 320px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .review-header {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .reviewer-pic {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            object-fit: cover;
        }
        .reviewer-info h5 {
            color: var(--light-text-color);
            font-size: 15px;
            margin: 0 0 5px 0;
            font-family: 'Cairo', sans-serif;
            font-weight: 600;
        }
        .stars {
            color: #f39c12;
            font-size: 11px;
        }
        .review-body {
            color: var(--dark-text-color);
            font-size: 14px;
            line-height: 1.6;
            margin: 0;
            font-style: italic;
        }
        @keyframes scroll-marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
            .materia-track .materia-card-slide img.brand-logo {
                object-fit: contain !important;
                background-color: #ffffff; /* خلفية بيضاء لإبراز اللوجو */
                padding: 20px; /* مسافة داخلية لمنع التصاق اللوجو بالحواف */
                box-sizing: border-box;
            }
            .materia-track .materia-card-slide img.note-img {
                object-fit: cover !important; /* إبقاء صور النوتات لتملأ الكارت */
            }
/* تصميم علامات الأكثر مبيعا ووصل حديثا */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    pointer-events: none;
    font-family: 'Cairo', sans-serif;
}
.badge-best {
    background: linear-gradient(45deg, #a37d56, #d4af37);
    border: 1px solid #ffd700;
}
.badge-new {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    border: 1px solid #a8ffb4;
}
/* ========================================= */
/* --- تأثير Parallax لسيكشن الأقسام (Aura) --- */
/* ========================================= */
.parallax-bg {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    
    /* إضافة انتقال ناعم */
    transition: background-position 0.3s ease-out;
}

/* حل مشكلة أجهزة أبل (iOS) لأنها أحياناً بتلغي الـ Fixed */
@supports (-webkit-touch-callout: none) {
    .parallax-bg {
        background-attachment: scroll !important;
    }
}
/* ========================================= */
/* --- إصلاحات الموبايل (الصور + السكرول) --- */
/* ========================================= */

@media (max-width: 768px) {
    /* 1. إصلاح قص الصور في قسم Aura */
    .aura-card img {
        object-fit: cover !important; /* لضمان ظهور الزجاجة بالكامل */
        transform: translateY(0) scale(1) !important; /* إلغاء الزووم الإجباري */
    }
/* ========================================= */
    /* --- ضبط زرار الإضافة للسلة في الموبايل --- */
    /* ========================================= */
    
    .qv-actions, 
    .product-actions {
        flex-direction: column !important; /* إجبار العناصر تنزل تحت بعض */
        gap: 15px !important; /* مسافة أنيقة بين الكمية والزرار */
        width: 100%;
    }

    .qty-controls, 
    .qty-selector {
        width: 100% !important;
        justify-content: center !important; /* توسيط عداد الكمية */
        margin-bottom: 5px;
    }

    .qv-actions button, 
    .add-to-cart-btn,
    .add-cart-btn {
        width: 100% !important; /* الزرار ياخد العرض بالكامل */
        padding: 14px !important; /* تكبير مساحة الزرار عشان يكون مريح للإصبع */
        justify-content: center !important;
    }
    /* 2. إصلاح تعليق السكرول في لوحة التحكم وقوائم الأسعار */
    .checkout-overlay,
    .chk-body,
    .qv-container,
    .m-drawer-body {
        -webkit-overflow-scrolling: touch !important; /* السماح بالسكرول المرن على الموبايل */
        overflow-y: auto !important;
    }
    
    /* 3. إجبار المتصفح على السماح بالسكرول لو في طبقة علقت */
    body.site-ready {
        position: relative;
        height: auto;
    }
}
/* ========================================= */
/* --- إصلاحات شاشات الموبايل الشاملة --- */
/* ========================================= */
@media (max-width: 768px) {
    /* 1. إصلاح قص صور زجاجات العطر */
    .aura-card img {
        object-fit: cover !important;
        transform: translateY(0) scale(1) !important;
    }

    /* 2. ضبط زرار الإضافة للسلة والكمية (تحت بعض وعرض كامل) */
    .qv-actions, 
    .product-actions {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }
    .qty-controls, 
    .qty-selector {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 5px;
    }
    .qv-actions button, 
    .add-to-cart-btn,
    .add-cart-btn {
        width: 100% !important;
        padding: 14px !important;
        justify-content: center !important;
    }

    /* 3. تنعيم السكرول في القوائم ولوحة التحكم */
    .checkout-overlay,
    .chk-body,
    .qv-container,
    .m-drawer-body {
        -webkit-overflow-scrolling: touch !important;
        overflow-y: auto !important;
    }
}
/* --- تظبيط زرار السلة والكمية ليكون كل واحد في سطر --- */
.qv-action-row {
    flex-direction: column !important;
    width: 100% !important;
}

.qv-qty-box {
    width: 100% !important;
    justify-content: center !important;
}

.qv-add-btn {
    width: 100% !important;
    padding: 15px !important;
    flex: none !important;
}
/* --- إلغاء الزووم الإجباري في الموبايل لإظهار زجاجة العطر كاملة --- */
@media (max-width: 767px) {
    .qv-main-image-container img {
        transform: scale(1) !important; /* ده بيلغي الـ scale(1.3) اللي كان قاصص الصورة */
        object-fit: contain !important;
    }
}
/* ========================================= */
/* --- تكبير اللوجو وحركة القائمة (آمن 100%) --- */
/* ========================================= */

/* 1. تكبير اللوجو في مكانه بدون تغيير الهيكل */
.header-top .logo .logo-full {
    max-height: 120px !important; /* حجم الديسكتوب الكبير */
    height: auto !important;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .header-top .logo .logo-full {
        max-height: 75px !important; /* حجم الموبايل المتناسق */
    }
}

/* 2. تصميم وحركة الـ 3 شرط (في نفس مساحة الأيقونة القديمة) */
.custom-hamburger {
    width: 26px; /* نفس عرض الأيقونة الأصلية عشان متبوظش المساحة */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-hamburger .line {
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    display: block;
}

/* حركة التنفس للخطوط */
.custom-hamburger .line-1 { width: 100%; animation: linePulse 2s infinite ease-in-out; }
.custom-hamburger .line-2 { width: 70%; animation: linePulse 2s infinite ease-in-out 0.3s; }
.custom-hamburger .line-3 { width: 40%; animation: linePulse 2s infinite ease-in-out 0.6s; }

@keyframes linePulse {
    0%, 100% { width: 40%; }
    50% { width: 100%; }
}
/* ========================================= */
/* --- تكبير اللوجو الأساسي ومساحته --- */
/* ========================================= */

/* 1. للكمبيوتر (الشاشات الكبيرة) */
@media (min-width: 768px) {
    .logo { height: 180px !important; } 
    .logo-icon { width: 100px !important; }
    .logo-full { width: 380px !important; }
}

/* 2. للموبايل (الشاشات الصغيرة) */
@media (max-width: 767px) {
    .logo { height: 85px !important; min-width: 170px !important; } 
    .logo-icon { width: 50px !important; }
    .logo-full { width: 170px !important; }
    
    /* تكبير الهيدر نفسه عشان اللوجو ياخد مساحته وميبقاش مخنوق */
    .header-top { 
        padding-top: 15px !important; 
        padding-bottom: 15px !important; 
    }
}
/* --- ستايل شريط لغة الموبايل الفخم --- */
.mobile-lang-bar {
    display: none; /* مخفي في الكمبيوتر */
    background-color: var(--dark-bg);
    padding: 8px 15px;
    border-bottom: 1px solid var(--border-color);
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    background: rgba(163, 125, 86, 0.08); 
    padding: 5px 12px;
    border-radius: 5px;
    border: 1px solid rgba(163, 125, 86, 0.3);
}

@media (max-width: 768px) {
    .mobile-lang-bar {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        box-sizing: border-box;
    }
}
/* تنسيق روابط الموبايل */
.m-nav-link {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: 'Cairo', sans-serif;
}
.m-sub-links {
    display: none;
    background: rgba(0,0,0,0.3);
}
.m-sub-link {
    display: block;
    padding: 10px 30px;
    color: #a37d56;
    text-decoration: none;
}
.havana-footer {
            background-color: var(--dark-bg); /* توحيد اللون لدمجه بنعومة مع اللي فوقه */
            color: #ffffff;
            padding: 60px 0 20px;
            font-family: 'Cairo', sans-serif;
            margin-top: 0; /* مسحنا المسافة الفاضية اللي كانت بتعمل الخط */
            border-top: none; /* مسحنا الخط المتقطع */
            clear: both;
            position: relative;
            z-index: 10;
        }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1200px; margin: auto; padding: 0 20px; gap: 30px; }
.footer-col { flex: 1; min-width: 220px; margin-bottom: 20px; }
.footer-col h3 { font-size: 26px; margin-bottom: 20px; color: var(--primary-color, #a37d56); font-weight: bold; letter-spacing: 2px; }
.footer-col h4 { font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; color: #fff; font-family: var(--font-heading); }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 2px; background-color: var(--primary-color, #a37d56); }
.footer-col p { font-size: 14px; line-height: 1.8; color: #cccccc; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #cccccc; text-decoration: none; transition: all 0.3s ease; display: inline-block; cursor: pointer; }
html[dir="rtl"] .footer-col ul li a:hover { color: var(--primary-color, #a37d56); transform: translateX(-5px); }
html[dir="ltr"] .footer-col ul li a:hover { color: var(--primary-color, #a37d56); transform: translateX(5px); }

.footer-spinning-logo { width: 90px; height: auto; margin-bottom: 20px; animation: spinSplashLogo 3s linear infinite; filter: drop-shadow(0 0 10px rgba(163, 125, 86, 0.5)); }
@keyframes spinSplashLogo { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 🌟 النشرة البريدية والسوشيال ميديا 🌟 */
.footer-bottom-flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 10px; gap: 30px; max-width: 1200px; margin-inline: auto; padding-inline: 20px; border: none !important; outline: none !important; }

/* النشرة البريدية */
.newsletter-wrapper { flex: 1.5; min-width: 300px; border: none !important; }
.newsletter-wrapper h4 { font-size: 18px; color: var(--primary-color, #a37d56); margin-bottom: 10px; font-family: var(--font-heading); }
.newsletter-wrapper p { font-size: 13px; color: #aaa; margin-bottom: 15px; }
.newsletter-form { display: flex; width: 100%; max-width: 450px; }
.newsletter-input { flex: 1; padding: 12px 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(163, 125, 86, 0.3); color: #fff; outline: none; font-family: 'Cairo', sans-serif; transition: border 0.3s; }
.newsletter-input:focus { border-color: var(--primary-color, #a37d56); }
html[dir="rtl"] .newsletter-input { border-radius: 0 6px 6px 0; border-left: none; }
html[dir="ltr"] .newsletter-input { border-radius: 6px 0 0 6px; border-right: none; }
.newsletter-btn { padding: 12px 25px; background: var(--primary-color, #a37d56); color: #1a0505; border: none; cursor: pointer; font-family: 'Cairo', sans-serif; font-weight: bold; transition: all 0.3s; font-size: 15px; }
html[dir="rtl"] .newsletter-btn { border-radius: 6px 0 0 6px; }
html[dir="ltr"] .newsletter-btn { border-radius: 0 6px 6px 0; }
.newsletter-btn:hover { background: #c2976b; }

/* السوشيال ميديا (التصميم الدائري مع تأثير Hover) */
.minimal-social { display: flex; gap: 15px; align-items: center; justify-content: center; flex: 1; min-width: 250px; border: none !important; }
.minimal-social a { display: inline-flex; align-items: center; justify-content: center; color: #ffffff; background-color: rgba(255,255,255,0.05); border: 1px solid rgba(163, 125, 86, 0.2); width: 45px; height: 45px; border-radius: 50%; transition: all 0.3s ease; text-decoration: none; font-size: 1.3rem; }
.minimal-social a:hover { background-color: var(--primary-color, #a37d56); transform: translateY(-4px); color: #fff; border-color: transparent; box-shadow: 0 5px 15px rgba(163, 125, 86, 0.4); }

.footer-bottom { text-align: center; padding-top: 30px; padding-bottom: 10px; margin-top: 20px; border: none !important; }
.footer-bottom p { font-size: 13px; color: #666666; margin: 0; }

/* ستايل لوحة المعلومات المنبثقة الذكية للفوتر */
.f-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 99999; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px); }
.f-modal-content { background: #1a0505; border: 1px solid var(--primary-color, #a37d56); padding: 30px; max-width: 650px; width: 100%; border-radius: 12px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: fModalIn 0.3s ease forwards; text-align: start; }
@keyframes fModalIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.f-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; transition: color 0.3s; }
.f-modal-close:hover { color: var(--primary-color, #a37d56); }
.f-modal-title { font-size: 22px; color: var(--primary-color, #a37d56); margin-bottom: 15px; font-weight: bold; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; font-family: var(--font-heading); }
.f-modal-body { max-height: 450px; overflow-y: auto; padding-right: 5px; }
.f-modal-body .q-title { color: var(--primary-color, #a37d56); font-weight: bold; display: block; margin-top: 20px; margin-bottom: 5px; font-size: 16px; }
.f-modal-body .a-text { color: #ffffff; display: block; margin-bottom: 15px; line-height: 1.8; font-size: 14px; }
.f-modal-body .cat-title { color: #ffffff; background: linear-gradient(135deg, rgba(163, 125, 86, 0.15) 0%, rgba(26, 5, 5, 0.8) 100%); border: 1px solid var(--primary-color, #a37d56); border-right: 4px solid var(--primary-color, #a37d56); border-left: 4px solid var(--primary-color, #a37d56); border-radius: 6px; padding: 10px 15px; margin-top: 35px; margin-bottom: 20px; font-family: var(--font-heading); text-align: center; font-size: 18px; font-weight: bold; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.f-modal-body .cat-title:first-child { margin-top: 5px; }

html[dir="ltr"] .lang-ar { display: none !important; }
html[dir="rtl"] .lang-en { display: none !important; }

@media (max-width: 768px) {
    .footer-col { flex-basis: 100%; text-align: center; }
    .footer-col h4::after { left: 50%; right: auto; transform: translateX(-50%); }
    .footer-col ul li a:hover { transform: none; }
    .footer-bottom-flex { flex-direction: column; text-align: center; padding-top: 0; }
    .newsletter-wrapper, .minimal-social { width: 100%; justify-content: center; }
    html[dir="rtl"] .newsletter-input { border-radius: 6px; border: 1px solid rgba(163, 125, 86, 0.3); margin-bottom: 10px; }
    html[dir="rtl"] .newsletter-btn { border-radius: 6px; width: 100%; }
    html[dir="ltr"] .newsletter-input { border-radius: 6px; border: 1px solid rgba(163, 125, 86, 0.3); margin-bottom: 10px; }
    html[dir="ltr"] .newsletter-btn { border-radius: 6px; width: 100%; }
    .newsletter-form { flex-direction: column; }
}


/* Custom premium overrides for Arabic layout and typography */
html[dir="rtl"] {
    --font-main: 'Cairo', 'Tajawal', sans-serif !important;
    --font-heading: 'Cairo', 'Tajawal', sans-serif !important;
}

html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

html[dir="rtl"] .section-main-title {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    letter-spacing: 0px !important;
}

html[dir="rtl"] .sc-name {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

html[dir="rtl"] .sc-desc {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

/* Fix dropdown and header overlap on mobile and desktop */
.nav-menu li {
    position: relative;
}

/* Ensure no text overlays or double languages display */
html[dir="ltr"] .lang-ar { display: none !important; }
html[dir="rtl"] .lang-en { display: none !important; }
