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

/* Common */
section h2 {
    text-align: center;
}
section .text-start:has(h1) {
    margin: 3rem auto 0;
}

/* Main Banner */
[dir=rtl] .NG-hero-section .wrapper {
    top: 50%;
    transform: translateY(-50%);
    margin-right: 5%;
}
[dir=rtl] .NG-hero-section .wrapper h1 {
    max-width: 500px;
}
@media (min-width: 1024px) {
    [dir=rtl] section:nth-child(2 of .NG-hero-section) h1 {
        font-size: 44px;
    }
}
@media (max-width: 1024px) {
    [dir=rtl] .NG-hero-section .wrapper h1 {
        max-width: 250px;
    }
}

/* cats 1 */
.NG-categories h1{
    text-align: center;
}
.NG-categories .swiper-wrapper {
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .NG-categories .card-inner {
        height: 220px;
    }
    .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: 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;
}