/* Add custom CSS styles below */
/* Coded with ♥ by Jozef Reda */
/* Report me if you find any bugs */
/* Variables */
:root {
  --main-color: #d7540e
}
/* Body */
#mainnav,
#mainnav .sub-menu,
.top-navbar,
body {
  background-color: white;
}
/* Header */
.s-block--photos-slider {
  margin: 0;
}
salla-slider.photos-slider .swiper-slide,
[dir="rtl"] salla-slider.photos-slider .swiper {
  padding: 0;
  margin: 0;
  width: 100%;
}
/* Title */
.s-slider-block__title {
  display: none;
}
/* Fixed Banner */
.s-block--fixed-banner {
  margin: 0;
}
.banner--fixed img {
  margin: 1rem auto;
  background-color: transparent;
}
.s-block--banners {
  margin: 0 auto;
}
/* Products */
salla-product-card,
custom-salla-product-card {
  border: 3px solid var(--main-color);
}
.s-block--features + .s-block--features,
.s-block--fixed-banner + .s-block--fixed-banner,
.s-block--banners + .s-block--banners {
  margin-top: 0 !important;
}
.one-row .banner-entry,
.two-row .banner-entry,
.one-row .banner-entry:first-child,
.two-row .banner-entry:first-child {
  height: 300px;
  grid-column: span 1;
  grid-row: span 1;
  background-color: transparent;
}
a.banner-entry.square-photos:hover {
  transform: scale(1.1);
  transition: transform 1s ease;
}
.s-block--best-offers {
  margin: 2rem auto !important;
}
.md\:grid-cols-3 {
  margin: 2rem auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.banner-entry .lazy__bg {
  background-size: contain;
  background-repeat: no-repeat;
}
.s-button-primary,
.s-button-primary-outline {
  fill: white;
  color: white;
padding:0.5rem 1rem;
  border-color: var(--main-color);
  background-color: var(--main-color);
}
/* Footer */
/*.store-footer {
    margin-top: -2rem;
}*/

/*.store-footer,
.store-footer .store-footer__inner {
  background-color: #cecece !important;
}*/

footer * {
  border-color: rgba(55, 65, 81);
}

/* Media Queries */
@media (max-width: 768px) {
  .one-row .banner-entry,
  .two-row .banner-entry,
  .one-row .banner-entry:first-child,
  .two-row .banner-entry:first-child {
    height: 100px;
  }
  .s-products-slider-card {
    width: 55%;
  }
  .md\:grid-cols-3 {
    margin: 1rem auto !important;
  }
footer *{
    text-align:center;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

.banner-entry  {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.banner-entry::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 {
  animation: flashing 0.5s linear;
}

@keyframes flashing {

  0%,
  50% {
    opacity: 1;
  }

  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* Define the animation */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Apply the animation on hover */
.s-product-card-image:hover img {
  animation: zoomIn 0.5s ease forwards;
}

/* Optional: Adjust other styles for smoother animation */
.s-product-card-image img {
  transition: transform 0.5s ease;
}


/*edit*/
footer.store-footer {
    background-color:  rgb(243, 172, 114)!important ;
}
.store-footer__inner {
    border: 2px solid #d7540e45;
    border-width: 2px 0 0 0;
    border-color: #d7540e45 !important;
}
.store-footer .store-footer__inner {
  background-color: #fff !important;
  }
.s-block__title h2 {
    text-decoration: underline;
}
.s-slider-block__title-left{
display:none;
}
.s-block__title {
    justify-content: center;
}
.s-block__title h2 {
    font-size: 2rem;
}
.s-slider-block__title{
    display: none;
}
salla-add-product-button {
    transition: 0.2s;
}
salla-add-product-button:hover {
    transform: scale(1.1);
}
@media (min-width: 1000px) {
.s-block__title h2 {
    font-size: 3rem;
}
}

/*loading logo page*/
body.index::before {
    content: "";
    top: 0;
    background: #fff url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/PjqjN/t9Ii6UTvzLy0V37cvyFRQU7cVrAGfX9MDeJox7ef.png");
    background-size: 250px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 100%;
    height: 100vh !important;
    transform: scale(0);
    position: fixed;
    left: 0;
    z-index: 9999999 !important;
    animation: scale-out-vertical 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1.3s both;
}

@keyframes scale-out-vertical {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        opacity: 1;
    }
}