/* Above-the-fold reservations to reduce CLS before Magento and carousel JS hydrate. */
.page-header .header-all {
    min-height: 80px;
}

.page-header .header-content.container {
    min-height: 50px;
}

.page-header .logo img,
.page-header .ammenu-logo img {
    display: block;
    max-width: 150px;
    height: auto;
}

.cms-index-index .ambanner-slider-container {
    min-height: clamp(360px, 33.333vw, 640px);
    background: #3e4748;
    overflow: hidden;
}

.cms-index-index .ambanner-slider-wrap,
.cms-index-index .ambanner-slider-block,
.cms-index-index .ambanner-item-block,
.cms-index-index .ambanner-image-block {
    min-height: inherit;
}

.cms-index-index .ambanner-image-block {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}

.cms-index-index .ambanner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cms-index-index .ambanner-slider-block:not(.slick-initialized) .ambanner-item-block:not(:first-child) {
    display: none;
}

.usp__section {
    min-height: 132px;
}

.usp__slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.usp__slider:not(.slick-initialized) .usp__slider__item {
    flex: 0 0 20%;
    min-height: 80px;
}

.usp__section .usp__icon img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.products.wrapper.grid .product-items,
.block.widget .products-grid .product-items,
.relcustom .products-grid .product-items {
    align-items: stretch;
}

.products-grid .product-item-photo-wrapper,
.block.widget .products-grid .product-item-photo-wrapper,
.relcustom .products-grid .product-item-photo-wrapper {
    aspect-ratio: 1 / 1;
    min-height: 180px;
    overflow: hidden;
}

.products-grid .product-item-photo,
.block.widget .products-grid .product-item-photo,
.relcustom .products-grid .product-item-photo {
    display: block;
    height: 100%;
}

.products-grid .product-image-container,
.block.widget .products-grid .product-image-container,
.relcustom .products-grid .product-image-container {
    width: 100% !important;
    max-width: 100%;
}

.products-grid .product-image-wrapper,
.block.widget .products-grid .product-image-wrapper,
.relcustom .products-grid .product-image-wrapper {
    display: block;
    height: 0;
    padding-bottom: 100% !important;
    overflow: hidden;
}

.products-grid .product-image-photo,
.block.widget .products-grid .product-image-photo,
.relcustom .products-grid .product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mst-related_products__productsList,
.relcustom .products.wrapper {
    min-height: 420px;
}

.explore__brands__wrapper {
    min-height: 180px;
}

.explore__brands:not(.slick-initialized),
.relcustom .product-items:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.explore__brands:not(.slick-initialized) .explore__brand__item {
    flex: 0 0 20%;
}

.relcustom .product-items:not(.slick-initialized) .product-item {
    flex: 0 0 20%;
}

.featured__category__photo a,
.home__about__section .web-col-6:first-child {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f4f4;
}

.featured__category__photo img,
.home__about__section .cover__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .usp__slider:not(.slick-initialized) .usp__slider__item {
        flex-basis: 25%;
    }

    .explore__brands:not(.slick-initialized) .explore__brand__item,
    .relcustom .product-items:not(.slick-initialized) .product-item {
        flex-basis: 25%;
    }
}

@media (max-width: 991px) {
    .page-header .header-all {
        min-height: 70px;
    }

    .page-header .header-content.container {
        min-height: 44px;
    }

    .usp__slider:not(.slick-initialized) .usp__slider__item {
        flex-basis: 33.333%;
    }

    .mst-related_products__productsList,
    .relcustom .products.wrapper {
        min-height: 380px;
    }

    .explore__brands__wrapper {
        min-height: 160px;
    }

    .explore__brands:not(.slick-initialized) .explore__brand__item,
    .relcustom .product-items:not(.slick-initialized) .product-item {
        flex-basis: 33.333%;
    }
}

@media (max-width: 767px) {
    .cms-index-index .ambanner-slider-container {
        min-height: clamp(140px, 36.3636vw, 280px);
    }

    .cms-index-index .ambanner-image-block {
        aspect-ratio: 11 / 4;
    }

    .usp__section {
        min-height: 150px;
    }

    .usp__slider:not(.slick-initialized) .usp__slider__item {
        flex-basis: 50%;
    }

    .products-grid .product-item-photo-wrapper,
    .block.widget .products-grid .product-item-photo-wrapper,
    .relcustom .products-grid .product-item-photo-wrapper {
        min-height: 150px;
    }

    .mst-related_products__productsList,
    .relcustom .products.wrapper {
        min-height: 340px;
    }

    .explore__brands__wrapper {
        min-height: 130px;
    }

    .explore__brands:not(.slick-initialized) .explore__brand__item,
    .relcustom .product-items:not(.slick-initialized) .product-item {
        flex-basis: 50%;
    }
}
