/* 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: 5%;
    right: unset;
    max-width: 500px;
}
[dir=rtl] .NG-hero-section .banner-wrapper[aria-label="3 / 3"] .wrapper {
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    right: unset;
    max-width: 500px;
}
[dir=rtl] .NG-hero-section .wrapper h1 {
    max-width: 700px;
  font-size: 40px;
 
}
[dir=rtl] .NG-hero-section .wrapper p {
    display: block !important;
}
[dir=rtl] .NG-hero-section .subtext-bottom {
    display: none !important;
}



@media (max-width: 576px) {
    [dir=rtl] .NG-hero-section .banner-wrapper {
        background-position: 90%;
    }
    [dir=rtl] .NG-hero-section .wrapper {
        max-width: 200px;
        gap: 0;
        right: 2%;
    }
    [dir=rtl] .NG-hero-section .banner-wrapper[aria-label="3 / 3"] .wrapper {
        left: 2%;
        right: unset;
        max-width: 170px;
    }
    [dir=rtl] .NG-hero-section .wrapper h1 {
        font-size: 22px;
    }
   [dir=rtl] .NG-hero-section .wrapper p {
    font-size: 11px;
    line-height: 19px;
}

    /* pros-grid */
    .pros-grid > div,
    .pros-grid > div * {
        align-items: center;
        text-align: center;
    }
    .pros-grid > div:last-child {
        grid-column: span 2;
        margin-inline: auto;
    }
}

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

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

/* Products */
.NG-products {
    margin-top: 3rem;
}
.s-product-card-vertical .s-product-card-image {
    max-height: 440px;
    min-height: 44px;
}
.sticky {
    max-height: 400px;
}

/* GL-promotional-banner */
@media (max-width: 1023px) {
    section.GL-promotional-banner .img-height {
        height: 165px;
    }
    section.GL-promotional-banner .img-three > a {
        height: 320px;
    }
}

/* footer */
.s-trust-badges-content p,
.s-trust-badges-content b {
    color: #fff;
}
.store-footer p strong {
    color: #fff
}

/* إظهار محتوى العنصر المحدد في الفوتر */
footer .flex.flex-wrap.justify-start.items-center.gap-4 {
    display: flex !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 30px !important;
    overflow: visible !important;
}