body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

#products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product h4 {
    font-size: 16px;
    height: 40px;
    overflow: hidden;
}

.product p {
    font-weight: bold;
    color: #e63946;
}

.product button {
    background: #ffb703;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.product button:hover {
    background: #fb8500;
}

/* CART PAGE */
#cart {
    max-width: 800px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
}

.details {
    flex: 1;
    padding: 0 15px;
}

.details h4 {
    margin: 0 0 10px;
}

.details p {
    margin: 5px 0;
}

.actions button {
    background: #ffb703;
    border: none;
    padding: 5px 10px;
    margin: 0 3px;
    border-radius: 5px;
    cursor: pointer;
}

.actions button:hover {
    background: #fb8500;
}

.remove {
    background: #e63946;
    color: #fff;
}

.remove:hover {
    background: #d62828;
}

#total {
    text-align: right;
    font-size: 20px;
    margin: 20px auto;
    max-width: 800px;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

.controls button {
    background: #023047;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}

.controls button:hover {
    background: #03506f;
}