/* LOGO */
.navbar-brand img {
    max-height: 6rem;
    max-width: 140px;
}
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 70px;
}
#mainnav {
    height: unset !important;
}

body.index section:not(:first-of-type) {
    margin-block: 2.5rem;
}

/* Categories List Start */
section.s-block--banners.container .grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: unset;
    max-width: 700px;
    margin-inline: auto;
}
.square-photos-grid--featured-3>.banner-entry:first-child, .square-photos-grid--featured-5>.banner-entry:first-child {
    grid-row: unset;
    height: 100%;
    grid-column: unset;
    padding: 1.25rem;
}
.two-row .banner-entry:first-child {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
a.banner-entry {
    height: 265px;
    background-color:unset;
    transition: 0.2s;
}
a.banner-entry:hover {
    transform: scale(1.04)
}
section.s-block--banners.container https://s.salla.sa/themes/editor/customization?version_id=1462955808.lazy__bg.lazy.entered.loaded{
    background-size: contain;
    background-repeat: no-repeat;
}
@media(min-width:768px) and (max-width:1200px){
    a.banner-entry{
        height: 225px;
    }
}
@media(max-width:768px){
    a.banner-entry{
        height: 250px;
    }
}
@media(max-width: 576px){
    a.banner-entry{
        height: 150px;
    }
}
/* Categories List End */

/* products */
.s-block--best-offers .s-slider-block__title {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    /* Main Banners */
    .landing-page-first-banner .item-text {
        max-width: 160px;
        align-items: start !important;
        text-align: start !important;
    }
    .landing-page-first-banner .item-text h1 {
        font-size: 24px;
    }
    .landing-page-first-banner img {
        object-position: 80%;
    }
  
    /* AL_best_seller */
    .AL_best_seller .h-\[580px\] {
        height: 40vh !important;
    }
    
    /* footer */
    .store-footer * {
        text-align: center !important;
        margin-inline: auto;
    }
    .store-footer .container.grid {
        grid-template-columns: 1fr;
    }
}

/* Banner 3 */
@media (min-width: 1280px) {
    section:nth-child(3 of .landing-page-first-banner) .s-slider-container {
        max-width: 1280px;
    }
    section:nth-child(3 of .landing-page-first-banner) .item-text {
      margin-left: 5%;
    }
}

/* Hide pop up */
div:has(.swal2-title) {
  display: none;
}
section.s-block.s-block--fixed-banner .container {
    max-width: 100%;
    padding: 0;
}
.index header.store-header {
    position: relative;
}