/*=========================================
CHECKOUT PAGE
=========================================*/

.checkout-page{
    padding:90px 0;
    background:#F8F3E8;
}

/*=========================================
CHECKOUT FORM
=========================================*/

.checkout-form{
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.checkout-form h3{
    font-family:'Cormorant Garamond',serif;
    font-size:38px;
    color:#2D1B16;
    margin-bottom:30px;
}

.checkout-form label{
    font-weight:600;
    color:#444;
    margin-bottom:8px;
    display:block;
}

.checkout-form .form-control{
    height:55px;
    border-radius:12px;
    border:1px solid #ddd;
    padding:12px 18px;
    transition:.3s;
}

.checkout-form textarea.form-control{
    height:140px;
    resize:none;
}

.checkout-form .form-control:focus{
    border-color:#C8A646;
    box-shadow:0 0 0 .2rem rgba(200,166,70,.15);
}

/*=========================================
ORDER SUMMARY
=========================================*/

.checkout-summary{
    background:#fff;
    border-radius:20px;
    padding:35px;
    position:sticky;
    top:120px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.checkout-summary h3{
    font-family:'Cormorant Garamond',serif;
    color:#2D1B16;
    font-size:36px;
    margin-bottom:20px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
    color:#555;
}

.summary-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
}

.summary-total h2{
    color:#7B1E22;
    font-size:40px;
    font-family:'Cormorant Garamond',serif;
}

/*=========================================
ORDER ITEMS
=========================================*/

.checkout-item{
    display:flex;
    align-items:center;
    margin-bottom:20px;
}

.checkout-item img{
    width:70px;
    height:70px;
    border-radius:12px;
    object-fit:cover;
    margin-right:15px;
    background:#fff;
    padding:5px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.checkout-item h5{
    margin:0;
    font-size:18px;
    color:#2D1B16;
}

.checkout-item p{
    margin:3px 0;
    color:#777;
    font-size:14px;
}

.checkout-item strong{
    color:#7B1E22;
}

/*=========================================
PAYMENT METHOD
=========================================*/

.payment-method{
    margin-top:30px;
}

.payment-method h4{
    font-size:22px;
    color:#2D1B16;
    margin-bottom:20px;
    font-weight:600;
}

.payment-method .form-check{
    background:#F8F3E8;
    border:1px solid #E7DBC3;
    border-radius:12px;
    padding:15px 20px;
    margin-bottom:15px;
    transition:.3s;
}

.payment-method .form-check:hover{
    border-color:#C8A646;
    background:#FFF9EC;
}

.payment-method .form-check-input{
    margin-top:6px;
}

.payment-method .form-check-input:checked{
    background-color:#7B1E22;
    border-color:#7B1E22;
}

.payment-method label{
    cursor:pointer;
    margin-left:8px;
    font-weight:500;
}

/*=========================================
TERMS CHECKBOX
=========================================*/

.form-check-label{
    color:#555;
    font-size:15px;
    line-height:1.6;
}

.form-check-input:checked{
    background-color:#7B1E22;
    border-color:#7B1E22;
}

/*=========================================
PLACE ORDER BUTTON
=========================================*/

#placeOrder{
    height:60px;
    font-size:18px;
    font-weight:600;
    border-radius:12px;
    transition:.3s;
}

#placeOrder i{
    margin-right:10px;
}

#placeOrder:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(123,30,34,.25);
}

/*=========================================
ORDER ITEM CARD
=========================================*/

#checkoutItems{
    margin-bottom:25px;
}

.checkout-item{
    padding-bottom:15px;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
}

.checkout-item:last-child{
    border-bottom:none;
}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:992px){

.checkout-summary{
    position:relative;
    top:0;
    margin-top:35px;
}

}

@media(max-width:768px){

.checkout-page{
    padding:60px 0;
}

.checkout-form{
    padding:25px;
}

.checkout-summary{
    padding:25px;
}

.checkout-form h3,
.checkout-summary h3{
    font-size:30px;
}

.summary-total h2{
    font-size:30px;
}

#placeOrder{
    height:55px;
    font-size:16px;
}

}

@media(max-width:576px){

.checkout-form{
    padding:20px;
}

.checkout-summary{
    padding:20px;
}

.checkout-item img{
    width:60px;
    height:60px;
}

.checkout-item h5{
    font-size:16px;
}

.summary-total h2{
    font-size:28px;
}

.checkout-form h3,
.checkout-summary h3{
    font-size:26px;
}

}

/*=========================================
ANIMATION
=========================================*/

.checkout-form,
.checkout-summary{

animation:fadeUp .6s ease;

}

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(30px);

}

to{

opacity:1;
transform:translateY(0);

}

}