/*==================================
        CHECKOUT PAGE
==================================*/

.checkout-section{
    padding:60px 0;
    background:#fffaf7;
}

.checkout-title h2{
    font-size:40px;
    font-weight:500;
    color:#1b1b1b;
    margin-bottom:10px;
}

.checkout-title p{
    color:#777;
    margin:0;
}


/*==================================
        BILLING FORM
==================================*/

.checkout-form{
    background:#fff;
    border:1px solid #f2dfd3;
    border-radius:15px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.checkout-form h3{
    font-size:28px;
    margin-bottom:30px;
    font-weight:500;
}

.checkout-form .form-group{
    margin-bottom:22px;
}

.checkout-form label{
    display:block;
    font-size:15px;
    font-weight:500;
    margin-bottom:8px;
    color:#333;
}

.checkout-form .form-control{
    width:100%;
    height:45px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 18px;
    transition:.35s;
    box-shadow:none;
}

.checkout-form textarea.form-control{
    height:140px;
    padding:15px 18px;
    resize:none;
}

.checkout-form select.form-control{
    cursor:pointer;
}

.checkout-form .form-control:focus{
    border-color:#eb6b2d;
    box-shadow:0 0 0 3px rgba(235,107,45,.12);
    outline:none;
}


/*==================================
        ORDER SUMMARY
==================================*/

.checkout-summary{
    background:#fff;
    border:1px solid #f2dfd3;
    border-radius:15px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    position:sticky;
    top:120px;
}

.checkout-summary h3{
    font-size:24px;
    margin-bottom:20px;
    font-weight:500;
}


/*==================================
        PRODUCT
==================================*/

.checkout-product{
    display:flex;
    align-items:center;
    gap:15px;
    padding-bottom:15px;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
}

.checkout-product:last-of-type{
    margin-bottom:25px;
}

.checkout-product .image{
    width:75px;
    flex:0 0 75px;
}

.checkout-product .image img{
    width:100%;
    height:75px;
    object-fit:contain;
}   

.checkout-product .content{
    flex:1;
    min-width:140px;
}

.checkout-product .content h5{
    font-size:18px;
    line-height:1.3;
    margin-bottom:4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-product .content span{
    color:#777;
    font-size:14px;
}

.checkout-product .price{
    color:#eb6b2d;
    font-size:20px;
    font-weight:500;
}


/*==================================
        TOTAL
==================================*/

.checkout-total{
    list-style:none;
    margin:0;
    padding:0;
}

.checkout-total li{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    color:#555;
}

.checkout-total li strong{
    color:#111;
}

.checkout-total .grand-total{
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #eee;
    font-size:22px;
    font-weight:500;
}


/*==================================
        PAYMENT
==================================*/

.payment-method{
    margin-top:30px;
}

.payment-method h4{
    font-size:20px;
    margin-bottom:10px;
    font-weight:500;
}

.payment-method label{
    display:flex;
    align-items:center;
    gap:10px;
    padding:7px 0;
    cursor:pointer;
    color:#444;
    font-size:15px;
    transition:.3s;
}

.payment-method label:hover{
    color:#eb6b2d;
}

.payment-method input[type="radio"]{
    accent-color:#eb6b2d;
}


/*==================================
        TERMS
==================================*/

.agree-box{
    margin:25px 0;
}

.agree-box label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:14px;
    cursor:pointer;
    color:#555;
}

.agree-box input{
    margin-top:4px;
    accent-color:#eb6b2d;
}


/*==================================
        BUTTON
==================================*/

.place-order-btn{
    display:block;
    width:100%;
    height:56px;
    line-height:56px;
    text-align:center;
    border-radius:10px;
    background:#eb6b2d;
    color:#fff;
    text-decoration:none;
    font-size:17px;
    font-weight:500;
    transition:.35s;
}

.place-order-btn:hover{
    background:#111;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}


/*==================================
        RESPONSIVE
==================================*/

@media(max-width:991px){

    .checkout-summary{
        margin-top:35px;
        position:relative;
        top:0;
    }

}

@media(max-width:767px){

    .checkout-section{
        padding:60px 0;
    }

    .checkout-title h2{
        font-size:32px;
    }

    .checkout-form{
        padding:25px;
    }

    .checkout-summary{
        padding:25px;
    }

    .checkout-product{
        gap:12px;
    }

    .checkout-product .image{
        width:60px;
        flex:0 0 60px;
    }

    .checkout-product .content h5{
        font-size:15px;
    }

    .checkout-product .price{
        font-size:18px;
    }

    .place-order-btn{
        height:52px;
        line-height:52px;
    }

}