/* Add custom CSS styles below */ 
/* General Styles */
body {
    background-color: #ffffff;
}

/* Hide Loader */
.loader-init {
    display: none !important;
    visibility: hidden !important;
}
/*banner*/

salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *){
height:50%

}
/*اللوغو*/
.navbar-brand img {
 max-height: 4.5rem;
        width: auto;
}


@media (min-width: 1024px) {
.navbar-brand img {
    max-height: 7.5rem;
        width: auto;
    padding-bottom: 20px;
}

}

@media (min-width: 1024px) {
.swiper{
height:400px;
}
.object-contain {
height:100%
}
}
@media (min-width: 768px) {
   .two-row .banner-entry:first-child {
      grid-row: auto;  
   }

  
  /* Banner Entry Styles */
.banner-entry {
  position: relative ;
  height: 200px !important;
  background-size: cover ;
  background-position: center ;
  background-repeat: no-repeat ;
  overflow: hidden;
  border-radius: 10px ; 
}
/* Lazy-loaded background image */
.lazy__bg {
  position: absolute ;
  top: 0 ;
  right: 0 ;
  width: 100% ;
  height: 100% ;
  background-size: cover ;
  background-position: center ;
  background-repeat: no-repeat ;
 
}


/* Hover effect for images */
.lazy__bg.lazy.entered.loaded:hover {
  transition: all 0.5s ease-in-out;
  transform: scale(1.05); /* Slight zoom effect */
}
}

/* For Medium Screens and up (Tablets) */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); 
    
    gap: 15px; /* Adjust spacing */
  }

 
}
@media (min-width: 640px) and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);  
        gap: 15px; 
    }
    

    .two-row .banner-entry:first-child {
        grid-row: auto;  
    }

}

/* شاشة التحميل بدايه*/
body::before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(95, 169, 164);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    content: '';
    animation: fadeOut 5s ease-in-out forwards;
}

body::after {
    position: fixed;
    width: 100px;
    height: 100px;
    background-image: url('https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/zvzQjr/PuymRtaFHzxYL1sVRKWisOJ88vXNMYh0IZEdNFEB.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10000;
    content: '';
    animation: logoZoom 2s ease-in-out forwards;
}

/* الرسوم المتحركة لإخفاء الخلفية */
@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* الرسوم المتحركة لتكبير الشعار */
@keyframes logoZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* شاشة التحميل نهايه*/

section:nth-of-type(1).s-block {
    margin: 25px 0;
    padding: 0;
    width: 100%;
}
/*menu*/
 @media (min-width: 1024px) {
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    background-color: #ffffff;
    z-index: 1001;  /* تأكد من أن القائمة الجانبية فوق الـ backdrop */
    overflow-y: auto;
    padding-top: 60px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px 0 0 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  }

  .mobile-menu ul {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-menu ul li {
    margin: 10px 20px;
    font-size: 18px;
    color: #333333;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    margin-right: 45px;
  }

  .mobile-menu ul li:hover {
    color: #ffffff;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding-left: 10px;
  }

  .mburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
    z-index: 1002;  /* تأكد من أن الأيقونة فوق القائمة */
  }

  .mburger .sicon-menu {
    color: rgb(95, 169, 164);
    font-size: 2.8rem;
    transition: color 0.3s ease;
  }

  .mburger:hover .sicon-menu {
    color: #000000;
  }

  .mobile-menu.open {
    display: block;
    transform: translateX(0);
  }

 
  .mm-ocd__content {
 
    display: none; 
  }



  /* تعديل إعدادات الـ backdrop */
  .mm-ocd__backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;  
        width: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  /* عند فتح القائمة */
  .mm-ocd.mm-ocd--open .mm-ocd__backdrop {
    opacity: 1;
    pointer-events: all; 
  }
  .mm-ocd--open {
   
    z-index: 1;
}
.mm-ocd--open{
background:none;
}
 /* عند إغلاق القائمة */
  body.mm-ocd-opened {
    overflow-y: hidden; 
    overscroll-behavior: none; 
  }

  body:not(.mm-ocd-opened) {
    overflow-y: auto; 
    overscroll-behavior: auto;  
  }
}



 
.items-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}



@media (min-width: 1024px) {
    .items-center {
        margin-top: 20px;
        padding: 20px 40px;
    }

}

.main-nav-container.fixed-pinned
 .navbar-brand img{
    max-height: 4rem;

}



/*بحث*/
.s-contacts{
display:none;
}

.s-menu-topnav-list{
display:none;

}







/*card*/
.swiper{
height:400px;

} 
.s-product-card-entry{

    border: 2px solid rgb(95, 169, 164); 


}
.s-products-slider-card {
    width: 220px;
    height: 320px;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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



.s-products-slider-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* تخصيص للشاشات الكبيرة */
@media (min-width: 1024px) {
    .s-products-slider-card {
        width: 240px;
        height: 340px;
    }

   
}

/**/

 

   
/*simple*/
.s-cart-summary-count{
background-color:rgb(95,169,164);
}
/*last section*/
.md\:grid-cols-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.banner-entry {
    height: 100px;
      background-color: transparent !important;
    
}

.lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}

.lazy__bg.lazy.entered.loaded:hover {
    transition: all 1s ease-in-out;
    transform: scaleX(1.1);
}

/* تخصيص جميع الشرائح */
 section:nth-of-type(1) 
 .swiper-slide:first-of-type,
 section:nth-of-type(1) 
 .swiper-slide:nth-of-type(2)  {
  margin-left: 2rem !important;
  margin-right: 5rem !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  
section:nth-of-type(1)
 .swiper-slide:first-of-type,
section:nth-of-type(1)
 .swiper-slide:nth-of-type(2) {
    margin-left: 1rem !important; 
    margin-right: 2rem !important;
    width: 100% !important;
  }
}


/*footer*/

.footer-is-light .store-footer .store-footer__inner {
    background-color: #ffffff !important;
}