/* Add custom CSS styles below */ 
.s-user-menu-trigger {
    background-color: transparent;
}
.navbar-brand img {
    max-height: 5rem;
}
.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;
}








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

/*****titles*****/
/* cats Title */
.index .s-block__title,  .index .s-slider-block__title, .index .s-reviews-header, .index  .s-reviews-header-wrapper  {
    justify-content: center;
}
.index .s-block__title h2 , .index  .s-slider-block__title h2 , .index .s-reviews-header {
    font-size: 2.5rem;
    text-align:center;
}
.index .s-reviews-header   {
    font-size: 2rem;
}
.index .s-block__title h2:after {
    content: "لتناسب جميع الاذواق";
    display: block;
    font-weight: 400;
    font-size: 20px;
    margin-top: 3%;
    color: #828282;
}
/*slider*/
.index  section:nth-child( 1 of .s-block--best-offers) h2:after {
    content: "هنا تشوفون القطع اللي ما تمرّ إلا وتلفت النظر";
    display: block;
    font-weight: 400;
    font-size: 20px;
    margin-top: 3%;
    color: #000;
}
.index .s-slider-block__title-right:after, .index .s-block__title .right-side:after {
    content: "";
    background: url("https://cdn.files.salla.network/homepage/824821648/256b9b17-1ee5-4dd9-a5d3-41315d50d325.webp");
    display: block;
    background-size: contain;
    height: 0.8rem;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 1rem;
}
.index .s-slider-block__title-right {
    padding-left: 0 !important;
}
.index  .s-slider-block__title-left {
display:none;
}
.index  section:nth-child( 2 of .s-block--best-offers) .s-slider-block__title,
.index  section:nth-child( 3 of .s-block--best-offers) .s-slider-block__title{
display:none;
}
.index .s-slider-block__title h2:where([dir=rtl],[dir=rtl] *), .index .s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding: 0;
}
.s-slider-block__title-right, .s-block__title h2 , .index  .s-reviews-header {
    color: #01353B;
}
@media (max-width: 768px){
.index .s-block__title h2, .index .s-slider-block__title h2 , .index .s-reviews-header {
    font-size: 1.5rem;
}
.index .s-block__title h2:after, .index .s-block--best-offers h2:after {
     font-size: 14px !important;
}}

/*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;
  }
.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 {
    background-color: unset;
    transition: all .3s ease-in-out;
}
section:nth-child( 1 of .s-block--banners) .banner-entry {
    height: 300px;
}
section:nth-child( 2 of .s-block--banners) .banner-entry {
    height: 600px;
}
section:nth-child( 3 of .s-block--banners) .banner-entry {
    height: 300px;
}
.index .s-block--photos-slider+.s-block--banners{
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}
a.banner-entry:hover {
    transform: scale(1.05);
    transition: transform 1s ease;
    z-index:1;
}
.banner--fixed img {
    background: unset;
}
section:nth-child( 3 of .s-block.s-block--banners) .banner-entry:nth-child(1) .lazy__bg.lazy.entered.loaded {
    background-position: left;
}
section:nth-child( 3 of .s-block.s-block--banners) .banner-entry:nth-child(3) .lazy__bg.lazy.entered.loaded {
    background-position: right;
}
@media (max-width: 768px){
.banner-entry{
      height: 92px;
  }
section:nth-child( 1 of .s-block--banners) .banner-entry {
    height: 180px;
}
section:nth-child( 2 of .s-block--banners) .banner-entry {
    height: 200px;
}
  section:nth-child( 3 of .s-block--banners) .banner-entry {
    height: 180px;
}
}
@media (min-width: 950px){
section:nth-child( 1 of .s-block--banners),section:nth-child( 3 of .s-block--banners) {
    max-width: 950px;
}
  section:nth-child( 2 of .s-block--banners) {
    max-width: 1050px;
}
}

/*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.files.salla.network/homepage/824821648/48702a21-4d8a-492f-b9fc-16af97472401.webp");
    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;
    }
}