body {
    background: #f5f7fb;
}

/* Product image frame: white background, padding and contain so full image edges are visible */
.product-card .card-img-top {
    width: 100%;
    height: 260px; /* increase visible area */
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    padding: 8px;
    display: block;
    border-bottom: 1px solid #f1f3f5;
    border-radius: 8px 8px 0 0;
}

/* Modal image: ensure it fits without cropping */
#modalProductImage {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Larger image area on wide screens */
@media (min-width: 992px) {
    .product-card .card-img-top {
        height: 340px;
        padding: 10px;
    }
    #modalProductImage {
        height: 520px;
    }
}

.hero-banner {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* Featured cards inside hero banner */
.hero-featured-cards .hero-featured-card {
    background: rgba(255,255,255,0.9);
    color: #222;
    border-radius: 8px;
}
.hero-featured-cards .hero-featured-card .card-img-top {
    height: 160px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.hero-banner .hero-featured-cards .card-body {
    padding: 10px;
}

/* Carousel hero: image-only, clean/professional */
.hero-carousel-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 992px) {
    .hero-carousel-img { height: 420px; }
}

.product-card:hover {
    transform: translateY(-3px);
    transition: 0.2s ease;
}

.badge-soft {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.table thead {
    background: #f8f9fa;
}
