body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: sans-serif;
}

main {
    flex: 1; /* Ensures footer stays at the bottom */
}

header .navbar-brand {
    font-weight: bold;
}

.star-icon {
    width: 1.2em;
    height: 1.2em;
    fill: orange;
    vertical-align: middle;
}
.review-stars {
    margin-bottom: 0.5rem;
}

.carousel-item {
    min-height: 250px; /* Adjust as needed based on your images */
    background-color: #f8f9fa; /* Background color while image loads */
}

.carousel-item img {
    object-fit: cover; /* Cover the area, might crop */
    height: 100%; /* Make image fill the height of the item */
    max-height: 450px; /* Optional: Limit max height */
    margin: auto; /* Center image if using contain and aspect ratio differs */
    border-radius: 0.375rem; /* Match Bootstrap's card border radius */
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Darker background for icons */
    border-radius: 50%; /* Make icon background circular */
    padding: 0.8rem; /* Add some padding */
    background-size: 60%; /* Adjust icon size within the background */
}

#productCarousel .carousel-indicators button {
    background-color: rgba(0, 0, 0, 0.5); /* Darker indicator dots */
    width: 12px; /* Make indicators slightly larger */
    height: 12px;
    border-radius: 50%;
    margin-left: 5px;
    margin-right: 5px;
}

#productCarousel .carousel-indicators .active {
    background-color: #ffc107; /* Highlight active indicator */
}

#productCarousel .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
}

#reviews .card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#reviews .card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #6c757d; /* Secondary text color */
    text-align: right;
}

footer {
    font-size: 0.9em;
}

.lead b {
    font-weight: bold;
}

@media (max-width: 767px) {
    #home {
        text-align: center;
    }
    .carousel-item {
        min-height: 200px; /* Adjust min-height for mobile */
        margin-top: 2rem; /* Add space above carousel on mobile */
    }
    #reviews .col-md-4 {
        margin-bottom: 1.5rem; /* Ensure spacing between cards on mobile */
    }
}