/* ================================================================ */
/* ✏️ إضافة: استيراد خط "IBM Plex Sans Arabic" + تحسين لون النص الفرعي */
/* لون الهوية #3A567F للعناوين ما تغيّر إطلاقًا بناءً على طلبك         */
/* ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
 
:root {
  --heading-font: 'IBM Plex Sans Arabic', var(--font-primary), sans-serif;
  --sub-color: #6E6E6E;     /* أغمق من #878787 الأصلي - تباين أفضل وأسهل للقراءة */
  /* ملاحظة: لون العناوين #3A567F هو لون الهوية وما تغيّر - خليته زي ما هو بكل مكان */
}
 
/* ================================================================ */
/* ⬇️ من هنا الكود الأصلي كما هو، بدون أي تغيير إلا بالأسطر المعلّمة ⬇️ */
/* ================================================================ */
 
/* ✅ تصميم رأس المتجر */
.store-header {
  border-bottom: 1px solid #4A4A4A;
  background: #FFF;
}
 
/* ======================== */
/* ✅ المنتجات 1 */
.s-block--slider-with-bg .slider-bg:before {
  opacity: 0;
}
 
/* ========== اسماء الاقسام ========== */
.s-block--banners .banner-square h3 {
    margin-top: 0.375rem;
    font-size: 20px;
    color: #878787;
    line-height: 36px;
}
 
/* ======================== */
/* ✅ تنسيق "الأكثر مبيعًا" */
/* 💻 ديسكتوب - من 768px وأعلى */
@media (min-width: 768px) {
  h3.text-2xl.md\:text-4xl.text-white {
    font-family: var(--heading-font) !important; /* ✏️ إضافة: خط جديد */
    color: #3A567F !important; /* 🛠️ إصلاح: كان فيه خطأ إملائي (##3a587f !import) يمنع تطبيق لون الهوية أصلاً على الديسكتوب - نفس لون الهوية بدون تغيير */
    font-size: 42px;
  }
 
  p.text-sm.mb-8.max-w-lg.text-white {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
    font-size: 24px;
    margin-top: 10px;
  }
 
  .text-sm {
    line-height: 2.25rem;
 
    line-height: 2.25rem;
  }
 
  .max-w-lg {
    max-width: 70rem;
  }
}
 
/* 📱 موبايل - أقل من 768px */
 
@media (max-width: 767px) {
 h3.text-2xl.md\:text-4xl.text-white {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: #3A567F !important; /* لون الهوية - بدون تغيير */
    font-size: 28px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important; /* مهم لتكسر الأسطر */
    word-break: break-word !important;
  }
 
 p.text-sm.mb-8.max-w-lg.text-white {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
    margin-top: 10px !important;
    font-size: 18px !important;
    line-height: 30px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important; /* مهم لتكسر الأسطر */
    word-break: break-word !important;
  }
}
 
/* -----------------------------------------------
   عرض 4 منتجات فقط في الكاروسيل (فقط على الديسكتوب)
-------------------------------------------------- */
@media (min-width: 1024px) {
  .s-products-slider-wrapper {
    overflow: hidden;
  }
 
  .s-products-slider-wrapper .swiper-wrapper {
    display: flex !important;
    transition-timing-function: linear !important;
  }
 
  .s-products-slider-wrapper .swiper-slide {
    width: calc(25% - 10px); /* 4 عناصر = 100% / 4 */
    margin-right: 10px;
    box-sizing: border-box;
  }
 
  /* إزالة الهامش من العنصر الرابع في كل صف لتجنب المسافة الزائدة */
  .s-products-slider-wrapper .swiper-slide:nth-child(4n) {
    margin-right: 0;
  }
 
  .s-angel--divider.merge-bottom + .s-block .s-block__title,
  .s-angel--divider.merge-bottom + .s-block .s-slider-block__title {
    display: flex !important;
    visibility: visible;
  }
}
 
/* -----------------------------------------------
             تخصيص العرض
-------------------------------------------------- */
@media (max-width: 767px) {
  .-mt-32 {
    margin-top: -6rem;
  }
 
  .pt-8 {
    padding-top: 1rem;
  }
}
 
/* ========== Border حول كل الكروت ========== */
.s-product-card-entry, custom-salla-product-card {
  border: 1px solid #D6D6D6 !important;
  border-radius: 8px !important;
  padding: 12px !important;
}
 
/* ========== عنوان المنتج ========== */
.s-product-card-content-title a {
  font-style: normal !important;
  font-weight: 400 !important;
  color: #000 !important;
  line-height: 1.4 !important;
}
 
/* ========== السعر الحالي ========== */
.s-product-card-price {
  color: #3A567F !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}
 
/* ========== زر الكارت========== */
.s-button-primary {
 background-color: #3A567F !important;
 border-width: 5px !important;
 border-color: #3A567F !important;
 }
 
/* ========== الاسهم ========== */
salla-slider .s-slider-block__title-nav button .s-slider-button-icon svg {
    fill: #3A567F;
   }
 
/* ========== صور ليش تختارين إليكسير ========== */
salla-slider[type]:not(.hydrated) > div > div, salla-slider[type]:not(.hydrated) .swiper > div > div > div, .carousel-slider .swiper-wrapper > div {
        padding-left: 1.625rem;
        padding-right: 1.625rem;
    }
 
/* ========== نص ليش تختارين إليكسير ========== */
.s-block__title h2, .s-block__title p {
  all: unset; /* إعادة تعيين كل شيء – خطر لكن مفيد لو فيه تداخلات كثيرة */
}
 
/* Desktop */
@media (min-width: 768px) {
  .s-block__title h2 {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: #3A567F !important; /* لون الهوية - بدون تغيير */
    font-size: 42px !important;
    line-height: 1.6 !important;
  }
 
  .s-block__title p {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
    font-size: 24px !important;
    line-height: 40px !important;
  }
}
 
/* Mobile */
@media (max-width: 767px) {
  .s-block__title h2,
  .s-block__title p {
    white-space: normal !important;
    overflow: visible !important; ;
    text-overflow: unset !important;
    display: block !important;
    word-break: break-word !important;
  }
 
  .s-block__title h2 {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: #3A567F !important; /* لون الهوية - بدون تغيير */
    font-size: 28px !important;
  }
 
  .s-block__title p {
    font-family: var(--heading-font) !important; /* ✏️ إضافة */
    color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
    margin-top: 16px !important;
    font-size: 18px !important;
    line-height: 30px !important;
  }
}
 
/* ========== إضافة: عناوين قسم "الدivider" (مثل: ليش تختارين إلكسير؟ / نقطة التحول الكسير) ========== */
/* ✏️ هذا القسم ما كان مغطّى بالكود القديم إطلاقًا - له كلاسات مختلفة (.divider-title h2 / p) */
.divider-title h2.da-cp {
  font-family: var(--heading-font) !important; /* ✏️ إضافة: خط جديد - اللون بدون تغيير لأنه أصلاً لون الهوية */
}
 
.divider-title p.da-ts {
  font-family: var(--heading-font) !important; /* ✏️ إضافة: خط جديد */
  color: var(--sub-color) !important; /* ✏️ تعديل: نفس لون النص الفرعي الجديد بباقي الصفحة - رفعت خصوصية السيلكتور (.da-ts) عشان يتغلب على لون سلة الأصلي */
}
 
/* ========== نص الخريطة ========== */
@media (min-width: 768px) {
    .md\:text-3xl {
        font-family: var(--heading-font) !important; /* ✏️ إضافة */
        margin-top: 50px;
        color: #3A567F !important; /* لون الهوية - بدون تغيير */
        font-size: 42px;
        line-height: 62px;
    }
 
    .md\:text-lg {
        font-family: var(--heading-font) !important; /* ✏️ إضافة */
        color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
        font-size: 20px;
        line-height: 50px;
    }
 
    .tabs__outline .tab-trigger.is-active {
    background-color: #3A567F !important;
    border-color: #3A567F !important;
    }
}
 
@media (max-width: 767px) {
    .md\:text-3xl {
        font-family: var(--heading-font) !important; /* ✏️ إضافة */
        margin-top: 32px;
        color: #3A567F !important; /* لون الهوية - بدون تغيير */
        font-size: 28px;
        line-height: 40px;
    } /* 🛠️ إصلاح: كان ناقص هذا القوس هنا، وهذا كان يخلي .md\:text-lg يتداخل بشكل خاطئ جوّا .md\:text-3xl بدل ما يكون قاعدة منفصلة */
 
    .md\:text-lg {
        font-family: var(--heading-font) !important; /* ✏️ إضافة */
        color: var(--sub-color) !important; /* ✏️ تعديل: لون جديد */
        font-size: 18px;
        line-height: 30px;
    }
 
    .tabs__outline .tab-trigger.is-active {
        background-color: #3A567F !important;
        border-color: #3A567F !important;
    }
}
 
/* ========== الاسئلة الشائعة ========== */
 
.faqs-list__item {
  background-color: #3A567F !important;
  border: 1px solid #3A567F !important;
  border-radius: 6px;
  color: #ffffff !important;
 }
 
.faqs-list__item > label {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  background-color: transparent !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
 }
 
/* الأيقونة العادية */
.faqs-list__item .faq-item {
  background-color: #ffffff !important;
  color: #3A567F !important;
  border-radius: 50%;
  transition: none !important;
}
 
/* ✅ الأيقونة عند فتح السؤال */
.faq-container input:checked ~ .faqs-list__item .faq-item {
  background-color: #ffffff !important;
  color: #3A567F !important;
}
 
.faq-answer {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1.8;
}
 
/* فتح السؤال */
.faq-container input:checked ~ .faqs-list__item .faq-answer {
  max-height: 1000px;
  opacity: 1;
  transform: none;
  transition: all 0.3s ease-in-out;
}
 
.s-block--faqs {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
 
/* موبايل */
@media (max-width: 767px) {
  .faqs-list__item > label {
    font-size: 16px !important;
  }
 
  .faq-answer {
    font-size: 15px;
  }
 
  .s-block--faqs {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
 
 .faqs-list__item > label {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
}
 
/* ========== اراء العملاء – كود مشترك ========== */
 
/* === Dots === */
.swiper-pagination-bullet {
  background-color: #C7C7C7 !important;
  opacity: 1 !important;
  margin: 0 4px !important;
}
 
.swiper-pagination-bullet-active {
  background-color: #3A567F !important;
}
 
/* === Avatar صورة العميل === */
.s-block--testimonials .testimonial__avatar {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  z-index: 5 !important;
}
 
.s-block--testimonials .testimonial__avatar > div {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
}
 
/* === نصوص الكارت === */
.s-block--testimonials .swiper-slide h4 {
  color: #282828 !important;
  margin-top: 16px !important;
  margin-bottom: 8px !important;
  font-weight: bold !important;
}
 
.s-block--testimonials .testimonial__rating {
  margin-bottom: 16px !important;
}
 
.s-block--testimonials .swiper-slide p.text-center {
  color: #878787 !important;
}
 
/* === أيقونة الاقتباس === */
.s-block--testimonials .testimonial__icon {
  color: #4BBECF !important;
  opacity: 0.1 !important;
  font-size: 48px !important;
}
 
/* ========== ديسكتوب – من 768px فأعلى ========== */
@media (min-width: 768px) {
  .s-block--testimonials .container {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    overflow: hidden !important;
  }
 
  .s-block--testimonials .swiper,
  .s-block--testimonials .swiper-wrapper {
    overflow: visible !important;
  }
 
  .s-block--testimonials .swiper-slide {
    flex: 0 0 calc((100% - 48px) / 3) !important;
    max-width: calc((100% - 48px) / 3) !important;
    box-sizing: border-box;
  }
 
  .s-block--testimonials .swiper-slide .flex.h-full {
    display: flex !important;
    flex-direction: column !important;
    border: 0.5px solid #C7C7C7 !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding-top: 80px !important;
    position: relative !important;
    height: 100% !important;
  }
 
  .s-block--testimonials .swiper-slide .flex.h-full > .flex-col {
    padding: 24px !important;
    flex: 1 1 auto !important;
  }
 
  .s-block--testimonials .swiper-pagination {
    margin-top: 32px !important;
    position: relative !important;
    bottom: auto !important;
  }
}
 
/* ========== موبايل – أقل من 768px ========== */
@media (max-width: 767px) {
  .s-block--testimonials .container {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
    overflow: hidden !important;
  }
 
  .s-block--testimonials .swiper,
  .s-block--testimonials .swiper-wrapper {
    overflow: visible !important;
  }
 
  .s-block--testimonials .swiper-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
 
  .s-block--testimonials .swiper-slide .flex.h-full {
    display: flex !important;
    flex-direction: column !important;
    border: 0.5px solid #C7C7C7 !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding-top: 100px !important;
    position: relative !important;
    height: 100% !important;
  }
 
  .s-block--testimonials .swiper-slide .flex.h-full > .flex-col {
    padding: 20px !important;
    flex: 1 1 auto !important;
  }
 
  .s-block--testimonials .swiper-pagination {
    margin-top: 24px !important;
    position: relative !important;
    bottom: auto !important;
  }
}
 
/* ===================== */
/* = الوضع الداكن العام = */
/* (يعمل على جميع الشاشات) */
/* ===================== */
 
/* جعل كل النصوص باللون الأبيض (ما عدا روابط خدمة العملاء) */
.dark .store-footer__inner, .dark .store-footer__inner p, .dark .store-footer__inner h3, .dark .store-footer__inner span, .dark .store-footer__inner a:not(.social-icon):not(.contact-links a) {
  color: #fff !important;
}
 
/* تلوين روابط خدمة العملاء */
.dark .contact-links a {
  background-color: #29446B !important;
  color: white !important;
}
 
/* لون الحدود */
.dark .da-brdr {
  border-color: rgba(255, 255, 255, 1) !important;
}
 
/* =========================== */
/* = الوضع الداكن - موبايل فقط = */
/* (أقل من 768px) */
/* =========================== */
@media (max-width: 767px) {
  .dark .footer-profile,
  .dark .footer-profile p,
  .dark .footer-social,
  .dark .footer-social .social-links,
  .dark .footer-social .social-links > div,
  .dark .footer-container > div,
  .dark .social-icon,
  .dark .logo-footer {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
  }
 
  .footer-profile p {
    margin: 0 auto;
    max-width: 42rem;
    font-family: var(--font-secondary);
    line-height: 1.7rem;
    padding-right: 0;
    padding-left: 0;
  }
 
  .dark .social-icon {
    flex-direction: row !important;
    justify-content: center !important;
  }
 
  .dark .social-icon .social-label {
    margin-inline-start: 0.5rem !important;
  }
}
 
/* =========================== */
/* = الوضع الداكن - ديسكتوب فقط = */
/* (768px فأعلى) */
/* =========================== */
@media (min-width: 768px) {
  .dark .footer-profile,
  .dark .footer-profile p,
  .dark .footer-social,
  .dark .footer-social .social-links,
  .dark .footer-social .social-links > div,
  .dark .footer-container > div,
  .dark .social-icon,
  .dark .logo-footer {
    text-align: start !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    direction: rtl !important;
  }
 
  .footer-profile p {
    margin: 0 auto;
    max-width: 42rem;
    font-family: var(--font-secondary);
    line-height: 1.7rem;
    padding-right: 0;
    padding-left: 0;
  }
 
  .dark .social-icon {
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
 
  .dark .social-icon .social-label {
    margin-inline-start: 0.5rem !important;
  }
 
  .follow-us-title {
    color: white;
    font-size: 1.125rem;
    text-align: right;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
 
  .footer-middle .contact-links {
    margin-bottom: 20px;
    max-width: 18rem;
  }
}
 
section.s-block.home-slider.s-block--hero-slider.s-block--full-bg.wide-placeholder.md\:hidden.container {
    padding: 0;
}
.s-block--hero-slider .round .swiper {
    border-radius: 0;
}