/*
 * Saudi Ceramics — AR cross-page responsive overrides
 * Loaded globally after page CSS (layout order 220).
 */

@media (max-width: 1439px) {
    
    .cms-index-index .gwl-hbc-section.gwl-hbc-section--promos, 
    .cms-index-index .gwl-hbc-section--lightning-on, 
    .cms-index-index .gwl-hbc-section--customers-love-us, 
    .cms-index-index .gwl-hbc-section--locate-store, 
    .cms-index-index .gwl-hbc-section--visualize-tiles {
        min-width: auto;
        margin-left: 0;
    }
}

@media (max-width: 1400px) {
    .page-top .nav-sections .navpro #navpro-topnav.navpro-menu, .page-top .nav-sections #navpro-topnav.navpro-nowrap, .navpro.navpro #navpro-topnav.navpro-menu {
        gap: 30px !important;
    }
    body.gwl-plp-figma.catalog-category-view .page-top > .breadcrumbs, body.gwl-plp-figma.catalog-category-view .page-wrapper > .breadcrumbs {
        padding: 17px 40px !important;
    }
    .page-products .page-main, body.gwl-plp-figma .page-main, body.catalog-category-view .page-main, body.catalogsearch-result-index .page-main {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .cms-index-index .block-categories > .container, .cms-index-index .gwl-hbc-section--customers-love-us > .container, 
    .cms-index-index .gwl-customers-love-us > .container, .cms-index-index .gwl-visualize-tiles > .element {
        padding-left: 40px;
        padding-right: 40px;
    }
    .cms-index-index .gwl-hbc-section.gwl-hbc-section--promos, 
    .cms-index-index .gwl-hbc-section--lightning-on, 
    .cms-index-index .gwl-hbc-section--customers-love-us, 
    .cms-index-index .gwl-hbc-section--locate-store, 
    .cms-index-index .gwl-hbc-section--visualize-tiles {
        margin-left: -40px;
        margin-right: -40px;
    }
      .gwl-hero-features__inner {
        padding-left: 40px!important;
        padding-right: 40px!important;
    }

}

@media (max-width: 1280px) {
    .gwl-header-search {
        flex: 1 1 200px;
        max-width: 200px;
        min-width: 200px;
        margin-right: 0px;
    }
    .page-header .header.content {
        gap: 15px !important;
    }
    .page-top .nav-sections .navpro #navpro-topnav.navpro-menu, .page-top .nav-sections #navpro-topnav.navpro-nowrap, .navpro.navpro #navpro-topnav.navpro-menu {
        gap: 15px !important;
    }
    body.gwl-plp-figma .gwl-plp-subcats__list {
        grid-template-columns: repeat(4, minmax(0, calc((100% - 0px) / 4)));
    }
    .page-products .gwl-plp-products.products-grid .product-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.gwl-plp-figma .gwl-plp-subcats__link {
        padding: 0px 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .breadcrumbs {
        padding: 16px 40px;
    }
     body.gwl-pdp-figma.catalog-product-view .page-main {
        padding-left: 40px;
        padding-right: 40px;
    }
    .cms-index-index .block-categories > .container,
    .cms-index-index .gwl-hbc-section--customers-love-us > .container,
    .cms-index-index .gwl-customers-love-us > .container,
    .cms-index-index .gwl-visualize-tiles > .element {
        padding-left: 40px;
        padding-right: 40px;
    }
    .cms-index-index .jumbotron.jumbotron-image .swiper-slide > img, 
    .cms-index-index .jumbotron.jumbotron-image .easyslide-link img {
        height: 440px !important;
    }
        .cms-index-index .gwl-customers-love__heading {
        padding: 50px 40px 32px 40px;
    }
    .cms-index-index .gwl-customers-love__quote-wrap {
        padding: 0px 40px 50px;
    }
    .cms-index-index .gwl-customers-love-slide__message p {
        font-size: 20px;
        line-height: 24px;
    }
    .cms-index-index .gwl-customers-love-slide__quote {
        justify-content: flex-start;
        gap: 20px;
    }
    .cms-index-index .gwl-hbc-section--customers-love-us .gwl-customers-love__quote-wrap .gwl-sbc-nav {
        left: 40px;
        right: 40px;
        bottom: 24px;
    }
    .cms-index-index .gwl-customers-love-slide__product-meta, 
    .cms-index-index .gwl-hbc-locate__copy {
        padding-right: 40px;
    }
    .cms-index-index .gwl-hbc-visualize {
        padding: 50px 40px 50px;
    }
    .page-footer > .footer.content, .page-footer .footer.content {
        padding: 64px 40px 32px !important;
     }
    

}

@media (max-width: 991px) {
    .page-footer .footer.content {
        padding: 48px 16px 20px !important;
    }
    .page-header .header.content {
        padding: 16px !important;
        gap: 12px 16px !important;
    }  
    .gwl-header-search {
        order: 4;
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    } 
    .gwl-header-actions {
        order: 3;
        margin-inline-start: auto;
        margin-right: auto;
        gap: 20px;
        height: 20px;
        flex: 0 0 auto;
    }
    body.gwl-plp-figma.catalog-category-view .page-top > .breadcrumbs, body.gwl-plp-figma.catalog-category-view .page-wrapper > .breadcrumbs {
        padding: 17px 16px !important;
    }
    .page-products .page-main, body.gwl-plp-figma .page-main, body.catalog-category-view .page-main, body.catalogsearch-result-index .page-main {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    body.gwl-plp-figma .gwl-plp-subcats__link {
        padding: 0px 20px;
        min-height: auto;
    }
    body.gwl-plp-figma .gwl-plp-subcats__icon {
        min-height: 100px;
    }
    body.gwl-pdp-figma.catalog-product-view .breadcrumbs {
        padding: 16px 16px;
    }
    body.gwl-pdp-figma.catalog-product-view .page-main {
        padding-left: 16px;
        padding-right: 16px;
    }
     .cms-index-index .gwl-hbc-section.gwl-hbc-section--promos, 
    .cms-index-index .gwl-hbc-section--lightning-on, 
    .cms-index-index .gwl-hbc-section--customers-love-us, 
    .cms-index-index .gwl-hbc-section--locate-store, 
    .cms-index-index .gwl-hbc-section--visualize-tiles {
        margin-left: -16px;
        margin-right: -16px;
    }
      .cms-index-index .jumbotron.jumbotron-image .swiper-slide > img, 
    .cms-index-index .jumbotron.jumbotron-image .easyslide-link img {
        height: 330px !important;
    }
        .gwl-hero-features__inner {
        padding-left: 16px!important;
        padding-right: 16px!important;
    }
        .cms-index-index .block-categories > .container,
    .cms-index-index .gwl-hbc-section--customers-love-us > .container,
    .cms-index-index .gwl-customers-love-us > .container,
    .cms-index-index .gwl-visualize-tiles > .element {
          padding-left: 16px;
        padding-right: 16px;
    }
    .cms-index-index .gwl-hbc-locate .gwl-hbc-locate__copy {
        padding: 40px 40px;
    }
    .cms-index-index .gwl-hbc-visualize__img {
        max-width: 100%;
    }
    .cms-index-index .gwl-customers-love__product-pane {
        aspect-ratio: auto;
        max-height: 320px !important;
    }
    .cms-index-index .gwl-customers-love__heading {
        min-height: auto;
       aspect-ratio: auto;
   }
   .cms-index-index .gwl-hbc-visualize {
         aspect-ratio: auto;
   }
   .cms-index-index .gwl-customers-love__quote-slider .swiper-slide {
        min-height: 230px;
       aspect-ratio: auto;
   }
}
@media (max-width: 767px) {
    .gwl-footer__top {
        grid-template-columns: 1fr;
    }
    .gwl-footer__logo img {
        width: 134px;
    }
    .gwl-footer__contact {
        gap: 16px;
    }
    .gwl-footer__contact {
        font-size: 14px;
        line-height: 14px;
    }
    .gwl-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
        width: 100%;
    }
    .gwl-footer__links a {
        font-size: 14px;
        line-height: 14px;
    }
    .gwl-footer__mid {
        margin-top: 63px;
        padding-bottom: 35px;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    .gwl-footer__bottom {
        padding: 44px 0 0px;
        gap: 24px;
    }
    html[lang="ar"] .gwl-footer__copyright, html[lang="ar"] .gwl-footer__copyright span, 
    .rtl .gwl-footer__copyright, .rtl .gwl-footer__copyright span {
        text-align: center;
    }
    .gwl-footer__copyright, .gwl-footer__copyright span {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #8C8989;
        text-align: center !important;
    }
    .page-header .header.content {
        padding: 12px 16px !important;
    }
    body.gwl-plp-figma.catalog-category-view .page-top > .breadcrumbs, 
    body.gwl-plp-figma.catalog-category-view .page-wrapper > .breadcrumbs {
        padding: 16px 16px !important;
    }
    body.gwl-plp-figma .gwl-plp-subcats__list {
        grid-template-columns: repeat(3, minmax(0, calc((100% - 0px) / 3)));
    }
    body.gwl-plp-figma .gwl-plp-subcats__link {
        min-height: 90px;
        gap: 8px;
    }
    body.gwl-plp-figma .gwl-plp-subcats__icon {
        min-height: 40px;
    }
    body.gwl-plp-figma .gwl-plp-subcats__label {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px !important;
    }
    body.gwl-plp-figma .gwl-plp-subcats {
        margin: 0px 0 24px;
    }
    .page-products .gwl-plp-products.products-grid .product-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }
    .page-products .gwl-plp-products .gwl-hbc-product-card__badges {
        top: 8px;
        left: 8px;
    }
    body.gwl-plp-figma.page-products .gwl-plp-products .gwl-hbc-badge {
        font-size: 12px !important;
        padding: 4px 8px !important;
        font-weight: 500;
        line-height: 18px;
    }
    body.gwl-plp-figma.page-products .gwl-plp-products .gwl-plp-product-card__body {
        padding-top: 12px !important;
        line-height: 16px !important;
    }
    body.gwl-plp-figma.page-products .gwl-plp-products .gwl-plp-product-card__size {
        margin: 0px 0 16px !important;
    }
    body.gwl-plp-figma.page-products .gwl-plp-products .gwl-hbc-price, body.gwl-plp-figma.page-products .gwl-plp-products .gwl-hbc-price .price, body.gwl-plp-figma.page-products .gwl-plp-products .gwl-hbc-price .symbol {
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 20px !important;
    }
    body.gwl-plp-figma .products.wrapper ~ .toolbar.toolbar-products, 
    body.gwl-plp-figma .gwl-plp-toolbar--bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        margin: 46px 0 20px !important;
        padding-top: 0 !important;
    }
    body.gwl-plp-figma .products.wrapper ~ .toolbar.toolbar-products .limiter, 
    body.gwl-plp-figma .gwl-plp-toolbar--bottom .limiter, 
    body.gwl-plp-figma .products.wrapper ~ .toolbar.toolbar-products .field.limiter, 
    body.gwl-plp-figma .gwl-plp-toolbar--bottom .field.limiter {
        display: none!important;
    }
    /* GWL PLP Product Listing Changes — Figma mobile filter bar: sort on its own
       line, then ONE row of quick filter chips ending in "الفلاتر". The chips used
       to wrap over three lines because the sort control shares the row and leaves
       them ~230px. Chips past the third are dropped from the bar rather than
       clipped/scrolled: every filter is still reachable in the Filters panel, and
       #narrow-by-list must keep overflow visible or the chips' own dropdowns
       (position: absolute inside each chip) get cut off. */
    body.gwl-plp-figma .gwl-plp-controls .gwl-plp-controls__row {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 12px;
    }
    /* The AR theme lays the sorter out as a full-width strip with a rule above it
       (saudiceramics-ar-plp.css); on its own line it only needs to be a compact
       control pinned to the row end, same as EN. */
    body.gwl-plp-figma .gwl-plp-controls__sort {
        order: -1;
        flex: 0 0 auto;
        width: auto;
        min-height: 24px;
        padding: 0;
        border-top: 0;
        margin-inline-start: auto !important;
    }
    /* The AR theme absolutely positions .toolbar-sorter, so the box around it
       collapses to zero and the control spills past the viewport edge as soon as
       it stops being a full-width strip. Put it back in flow so the box sizes
       to it. */
    body.gwl-plp-figma .gwl-plp-controls__sort .toolbar-sorter {
        position: static;
        width: auto;
    }
    /* Argento's overflow-toggler re-parents the chips into a .wrapper as soon as
       one of them is hidden (the same behaviour more-filters.phtml documents for
       its own hidden Price chip), so the row has to be laid out on whichever of
       the two ends up holding them. */
    body.gwl-plp-figma .gwl-plp-controls #narrow-by-list, body.gwl-plp-figma .gwl-plp-controls .filter-options .wrapper {
        width: 100%;
        flex: 1 1 100%;
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }
    body.gwl-plp-figma .gwl-plp-controls #narrow-by-list .filter-options-item:nth-child(n+4):not(.more-filters-tab-wrapper) {
        display: none !important;
    }
    /* Arabic attribute labels (العلامة التجارية, المُصنّع, ...) must not push the
       row past the viewport now that it no longer wraps. */
    body.gwl-plp-figma .gwl-plp-controls #narrow-by-list .filter-options-item:not(.more-filters-tab-wrapper) {
        min-width: 0;
    }
    body.gwl-plp-figma .gwl-plp-controls #narrow-by-list .filter-options-item:not(.more-filters-tab-wrapper) .filter-options-title {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* "الفلاتر" sits at the end of the bar (left edge in RTL) as a plain link,
       not a pill. Selectors carry the extra .page-products class because the
       rules being overridden live in more-filters.phtml's inline <style>, which
       the browser reads after every stylesheet in <head> — specificity is the
       only way past them. Same reason the short label is a ::after swap rather
       than new markup. */
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab-wrapper {
        margin-inline-start: auto !important;
    }
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab,
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab.has-active-filters {
        background: transparent !important;
        border-color: transparent !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        min-height: 0 !important;
    }
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab span,
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab.has-active-filters span {
        font-size: 0 !important;
        color: #160B8B !important;
    }
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab span::after {
        content: "الفلاتر";
        font-size: 13px;
        line-height: 18px;
    }
    body.gwl-plp-figma.page-products .gwl-plp-controls .more-filters-tab.has-active-filters span::after {
        font-weight: 700;
        text-decoration: underline;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-gallery-dots {
        bottom: 12px;
    }
    body.gwl-pdp-figma.catalog-product-view .product.media .fotorama__nav-wrap {
        display: none !important;
    }
    body.gwl-pdp-figma.catalog-product-view .product.media, 
    body.gwl-pdp-figma.catalog-product-view .product-info-main{
        margin-bottom: 24px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main .stock.available {
        font-size: 12px;
        line-height: 18px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main .page-title {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main .action.towishlist {
        width: 32px;
        height: 32px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-buybox-rating .gwl-hbc-product-card__rating-text {
        font-size: 14px;
        line-height: 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-buybox-rating {
        margin: 2px 0 16px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main .action.tocompare {
        margin: 0 0 16px;
        font-size: 14px;
        line-height: 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-price {
        margin: 0 0 16px;
    } 
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-options {
        margin: 0 0 16px;
    }
    .product-info-main .box-tocart .field.qty .control {
        min-width: 131px !important;
        max-width: 131px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-specs__toggle {
        font-size: 16px;
        padding: 24px 0 16px;
        line-height: 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-specs__grid {
        grid-template-columns: 1fr 1fr;
        margin: 0 0 16px 0px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-trust__icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-trust__text strong {
        font-size: 14px;
        line-height: 20px;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-trust__text span {
        font-size: 12px;
        line-height: 16px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main > .block.related .related-available .product-item-name {
        font-size: 16px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main > .block.related .related-available .price-box, 
    body.gwl-pdp-figma.catalog-product-view .product-info-main > .block.related .related-available .price-box span {
        font-size: 16px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main > .block.related .products-grid .product-items {
        gap: 24px;
    }
    body.gwl-pdp-figma.catalog-product-view .product-info-main > .gwl-pdp-below--tabs {
        margin-bottom: 0;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether {
        padding: 30px 0 30px !important;
        margin-top: 0px!important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .gwl-pdp-ymal-head, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .block-title, body.gwl-pdp-figma.catalog-product-view .soldtogether-swiper .block-title {
        margin: 0 0 24px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .gwl-pdp-ymal-title, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .block-title .gwl-pdp-ymal-title {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .product-item-details {
        padding: 12px 0 0px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body .product-item-name, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body .product-item-name > a, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body .product-item-link, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body strong.product-item-name, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__body strong.product.name {
        font-size: 16px !important;
        min-height: auto;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-plp-product-card__size, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-hbc-product-card__size {
        margin: 0px 0 16px !important;
        font-size: 12px !important;
        line-height: 16px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-hbc-product-card__price {
        margin: 0px 0 16px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-hbc-price, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing .gwl-hbc-price .price {
        font-size: 16px !important;
    }
    body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .swiper-button-prev, body.gwl-pdp-figma.catalog-product-view .gwl-pdp-product-listing--soldtogether .swiper-button-next {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px;
    }
    .gwl-hero-features__icon {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }
    .cms-index-index .block-categories > .container,
    .cms-index-index .gwl-hbc-section--customers-love-us > .container,
    .cms-index-index .gwl-customers-love-us > .container,
    .cms-index-index .gwl-visualize-tiles > .element {
        padding-left: 16px;
        padding-right: 16px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-products-title {
        margin: 0 0 16px;
        font-size: 32px;
        line-height: 40px;
    }
     .cms-index-index .jumbotron.jumbotron-image .swiper-slide > img, 
    .cms-index-index .jumbotron.jumbotron-image .easyslide-link img {
        height: 230px !important;
    }
    .cms-index-index .jumbotron.jumbotron-image .swiper-button-next {
        bottom: 13px !important; 
    }
    .cms-index-index .jumbotron.jumbotron-image .swiper-button-prev {
        bottom: 13px !important;
    }
    .cms-index-index .jumbotron.jumbotron-image .swiper-pagination {
        bottom: 31px !important;
    }
    .cms-index-index .block-categories.jumbotron, .cms-index-index .jumbotron.block-categories {
        padding: 48px 0 0;
    }
    .cms-index-index .block-categories > .container > .block-title strong, 
    .cms-index-index .block-categories > .container > .block-title [role="heading"] {
        font-size: 32px;
        line-height: 40px;
    }
    .cms-index-index .block-categories > .container > .block-title {
        margin: 0 0 24px !important;
        padding: 0 0px 0 0 !important;
        max-width: 100%;
    }
    .cms-index-index .block-categories .easyslide-wrapper {
        position: relative;
        padding-bottom: 24px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-products-header {
        margin: 0 0 24px;
        position: relative;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-tab {
        padding: 12px 16px;
        font-size: 12px;
        line-height: 12px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-tab {
        padding: 12px 16px;
        font-size: 12px;
        line-height: 12px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__media .product-image-container {
        max-height: 180px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__media .product-image-photo {
        max-height: 180px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__badges {
        top: 9px !important;
        left: 9px !important;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-badge--new {
        font-size: 12px !important;
        line-height: 18px;
        padding: 4px 8px !important;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__media {
        margin: 0 0 12px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__body .product-item-name, 
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__body .product-item-link {
        font-size: 16px !important;
         -webkit-line-clamp: 1;
        min-height: auto;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__size {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 16px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-product-card__price {
        font-size: 16px;
        line-height: 20px;
         margin-bottom: 16px;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-price {
        font-size: 16px;
        line-height: 20px;
    }
    .cms-index-index .block-categories .gwl-sbc-nav, .cms-index-index .gwl-hbc-section .gwl-sbc-nav {
        gap: 24px;
        min-height: 32px;
        margin: 24px 0 0;
    }
    .cms-index-index .block-categories .gwl-sbc-prev, .cms-index-index .block-categories .gwl-sbc-next, .cms-index-index .gwl-hbc-section .gwl-sbc-prev, .cms-index-index .gwl-hbc-section .gwl-sbc-next {
        flex: 0 0 32px;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
    }
    .cms-index-index .gwl-hbc-section--products, 
    .cms-index-index .gwl-hbc-section {
        padding: 24px 0 24px;
    }
    .cms-index-index div.gwl-hbc-section.gwl-hbc-section--cards > .container > .block-title {
        margin: 0 0 24px !important; 
        align-items: flex-end !important;
        max-width: 100%;
    }
    .cms-index-index .gwl-hbc-section > .container > .block-title strong, 
    .cms-index-index .gwl-hbc-section > .container > .block-title [role="heading"] {
         font-size: 32px;
        line-height: 40px;
        padding-left: 0px !important;
    }
    .cms-index-index .gwl-hbc-section--products .gwl-hbc-view-all-btn {
        padding: 11px 16px;
        font-size: 14px;
        line-height: 14px;
    }
    .cms-index-index .gwl-hbc-section--promos .gwl-hbc-promos {
        gap: 12px !important;
    }
    .cms-index-index .gwl-hbc-lightning-hero__img {
        min-height: 457px;
    }
    .cms-index-index .gwl-hbc-lightning-deals-heading {
        gap: 0;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-discounts-header {
        margin: 0 0 24px;
        gap: 8px;
    }
    .cms-index-index .gwl-customers-love-slide__product-meta, .cms-index-index .gwl-hbc-locate__copy {
        padding-right: 16px;
        padding-bottom: 24px;
    }
    .cms-index-index .gwl-customers-love-slide__product-meta .gwl-hbc-product-card__rating {
        margin: 0 0 12px;
    }
    .cms-index-index .gwl-customers-love-slide__product-meta .gwl-hbc-product-card__stars {
        font-size: 12px;
    }
    .cms-index-index .gwl-customers-love-slide__product-meta .gwl-hbc-product-card__rating-text {
        font-size: 12px;
        line-height: 12px;
    }
    .cms-index-index .gwl-customers-love-slide__product-name {
        margin: 0 0 16px;
        font-size: 16px;
        line-height: 20px;
        max-width: 171px;
    }
    .cms-index-index .gwl-customers-love-slide__product-price {
        font-size: 16px;
        line-height: 16px;
    }
    .cms-index-index .gwl-customers-love__heading {
        padding: 48px 16px 32px 16px;
        font-size: 12px;
        line-height: 12px;
        min-height: auto;
    }
    .cms-index-index .gwl-customers-love__quote-wrap {
        padding: 0px 16px 104px;
    }
    .cms-index-index .gwl-hbc-section--customers-love-us .gwl-customers-love__quote-wrap .gwl-sbc-nav {
        left: 16px;
        right: 16px;
        bottom: 48px;
    }
    .cms-index-index .gwl-customers-love-slide__message p {
        font-size: 14px;
    }
    .cms-index-index .gwl-customers-love-slide__quote {
        gap: 24px;
    }
    .cms-index-index .gwl-customers-love-slide__author {
        font-size: 12px;
    }
    .cms-index-index .gwl-hbc-visualize {
        padding: 70px 16px 70px;
        aspect-ratio: auto;
        gap: 64px;
    }
    .cms-index-index .gwl-hbc-visualize__title {
        font-size: 48px;
        line-height: 48px;
    }
    .cms-index-index .gwl-hbc-section--locate-store, 
    .cms-index-index .gwl-hbc-section--visualize-tiles, 
    .cms-index-index .gwl-hbc-section--customers-love-us {
        padding: 0;
    }
    .cms-index-index .gwl-hbc-visualize__subtitle {
        margin: 0 0 16px;
        font-size: 14px;
        line-height: 20px;
    }
    .cms-index-index .gwl-hbc-visualize__btn {
        padding: 12px 28px;
    }
     .cms-index-index .gwl-hbc-locate .gwl-hbc-locate__copy {
        padding: 25px 16px;
        background-image: url(../images/location-bg.png);
    }
    .cms-index-index .gwl-hbc-locate__title, .cms-index-index .gwl-hbc-section--locate-store h3 {
        font-size: 24px !important;
        line-height: 28px !important;
    }
    .cms-index-index .gwl-hbc-locate__eyebrow {
        font-size: 12px;
        line-height: 20px;
    }
    .cms-index-index .gwl-hbc-locate__stat strong, 
    .cms-index-index .gwl-hbc-locate__stat span {
        font-size: 24px;
        line-height: 24px;
    }
    .cms-index-index .gwl-hbc-locate__btn {
        padding: 16px 28px;
    }
    .cms-index-index .block-categories .swiper-slide {
        aspect-ratio: auto;
        min-height: 120px;
    }
    /* Mobile: text View All matches blue button (same as Shop by category) */
    .cms-index-index .gwl-hbc-section.gwl-hbc-section--cards > .container > .block-title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px;
        padding: 0 !important;
    }
    .cms-index-index .gwl-hbc-section .gwl-hbc__view-all {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 16px !important;
        border-radius: 4px;
        background: #160B8B !important;
        color: #ffffff !important;
        font-size: 14px !important;
        line-height: 16px !important;
        text-decoration: none !important;
    }
    .cms-index-index .gwl-hbc-section .gwl-hbc__view-all:hover {
        opacity: 0.92;
        color: #ffffff !important;
    }
    .cms-index-index .gwl-hbc-section .gwl-hbc__view-all svg {
        width: 14px;
        height: 12px;
        flex: 0 0 auto;
    }
    html[lang="ar"] .cms-index-index .gwl-hbc-section .gwl-hbc__view-all svg,
    .rtl .cms-index-index .gwl-hbc-section .gwl-hbc__view-all svg {
        transform: scaleX(-1);
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-hbc-view-all-btn {
        gap: 6px;
        padding: 10px 14px;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-hbc-products-title{
        font-size: 32px !important;
        line-height: 40px !important;
    }
     .cms-index-index .gwl-hbc-section--cards .gwl-hbc-card__overlay {
        padding: 16px;
    }
    .cms-index-index .gwl-hbc-section--cards .gwl-hbc-card__title {
        font-size: 16px;
        line-height: 24px;
    }
    .page-header {
        margin-bottom: 0;
        border-bottom: 0;
    }
    .cms-index-index .gwl-hbc-lightning-deals-heading {
        align-items: flex-start;
    }
    .cms-index-index .gwl-customers-love__product-pane {
        aspect-ratio: auto;
        max-height: 350px !important;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-card__copy strong {
        font-size: 16px;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-card__copy em {
        font-size: 12px;
        line-height: 16px;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-card__media {
         padding: 10px 0px 10px;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-card__copy {
        padding: 0px 0px 10px;
    }
    .cms-index-index .gwl-hbc-section--offer-discounts .gwl-offer-card__media img {
        min-height: 110px;
    }
    .page-footer > .footer.content, .page-footer .footer.content {
        padding: 48px 16px 20px !important;
    }
    .gwl-hero-features__item {
         min-width: auto;
         direction: ltr;
     }
    .gwl-hero-features__inner {
        gap: 20px;
        max-width: 260px!important;
        overflow: hidden;
        margin-right: auto;
        margin-left: 0;
    }
    .cms-index-index .gwl-hbc-visualize__media {
        min-height: 214px;
    }
    .cms-index-index .gwl-look-card__cta {
        direction: ltr;
    }
     .cms-index-index .gwl-look-card__cta svg {
        margin-top: 3px;
    }

    /* Compare Products — keep the table inside the viewport (RTL was overflowing). */
    body.catalog-product-compare-index .page-wrapper,
    body.catalog-product-compare-index .columns,
    body.catalog-product-compare-index .column.main {
        max-width: 100%;
        overflow-x: hidden;
    }

    body.catalog-product-compare-index .table-wrapper.comparison {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.catalog-product-compare-index .table-comparison {
        table-layout: auto;
        width: max-content;
        min-width: 100%;
        max-width: none;
    }

    body.catalog-product-compare-index .table-comparison .cell {
        width: auto;
        min-width: 160px;
        box-sizing: border-box;
    }

    body.catalog-product-compare-index .comparison.headings {
        position: static;
        left: auto;
        right: auto;
        width: auto;
    }

}
