/* Add custom CSS styles below */ 
.s-user-menu-trigger {
    background-color: transparent;
}
.navbar-brand img {
    max-height: 4rem;
}
/*.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 55px;
}*/
body.index {
    background-color: #fff;
}
.s-comments-product {
    background-color: transparent;
}
header.store-header {
    background: var(--color-primary);
}
.top-navbar .s-menu-topnav-list>a, a.s-contacts-topnav-link {
    color: #fff;
}

.header-btn__icon {
    border-color: rgb(16 16 16 / 30%);
}

/*First Banner */
section:first-of-type {
    margin: 0;
}
salla-slider.photos-slider .swiper-slide {
    margin:0;
    width: 100%;
    padding:0;
   border-radius: 0 !important;
}
.s-block.s-block--photos-slider img{
    border-radius: 0 !important;
} 
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;
}

/*****titles*****/
.index   .s-block__title:not(.s-block--banners .s-block__title) {
    display: none;
}
/* cats Title */
.s-block__title {
    justify-content: center;
}
.s-block__title h2 {
    font-size: 32px;
    text-align:center;
}
.s-block__title h2 {
    color: #C1B7DA;
}
.index .s-block__title h2:after {
    content: "لأن التفاصيل هي سر الأناقة الحقيقية";
    display: block;
    font-weight: 400;
    font-size: 25px;
    margin-top: 5%;
    color: #535353;
}
.index  .s-slider-block__title-left{
display:none;
}
.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding: 0;
}
@media (max-width: 768px){
.s-block__title h2, .s-slider-block__title h2  {
    font-size: 1.5rem;
}
.index .s-block__title h2:after {
     font-size: 14px;
}}


/*btn*/
.s-button-primary-outline {
    background: var(--color-primary);
    color: white;
   filter: drop-shadow(1px 2px 2px black);
}

/*Product slider*/
/*long name fix*/
h3.s-product-card-content-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
    background: unset;
}
.s-product-card-entry {
    background: none;
    border: 2px solid  var(--color-primary);
}
.s-product-card-vertical {
    border: 2px solid  var(--color-primary);
}
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);
}
.s-products-list-vertical-cards {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
.s-products-list-wrapper {
    background: none;
}
@media (max-width:767px){
.s-button-primary-outline {
    padding-right: 5px;
    padding-left: 5px;
}
    .s-products-slider-card{
        width: 55%;
        }
    .s-products-list-vertical-cards{
        grid-template-columns: 1fr 1fr;
        }
    .s-product-card-entry {
        width: 11.5rem;
       }
}
@media (max-width: 400px) {
    .s-product-card-entry {
        width: 10.5rem;
    }
}
@media (max-width: 360px) {
    .s-product-card-entry {
        width: 9.8rem;
    }
}

/*Category*/
.md\:grid-cols-3 {
      grid-template-columns: 1fr 1fr 1fr 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: 300px;
    background-color: unset;
    transition: all .3s ease-in-out;
}
a.banner-entry:hover {
    transform: scale(1.05);
    transition: transform 1s ease;
    z-index:1;
}
.banner--fixed img {
    background: unset;
}
@media (max-width: 768px){
.banner-entry{
      height: 130px;
  }
.s-block--banners+.s-block--banners {
    margin-top: 0.5rem;
}
.s-block--banners .md\:grid-cols-3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.md\:grid-cols-3 .banner-entry{
    width: 30%;
}
}

/*features*/
.s-block--features__item {
    background-color: transparent;
}

/*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;
    }
    .store-footer__inner *:not(li.s-social-link)  {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
footer .s-social-list{
    justify-content: 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/xEbep/QvM4ZWkP3OSvPbyQKoqmIFurjfyGNsrJLeAC0KLR.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;
    }
}
.index .s-block__title h2:after {
 display: none;
}