/* Header */
#mainnav,
#mainnav .the-logo {
    height: unset !important;
}
.NG-header .navbar-brand.the-logo img {
    height: 7rem;
}
.mm-ocd--open {
    background: rgb(255 255 255 / 46%);
}
@media (max-width: 576px) {
    .NG-header .navbar-brand.the-logo img {
        height: 4rem;
        max-width: 140px !important;
    }
}

/* Main Banner */
[dir=rtl] .NG-hero-section .wrapper {
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    right: unset;
    max-width: 500px;
}
[dir=rtl] .NG-hero-section .wrapper h1 {
    max-width: 700px;
}
[dir=rtl] .NG-hero-section .wrapper p {
    display: block !important;
}
[dir=rtl] .NG-hero-section .wrapper p {
    display: block !important;
}
[dir=rtl] .NG-hero-section .subtext-bottom {
    display: none !important;
}
[dir=rtl] section:nth-child(1 of .NG-hero-section) div:has( > .banner-wrapper ) > *:not([aria-label="1 / 3"]) {
    display: none !important;
}
[dir=rtl] .NG-hero-section .s-slider-thumbs {
    bottom: 5%;
}
[dir=rtl] .NG-hero-section .product-details {
    background-color: #efdec8;
}
[dir=rtl] .NG-hero-section .product-details * {
    color: #000;
}
/* 2 */
[dir=rtl] section:nth-child(2 of .NG-hero-section) .wrapper {
    right: 5%;
}
@media (max-width: 576px) {
    [dir=rtl] .NG-hero-section .banner-wrapper {
        background-position: 90%;
    }
    [dir=rtl] .NG-hero-section .wrapper {
        max-width: 200px;
        left: 2%;
        gap: 6px;
    }
    [dir=rtl] .NG-hero-section .s-slider-thumbs {
        display: none;
    }
    [dir=rtl] .NG-hero-section .wrapper h1 {
        max-width: 200px;
    }
    /* 2 */
    [dir=rtl] section:nth-child(2 of .NG-hero-section) .banner-wrapper {
        background-position: 15%;
    }
    [dir=rtl] section:nth-child(2 of .NG-hero-section) h1 {
        padding-left: 40px;
    }
}

/* cats 1 */
@media (min-width: 1024px) {
    .NG-categories .container {
        max-width: 94%;
    }
    .NG-categories .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 900px;
        margin-inline: auto;
        margin-top: 2rem;
    }
}
@media (max-width: 1024px) {
    .card-back-overlay {
        display: none;
    }
}

/* NG-marquee-banner */
section.NG-marquee-banner {
    margin-top: 2rem;
}

/* Categories List Start */
section.s-block.s-block--banners.container {
    margin-bottom: 3rem;
}
section.s-block.s-block--banners.container .grid {
    grid-template-columns: 860px 400px;
    gap: 0;
}
.two-row .banner-entry:first-child {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
a.banner-entry {
    height: 360px;
    background-color:unset;
    transition: 0.2s;
}
a.banner-entry:hover {
    transform: scale(1.04)
}
section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded{
    background-size: contain;
    background-repeat: no-repeat;
}
@media(min-width:768px) and (max-width:1200px){
    a.banner-entry{
        height: 480px;
    }
}
@media(max-width:768px){
    a.banner-entry{
        height: 310px;
    }
}
@media(max-width: 576px){
    section.s-block.s-block--banners.container .grid {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }
    a.banner-entry{
        height: 160px;
    }
    a.banner-entry:last-child{
        height: 340px;
    }
}
/* Categories List End */

/* sticky */
.sticky {
max-height: 400px;
}

/* Products */
.NG-products {
    margin-top: 3rem;
}
.products-slider h1 {
    text-align: center;
}