/* Add custom CSS styles below */ 


body{
background-color: #fff;
}
.s-product-card-image {
    background-color: #fff;
}


.has-overlay:after {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    --tw-content: "";
    content: var(--tw-content);
}



.s-product-card-promotion-title {
    top: 0rem;
    background-color: #8a4e9d; /* تغيير اللون الترويجي الى الموف*/
 color: white; /* تغيير النص إلى الأبيض لزيادة التباين */    border-top-left-radius: 0rem;
}



.product-entry__sub-title, .s-product-card-content-subtitle {
    color: #fff;/* تغيير النص إلى الأبيض لزيادة التباين */   
    background-color: #8a4e9d;/* تغيير اللون الترويجي الى الموف*/
    border-radius: 7px;
    text-align: center;
}


.s-product-card-entry {
border: 1px solid #2b2d34;
}


.details-slider .swiper-slide {
    width: 100%;
    height: 425px;
}

.breadcrumbs {
    display: flex; /* لعرض العناصر بشكل أفقي */
    flex-wrap: wrap; /* دعم التفاف العناصر عند صغر الشاشة */
    justify-content: flex-start; /* محاذاة العناصر من البداية */
    align-items: center; /* محاذاة العناصر رأسياً */
    min-height: 60px; /* حجز مساحة ارتفاع للعنصر */
    padding: 20px; /* حجز مساحة padding لتحديد المساحة */
    background-color: #f9f9f9; /* إضافة خلفية لتوضيح الشكل */
    box-sizing: border-box; /* لضمان حساب الحواف والحدود */
}

/*****************************/

/* تصغير الحاوية */
.swiper {
   /* width: 80%; /* ضبط عرض الحاوية */
    margin: 0 auto; /* لجعلها في المنتصف */
}
.w-16.h-16.object-cover.rounded-full.mb-2\.5 {
    width: 100px; /* العرض الجديد */
    height: 100px; /* الطول الجديد */
}

/* تكبير الصور */
 /* swiper-slide slide--one-sixth swiper-slide-active */
.swiper .s-slider-swiper-wrapper .swiper-slide .img {
    width: 100px; /* زيادة عرض الصورة */
    height: 100px; /* زيادة ارتفاع الصورة */
    object-fit: cover; /* الحفاظ على تناسب الصورة */
   /* border-radius: 50%; /* إذا كنت تريد أن تبقى الصور دائرية */
    transition: transform 0.3s ease; /* تأثير التحويل */
}

/* تأثير عند التمرير على الصور */
.swiper img:hover {
    transform: scale(1.2); /* تكبير الصورة عند التمرير */
}

/* تقليل النص داخل الحاوية */
.swiper h2 {
    font-size: 0.8rem; /* تصغير النص */
    text-align: center; /* جعل النص في المنتصف */
    margin-top: 5px;
}

/**********************************/


* التصميم الأساسي (الشاشات الكبيرة) */
.s-block--banners .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)); /* توزيع العناصر بالتساوي */
  /*  gap: 16px; /* المسافة بين العناصر */
    justify-content: center; /* محاذاة العناصر في المنتصف */
}

/* العنصر الفردي */
.banner-entry {
grid-row: span 2 / span 2;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    aspect-ratio: 1; /* مستطيل بنسبة عرض إلى ارتفاع */
    
    margin: auto; /* محاذاة العنصر في المنتصف */
border-radius: 0px 32px;
}


/* الصورة داخل العنصر */
.banner-entry .lazy__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100$; /* تغطي العنصر بالكامل */
    background-position: center;
    background-repeat: no-repeat;
}



/* التصميم للشاشات الصغيرة */
@media (max-width: 768px) {
    .s-block--banners .grid {
        grid-template-columns: repeat(3, 1fr); /* 3 عناصر في كل صف */
        gap: 8px; /* مسافة أصغر بين العناصر */
    }
 
  
  .s-products-slider-card {
    max-width: 49vw !important;
    width: 100% !important;
    min-height: 300px !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }


  .s-reviews-swiper-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  
 
}








.s-button-element:not(:disabled):not([loading]) {
    pointer-events: auto;
    border-radius: 8px 54px;
    background: #884b9b;
    color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgb(136 75 155), 0 0px 2px 0 rgb(0 0 0);
}


/*  تصميم الكتابة على الصورة المربعة    */
.banner-entry h3, .banner-entry p {
    position: relative;
    z-index: 1;
    --tw-translate-y: 1.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    opacity: 0;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    color: #ff0000;
}


/*  تصميم صندوق المنتج   */


.s-product-card-entry {
    position: relative;
    display: flex
;
    height: 96%;
    justify-content: space-between;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255);
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    box-shadow: 0px 0px 5px 3px rgb(141 80 160), 0px 0px 7px 0px rgb(141 80 160);
    padding: 6px;
    border-radius: 0px 32px;
    top: 11px;
    text-align: center;
}





/*  تصميم عنصر اضافة السلة  */

.s-button-element:not(:disabled):not([loading]) {
    pointer-events: auto;
    border-radius: 8px 54px;
    background: #884b9b;
    color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgb(136 75 155), 0 0px 2px 0 rgb(0 0 0);
}





/*  تصميم روابط سريعة */

.slide--cat-entry {
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(136 75 155);
    --tw-bg-opacity: 1;
    background-color: rgb(136 75 155);
    text-align: center;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
    color: #ffffff;
    border-radius: 1px 41px;
    padding: 20px;
    height: 150px;
}
::before, ::after {
    --tw-content: '';
    color: #ffffff;
}


/*  تصميم القلب على الصورة */


.s-product-card-vertical .s-product-card-wishlist-btn button {
    --tw-bg-opacity
1 !important
: 1 !important;
    background-color: rgb(138 78 157) !important;
}





/*  تصميم التعليقات  */

.s-reviews-testimonial {
    position: relative;
    display: flex
;
    height: 100%;
    --tw-bg-opacity: 1;
    background-color: rgb(136 75 155);
    padding: 1.5rem;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    color: #ffffff;
    border-radius: 15px 50px;
}







/*  تصميم اخر الصفحه */

.store-footer__inner {
    border-bottom-width: 1px;
    border-style: dashed;
    --tw-bg-opacity: 1;
    background-color: rgb(136 75 155);/*  تغير لون الخليفة*/

    padding-top: 2rem;
    padding-bottom: 2rem;
}


/*  تصميم اخر الصفحه */

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #ffffff;
}

/*  تصميم مميزات المتجر*/
.s-block--features__item {
    display: flex
;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    --tw-bg-opacity: 1;
    background-color: rgb(136 75 155);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
    border-radius: 15px 50px;
}



/*  تصميم لون كتابة مميزات المتجر*/

.s-block--features__item h2 {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(255 255 255);
}

.s-block--features__item p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255);
}


/*  تصميم لون شريط البحث*/

.topnav-is-dark .top-navbar {
    --tw-bg-opacity: 1;
    background-color: rgb(138 78 157);
    --tw-text-opacity: 1;
    color: rgb(255 255 255);
}


/*  تصميم لون زر البحث*/

.s-search-icon svg {
    height: 1rem;
    width: 1rem;
    fill: #ffffff;
}

/*  تصميم لون زر السلة و الدحول*/

.header-btn__icon {
    display: flex
;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(138 78 157);
    font-size: 1.25rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgb(138 78 157);
}


/*  تصميم لون زر السلة و الدحول*/

::before, ::after {
    --tw-content: '';
    color: #8a4e9d;
}


/*  تصميم لونخليفة التصميم*/

@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--navbar.mm-spn--main:where([dir="rtl"], [dir="rtl"] *):after {
        color: #ffffff;
        padding-right: 0.75rem;
        background-color: #8b509e;
    }
}







@media only screen and (max-width: 1024px) {
    .mm-spn li a, .mm-spn li>span {
        padding: 18px;
        display: flex
;
        align-items: center;
        gap: 1rem;
        background-color: #8b509e;
              color: #ffffff;

}





.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #ffffff;
}