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

/* 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%;
    max-width: 600px;
    margin: 0;
    right: 50%;
    transform: translate(50%, -50%);
    justify-content: center;
    align-items: center;
}
[dir=rtl] .NG-hero-section .wrapper h1 {
    max-width: 600px;
}
section.NG-hero-section .s-slider-thumbs {
    display: none;
}
/* Heading IMG */
.NG-hero-section .swiper.s-slider-container [aria-label="1 / 2"] .block-title {
    position: relative;
}
.NG-hero-section .swiper.s-slider-container [aria-label="1 / 2"] .block-title::after {
    content: "";
    display: block;
    background-image: url('https://github.com/wpAzzrk/Moaaz2.0/blob/main/imgs/%D8%AA%D9%83%D9%86%D9%80%D9%80%D9%80%D9%88%D9%84%D9%88%D8%AC%D9%8A%D8%A7%20%D8%AA%D9%83%D9%85%D9%84%20%D8%A3%D8%B3%D9%84%D9%88%D8%A8%20%D8%AD%D9%8A%D9%80%D9%80%D9%80%D9%80%D9%80%D9%80%D9%80%D9%80%D9%80%D8%A7%D8%AA%D9%83..png?raw=true');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 600px;
    height: 185px;
}
@media (min-width: 1024px) {
    .NG-hero-section .swiper.s-slider-container [aria-label="1 / 2"] p {
        font-size: 24px;
    }
}
@media (max-width: 1024px) {
    .NG-hero-section .swiper.s-slider-container [aria-label="1 / 2"] .block-title::after {
        width: 240px;
        height: 20vh;
    }
}

/* cats 1 */
.NG-categories h1,
.NG-categories p {
    text-align: center;
}
.NG-categories [data-sal="fade"] p {
    max-width: 600px;
    margin-inline: auto;
}
.NG-categories .grid {
    margin-top: 2rem;
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
}
.NG-categories .swiper-wrapper {
    justify-content: center;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .NG-categories .card {
        width: 300px !important;
        margin: 0 !important;
    }
}
@media (max-width: 1024px) {
    .NG-categories .card-inner {
        height: 280px;
    }
    .NG-categories .card-inner img {
        object-fit: contain;
    }
    .NG-categories .card-back-overlay {
        display: none;
    }
}
@media (max-width: 576px) {
    .NG-categories .grid {
        gap: 0.6rem;
    }
    .NG-categories .card-inner {
        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: 240px;
    background-color:unset;
    transition: 0.2s;
}
a.banner-entry:first-child {
    height: 100%;
    grid-row: 1/3;
}
a.banner-entry:last-child {
    grid-column: 2/3;
}
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: 180px;
    }
}
@media(max-width:768px){
    section.s-block.s-block--banners.container .grid {
        gap: 0.5rem;
    }
    a.banner-entry{
        height: 140px;
    }
}
@media(max-width: 576px){
    section.s-block.s-block--banners.container .grid {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }
    a.banner-entry{
        height: 145px !important;
        grid-column: unset !important;
    }
    a.banner-entry:first-child {
        height: 300px !important;
        grid-column: unset !important;
    }
}
/* Categories List End */

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

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