/* --- الإعدادات العامة والمتغيرات --- */
:root {
    --primary-color: #2C2C2C; /* لون الهوية */
    --accent-color: #a38b7f;  /* لون مكمل */
    --bg-light: #ffffff;      /* خلفية فاتحة مريحة */
    --text-white: #ffffff;
    --text-light-gray: #ffffff;
}
body{background: white;}
.my-2\.5 .s-cart-summary-wrapper {
    color: #FFFFFF;
}
.my-2\.5 .header-btn {
    color: #FFFFFF
}
.s-cart-summary-total {
    color: #FFFFFF;
}
.my-2\.5 .s-cart-summary-total {
    color: #FFFFFF;
}
.shadow-default {
    --tw-shadow: 5px 10px 30px #ffffff1a;}
/* 1. إعادة هيكلة الحاوية الرئيسية لتكون Grid بدلاً من Flex */
.inner.bg-inherit.w-full .container > div.flex {
    display: grid !important;
    /* تقسيم الشاشة: اليمين واليسار متساويين والوسط يأخذ مساحة المحتوى (اللوجو) */
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 15px;
}
/* 1. إخفاء الأيقونات القديمة مع الحفاظ على المساحة */
.sicon-user-circle, .sicon-shopping-bag, .s-cart-summary-icon svg {
    display: none !important;
}

/* 2. تصميم أيقونة الحساب الجديدة (مودرن - ناعمة) */
.header-btn[aria-label="user-icon"]::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    /* أيقونة مستخدم خطية عصرية */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" /></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" /></svg>') no-repeat center;
}

/* 3. تصميم أيقونة السلة الجديدة (شنطة تسوق رقيقة) */
#s-cart-icon::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    /* أيقونة حقيبة تسوق خطية */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" /></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" /></svg>') no-repeat center;
}

/* 1. تصفير الحواف لضمان عدم وجود مسافات تدفع العناصر للأعلى أو الأسفل */
.header-btn, 
.s-cart-summary-summary, 
.s-cart-summary-wrapper, 
.salla-cart-summary {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 40px !important; /* الارتفاع الموحد */
    min-height: 40px !important;
}

/* 2. ضبط زر الحساب */
.header-btn {
    background: transparent;
    justify-content: center;
    line-height: 1 !important;
}

/* 3. ضبط السلة والأسعار ليكونوا على نفس الخط تماماً */
.s-cart-summary-wrapper {
    line-height: 1 !important;
    gap: 8px !important; /* مسافة ثابتة بين الأيقونة والسعر */
}

/* 4. ميزان الأيقونات البصري (إزاحة بسيطة جداً بالبكسل لضبط الارتفاع) */
.header-btn[aria-label="user-icon"]::before,
#s-cart-icon::before {
    display: inline-block;
    vertical-align: middle;
    /* تأكيد أن الأيقونات نفسها بنفس الحجم */
    width: 24px !important;
    height: 24px !important;
}

/* 5. ضبط مكان عداد السلة (الرقم) لكي لا يؤثر على ارتفاع الهيكل */
.s-cart-summary-count {
    position: absolute !important;
    top: -2px !important;
    right: -8px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 2;
}

/* 6. توحيد خط السعر والعملة */
.s-cart-summary-total {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 2px; /* تعديل بسيط لضبط النص مع منتصف الأيقونة */
}

/* 7. إلغاء أي هوامش تلقائية من نظام "سلة" في الـ RTL */
[dir=rtl] .ml-4, 
[dir=rtl] .rtl\:mr-4 {
    margin-right: 15px !important; /* المسافة بين زر الحساب والسلة */
    margin-left: 0 !important;
}
/* 2. تحرير اللوجو من قيود الـ Flex القديمة وحجز مساحته */
.navbar-brand {
    grid-column: 2; /* إجبار اللوجو على البقاء في العمود الأوسط دائماً */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 20px !important; /* مسافة أمان حول اللوجو لمنع التصاق العناصر */
    z-index: 10;
}

/* 3. التحكم في حجم صورة اللوجو ومنعها من الانضغاط أو التداخل */
.navbar-brand img {
    max-height: 80px !important; /* يمكنك تعديل الارتفاع حسب رغبتك */
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

/* 4. ترتيب العناصر في الأعمدة الجانبية */
/* العمود الأيمن (القائمة) */
.inner.bg-inherit.w-full .container > div.flex > div:first-child {
    grid-column: 1;
    display: flex !important;
    justify-content: flex-start !important;
}

/* العمود الأيسر (السلة والحساب) */
.inner.bg-inherit.w-full .container > div.flex > div:last-child {
    grid-column: 3;
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 !important;
}

/* 5. تنسيقات خاصة بالجوال لضمان عدم التداخل في الشاشات الصغيرة */
@media (max-width: 768px) {
    .inner.bg-inherit.w-full .container > div.flex {
        grid-template-columns: 1fr 2fr 1fr !important; /* تكبير مساحة اللوجو في الجوال */
        gap: 5px;
    }
    
    .navbar-brand {
        margin: 0 5px !important;
    }

    .navbar-brand img {
        max-height: 55px !important; /* تصغير اللوجو قليلاً في الجوال ليتنفس */
    }

    /* إخفاء أي نصوص زائدة بجانب أيقونة السلة في الجوال إذا لزم الأمر */
    .s-cart-summary-content {
        display: none !important;
    }
}

/* --- الشريط الإعلاني المتحرك (تحت الهيدر وفوق الفوتر) --- */
.custom-marquee {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #6d544a; /* لمسة تباين */
}

.custom-marquee span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
    font-weight: bold;
    font-size: 0.95rem;
    padding-left: 50px; /* مسافة بين الجملة المكررة */
}

@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- تنسيق الفوتر الجديد --- */
.store-footer__inner {
    background-color: var(--primary-color) !important;
    color: var(--text-light-gray) !important;
    border-top: 5px solid #6d544a;
}

.store-footer__inner h2, 
.store-footer__inner h3, 
.store-footer__inner a,
.store-footer__inner p {
    color: var(--text-light-gray) !important;
}

.store-footer__inner a:hover {
    color: var(--text-white) !important;
    text-decoration: underline;
}
/* --- إعدادات الفوتر العامة --- */
.store-footer {
    background-color: #2C2C2C; !important;
    color: #ffffff !important;
    padding-top: 40px;
    direction: rtl;
}

/* --- تنسيق الحاوية والأعمدة --- */
.store-footer .container.grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* توسيط الأعمدة في الوسط */
    gap: 30px !important;
    text-align: center !important;
}

/* ضمان أن كل قسم يأخذ مساحة مناسبة ويتوسط محتواه */
.store-footer .container.grid > div {
    flex: 1 1 250px !important; /* توزيع مرن */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* توسيط العناصر داخلياً */
    max-width: 100%;
}

/* --- تنسيق العناوين (مع الخط الرفيع) --- */
.store-footer h3, 
.store-footer .s-contacts-title {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
}

/* الخط الرفيع تحت العناوين */
.store-footer h3::after, 
.store-footer .s-contacts-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important; /* طول الخط */
    height: 1.5px !important; /* سمك الخط */
    background: rgba(255, 255, 255, 0.4) !important;
}

/* --- تنسيق النصوص والروابط --- */
.store-footer p, 
.store-footer .s-menu-footer-item, 
.store-footer .s-contacts-item {
    color: #f3f3f3 !important; /* رصاصي فاتح واضح */
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-align: center !important;
    justify-content: center !important;
}

/* تنسيق أيقونات التواصل في "تواصل معنا" */
.s-contacts-item {
    flex-direction: column !important; /* أيقونة فوق النص */
    gap: 5px !important;
    margin-bottom: 15px !important;
}

.s-contacts-icon svg {
    fill: #ffffff !important; /* تلوين الأيقونات بالأبيض */
    width: 25px !important;
    height: 25px !important;
}

/* --- تنسيق وثيقة العمل الحر --- */
.s-trust-badges-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 15px !important;
    border-radius: 10px !important;
}

/* --- الجزء السفلي (الحقوق والدفع) --- */
.store-footer div.md\:flex {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 30px !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.s-payments-list {
    justify-content: center !important;
}/* --- إعادة ضبط حاوية الفوتر الرئيسية --- */
.store-footer__inner {
    background-color: #2C2C2C !important;
    padding: 60px 20px !important;
}

/* تحويل الشبكة إلى نظام مرن يسهل توسيطه */
.store-footer__inner .container.grid {
    display: flex !important;
    flex-direction: column !important; /* العناصر فوق بعضها في الجوال */
    align-items: center !important;
    text-align: center !important;
    gap: 40px !important;
}

/* لضمان توزيع العناصر بجانب بعضها في الشاشات الكبيرة فقط */
@media (min-width: 1024px) {
    .store-footer__inner .container.grid {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }
    
    .store-footer__inner .container.grid > div {
        flex: 1 !important;
        min-width: 200px !important;
    }
}

/* --- تنسيق العناوين مع الخط السفلي الجمالي --- */
.store-footer h3, 
.s-contacts-title {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 25px !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
}

.store-footer h3::after, 
.s-contacts-title::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50% !important; /* طول الخط تحت العنوان */
    height: 1.5px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
}

/* --- تنسيق الفقرة التعريفية --- */
.max-w-sm.leading-6 {
    margin: 0 auto !important;
    color: #f3f3f3 !important;
    max-width: 450px !important; /* لضمان عدم تمدد النص بشكل قبيح */
}

/* --- تنسيق قائمة "تواصل معنا" لتكون في الوسط --- */
.s-contacts-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.s-contacts-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #f3f3f3 !important;
    text-decoration: none !important;
}

.s-contacts-icon {
    margin-left: 10px !important; /* مسافة للأيقونة من اليسار لأن المتجر عربي */
}

.s-contacts-icon svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
}

/* --- تنسيق روابط "روابط مهمة" --- */
.s-menu-footer-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.s-menu-footer-item {
    color: #f3f3f3 !important;
    margin-bottom: 8px !important;
    transition: 0.3s !important;
}

.s-menu-footer-item:hover {
    color: #ffffff !important;
    padding-right: 5px !important;
}

/* --- وثيقة العمل الحر --- */
.s-trust-badges-wrapper {
    justify-content: center !important;
    margin-top: 20px !important;
}

/* --- الجزء السفلي (الحقوق والدفع) --- */
footer .text-center {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px 0 !important;
}

/* --- أفكار إضافية للفخامة --- */

/* 1. تأثير عند تمرير الماوس على كروت المنتجات */
.s-product-card-entry {
    transition: all 0.3s ease-in-out;
    border: 1px solid #eee !important;
    border-radius: 12px;
}

.s-product-card-entry:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(126, 98, 86, 0.15);
    border-color: var(--primary-color) !important;
}

/* 2. تخصيص زر "أضف للسلة" */
.s-add-product-button {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 25px !important;
    font-weight: bold !important;
}
.s-menu-topnav-list, .s-contacts-topnav-link{color: white;}

/* 3. جعل البحث بخلفية ناعمة */
.s-search-input {
  background-color: rgb(255 255 255);
    border-radius: 50px !important;
    border: 1px solid var(--accent-color) !important;
}
.text-primary

 {
   
    color: #ffffff;
}
input.s-search-input{
    background-color: rgb(255 255 255)!important;}
/* --- تنسيق العناوين الرئيسية في المتجر --- */
.s-block__title, 
.s-slider-block__title, 
.right-side h2, 
.s-products-slider-slider h2,
.s-block--features__item h2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* توسيط المحتوى */
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.s-block__title h2, 
.s-slider-block__title h2,
.s-block--features__item h2 {
    font-size: 32px !important; /* تكبير الحجم */
    font-weight: 800 !important;
    color: #2C2C2C; !important; /* لون الهوية */
    position: relative !important;
    display: inline-block !important; /* ليصبح الخط على قدر الكلمة */
    padding-bottom: 12px !important;
    margin: 0 auto !important;
}
/* 1. إظهار السعر في الشاشات الكبيرة (Desktop) */

    .s-cart-summary-content {
        display: flex !important; /* أو inline-block حسب تصميمك */
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }
}

/* 2. إخفاء السعر فقط في الجوال (Mobile) */

    .s-cart-summary-content {
        display: none !important;
    }
}
/* تنسيق اسم المنتج وسعره */
.s-product-card-content-title a {
    color: #444 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.s-product-card-price {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
}

/* --- الخط الرفيع الجمالي تحت العنوان --- */
.s-block__title h2::after, 
.s-slider-block__title h2::after,
.s-block--features__item h2::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important; /* لضمان توسط الخط */
    width: 60% !important; /* طول الخط بالنسبة للكلمة (يمكنك زيادته لـ 100%) */
    height: 2px !important; /* سماكة الخط الرفيع */
    background: linear-gradient(to right, transparent, #7E6256, transparent) !important; /* خط متدرج الأطراف للفخامة */
    border-radius: 2px !important;
}


/* --- تنسيق العناوين في الجوال لضمان التناسب --- */
@media (max-width: 768px) {
    .s-block__title h2, 
    .s-slider-block__title h2 {
        font-size: 24px !important;
    }
    
    .s-block__title h2::after {
        width: 50% !important;
    }
}
/* --- إضافة شريط الإعلان برمجياً فوق الفوتر --- */
.store-footer::before {
    content: "🚚 توصيل لجميع أنحاء المملكة • ✨ جودة مضمونة ثبات وفوحان • 🛡️ تسوق آمن 100% • 🚚 توصيل لجميع أنحاء المملكة • ✨ جودة مضمونة ثبات وفوحان";
    display: block;
    width: 100%;
    background-color: #2C2C2C; /* لون الهوية البني */
    color: #ffffff;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    
    /* جعل النص يتحرك */
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

/* حركة النص (Marquee) */
.store-footer {
    position: relative;
    padding-top: 0 !important; /* إلغاء البادينج العلوي ليلتصق الشريط */
}

/* لجعل النص يتحرك فعلياً سنحتاج لإضافة أنيميشن بسيط */
@keyframes marquee-footer-css {
    0% { text-indent: 100%; }
    100% { text-indent: -100%; }
}

/* تطبيق الحركة على المحتوى المحقون */
.store-footer::before {
    animation: marquee-footer-css 15s linear infinite;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .store-footer::before {
        font-size: 12px;
        padding: 8px 0;
        animation-duration: 10s; /* تسريع الحركة قليلاً في الشاشات الصغيرة */
    }
}
/* 1. خلق مساحة تحت الهيدر ومنع التداخل */
#mainnav {
    position: relative;
    margin-bottom: 45px !important; /* هذه هي المساحة التي ستحجز للشريط */
    background-color: #2C2C2C;
    z-index: 100;
}

/* 2. إضافة الشريط الإعلاني في هذه المساحة */
#mainnav::after {
    content: "🚚 توصيل لجميع أنحاء المملكة • ✨ جودة مضمونة ثبات وفوحان • 🛡️ تسوق آمن 100% • 🚚 توصيل لجميع أنحاء المملكة";
    position: absolute;
    bottom: -45px; /* يوضع تماماً في مساحة الـ margin-bottom */
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #2C2C2C; /* لون الهوية البني */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    
    /* حركة النص */
    animation: marquee-sub-header 20s linear infinite;
}

/* 3. الأنيميشن لتحريك الشريط */
@keyframes marquee-sub-header {
    0% {
        text-indent: 100%;
    }
    100% {
        text-indent: -100%;
    }
}

/* 4. تعديل بسيط للجوال لضمان التناسق */
@media (max-width: 768px) {
    #mainnav {
        margin-bottom: 35px !important;
        height: auto !important; /* للسماح للهيدر بالتكيف */
    }
    #mainnav::after {
        bottom: -35px;
        height: 35px;
        font-size: 12px;
    }
}
/* 1. توحيد الحاوية لتكون مستطيلة وبخلفية بيضاء واضحة */
.s-trust-badges-wrapper, 
.flex.gap-4::after {
    background-color: #ffffff !important; /* لون أبيض صريح */
    border-radius: 10px !important;
    height: 55px !important; /* ارتفاع ثابت ومناسب */
    min-width: 160px !important; /* عرض المستطيل */
    display: flex !important;
    flex-direction: row !important; /* ترتيب العناصر بجانب بعض وليس تحت بعض */
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    margin-top: 0 !important; /* تصفير المارجن لمنع النزول للأسفل */
    border: none !important;
}

/* 2. ضبط صورة "الوثيقة" لتكون متناسقة */
.s-trust-badges-image {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    margin-left: 10px !important; /* مسافة بين الصورة والنص */
    margin-bottom: 0 !important;
}

/* 3. ضبط نصوص الوثيقة لتكون بجانب الصورة */
.s-trust-badges-content {
    display: flex !important;
    flex-direction: column !important; /* النص فوق الرقم */
    align-items: flex-start !important;
    text-align: right !important;
}

.s-trust-badges-label {
    font-size: 10px !important;
    color: #2C2C2C; !important; /* لون هويتك */
    font-weight: bold !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.s-trust-badges-number {
    font-size: 11px !important;
    color: #333 !important;
    margin: 0 !important;
}


.ltr\:lg\:pr-20 ::after {
    content: "";
    background-image: url('https://api.saudimade.sa/uploads/logo_arabic_6870c33199.svg') !important;
    background-size: 80% auto !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    /* سيأخذ نفس تنسيقات المربع الأول تلقائياً */
}
p.s-trust-badges-label , b.s-trust-badges-number {
    color: #2C2C2C !important;
    font-weight: bold !important;
}
/* 1. إخفاء الأيقونات القديمة تماماً */
.s-contacts-icon svg {
    display: none !important;
}

/* 2. تنسيق حاوية الأيقونة (بدون خلفية وبدون حدود) */
.s-contacts-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important; /* حجم متناسق مع النص */
    height: 24px !important;
    background: none !important; /* حذف الخلفية تماماً */
    border: none !important; /* حذف الحدود تماماً */
    margin-left: 10px !important; /* مسافة بسيطة عن النص */
}

/* 3. إضافة الأيقونات الخطية الجديدة باللون الأبيض */
.s-contacts-icon::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-color: #ffffff; /* لون الأيقونة */
}

/* أيقونة الواتساب */
#contact-slot:nth-child(1) .s-contacts-icon::before {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25-9 3.694-9 8.25c0 1.618.506 3.12 1.374 4.382l-.624 3.12 3.12-.624A9.123 9.123 0 0012 20.25z"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25-9 3.694-9 8.25c0 1.618.506 3.12 1.374 4.382l-.624 3.12 3.12-.624A9.123 9.123 0 0012 20.25z"/></svg>') no-repeat center;
}

/* أيقونة الجوال */
#contact-slot:nth-child(2) .s-contacts-icon::before {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"/></svg>') no-repeat center;
}

/* أيقونة الإيميل */
#contact-slot:nth-child(3) .s-contacts-icon::before {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="black" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"/></svg>') no-repeat center;
}

/* 4. تنسيق الروابط والنص */
.s-contacts-item {
    color: #f3f3f3 !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
}

/* تأثير التمرير باللون الذهبي الباهت أو الأبيض الناصع */
.s-contacts-item:hover {
    color: #ffffff !important;
    padding-right: 3px;
    transition: 0.2s;
}
/* 3. تأثير عند التمرير لجعل الاسم يبرز بلون الهوية */
.copyright-text:hover::after {
    content: "التطوير بواسطة ازلها للتصميم ";
    color: #2C2C2C; /* لون متجرك البني */
    cursor: pointer;
}
/* 1. إخفاء النص الأصلي */
.copyright-text p, 
.copyright-text .hover\:text-primary {
    color: transparent !important;
    font-size: 0 !important;
    display: none !important;
}

/* 2. إضافة النص الجديد بأسلوب راقي */
.copyright-text::after {
     content: "التطوير بواسطة ازلها للتصميم ";
    display: block;
    font-size: 13px;
    color: #a8a8a8; /* لون هادئ لا يشتت العميل */
    letter-spacing: 0.8px;
    font-weight: 400;
    margin-top: 10px;
    transition: all 0.3s ease;
}


/* تحسين المظهر في الجوال */
@media (max-width: 768px) {
    .copyright-text::after {
        font-size: 11px;
    }
}/* 3. تأثير عند التمرير لجعل الاسم يبرز بلون الهوية */
.copyright-text:hover::after {
    content: "التطوير بواسطة ازلها للتصميم ";
    color: #2C2C2C; /* لون متجرك البني */
    cursor: pointer;
}

/* تحسين المظهر في الجوال */
@media (max-width: 768px) {
    .copyright-text::after {
        font-size: 11px;
    }
}

/* تنسيق القسم الرئيسي - فخامة العطور */
.s-block--fixed-banner {
    margin-top: 1px !important; /* مسافة علوية أنيقة */
    padding: 0 !important;
    overflow: hidden; /* لمنع خروج الصورة عند التكبير */
}

.s-block--fixed-banner .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* تنسيق البانر والزوايا الحادة */
.s-block--fixed-banner .banner {
    border-radius: 0 !important;
    display: block;
    position: relative;
    overflow: hidden; /* ضروري لتأثير الزوم */
    transition: all 0.5s ease-in-out;
}

/* تأثير الزوم عند مرور الماوس */
.s-block--fixed-banner .banner img {
    border-radius: 0 !important;
    width: 100% !important;
    height: auto;
    transition: transform 1.5s ease; /* سرعة حركة الزوم */
    display: block;
}

.s-block--fixed-banner .banner:hover img {
    transform: scale(1.05); /* تكبير بسيط بنسبة 5% فقط */
}

/* إضافة لمعة خفيفة تمر على الصورة (اختياري) */
.s-block--fixed-banner .banner::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: none;
}

.s-block--fixed-banner .banner:hover::after {
    left: 150%;
    transition: all 0.8s ease;
}
/* 1. البطاقة الخارجية (The Card Container) */
.s-product-card-entry {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    transition: all 0.4s ease;
}

/* 2. إطار الصورة المربع (Square Image Box) */
.s-product-card-image {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid rgba(126,98,86,0.51) !important; /* إطار خفيف جداً بدل الأبيض ليظهر التحديد */
    border-radius: 0 !important;
    overflow: hidden;
    background-color: #fff !important;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.s-product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 15px; /* مسافة داخلية لزجاجة العطر */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* تأثير الهوفر على الصورة والإطار */
.s-product-card-entry:hover .s-product-card-image {
    border-color: #2C2C2C; !important; /* يتغير للون العود عند الهوفر */
}

.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.08);
}

/* 3. محتوى النصوص (Product Info) */
.s-product-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 0 !important;
    gap: 8px !important;
}

/* اسم المنتج */
.s-product-card-content-title a {
    color: #2C2C2C; !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-decoration: none !important;
}

/* السعر والعملة */
.s-product-card-content-sub {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.s-product-card-price {
    color: #2C2C2C; !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
}

.s-product-card-price i {
    color: #2C2C2C;!important;
    font-size: 13px !important;
}

/* 4. زر المفضلة (Wishlist Button) */
.s-product-card-wishlist-btn {
    top: 10px !important;
    right: 10px !important;
    background: transparent !important;
    border: none !important;
    position: absolute !important;
    z-index: 2;
}

.s-product-card-wishlist-btn .s-button-element {
    background: transparent !important;
    border: none !important;
}

.s-product-card-wishlist-btn i {
    color: #2C2C2C; !important;
    font-size: 18px !important;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
    transition: all 0.3s ease !important;
}

.s-product-card-wishlist-btn:hover i {
    transform: scale(1.2);
    color: #5a453c !important;
}

/* 5. زر إضافة للسلة (Add to Cart Button) */
.s-product-card-content-footer {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

.s-product-card-content-footer .s-button-element {
    background-color: transparent !important;
    color: #2C2C2C; !important;
    border: 1px solid #2C2C2C; !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 42px !important;
    width: 100% !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s ease !important;
}

.s-product-card-content-footer .s-button-element:hover {
    background-color: #2C2C2C; !important;
    color: #ffffff !important;
}

.s-product-card-content-footer .s-button-element i {
    margin-left: 8px;
    font-size: 16px !important;
    color: inherit !important;
}
/* إجبار العناصر على الظهور فوراً وتجاوز خاصية الإخفاء التلقائي */
salla-accordion, salla-accordion-body, salla-accordion-head, 
salla-add-product-button, salla-advertisement, salla-alert, 
salla-button, salla-cart-summary, salla-product-card, 
salla-products-list, salla-products-slider, salla-slider, 
salla-skeleton, salla-search, salla-user-menu, salla-tabs,
salla-loading, salla-modal {
    visibility: visible !important;
    opacity: 1 !important;
}

/* إخفاء الهيكل العظمي (الرمادي) الذي يظهر أحياناً قبل المحتوى الحقيقي */
salla-skeleton {
    display: none !important;
}

/* تسريع استجابة الصفحة عند الفتح */
.hydrated {
    visibility: visible !important;
}
/* إضافة اللوجو أعلى الفوتر */
.store-footer__inner::before {
    content: "";
    display: block;
    width: 100%;
    height: 150px; /* يمكنك التحكم في ارتفاع المساحة هنا */
    background-image: url('https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/ydaZxl/jspE6YzcuXvOGgWGpur6GLr4WTOAiSX5YPfbIKac.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 0px; /* مسافة بين اللوجو والمحتوى */
}

/* تنسيق إضافي لضمان المحاذاة */
.store-footer__inner {
    display: flex;
    flex-direction: column;
}@media only screen and (min-width: 1024px) {
    .main-menu {color: white;}
 .top-navbar{background-color:#2C2C2C; }