/* cart.css */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
}

.cart-container {
    max-width: 600px;
    margin: 0 auto;
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.back-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
}

.item-details {
    flex: 1;
    margin-left: 15px;
}

.item-details h4 { margin: 0; font-size: 1rem; }
.item-details p { margin: 5px 0; color: #27ae60; font-weight: bold; }

.qty-manager {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #f1f2f6;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
}

.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background: #ff4757;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
/* cart.css */
.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-item img { width: 70px; height: 70px; object-fit: contain; }

.item-details { flex: 1; margin-left: 15px; }

.item-details h4 { margin: 0; font-size: 1rem; color: #333; }

.item-details small { color: #888; font-size: 0.8rem; }

.price { margin: 5px 0 0; font-size: 0.9rem; color: #444; }

.qty-controls { display: flex; align-items: center; gap: 8px; }

.qty-controls button {
    width: 28px; height: 28px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 6px;
    cursor: pointer;
}

.remove-btn { border: none !important; color: #ff4757; font-size: 1.2rem; }

.cart-summary {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}