/* .cart-container { max-width: 1000px; margin: 50px auto; padding: 20px; font-family: Arial, sans-serif; }

        .cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }

        .cart-table th, .cart-table td { padding: 15px; border-bottom: 1px solid #ddd; text-align: left; }

        .cart-table img { width: 80px; height: auto; border-radius: 5px; }

        .delivery-notice { background: #e8f5e9; color: #2e7d32; padding: 15px; text-align: center; border-radius: 5px; margin-bottom: 20px; font-weight: bold; }

        .summary-card { background: #f9f9f9; padding: 20px; border-radius: 5px; width: 300px; float: right; }

        .summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; }

        .summary-total { font-size: 1.2em; font-weight: bold; border-top: 2px solid #ddd; padding-top: 15px; }

        .btn-checkout { display: block; width: 100%; padding: 15px; background: #493a33; color: white; text-align: center; text-decoration: none; border-radius: 5px; margin-top: 20px; }

        .btn-checkout:hover { background: #352a25; }
        
        .remove-btn { color: red; cursor: pointer; border: none; background: none; }

         */

       /* Base Container */
.cart-container { 
    max-width: 1200px; /* Matched to checkout width */
    margin: 60px auto; 
    padding: 20px; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

/* Elegant Delivery Notice */
.delivery-notice { 
    background: #fafafa; 
    color: #1a1a1a; 
    padding: 18px; 
    text-align: center; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    font-weight: 500; 
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 1px solid #eaeaea;
}

/* Side-by-Side Layout */
.cart-main-content {
    display: flex;
    gap: 50px; /* Increased for a more breathable, premium feel */
    align-items: flex-start;
}

.cart-items-section {
    flex: 1 1 60%; 
}

/* Refined Cart Table */
.cart-table { 
    width: 100%; 
    border-collapse: collapse; 
}

.cart-table th { 
    padding: 0 15px 20px 15px; 
    border-bottom: 1px solid #eaeaea; 
    text-align: left; 
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888; /* Muted headers */
}

.cart-table td { 
    padding: 30px 15px; /* Generous vertical spacing */
    border-bottom: 1px solid #f4f4f4; 
    text-align: left; 
    vertical-align: middle;
}

.cart-table img { 
    width: 90px; 
    height: auto; 
    border-radius: 8px; 
    object-fit: cover;
}

/* Premium Summary Card (Matches Checkout) */
.summary-card { 
    flex: 1 1 35%; /* Responsive flex sizing instead of fixed width */
    background: #ffffff; 
    padding: 40px; 
    border-radius: 16px; 
    border: 1px solid #f4f4f4; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    position: sticky; /* Keeps summary in view while scrolling items */
    top: 40px;
    box-sizing: border-box;
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.summary-row { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 20px; 
    color: #555;
    font-size: 15px;
}

.summary-total { 
    font-size: 20px; 
    font-weight: 600; 
    border-top: 1px solid #f0f0f0; 
    padding-top: 25px; 
    margin-top: 25px;
    color: #1a1a1a;
}

/* Sleek Primary Button */
.btn-checkout { 
    display: block; 
    width: 100%; 
    padding: 18px 30px; 
     background: #493a33; 
    color: #ffffff; 
    text-align: center; 
    text-decoration: none; 
    border-radius: 8px; 
    border: 2px solid #493a33;
    margin-top: 30px; 
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.btn-checkout:hover { 
   background: #d8cb98 !important;
  border-color: #d8cb98 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Minimalist Remove Button */
.remove-btn { 
    background-color: transparent; 
    color: #999; 
    border: none; 
    padding: 8px 0; 
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.remove-btn:hover {
    color: #e74c3c; /* Elegant red reveal on hover */
    background-color: transparent;
}

/* Smooth Responsiveness */
@media (max-width: 800px) {
    .cart-main-content {
        flex-direction: column;
        gap: 40px;
    }
    .cart-items-section, .summary-card {
        width: 100%;
        flex: none;
    }
    .summary-card {
        position: relative; /* Disables sticky on mobile */
        top: 0;
    }
}