/* -------------------------------------------------------------------------- */
/* الألوان: الأساسي #6A5ACD (بنفسجي)، الثانوي #D2869C (وردي الشعار)          */
/* -------------------------------------------------------------------------- */

body {
    background-color: #FAF9F6 !important; /* لون الخلفية أوف وايت سادة */
}

/* -------------------------------------------------------------------------- */
/* 1. تخصيص قسم التصنيفات/الروابط السريعة (ثيم رائد) - محددات الصورة المباشرة */
/* -------------------------------------------------------------------------- */

/* استهداف حاوية رابط التصنيف (الـ li) لتوسيط المحتوى */
.home-page-quick-links-section li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

/* محددات حاوية صورة التصنيف (لجعلها دائرة) */
.home-page-quick-links-section li a div {
    /* الشكل الدائري والحجم */
    border-radius: 50% !important;
    width: 90px !important;
    height: 90px !important;
    overflow: hidden !important;
    background-color: #FFFFFF !important; /* خلفية بيضاء للصورة */
    /* التأثيرات */
    box-shadow: rgba(106, 90, 205, 0.4) 0px 5px 15px !important; /* ظل بنفسجي */
    padding: 3px !important;
    transition: all 0.3s ease-in-out !important;
}

/* استهداف عنصر الصورة IMG مباشرة لفرض الشكل الدائري */
.home-page-quick-links-section li a div img {
    border-radius: 50% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* إجبار خاصية العرض على أن تكون بلوك لإخضاعها للتنسيق */
    display: block !important;
}

/* تأثير التكبير عند التمرير */
.home-page-quick-links-section li a:hover div {
    transform: scale(1.1) !important;
}

/* تنسيق نص التصنيف */
.home-page-quick-links-section li a p {
    color: #6A5ACD !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
}

/* -------------------------------------------------------------------------- */
/* 2. شريط التنقل (Navigation Bar) والأيقونات                                  */
/* -------------------------------------------------------------------------- */
div#mainnav,
.main-nav-container.shadow-default.bg-white {
    background-color: #FAF9F6 !important;
    border-radius: 0 0 1.5rem 1.5rem !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 6px !important;
}
.top-navbar { display: none !important; }

/* لون أيقونات الهيدر */
button.header-btn i, salla-cart-summary i, b.s-cart-summary-total,
nav#mobile-menu span, i.sicon-menu.text-primary.text-2xl {
    color: #D2869C !important;
}
.main-nav-container.fixed-header .inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


/* -------------------------------------------------------------------------- */
/* 3. الأزرار الموحدة (Buttons)                                                */
/* -------------------------------------------------------------------------- */
.s-button-element {
    background-color: #FAF9F6 !important;
    background-image: none !important;
    color: #6A5ACD !important;
    border-radius: 50px !important;
    border: 1px solid #6A5ACD !important;
    box-shadow: rgba(106, 90, 205, 0.4) 0px 2px 8px 0px !important;
    animation: gentle-pulse 1.8s ease-in-out infinite !important;
}
.s-button-element:hover {
    background-color: #F0F0F0 !important;
}
button.s-button-outline {
    background-color: transparent !important;
    animation: none !important;
}


/* -------------------------------------------------------------------------- */
/* 4. الفوتر (Footer) - تموجات وتوسيط مضمون                                   */
/* -------------------------------------------------------------------------- */

/* خلفية الفوتر والتموجات */
footer.store-footer {
    border-top-left-radius: 60% 5% !important;
    border-top-right-radius: 60% 5% !important;
    background-color: #F8F8F8 !important;
}
.footer-is-light .store-footer .store-footer__inner {
    /* تموج بنفسجي ووردي (شفاف) */
    background-image: linear-gradient(180deg, rgba(210, 134, 156, 0.15) 0%, rgba(106, 90, 205, 0.1) 36%, #F8F8F8 75%) !important;
    color: #3C3565 !important;
    border-top-left-radius: 60% 5% !important;
    border-top-right-radius: 60% 5% !important;
    text-align: center !important;
}

/* إجبار توسيط جميع العناصر الرئيسية في الفوتر */
.store-footer__inner > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
}

/* توسيط النصوص والعناوين والقوائم بشكل مطلق */
.store-footer h3, .store-footer a, .store-footer p, .s-menu-footer-item {
    color: #3C3565 !important;
    text-align: center !important;
    margin: 0 auto !important;
}
.store-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* شريط حقوق النشر (الأسفل) */
div.items-center.justify-between.py-4.container.text-center {
    background-color: #EFEFEF !important;
}
.copyright-text p {
    color: #3C3565 !important;
}


/* -------------------------------------------------------------------------- */
/* 5. تنسيقات متفرقة (العناوين، الأسعار، الأنميشن)                             */
/* -------------------------------------------------------------------------- */
/* العناوين في البلوكات */
div.s-block__title div.right-side, .s-block__display-all,
.s-reviews-header, .s-reviews-display-all,
.s-slider-block__title .s-slider-block__title-right,
.s-slider-block__title .s-slider-block__title-left {
    color: #6A5ACD !important;
    border-bottom: 2px solid #EEEEEE !important;
    border-right: 2px solid #EEEEEE !important;
    border-radius: 5rem !important;
    padding: 0.7rem !important;
    background: #FAF9F6 !important;
}
/* الأسعار */
.s-product-card-price, .s-product-card-sale-price h4 {
    color: #D2869C !important;
    font-size: 1.3rem !important;
}
/* البطاقات */
.s-product-card-entry {
    background-color: #FAFAFA !important;
    box-shadow: rgba(102, 102, 102, 0.1) 0px 2px 8px 0px !important;
}
.s-slider-block__title-nav { display: none !important; }

/* الأنميشن */
.navbar-brand img { animation: gentle-pulse 1.8s ease-in-out infinite !important; }
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(106, 90, 205, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 0 10px rgba(106, 90, 205, 0.8); }
}