body{background:#f8f9fa} .card-product img{object-fit:cover;height:180px;width:100%;}


.hero-container {
    /* Use viewport height to limit size on smaller screens */
    min-height: 50vh;
    max-height: 80vh;
    position: relative;
    /* Optional: Center the image/background if using a background-image CSS property */
    background-size: cover;
    background-position: center;
}

/* Make text readable with a semi-transparent background */
.hero-text-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Darker background for text */
    padding: 20px;
    border-radius: 8px;
}

    /* Ensure text color is white/light for contrast */
    .hero-text-overlay h1,
    .hero-text-overlay p {
        color: white !important;
        /* Adjust font size responsively */
        font-size: 1.5rem; /* Smaller font for mobile */
    }

/* Media query for larger screens (optional, but good practice) */
@media (min-width: 768px) {
    .hero-text-overlay h1 {
        font-size: 2.5rem;
    }
}