
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea, #764ba2);
    min-height: 100vh;
}


.navbar {
    background: linear-gradient(135deg, #1d2671, #c33764);
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
}

.nav-right {
    font-size: 18px;
}

/* Main layout */
.main-container {
    display: flex;
    gap: 20px;
    padding: 30px;
}

/* Product section */
.product-container {
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Product Card */
.card {
    width: 230px;
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
}

.card h5 {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.card p {
    color: #555;
    font-size: 14px;
}

.card button {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    cursor: pointer;
}

.card button:hover {
    opacity: 0.9;
}

/* Cart Section */
.cart-container {
    width: 30%;
    position: sticky;
    top: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cart-container h1 {
    text-align: center;
    margin-bottom: 10px;
}

.cart-container h2 {
    text-align: center;
    margin-top: 10px;
    color: #764ba2;
}

/* Cart Items */
.cart-main-container {
    margin-top: 15px;
}

.card-info {
    margin-bottom: 10px;
}

.list {
    display: flex;
    justify-content: space-between;
}

.list p {
    padding-top: 10px;
    font-size: 15px;
}

.price {
    color: #333;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 15px;
    text-align: center;
    background: #111;
    color: #fff;
}
