/* MOMO_HOME_SECTIONS_H1 */
.momo-home-product-slider {
    margin: 28px 0 48px;
}

.momo-home-product-slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
}

.momo-home-product-slider__title {
    margin: 0;
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.momo-home-product-slider__shop-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.momo-home-product-slider__shop-all:hover,
.momo-home-product-slider__shop-all:focus-visible {
    filter: brightness(0.94);
    color: #fff;
    text-decoration: none;
}

.momo-home-product-slider__slider .product-item,
.momo-home-product-slider__slider .card,
.momo-home-product-slider__slider [data-product-id] {
    min-width: 0;
}

@media (max-width: 767px) {
    .momo-home-product-slider {
        margin: 22px 0 36px;
    }

    .momo-home-product-slider__header {
        align-items: flex-end;
        margin-bottom: 14px;
    }

    .momo-home-product-slider__title {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .momo-home-product-slider__shop-all {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.78rem;
    }
}

/* MOMO_HOME_COMPACT_PRODUCT_CARDS_V1
 * Homepage sliders should use the PLP design language without the oversized
 * PLP density. This block is intentionally scoped to managed homepage sliders.
 */
.momo-home-product-slider {
    margin: 20px 0 34px;
}

.momo-home-product-slider__header {
    margin-bottom: 12px;
}

.momo-home-product-slider__title {
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.momo-home-product-slider__shop-all {
    min-height: 38px;
    padding: 0 14px;
    gap: 9px;
    border-radius: 5px;
    font-size: 0.78rem;
}

.momo-home-product-slider .product-slider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.momo-home-product-slider .product-item {
    height: 100%;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;
}

.momo-home-product-slider .product-item:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14) !important;
}

.momo-home-product-slider .product-item-photo {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    margin: 0 0 9px !important;
    padding: 8px !important;
    border-radius: 6px !important;
}

.momo-home-product-slider .product-image-container,
.momo-home-product-slider .product-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
}

.momo-home-product-slider .product-image-wrapper {
    padding-bottom: 0 !important;
}

.momo-home-product-slider img.product-image-photo {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 174px !important;
    object-fit: contain !important;
}

.momo-home-product-slider .product-item button[data-addto="wishlist"] {
    top: 7px !important;
    right: 7px !important;
    width: 32px !important;
    height: 32px !important;
}

.momo-home-product-slider .mitzuma-card-meta-row {
    display: none !important;
}

.momo-home-product-slider .mitzuma-card-title-slot {
    min-height: 38px !important;
    height: auto !important;
    max-height: 38px !important;
    margin: 0 0 5px !important;
    overflow: hidden !important;
}

.momo-home-product-slider .product-item-link {
    display: -webkit-box !important;
    min-height: 36px !important;
    max-height: 36px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 600 !important;
}

.momo-home-product-slider .mitzuma-card-details-slot {
    display: none !important;
}

.momo-home-product-slider .mitzuma-card-price-slot {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 28px !important;
    max-height: none !important;
    margin: 2px 0 4px !important;
    overflow: visible !important;
}

.momo-home-product-slider .mitzuma-card-price-slot .price,
.momo-home-product-slider .mitzuma-card-price-slot .price-wrapper {
    font-size: 18px !important;
    line-height: 24px !important;
}

.momo-home-product-slider .mitzuma-card-stock-slot {
    flex: 0 0 auto !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 2px 0 5px !important;
}

.momo-home-product-slider .mitzuma-smart-stock,
.momo-home-product-slider .mitzuma-smart-stock__label {
    font-size: 11px !important;
    line-height: 16px !important;
}

.momo-home-product-slider .mitzuma-card-more-colours {
    min-height: 0 !important;
    max-height: 22px !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
}

.momo-home-product-slider .mitzuma-card-bobgo-delivery {
    min-height: 30px !important;
    margin: 3px 0 5px !important;
}

.momo-home-product-slider .mitzuma-card-delivery-trigger,
.momo-home-product-slider .mitzuma-card-delivery-submit {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

.momo-home-product-slider a[title^="Shop All Options"],
.momo-home-product-slider button[aria-label^="Add to Cart"] {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.momo-home-product-slider .mitzuma-card-bottom-action-group {
    margin-top: 0 !important;
}

@media (max-width: 1279px) {
    .momo-home-product-slider .product-item-photo {
        height: 205px !important;
        min-height: 205px !important;
        max-height: 205px !important;
    }

    .momo-home-product-slider img.product-image-photo {
        max-height: 188px !important;
    }
}

@media (max-width: 767px) {
    .momo-home-product-slider .product-item {
        padding: 9px !important;
    }

    .momo-home-product-slider .product-item-photo {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }

    .momo-home-product-slider img.product-image-photo {
        max-height: 154px !important;
    }

    .momo-home-product-slider .product-item-link {
        font-size: 13px !important;
        line-height: 17px !important;
        min-height: 34px !important;
        max-height: 34px !important;
    }
}

