body:not(.product-index):not(.product-single):after{
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background:white url(https://i.ibb.co/fVLQTpY4/Duynv-Csop0-SCsl-Cm-UNjb-Yum-K3s-WCDu-Adb-Jp-Bx8-Pl.jpg);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 360px;
    animation-name: fade-in;
    animation-duration: 1.5s;
    transform: scale(0);
    border: none;
     
}

   @keyframes fade-in {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    75% {
        opacity: 1;
        transform: scale(1)
    }

    85% {
        opacity: .5;
        transform: scale(1)
    }

    99% {
        opacity: .2;
        transform: scale(1)
    }

    100% {
        opacity: 0;
        transform: scale(.1)
    }
}


/* Add custom CSS styles below */ 
body {
  background-color:#Fff ;
}
.top-navbar{
    background-color: #FAFAFA;
}
/*banner main*/

 .s-slider-block__title-nav {
    display: none !important ;
}
salla-slider.photos-slider .swiper-slide {
    width: 94%;
    padding:0 ;
  margin:0 ;
}

section:nth-of-type(1).s-block.s-block--photos-slider {
    margin-top: 0rem;
}

section:nth-of-type(1) salla-slider.photos-slider .swiper-slide {
    width: 100%;
    padding:0 ;
  margin:0 ;
}


section:nth-of-type(8) salla-slider.photos-slider .swiper-slide {
    width: 60%;
}
[dir=rtl] .carousel-slider .swiper {
    padding-left: 0;
    padding-right: 0;
}
[dir=rtl] salla-slider.photos-slider .swiper {
    padding-left: 0;
    padding-right: 0;

}
salla-slider.photos-slider .swiper:where([dir="ltr"], [dir="ltr"] *) {
    padding-right: 0 ;
    padding-left: 0;
}
.rounded-md,salla-slider.photos-slider .swiper-slide {
    border-radius: 0;
}

.banner--fixed img {
    background-color: transparent;
    border-radius: 0;
    width: 80%;
    margin: auto;
}
section#best-offers-1-slider,section#best-offers-3-slider,section#best-offers-6-slider {
    margin-top: 2rem;
}
.s-slider-block__title {
    margin-bottom: 2rem;
    display: none;
}

.s-product-card-image img.loaded {
    background-color: #fff ;
}
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    color: #fff;
    background-color: #1A6752;
    border: none;
 border-radius: 10px;
}

.s-product-card-entry {
    background-color: transparent;
    box-shadow: 0px 0px 10px #00000012;
    border-radius: 15px;
}
salla-products-slider.s-products-slider-wrapper.hydrated .swiper {
    padding: 1rem 0;
}

/*footer*/
.store-footer__inner,footer.store-footer {
    background-color: #1A6752 !important;
    color: #fff;
}
.store-footer__inner p.ql-direction-rtl.ql-align-right {
    margin-bottom: 5%;
}
body.blog-single {
    font-family: 'arial' !important;
}
body.blog-single h2,body.blog-single h3 {
    font-size: 20px !important;
}
body.blog-single p,body.blog-single span {
    font-size: 18px !important;
}

body.blog-single h2 {
    margin: 2% 0 !important;
}
@media(max-width: 768px){
.banner--fixed img {
    width: 90%;
}
.swiper-slide {
    width: 50%;
}
footer.store-footer {
    text-align: center;
}
.store-footer a,.s-social-list {
    justify-content: center;
}
.s-product-card-content-title a{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

}

/* خلفية البوب-أب */
#custom-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

/* إظهار البوب-أب */
#custom-popup.show {
  visibility: visible;
  opacity: 1;
}

/* محتوى البوب-أب */
#custom-popup .popup-box {
  position: relative;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  display: inline-block;
}

#custom-popup .popup-box img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

/* الأزرار أسفل الصورة */
#custom-popup .buttons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* زر الأكشن */
#custom-popup .action-link {
  padding: 10px 20px;
  background-color: #ff5722;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

/* زر الإغلاق */
#custom-popup .close-btn {
  padding: 10px 20px;
  background-color: #999;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

/* تأثير بلينك/نابض */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 480px) {
  #custom-popup .popup-box {
    max-width: 90%;
  }

  #custom-popup .action-link,
  #custom-popup .close-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  #custom-popup .popup-box {
    max-width: 70%;
  }
}

@media (min-width: 1200px) {
  #custom-popup .popup-box {
    max-width: 500px;
  }
}