/*
 * Home-only styles for the product showcase.
 * Keep selectors anchored to body.cms-home + .homegrid to avoid bleed into
 * category, search, and other product listing contexts.
 */

.cms-home .homegrid .products-grid .item {
    display: flex;
}

.cms-home .homegrid .products-grid .item .product-item-info {
    display: flex;
    flex-direction: column;
    min-height: 370px;
    height: 100%;
}

.cms-home .homegrid .products-grid .item .cdz-hover-section {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.cms-home .homegrid .products-grid .item .product-item-details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.cms-home .homegrid .products-grid .item .product-name {
    min-height: 88px;
}

.cms-home .homegrid .products-grid .item .price-box {
    min-height: 40px;
}

.cms-home .homegrid .products-grid .item .cdz-bottom-no-effect {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .cms-home .homegrid .products-grid .item .product-item-info {
        min-height: 364px;
    }
}

@media (max-width: 767px) {
    .cms-home .homegrid .products-grid .item .product-item-info {
        min-height: 358px;
    }

    .cms-home .homegrid .products-grid .item .product-name {
        min-height: 76px;
    }
}
