/* 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;
    }
}

/* Main Banner */
[dir=rtl] .NG-hero-section .wrapper {
    top: 50%;
    transform: translateY(-50%);
    right: unset;
    left: 7%;
    width: 500px;
}
[dir=rtl] .NG-hero-section .wrapper h1 {
    max-width: 500px;
}
@media (max-width: 768px) {
    [dir=rtl] .NG-hero-section .banner-wrapper {
        background-position: 90%;
    }
    [dir=rtl] .NG-hero-section .wrapper {
        left: 1%;
        width: 240px;
        gap: 2px;
    }
    [dir=rtl] .NG-hero-section .wrapper h1 {
        max-width: 240px;
    }
    [dir=rtl] .NG-hero-section p {
        display: block !important;
        font-size: 14px;
        font-weight: 600;
    }
    [dir=rtl] .NG-hero-section .subtext-bottom {
        display: none !important;
    }
}

/* cats 1 */
.NG-categories h1{
    text-align: center;
}
.NG-categories .grid {
    margin-top: 2rem;
}
.NG-categories .grid > div:first-child {
    grid-column: 2/3;
}
@media (max-width: 768px) {
    .NG-categories .grid {
        grid-template-columns: 1fr 1fr;
    }
    .NG-categories .grid > div:first-child {
        grid-column: unset;
    }
    .NG-categories .card-inner {
        height: 200px;
    }
    .card-back-overlay {
        display: none;
    }
}

/* GL-promotional */
.img-height:has(img[ src *= '987c-521097441a94_622x52' ]) {
    justify-content: end;
}
@media (max-width: 1023px) {
    .img-height:has(img[ src *= '987c-521097441a94_622x52' ]) {
        height: 300px;
    }
    .GL-promotional-banner-4 .img-height {
        height: 160px;
    }
}

/* 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: repeat(2,minmax(0,1fr));
}
.two-row .banner-entry:first-child {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}
a.banner-entry {
    height: 520px;
    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: 300px;
    }
}
/* Categories List End */

/* Products */
.NG-products {
    margin-top: 3rem;
}

/* footer */
div:has( > .social-gallery ) {
    display: none;
}