/*=========================================
  CART PAGE
=========================================*/

.cart-section{
    padding:70px 0;
    background:#f8faf8;
}

/*=========================================
  CART CARD
=========================================*/

.cart-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.cart-card .card-header{
    background:#2E7D32;
    color:#fff;
    padding:22px 30px;
}

.cart-card .card-header h4{
    margin:0;
    font-weight:700;
}

/*=========================================
  TABLE
=========================================*/

.cart-table{
    width:100%;
    margin:0;
}

.cart-table th{
    background:#EEF7EE;
    padding:18px;
    border:none;
    font-size:18px;
    font-weight:700;
}

.cart-table td{
    padding:22px 18px;
    vertical-align:middle;
    border-top:1px solid #eee;
}

/*=========================================
  PRODUCT
=========================================*/

.cart-product{
    display:flex;
    align-items:center;
    gap:18px;
}

.cart-product img{
    width:95px;
    height:95px;
    object-fit:cover;
    border-radius:12px;
}

.cart-product-info h5{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#222;
}

.cart-product-info p{
    margin:5px 0 0;
    color:#777;
}

/*=========================================
  PRICE
=========================================*/

.cart-price{
    color:#2E7D32;
    font-size:18px;
    font-weight:700;
}

.cart-subtotal{
    font-size:20px;
    font-weight:700;
}

/*=========================================
  QUANTITY
=========================================*/

.quantity-box{
    display:flex;
    align-items:center;
    justify-content:center;
    width:180px;
    border:1px solid #ddd;
    border-radius:12px;
    overflow:hidden;
}

.quantity-box button{
    width:55px;
    height:50px;
    border:none;
    background:#f5f5f5;
    font-size:24px;
    cursor:pointer;
    transition:.3s;
}

.quantity-box button:hover{
    background:#2E7D32;
    color:#fff;
}

.quantity-box input{
    width:70px;
    height:50px;
    border:none;
    outline:none;
    text-align:center;
    font-size:20px;
    font-weight:700;
}

/*=========================================
  REMOVE BUTTON
=========================================*/

.remove-btn{
    width:55px;
    height:55px;
    border:none;
    border-radius:14px;
    background:#E53935;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.remove-btn:hover{
    background:#C62828;
    transform:scale(1.05);
}

/*=========================================
  SUMMARY
=========================================*/

.cart-summary{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    position:sticky;
    top:100px;
}

.cart-summary h4{
    font-size:30px;
    font-weight:700;
    margin-bottom:25px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:18px;
    font-size:20px;
}

.summary-total{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #ddd;
    font-size:28px;
    font-weight:700;
    color:#2E7D32;
}

/*=========================================
  BUTTONS
=========================================*/

.checkout-btn{
    width:100%;
    height:58px;
    border:none;
    border-radius:14px;
    background:#2E7D32;
    color:#fff;
    font-size:18px;
    font-weight:700;
    transition:.3s;
    margin-bottom:15px;
}

.checkout-btn:hover{
    background:#1B5E20;
}

.continue-btn{
    width:100%;
    height:58px;
    border:2px solid #2E7D32;
    border-radius:14px;
    background:#fff;
    color:#2E7D32;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.continue-btn:hover{
    background:#2E7D32;
    color:#fff;
}

/*=========================================
  RESPONSIVE
=========================================*/

@media(max-width:991px){

    .cart-summary{
        position:static;
        margin-top:30px;
    }

}

@media(max-width:768px){

    .cart-product{
        flex-direction:column;
        text-align:center;
    }

    .cart-table thead{
        display:none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td{
        display:block;
        width:100%;
    }

    .cart-table tr{
        border:1px solid #eee;
        border-radius:15px;
        margin-bottom:20px;
        overflow:hidden;
    }

    .cart-table td{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .cart-table td::before{
        content:attr(data-label);
        font-weight:700;
    }

}

@media(max-width:576px){

    .cart-product img{
        width:75px;
        height:75px;
    }

    .quantity-box{
        width:150px;
    }

}

.cart-image{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
}

.cart-product-info h5{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.cart-product-info p{
    margin-top:5px;
    color:#777;
}

