/* Add custom CSS styles below */ 
body.index {
    background-color: #f9fafb;
}
.top-navbar {
    background: #608e90;
}
/*body.index  header.store-header *:not(a[href*=offer] *) {
    color: #fff;
}*/
.main-menu>li>a[href*=offer] {
    color: rgba(153, 27, 27, var(--tw-text-opacity)) !important;
}
@media (min-width: 768px){
a.navbar-brand {
    scale: 1.5;
}
.index .inner.bg-inherit {
    padding-top: 1rem;
    padding-bottom: 1rem;
}}
/*First Banner */
section:first-of-type {
    margin: 0;
}
salla-slider.photos-slider .swiper-slide {
    margin:0;
    width: 100%;
    padding:0;
}
salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *) {
      padding: 0;
}
.s-slider-v-centered .s-slider-block__title-nav button.swiper-button-disabled{
      visibility: hidden;
}



/*Fixed Banner*/
.banner--fixed img{
    background-color: unset;
}

/*Product slider*/
/*long name fix*/
h3.s-product-card-content-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/* title*/
.s-slider-block__title-left{
display:none;
}
.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    background: unset;
}
.s-button-primary-outline {
    background: var(--color-primary);
    color: white;
}
.s-product-card-entry {
    border: 2px solid  #598f9269;
}
salla-add-product-button, img.s-product-card-image-cover.lazy.loaded {
    transition: 0.2s;
}
salla-add-product-button:hover, img.s-product-card-image-cover.lazy.loaded:hover {
    transform: scale(1.1);
}
@media (max-width:767px){
    .s-products-slider-card{
        width: 55%;
        }
    }

/*Category*/

.md\:grid-cols-2 {
      grid-template-columns: 1fr 1fr ;
  }
.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: span 1/span 1;
}
.lazy__bg.lazy.entered.loaded {
    background-repeat: no-repeat;
    background-size: contain;
}
.banner-entry {
    height: 450px;
    background-color: unset;
    transition: all .3s ease-in-out;
}
a.banner-entry:hover {
    transform: scale(1.1);
    transition: transform 1s ease;
}
.banner--fixed img {
    background: unset;
}
.banner-entry:nth-child(1) .lazy__bg.lazy.entered.loaded {
    background-position: left;
}
.banner-entry:nth-child(2) .lazy__bg.lazy.entered.loaded {
    background-position: right;
}
@media (max-width: 768px){
.banner-entry{
      height: 170px;
  }
}

/*footer*/
.footer-is-light .store-footer .store-footer__inner {
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.footer-is-light .store-footer .store-footer__inner *{
    border-color: #ffffff61;
}
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr;
    }
    footer * {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    salla-payments.s-payments-list.hydrated li {
    margin-left: 0;
    margin-right: 0;
}
}

/*Product page*/
salla-add-product-button:hover {
    transform: scale(1.06) !important;
}

/*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/xQAWj/uLIEpWFqVEUDGa5FHRlkrmawKErF4cmL6cdUD7Wk.jpg");
    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;
    }
}*/
/*********************/
section#best-offers-2-slider {
    transform: translateY(-80px);
    margin-top: 0px;
}