@import url(../css/main.css);

/* MENU */
#menu {
    padding: 50px 10px;
    background-color: #f8f8f8;
    margin: 0 auto;
    width: 70%;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Centering and layout adjustments */
.menu-category {
    margin-bottom: 30px;
    text-align: center;
}

/* Ensure the product items have padding to space the text from the border */
.menu-category .product {
    padding: 20px; /* Adds padding inside the product box */
}

/* Add padding inside the menu category for the Biscuit section */
.menu-category {
    padding: 20px; /* Adjusts the space around each menu category */
}

.menu-category h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.product {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto 20px; /* Centers the product elements */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Controls the width of the product container */
}

.product img {
    width: 250px; /* Ensure a consistent size for all images */
    height: 150px; /* Ensure a consistent height for all images */
    margin-right: 20px;
    border-radius: 5px;
    object-fit: cover; /* Ensure images fit within the defined dimensions */
}

.product-info {
    text-align: left;
    flex: 1;
}

.product-info h3 {
    font-size: 1.4m;
}

.menu-category h4 {
    margin: 0;
    font-size: 1.2em;
}

.product-info p {
    margin: 5px 0;
    color: #555;
}

.product-info p.price {
    margin: 0; /* Ensure consistent spacing for prices */
}

.add-to-cart {
    background-color: #ff9800;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Cart Styles */
#cart-section {
    padding: 20px;
    background-color: #f8f8f8;
    margin: 0 auto;
    width: 70%;
    max-width: 1200px;
    border-radius: 10px;
}

#cart-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

#cart {
    list-style: none;
    padding: 0;
}

#cart li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#checkout-button {
    background-color: #ff7f50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
}
