.m4u-home-showcase {
    width: 100%;
    margin: 24px auto 32px;
    padding: 0 10px;
    color: #726449;
    box-sizing: border-box;
}

.m4u-home-showcase__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

.m4u-home-showcase__heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #555;
    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1em;
}

.m4u-home-showcase__all,
.m4u-home-showcase__all:link,
.m4u-home-showcase__all:visited {
    flex: 0 0 auto;
    padding-bottom: 3px;
    border-bottom: 2px solid #ff9dac;
    color: #726449;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.m4u-home-showcase__all:hover,
.m4u-home-showcase__all:focus {
    border-bottom-color: #fd8392;
    color: #fd8392;
}

.m4u-home-carousel {
    position: relative;
}

.m4u-home-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(210px, 19vw, 270px);
    gap: 14px;
    margin: 0;
    padding: 2px 2px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: #ff9dac #feeff2;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.m4u-home-carousel__track::-webkit-scrollbar {
    height: 8px;
}

.m4u-home-carousel__track::-webkit-scrollbar-track {
    border-radius: 20px;
    background: #feeff2;
}

.m4u-home-carousel__track::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #ff9dac;
}

.m4u-home-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #fecbd2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(114, 100, 73, .1);
    scroll-snap-align: start;
}

.m4u-home-product-card:hover {
    border-color: #ff9dac;
    box-shadow: 0 6px 18px rgba(114, 100, 73, .16);
}

.m4u-home-product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #feeff2;
}

.m4u-home-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transition: transform .2s ease;
}

.m4u-home-product-card:hover .m4u-home-product-card__image img {
    transform: scale(1.025);
}

.m4u-home-product-card__discount {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fd475d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.m4u-home-product-card__body {
    display: flex;
    min-height: 130px;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.m4u-home-product-card__title,
.m4u-home-product-card__title:link,
.m4u-home-product-card__title:visited {
    display: -webkit-box;
    overflow: hidden;
    color: #726449;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.m4u-home-product-card__title:hover,
.m4u-home-product-card__title:focus {
    color: #fd8392;
}

.m4u-home-product-card__price {
    margin-top: auto;
    color: #726449;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.m4u-home-product-card__price .productOldPrice {
    color: #8a7757;
    font-size: 12px;
    font-weight: 400;
}

.m4u-home-product-card__view,
.m4u-home-product-card__view:link,
.m4u-home-product-card__view:visited {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    background: #ff9dac;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.m4u-home-product-card__view:hover,
.m4u-home-product-card__view:focus {
    background: #fd8392;
    color: #fff;
}

.m4u-home-carousel__arrow {
    position: absolute;
    z-index: 2;
    top: 38%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 2px solid #ff9dac;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(114, 100, 73, .24);
    color: #fd8392;
    font: 700 28px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
}

.m4u-home-carousel__arrow:hover,
.m4u-home-carousel__arrow:focus {
    border-color: #fd8392;
    background: #fd8392;
    color: #fff;
}

.m4u-home-carousel__arrow--previous {
    left: -10px;
}

.m4u-home-carousel__arrow--next {
    right: -10px;
}

.m4u-home-carousel__arrow:disabled,
.m4u-home-carousel.is-static .m4u-home-carousel__arrow {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 760px) {
    .m4u-home-showcase {
        margin: 18px auto 26px;
        padding: 0 5px;
    }

    .m4u-home-showcase__heading {
        align-items: flex-start;
        gap: 10px;
    }

    .m4u-home-showcase__all,
    .m4u-home-showcase__all:link,
    .m4u-home-showcase__all:visited {
        font-size: 12px;
        text-align: right;
    }

    .m4u-home-carousel__track {
        grid-auto-columns: minmax(176px, 72vw);
        gap: 10px;
    }

    .m4u-home-carousel__arrow {
        display: none;
    }

    .m4u-home-product-card__body {
        min-height: 124px;
        padding: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .m4u-home-carousel__track {
        scroll-behavior: auto;
    }

    .m4u-home-product-card__image img {
        transition: none;
    }
}
