* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f5f1;
    color: #333;
}

header {
    background-color: #2ecc71;
    color: white;
    padding: 20px;
    text-align: center;
}

header .logo {
    font-size: 2em;
    font-weight: bold;
}

button {
    padding: 10px 20px;
    background-color: #27ae60;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #2ecc71;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

.product-card {
    background-color: white;
    padding: 15px;
    margin: 15px;
    width: 220px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    border-radius: 5px;
    height: 150px;
    object-fit: cover;
}

.product-card h3 {
    margin: 10px 0;
}

.product-card p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    background-color: #ffffff;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: none;
    z-index: 100;
    height: 100%;
}

.cart h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item button {
    background-color: #e74c3c;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.cart-item button:hover {
    background-color: #c0392b;
}

#cart-total {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

#checkoutBtn {
    width: 100%;
    background-color: #3498db;
    color: white;
    font-size: 18px;
    padding: 10px;
    border-radius: 5px;
}

#checkoutBtn:hover {
    background-color: #2980b9;
}
