/*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.files.salla.network/theme/515431499/1e11538d-e02a-4acc-a139-bd1a2c75cb14.webp);

    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:  #F9FFF3 !important ;



}

/* image header*/



button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock ,button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock{

    display: none;

}



/*banner--fixed*/

.s-block--fixed-banner .container {

    max-width: 100%;

    padding: 0;

}

.banner--fixed img {

       background-color: transparent;

       margin: auto;

}

/*  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(3,minmax(0,1fr));

}

.lazy__bg {

    background-size: contain;

    background-repeat: no-repeat;

   

}

.banner-entry ,.two-row .banner-entry:first-child {

     height: 368px !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: 0;

}

.sm\:py-16 {

    padding-top: 0;

    padding-bottom: 4rem;

}

/* animation on hover */

a.banner-entry.square-photos:hover {

    transform: scale(1.1);

    transition: 1s ease;

}

.banner-entry::after ,.s-product-card-image::after  {

  content: '';

  width: 0;

  height: 0;

  background-color: rgba(255, 255, 255, 0.25);

  position: absolute;

  z-index: 2;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  opacity: 0;

}

.banner-entry:hover::after ,.s-product-card-image:hover::after{

  animation: flashing 0.6s linear;

}



@keyframes flashing {



  0%,

  50% {

    opacity: 1;

  }



  100% {

    width: 200%;

    height: 200%;

    opacity: 0;

  }

}

/* 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*/

[dir=rtl] .s-slider-block__title h2 {

      color:var(--color-primary);

}

/*footer*/

.footer-is-light .store-footer .store-footer__inner  ,footer.store-footer {

    background-color: #090020 !important;

    color: var(--second-color);

}

.copyright-text p {

    color: var(--second-color);

}

/******** footer icons ********/



 .s-social-link a{

    color: var(--white-color);

    border: 0;

    transition: all .5s;

}

.s-social-link a:hover {

    transform: translateY(-10px);

     transition: all .5s;

}



a[href*="instagram"]{



    background: -o-linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);background: linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    

    }

a[href*="tiktok"]  {

    background: -o-linear-gradient(330deg, #69c9d0, #000, #ee1d52);background: linear-gradient(120deg, #69c9d0, #000, #ee1d52);}

    a[href*="facebook"] {background: -o-linear-gradient(45deg, #3776f2, #00b1f7);background: linear-gradient(45deg, #3776f2, #00b1f7);}

    

a[href*="youtube"] {

       background-color: #c4302b;

    }

    

a[href*=snapchat] {

    background: #fffc00;

    color: black;

    text-shadow: -2px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

}



.s-contacts-icon {

    border: 0;

    text-align: center;

}



.s-contacts-icon {

    color: var(--color-primary);

    display: inline-grid;

    justify-items: center;

    margin-right: 10px;

    align-items: stretch;

    justify-content: center;

    align-content: center;

    z-index: 1;

    width: 40px;

    height: 40px;

    border-radius: 12px

    

}



.s-contacts-icon {

    position: relative;

    z-index: 1;

    background: repeating-conic-gradient(from var(--a),#fff 0%,#fff 5%,transparent 5%,transparent 40%,#fff 50% );

    animation: animate 4s linear infinite;

    border-radius: 12px

}



@property --a {

    syntax: '<angle>';

    inherits: false;

    initial-value: 0deg;

}



@keyframes animate {

    0% {

        --a: 0deg

    }



    100% {

        --a: 360deg

    }

}



.s-contacts-icon::after {

    content: "";

    position: absolute;

    inset: 2px;

    z-index: -1;

    background:var(--second-color);;

    border-radius: 12px

}

.store-footer h3 {

    background-color: white;

    color: var(--color-primary);

    border-radius: 15px;

    padding: 6px 20px;

    text-align: center !important;

}

/*logo*/

.store-footer a[href="https://apexnutrition-sa.com/"] h3 {

    width: 180px;

    height: 140px;

    background-image: url(https://cdn.files.salla.network/theme/515431499/1e11538d-e02a-4acc-a139-bd1a2c75cb14.webp);

    background-size: contain;

    background-repeat: no-repeat;

    background-position: center;

    font-size: 0px;

    background-color: transparent;
}
/* media */
@media (max-width: 767px){

.sm\:gap-8 {
    gap: .5rem;
}
.banner-entry ,.two-row .banner-entry:first-child {
   height:120px !important;

  } 
/*slides*/
.swiper-slide {
    width: 56%;
}
.store-footer__inner * {
    text-align: center;
    justify-content: center;
}
}

/*title style */
.carousel-slider .s-slider-block__title-nav {
    display: none;
}
.s-slider-block__title h2, .s-block__title h2 {
    font-size: 2.125rem;
    text-align: center;
    color: #000 !important;
}
.s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0;
    width: 100%;
}
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
    width: 100%;
}
.s-block__title .right-side h2, .s-slider-block__title h2  {
    display: flex;
    align-items: center;
    text-align: center;
    color: #1a0633 !important; /* Force color override if Salla theme blocks it */
    position: relative;
    direction: rtl;            /* Forces correct alignment for Arabic text layout */
}

/* FIX: Added missing comma between selectors */
.s-block__title .right-side h2::before, 
.s-slider-block__title h2::before,
.s-block__title .right-side h2::after, 
.s-slider-block__title h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #7cb342; /* Green color from your image */
}

.s-block__title .right-side h2::before, .s-slider-block__title h2::before {
    margin-left: 20px; /* Space between right line and text */
}

/* FIX: Removed the accidental duplicate ::after::after */
.s-block__title .right-side h2::after, .s-slider-block__title h2::after {
    margin-right: 20px; /* Space between left line and text */
}
@media (max-width:767px){
  .s-slider-block__title h2, .s-block__title h2 {
    font-size: 1.125rem;
}
}

/*main banner */
salla-slider.photos-slider .swiper-slide {
    width: 100%;
}
salla-slider.photos-slider .swiper-slide img.w-full.object-contain.rounded-md {
    width: 85%;
    margin: auto;
}
.index main#main-content {
    background-image: url(https://cdn.files.salla.network/homepage/515431499/64b8c20c-4032-4807-a912-3b4dde78f058.webp);
    background-size: 100%;
    background-repeat: no-repeat;
}