/*fixed code*/
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}
:root{
    --second-color:#fff;
}
/*change body color */
.index:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/VqXNKp/e8q5g7aD1PleT2zX6lD0til54v7DqAedbEAGefJI.png);
    position: fixed;
    top: 0;
    z-index: 99999999999999999 !important;
    background-size: 250px !important;
    background-repeat: no-repeat;
    background-position: center !important;
    animation-name: logobg;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    bottom: 0;
    left: 0;
    right: 0;
}
@keyframes logobg {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    75% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(.1);
    }
}
body  ,.s-comments-product {
    background-color:  var(--second-color) !important ;

}
.s-block:first-of-type {
    margin-top: 0;
}
.s-block--fixed-banner {
  .container {
    max-width: 100%;
    padding: 0
}

}
/*  grid*/
.s-block__title {
    justify-content: center;
}
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}
.md\:grid-cols-3 {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
   
}
.banner-entry ,.two-row .banner-entry:first-child {
     height: 440px !important;
      background-color: transparent;
      padding: 0px;
      color: #fff;
 overflow: hidden;
  position: relative;
  transition: 0.5s;
   }
.one-row .banner-entry,
.two-row .banner-entry,
.one-row .banner-entry:first-child,
.two-row .banner-entry:first-child {
  grid-column: span 1;
  grid-row: span 1;
}
.sm\:gap-8 {
    gap: 5px;
}
.sm\:py-16 {
    padding-top: 0;
    padding-bottom: 4rem;
}

/*banner--fixed*/
.banner--fixed img {
       background-color: transparent;
       margin: auto;
}
/* products border  */
.s-product-card-entry {
    border: 2px solid var(--color-primary);
    
}
button.s-button-btn.s-button-outline.s-button-primary-outline {
    border: 0;
    border-radius: 10px;
    box-shadow: 1px 2px 3px #ddd;
}
button.s-button-btn.s-button-outline.s-button-primary-outline {
      background-color: var(--color-primary);
    color: var(--second-color);
}

.s-product-card-content {
    padding: 12px;
}
.s-product-card-image img {
    background: #fff;
}
/*remove the latest products*/

/*footer*/
.footer-is-light .store-footer .store-footer__inner  ,footer.store-footer {
    background-color: #E0D4CB !important;

}
/*logo*/
.store-footer a[href="https://darlafit-sa.com/"] h3 {
    width: 180px;
    height: 140px;
    background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/VqXNKp/e8q5g7aD1PleT2zX6lD0til54v7DqAedbEAGefJI.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0px;
}
.navbar-brand img {
    max-height: 4rem;
}
/* media */
@media (max-width: 767px){ 
.banner-entry ,.two-row .banner-entry:first-child {
    height:110px !important;
  }
.swiper-slide {
    width: 56%;
}
.store-footer__inner * {
    text-align: center;
    justify-content: center;
}
}






/* Center the whole title */
.s-block__title,
.s-slider-block__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Title */
.s-block__title h2,
.s-slider-block__title h2 {
    position: relative;
    margin: 0 0 55px;
    padding: 0 0 30px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
}

/* Line under the title */
.s-block__title h2::after,
.s-slider-block__title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(345px, 80vw);
    height: 1px;
    background-color: #222;
}

/* Description */
.s-block__title h2::before ,
.s-slider-block__title h2::before {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90vw;
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.5;
    font-weight: 400;
    color: #222;
    white-space: nowrap;
}
.s-block__title h2::before {
    content: "نسقي إطلالتك بضغطة واحدة";
}
section:nth-child(1 of.s-block--best-offers) h2::before {
    content: "الجمال والقوة في طقم واحد";
}
section:nth-child(2 of.s-block--best-offers) h2::before {
    content: "راحة وثبات في كل تمرينة";
} 
section:nth-child(3 of.s-block--best-offers) h2::before {
    content: "القطع المفضلة لبطلاتنا";
} 
/* Hide slider arrows */
.s-slider-block__title-left {
    display: none;
}
#mainnav ,.top-navbar{
 background-color: #E0D4CB;
    }
/* Mobile */
@media (max-width: 480px) {
.s-block__title h2, .s-slider-block__title h2 {
    font-size: 25px;
    margin-bottom: 38px;
    padding-bottom: 15px;
}

    .s-block__title h2::after,
    .s-slider-block__title h2::after {
        width: 210px;
    }

.s-block__title h2::before, .s-slider-block__title h2::before {
    font-size: 15px;
    top: calc(100% + 8px);
}
}