/* Add custom CSS styles below */ 


.enhanced-products-slider .product-card {
    position: relative; /* لضمان أن المربع يظهر بشكل صحيح */
}
/* Product Card Styles */
.product-card {
  box-shadow: unset;
}
.product-card-content-meta-pricing-current-discounted-percentage {
  display: none;
}
.product-card-content-meta-pricing-current-discounted-meta-value {
  display: none;
}
.product-card-content-meta-pricing {
    flex-direction: row;
    gap: 12px;
}
.product-card-content-meta-pricing-current-discounted-meta-regular {
    line-height: unset;
}
.product-card-actions-wishlist {
    display: inline-flex;
}
.product-card-actions-add-to-cart {
  border: 0px;
  padding: 0px;
}
.product-card-actions-add-to-cart-label {
  text-decoration: underline;
}
.product-card-actions-add-to-cart-icon {
   display: none;
}
.product-card-actions-add-to-cart:hover {
  color: #414042;
  background-color: transparent;
}
.product-card-content-meta-title h4 {
  line-height: unset;
}
.product-card-content-meta-pricing {
  padding-top: 0px;
  padding-bottom: 0px;
}



.rounded-xl {
    border-radius: 1px;
}






/* متجر ايقونة المستقبل */

/* الحاوية التي تحتوي على المنتجات */
.products-container {
    display: flex;
    flex-wrap: wrap; /* يسمح بتوزيع المنتجات على أكثر من سطر إذا لزم الأمر */
    justify-content: flex-start; /* لضمان أن العناصر تكون مرتبة من اليسار لليمين بشكل افتراضي */
}

/* منتج معين داخل الحاوية */
button.product-card-actions-add-to-cart {
    position: relative; /* لضمان أن الرقم يظهر بشكل صحيح فوق العنصر */
    order: 0; /* ترتيب العنصر، نحدده لاحقًا حسب الحاجة */
}

/* المنتج رقم 1 */
button.product-card-actions-add-to-cart[onclick*="1318571029"]::before {
    content: "1";
    position: absolute;
    top: -341px;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1px 9px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100;
    order: 1; /* ترتيب المنتج الأول */
}

/* المنتج رقم 2 */
button.product-card-actions-add-to-cart[onclick*="959013655"]::before {
    content: "2";
    position: absolute;
    top: -341px;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1px 9px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100;
    order: 2; /* ترتيب المنتج الثاني */
}

/* المنتج رقم 3 */
button.product-card-actions-add-to-cart[onclick*="126663748"]::before {
    content: "3";
    position: absolute;
    top: -341px;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1px 9px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100;
    order: 3; /* ترتيب المنتج الثالث */
}






/* المنتج رقم 4 */
button.product-card-actions-add-to-cart[onclick*="139250102"]::before {
    content: "4";
    position: absolute;
    top: -341px;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1px 9px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100;
    order: 4; /* ترتيب المنتج الرابع */
}




/* المنتج رقم 5 */
button.product-card-actions-add-to-cart[onclick*="126122209"]::before {
    content: "5";
    position: absolute;
    top: -341px;
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 1px 9px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 100;
    order: 5; /* ترتيب المنتج الخامس */
}






/* استعلامات الوسائط لتصميم المحمول */
@media (max-width: 768px) {
    button.product-card-actions-add-to-cart[onclick*="685180739"]::before {
        top: -306px; /* ضبط الموضع للأجهزة المحمولة */
    }
    button.product-card-actions-add-to-cart[onclick*="1341278124"]::before {
        top: -306px; /* ضبط الموضع للأجهزة المحمولة */
    }
    button.product-card-actions-add-to-cart[onclick*="1427848196"]::before {
        top: -306px; /* ضبط الموضع للأجهزة المحمولة */
    }
    button.product-card-actions-add-to-cart[onclick*="659530278"]::before {
        top: -306px; /* ضبط الموضع للأجهزة المحمولة */
    }
    button.product-card-actions-add-to-cart[onclick*="685146750"]::before {
        top: -306px; /* ضبط الموضع للأجهزة المحمولة */
    }
   nav.breadcrumbs.w-full.dark\:text-\[\#7A798A\] {
    padding-top: 6rem;
} 

}




/* متجر ايقونة المستقبل*/
.container img[src="https://cdn.salla.sa/form-builder/mpq8FLa8WNQ8QegXGly9rWbdeZzj8qslvsBN6iDa.webp"] {
    padding-top: 0 !important; /* إزالة المسافة العلوية */
    margin-top: -13% !important; /* تأكيد إزالة الهوامش العلوية */
}

/* إزالة أي فراغ في العنصر الرئيسي للعنصر الذي يحتوي الصورة */
.container {
    padding-top: 0 !important; /* إزالة المسافة العلوية للعنصر بالكامل */
}

















/* متجر ايقونة المستقبل */
/* يمكنك تغير ترتيب المنتجات حسب رقم الاوردر من خلال وضع الرقم الخاص في الترتيب داخل الكود التالي */

.custom-products-slider {
    display: flex;  /* أو استخدام grid حسب الحاجة */
    flex-direction: row-reverse;  /* هذا سيجعل الترتيب من اليمين لليسار */
}

/* ترتيب المنتجات بناءً على الرقم */
.swiper-slide:nth-child(1) {
    order: 4; /* أول منتج سيظهر في نهاية الصف */
}

.swiper-slide:nth-child(2) {
    order: 3; /* ثاني منتج سيظهر قبل الأول */
}

.swiper-slide:nth-child(3) {
    order: 2; /* ثالث منتج سيكون في المركز */
}

.swiper-slide:nth-child(4) {
    order: 5; /* رابع منتج سيكون قبله */
}

.swiper-slide:nth-child(5) {
    order: 1; /* خامس منتج سيكون في بداية الصف */
}