/*
 * The product card markup in list.phtml deliberately reuses the theme's own
 * classes (product-item-info, product-item-photo, product-image-container,
 * product-image-wrapper, product-image-photo, product-item-details,
 * product-item-name) so recommendation thumbnails get the same crop/box and
 * card typography as the theme's "related products" grid
 * (Magento_Catalog/templates/product/list/items.phtml).
 *
 * This only works because every .product-image-photo is kept inside its
 * .product-image-wrapper/.product-image-container ancestor, exactly like
 * the theme template does. Luma's gallery CSS puts `position: absolute;
 * top:0; left:0` directly on .product-image-photo, scoped under
 * `.product-image-wrapper .product-image-photo` - applying that class
 * without the wrapper previously blew a recommended-product thumbnail up
 * into a full-page invisible overlay that intercepted every click on the
 * page, including Add to Cart. Don't move the <img> out of that wrapper.
 *
 * The theme's own outer grid/slider classes (product-list-style-17,
 * base-slider, owl-carousel, flex-grid) are NOT reused here - those need
 * their matching JS widget (codazon.slider / codazon.autowidth) to lay the
 * items out, and this block intentionally stays a plain static grid with no
 * slider. .danel-reco-grid below replaces that with a simple flex-wrap
 * layout; .products-grid is kept alongside it purely so the theme's
 * .products-grid-scoped hover state on .product-item-info still applies.
 */
.danel-reco-block {
    position: static;
    margin-bottom: 40px;
}

.danel-reco-block-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.danel-reco-grid .product-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.danel-reco-grid .product-item {
    width: 200px;
    margin: 0;
    padding: 0;
}

.danel-reco-item-price {
    font-weight: 700;
    color: #333;
}
