/* ---------- General Page Styling ---------- */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #74ebd5, #ACB6E5); /* nice gradient */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ---------- Headings ---------- */
h1 {
    margin-top: 20px;
    color: #222;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ---------- Product Container ---------- */
#container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* ---------- Product Card ---------- */
.product {
    width: 250px;
    border: 1px solid black;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0,0,0,0.15);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #fff;
}

.product h5 {
    font-size: 16px;
    margin: 10px 0 5px 0;
    text-align: center;
}

.product h2 {
    font-size: 18px;
    color: green;
    margin: 5px 0;
}

/* ---------- Buttons ---------- */
button, .product button {
    margin: 5px;
    padding: 8px 15px;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover, .product button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.25);
}

/* ---------- Cart Page ---------- */
#cart-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: 20px;
}

.cart-item {
    border: 1px solid #000;
    margin: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.cart-item button {
    background: linear-gradient(135deg, #ff4b1f, #ff9068);
    border-radius: 20px;
    padding: 6px 12px;
}

.cart-item button:hover {
    background: linear-gradient(135deg, #ff2e00, #ff7043);
}
