@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
}
* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}
:root{
    --second-color:#fbe6e1;
}
.top-navbar {
    display: flex;
    min-height: 48px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: linear-gradient(180deg, #143155, #fbe7e2);
}
.offer-bar-preview6503 {
    z-index: 999999;
    /* overflow: hidden; */
    transition: all 0.4s;
    padding: 0.5rem 0;
    justify-content: center;
    background-color: rgb(20 49 85);
}
/*change body color */
body.index ,.s-comments-product{
    background-color:  var(--second-color) !important ;
}
/* image header*/
[dir=rtl] salla-slider.photos-slider .swiper{
    padding: 0 !important;
}
.s-block salla-slider.photos-slider .swiper-slide {
    margin: 0;
    width: 100%;
}
 .carousel-slider .swiper-wrapper>div:first-of-type {
    padding: 0;
}
.s-block:first-of-type {
    margin-top: 0;
}
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*/
.banner--fixed img {
       background-color: transparent;
       margin: auto;
}
/*  grid*/
.md\:grid-cols-3 {
    grid-template-columns: repeat(6,minmax(0,1fr));
}
.one-row.md\:grid-cols-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
   
}
.one-row .banner-entry ,.two-row .banner-entry:first-child {
     height: 200px ;
   }
.banner-entry ,.two-row .banner-entry:first-child {
     height: 250px ;
      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);
    
}
/*remove the latest products*/
[dir=rtl] .s-slider-block__title h2 {
       display: none;
}
/*footer*/
.footer-is-light .store-footer .store-footer__inner  ,footer.store-footer {
    background: linear-gradient(180deg, #fbe6e1, #213e5e);
}
.copyright-text p {
    color: var(--second-color);
}
/* media */
@media (max-width: 767px){
/* menu */
.grid.one-row.md\:grid-cols-2.grid-flow-row.gap-3.sm\:gap-8 {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.sm\:gap-8 {
    gap: .5rem;
}
.banner-entry ,.two-row .banner-entry:first-child {
    height: 75px !important;
  } 
/*slides*/
.swiper-slide {
    width: 56%;
}
}

/* Style for the loading container */
#loading-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8); /* Transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure the loading container is on top of other elements */
}

/* Style for the logo 
#logo {
  width: 100px; /* Adjust the width and height as needed */
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  animation:
    spin 2s linear infinite,
    pulse 2s ease-in-out infinite; /* Apply spin and pulse animations */
}
*/
/* CSS for fading out animation */
@keyframes fadeOut {
  0% {
    opacity: 0.4;
    scale: 0.1;
  }
  100% {
    opacity: 1;
    scale: 0.3;
  }
}

/* Apply fading out animation to logo */
#logo {
  width: 400px; /* Set width and height based on the image dimensions */
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: fadeOut 1s ease forwards; /* Fade out animation */
}
.bg-inherit {
    background: linear-gradient(180deg, #fbe6e1, transparent);
}
.s-user-menu-trigger {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    cursor: pointer;
    align-items: center;
    border-top-right-radius: 0.375rem;
    border-top-left-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color: transparent;
    padding-right: 0.625rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}