body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff7ec;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background-color: #fdd9a0;
    padding: 20px;
    text-align: center;
}

.logo {
    width: 150px;
    margin-bottom: 10px;
}

nav a {
    margin: 0 15px;
    color: #5c3b00;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 20px;
    text-align: center;
}

footer {
    background-color: #fdd9a0;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin-top: 20px;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

    form label {
        display: flex;
        flex-direction: column;
        text-align: left;
        font-weight: bold;
    }

input,
select,
textarea {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 12px;
    background-color: #ffb347;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #ffa630;
    }

/* NEW: Product List Styles */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 15px; /* space between items */
    max-width: 600px; /* optional: center narrower */
    margin: 20px auto; /* center horizontally */
}

.product {
    background-color: #ffb347;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

    .product:hover {
        background-color: #ffa630;
    }

/* NEW: Cart Items Display */
#cartItems {
    max-width: 500px;
    margin: 20px auto;
    text-align: left;
}

    #cartItems ul {
        list-style-type: disc;
        padding-left: 20px;
        text-align: left;
    }

    #cartItems li {
        margin-bottom: 10px;
    }

.cart-link {
    position: absolute;
    top: 20px;
    right: 20px;
}

.cart-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remove-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
}

    .remove-btn:hover {
        background-color: #d32f2f;
    }

/* Different background for the product grid on each page */
body.cakes-page .product {
    background-color: #ffbf00; /* amber */
    padding: 20px;
    border-radius: 10px;
    color: black;
}

body.icecream-page .product {
    background-color: #e5f5ff; /* light blue */
    padding: 20px;
    border-radius: 10px;
    color: black;
}

body.frosting-page .product {
    background-color: #ffffff; /* white */
    padding: 20px;
    border-radius: 10px;
    color: black;
}

