/* ===== Body & Page ===== */
body {
    font-family: 'Arial', sans-serif;
    background: #fde0e0;
    margin: 0;
    color: #333;
}

.cart-page {
    max-width: 1200px;
    margin: 80px auto 50px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cart-page h1 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #222;
    text-align: center;
}

/* ===== Cart Table ===== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th, .cart-table td {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.cart-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #555;
}

.cart-table img {
    width: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== Quantity Input ===== */
input[type=number] {
    width: 60px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    transition: 0.2s;
}

input[type=number]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* ===== Remove Button ===== */
.remove-btn {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: #d9363e;
    transform: scale(1.05);
}

/* ===== Cart Summary ===== */
.cart-summary {
    text-align: right;
    font-size: 18px;
    line-height: 1.6;
    padding: 20px;
    border-top: 2px solid #e0e0e0;
}

.cart-summary h3 {
    font-size: 1.8rem;
    margin-top: 10px;
    color: #ff4d4f;
}

/* ===== Checkout Button ===== */
.checkout-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 15px;
}

.checkout-btn:hover {
    background: #ff4d4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}
