/* Stili per prodotti e ricette correlate */
.related-products-section,
.related-recipes-section {
    margin: 2rem 0;
}

.related-products-section h3,
.related-recipes-section h3 {
    color: #C20E2E;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-card,
.recipe-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.product-card:hover,
.recipe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card-image,
.recipe-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card-info,
.recipe-card-info {
    padding: 1rem;
}

.product-card-info h5,
.recipe-card-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.recipe-title-link {
    color: #333;
    text-decoration: none;
}

.recipe-title-link:hover {
    color: #C20E2E;
    text-decoration: none;
}

.recipe-image-link {
    display: block;
    text-decoration: none;
}

.recipe-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.badge {
    background-color: #C20E2E;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-products-section .col-md-4,
    .related-recipes-section .col-lg-3 {
        margin-bottom: 1rem;
    }
}
