/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0; /* Remove default body margin to eliminate gaps */
}

/* Logo styling */
.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Product card styling for consistent size */
.item-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    height: 400px; /* Fixed card height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Product image styling to show full image without cropping */
.item-img {
    max-width: 100%;
    max-height: 200px; /* Max height to fit in card */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Show full image without cropping */
    margin-bottom: 10px;
}

/* Item details text */
.item-details p {
    margin: 5px 0;
    font-size: 14px;
}

/* Cart modal body */
.cart-modal .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

/* Cart item styling */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* Cart item image */
.cart-item img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

/* Cart item details */
.cart-item-details {
    flex-grow: 1;
}

/* Quantity input in cart */
.qty-input {
    width: 60px;
    text-align: center;
}

/* Extra charges text in cart */
.extra-charges {
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
}

/* Sticky Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0; /* Remove margin to connect with hero banner */
}
/* Grid for items */
.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile: 2 side by side */
    gap: 20px;
}

/* Desktop: 5 items side by side */
@media (min-width: 992px) {
    .items-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Sticky Footer */
footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* Footer link styling */
footer a {
    text-decoration: none;
    color: #007bff;
}

/* Footer link hover effect */
footer a:hover {
    text-decoration: underline;
}

/* Toast for add to cart feedback */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}