.swiper-pagination {
  display: none !important;
}

section.s-block.s-block--categories {
  margin-top: -20px !important;
  padding-top: 0 !important;
}

.s-product-card-image img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px;
}

.s-product-card-image {
  height: 280px !important; 
  overflow: hidden;
}

.s-product-card-image img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* تكبير حجم الأيقونات في قسم التصنيفات */
.s-block--categories .slide--cat-entry img {
    width: 100px !important;  /* غير هذا الرقم لتكبير أو تصغير الصورة */
    height: 100px !important; /* يجب أن يكون نفس رقم العرض للحفاظ على التناسب */
    max-width: none !important; 
    object-fit: contain !important;
}

/* لضمان عدم تداخل العناصر بعد التكبير */
.s-block--categories .slide--cat-entry {
    height: auto !important;
    padding: 10px !important;
}

/* تعديل خلفية أيقونات التصنيفات وجعلها شفافة */
.s-block--categories .slide--cat-entry {
    background-color: transparent !important; /* جعل الخلفية شفافة */
    box-shadow: none !important;              /* إزالة الظل إذا كنت ترغب في مظهر مسطح */
    border: none !important;                  /* إزالة الحدود إن وجدت */
}

/* عكس ترتيب العناصر في قسم التصنيفات */
.s-block--categories .swiper-wrapper {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important; /* لضمان بقائها محاذية للجهة المطلوبة */
}

/* --- حل مشكلة اقتصاص الحقوق وتعديل القوس --- */

.store-footer {
    background-color: #d0af79 !important;
    /* نجعل القوس في الأعلى فقط لمنع اقتصاص الأطراف السفلية */
    border-radius: 80px 80px 0 0 !important; 
    padding-top: 50px !important;
    margin-top: 50px !important;
    border: none !important;
    overflow: visible !important; /* السماح للعناصر بالظهور دون قص */
    position: relative;
}

/* توحيد خلفية الجزء الداخلي لضمان عدم وجود بياض */
.store-footer__inner {
    background-color: transparent !important;
    border: none !important;
}

/* تعديل منطقة الحقوق السفلية لتكون متناسقة وغير مقصوصة */
.store-footer div[class*="items-center justify-between"] {
    background-color: rgba(0, 0, 0, 0.08) !important; /* تمييز بسيط للحقوق */
    width: 100% !important;
    padding: 20px 5% !important; /* إضافة مسافة جانبية داخلية للحماية */
    border-radius: 0 0 0 0 !important; /* إلغاء أي انحناء سفلي يسبب القص */
}

/* التأكد من أن جميع النصوص بيضاء وواضحة */
.store-footer h1, .store-footer h2, .store-footer h3, 
.store-footer p, .store-footer a, .store-footer span {
    color: #ffffff !important;
}

/* إصلاح أيقونات الدفع لتبدو مرتبة */
.s-payments-list-wrap {
    filter: brightness(1.1); /* تحسين وضوح أيقونات الدفع */
}

/* --- تنظيف وتطوير قسم المزايا --- */

/* 1. إخفاء الدوائر السوداء والأيقونات القديمة تماماً */
.s-block--features .s-block--features__item img,
.s-block--features .s-block--features__item .feature-item__icon,
.s-block--features .s-block--features__item [class*="icon"] {
    display: none !important;
}

/* 2. إعداد الحاوية للأيقونة الجديدة */
.s-block--features .s-block--features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff !important;
    border: 0.5px solid rgba(208, 175, 121, 0.2) !important;
    border-radius: 20px !important;
    padding: 40px 25px !important;
    position: relative;
    transition: all 0.4s ease;
}

/* 3. إضافة الأيقونات الذهبية الفخمة */
.s-block--features .s-block--features__item::before {
    content: '';
    width: 45px;
    height: 45px;
    margin-bottom: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* فلتر لتحويل أي أيقونة للون الذهبي #d0af79 */
    filter: invert(79%) sepia(19%) saturate(629%) hue-rotate(353deg) brightness(91%) contrast(85%);
}

/* أيقونة الميزة الأولى: الضمان الذهبي (درع) */
.s-block--features .s-block--features__item:nth-child(1)::before {
    background-image: url('https://img.icons8.com/ios/100/guarantee.png');
}

/* أيقونة الميزة الثانية: سرعة التنفيذ (ساعة/توقيت) */
.s-block--features .s-block--features__item:nth-child(2)::before {
    background-image: url('https://img.icons8.com/ios/100/delivery-time.png');
}

/* أيقونة الميزة الثالثة: الدفع الآجل (بطاقة ائتمان) */
.s-block--features .s-block--features__item:nth-child(3)::before {
    background-image: url('https://img.icons8.com/ios/100/credit-card-front.png');
}

/* 4. تأثير التمرير (Hover) لزيادة الفخامة */
.s-block--features .s-block--features__item:hover {
    border-color: #d0af79 !important;
    box-shadow: 0 10px 30px rgba(208, 175, 121, 0.12) !important;
    transform: translateY(-5px);
}

/* --- تصميم براند مجوهرات فاخر (بارز وواضح) --- */

/* 1. تنسيق الحاوية: مساحة متوسطة متوازنة */
.s-slider-block__title {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    /* مسافة علوية وسفلية كافية ليكون العنوان مفصولاً بوضوح */
    padding: 35px 0 25px 0 !important;
    border: none !important;
}

/* 2. إخفاء العناصر الجانبية */
.s-slider-block__title-left {
    display: none !important;
}

/* 3. تنسيق النص: تكبير الخط وزيادة وضوح اللون */
.s-slider-block__title-right h2 {
    color: #ccaa6d !important; /* الذهبي الخاص بهويتك */
    font-size: 32px !important; /* تكبير الخط بشكل ملحوظ ليصبح بارزاً */
    font-weight: 600 !important; /* سماكة متوسطة (ليس نحيفاً جداً وليس عريضاً جداً) */
    letter-spacing: 1px !important;
    position: relative;
    display: inline-block;
    padding-bottom: 15px; /* مسافة بين النص والخط الزخرفي تحته */
    margin: 0 !important;
    /* إضافة ظل خفيف جداً وناعم للنص لبروزه عن الخلفية */
    text-shadow: 0px 1px 1px rgba(204, 170, 109, 0.2);
}

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

/* 5. إلغاء النجمة الصغيرة (لأن الخط المتدرج يكفي وزيادة التفاصيل قد تشتت) */
.s-slider-block__title-right h2::before {
    content: none !important;
}

/* --- نهاية الكود --- */

/* --- تطوير قسم آراء العملاء: ضبط المسافات وتغيير شكل البطاقات --- */

/* 1. تقليل المسافة بين العنوان والآراء */
.s-reviews-header-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 5px !important; /* تقليل الهامش السفلي جداً */
    padding: 10px 0 !important; /* تقليل الحشو الداخلي */
}

.s-reviews-header {
    color: #ccaa6d !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    position: relative !important;
    padding-bottom: 8px !important;
    margin: 0 !important;
}

/* الخط تحت العنوان - أنحف وأقرب */
.s-reviews-header::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 1px !important;
    background: #ccaa6d !important;
}

/* 2. تغيير شكل البطاقات (Targeting the slides directly) */
/* استهداف الحاوية الفعلية للبطاقة داخل السلايدر */
.s-reviews-testimonials-slider .swiper-slide > div, 
.s-reviews-testimonials-slider .s-slider-container .swiper-slide,
.testimonial-entry { 
    background-color: #ffffff !important;
    border: 1px solid #e1e1e1 !important; /* إطار رمادي نحيف جداً */
    border-radius: 8px !important; /* زوايا أقل حدة وأكثر رسمية */
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important; /* ظل خفيف جداً */
    transition: all 0.4s ease !important;
}

/* تأثير الفخامة عند التمرير بالماوس على البطاقة */
.s-reviews-testimonials-slider .swiper-slide > div:hover {
    border-color: #ccaa6d !important;
    box-shadow: 0 4px 15px rgba(204, 170, 109, 0.1) !important;
}

/* 3. تلوين العناصر الداخلية للبطاقة */

/* تلوين النجوم بالذهبي */
.s-reviews-testimonials-slider .s-rating-stars, 
.s-reviews-testimonials-slider .fa-star {
    color: #ccaa6d !important;
}

/* تلوين أيقونة الاقتباس بالرمادي الهادئ */
.s-reviews-testimonials-slider i.s-reviews-icon,
.s-reviews-testimonials-slider .testimonial-icon {
    color: #9e9c9d !important;
    opacity: 0.6 !important;
}

/* 4. إزالة أي مسافات زائدة من السلايدر نفسه */
.s-reviews-testimonials-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* --- نهاية الكود --- */

/* --- إصلاح المسافات وتنسيق الجوال فقط --- */
@media (max-width: 768px) {
    
    /* 1. تقليل مسافات قسم "الأكثر مبيعاً" على الجوال */
    .s-slider-block__title {
        padding: 15px 0 5px 0 !important; /* تقليل الحشو العلوي والسفلي */
        margin-bottom: 5px !important;
        min-height: auto !important; /* إلغاء الحد الأدنى للارتفاع */
    }

    .s-slider-block__title-right h2 {
        font-size: 20px !important; /* تصغير حجم الخط ليتناسب مع الشاشة */
        padding-bottom: 8px !important;
    }

    /* 2. تقليل مسافات قسم "آراء العملاء" على الجوال */
    .s-reviews-header-wrapper {
        padding: 10px 0 !important;
        margin-bottom: 0 !important;
    }

    .s-reviews-header {
        font-size: 20px !important;
        padding-bottom: 8px !important;
    }

    /* 3. تقصير الخط الزخرفي تحت العناوين ليناسب شاشة الجوال */
    .s-slider-block__title-right h2::after,
    .s-reviews-header::after {
        width: 50px !important;
        height: 1.5px !important;
    }

    /* 4. ضبط أسهم التحكم (إذا كانت ظاهرة) لتكون أصغر قليلاً */
    .s-slider-block__title-left .s-slider-control {
        width: 30px !important;
        height: 30px !important;
    }
}