/*
 * Consistent product-card structure.
 * Scoped to catalog/search grids, quick search, home widgets and product-page sliders.
 */
.page-products .products-grid .product-item-name,
.categorypath-busqueda .quick-search .product-item-name,
.cms-home .block.widget .products-grid .product-item-name,
.cms-index-index .block.widget .products-grid .product-item-name,
.cms-home .slider-productos .product-item-name,
.cms-index-index .slider-productos .product-item-name,
.cms-home .mage-magictabs .product-item-name,
.cms-index-index .mage-magictabs .product-item-name,
.catalog-product-view .block.related .product-item-name,
.catalog-product-view .block.upsell .product-item-name,
.catalog-product-view .block.widget .product-item-name,
.catalog-product-view .mage-magictabs .product-item-name {
    box-sizing: border-box;
    display: block;
    height: 2.7em;
    line-height: 1.35;
    margin-bottom: 4px;
    max-height: 2.7em;
    min-height: 2.7em;
    overflow: hidden;
}

.page-products .products-grid .product-item-name .product-item-link,
.categorypath-busqueda .quick-search .product-item-name .product-item-link,
.cms-home .block.widget .products-grid .product-item-name .product-item-link,
.cms-index-index .block.widget .products-grid .product-item-name .product-item-link,
.cms-home .slider-productos .product-item-name .product-item-link,
.cms-index-index .slider-productos .product-item-name .product-item-link,
.cms-home .mage-magictabs .product-item-name .product-item-link,
.cms-index-index .mage-magictabs .product-item-name .product-item-link,
.catalog-product-view .block.related .product-item-name .product-item-link,
.catalog-product-view .block.upsell .product-item-name .product-item-link,
.catalog-product-view .block.widget .product-item-name .product-item-link,
.catalog-product-view .mage-magictabs .product-item-name .product-item-link {
    display: -webkit-box;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
