/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 21 Dec, 2024, 2:03:33 AM
    Author     : Pranata
*/


.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 15px;
}

.header2 {
    background-color: #F8F8F8;
    color: #333;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 50px;
}

.header2 h1 {
    font-size: 36px;
    font-weight: bold;
}



.cart {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.cart-content {
/*    display: grid;*/
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.cart-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.item-details {
    display: flex;
    gap: 15px;
}

.image-container {
    width: 100px;
    height: 100px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
}

.info h4 {
    font-size: 18px;
    margin: 5px 0;
}

.info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.info .original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.info .discounted-price {
    font-weight: bold;
    color: #333;
}

.info .save-amount {
    color: #e63946;
    font-size: 14px;
}

.quantity {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
}

.remove-item {
    font-size: 12px;
    color: #e63946;
    cursor: pointer;
    text-decoration: underline;
}

.item-total {
    font-weight: bold;
    font-size: 16px;
    text-align: right;
}

.cart-totals {
    border: 1px solid #ccc;
    padding: 20px;
    background: #f9f9f9;
}

.totals h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.coupon {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.coupon input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
}

.coupon button {
    padding: 5px 15px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
}

.total-price {
    font-weight: bold;
    font-size: 18px;
}

.checkout {
    width: 100%;
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
