.checkout-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:0.3s;
    z-index:3000;
    padding:20px;
}
.checkout-modal.active{
    opacity:1;
    visibility:visible;
}
.checkout-modal-box{
    width:100%;
    max-width:650px;
    background:white;
    border-radius:35px;
    padding:45px;
    position:relative;
    animation:checkoutFade 0.3s ease;
}

@keyframes checkoutFade{

    from{
        transform:translateY(30px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}
.close-checkout-modal{
    position:absolute;
    top:22px;
    right:22px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#f3f3f3;
    color:#333;
    font-size:18px;
}
.checkout-header{
    margin-bottom:35px;
}
.checkout-header h2{
    font-family:'Playfair Display',serif;
    font-size:2.2rem;
    color:var(--primary);
    margin-bottom:10px;
}
.checkout-header p{
    color:#666;
}
.checkout-form{
    display:flex;
    flex-direction:column;
    gap:24px;
}
.checkout-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.checkout-input{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.checkout-input label{
    font-weight:600;
    color:var(--dark);
}
.checkout-input input,
.checkout-input textarea{
    width:100%;
    border:none;
    background:#f7f4ef;
    border-radius:18px;
    padding:16px 18px;
    font-size:15px;
    outline:none;
}
.checkout-input textarea{
    min-height:120px;
    resize:none;
}
.payment-disclaimer{
    background:rgba(139,94,60,0.08);
    border-radius:20px;
    padding:18px 20px;
    display:flex;
    gap:14px;
    align-items:flex-start;
    color:var(--dark);
    line-height:1.7;
}
.finish-order-btn{
    width:100%;
    height:62px;
    border:none;
    border-radius:22px;
    background:var(--primary);
    color:white;
    font-weight:600;
    font-size:16px;
    transition:0.3s;
}
.finish-order-btn:hover{
    background:var(--secondary);
}

@media(max-width:768px){
    .checkout-modal-box{
        padding:30px;
        border-radius:28px;
    }
    .checkout-grid{
        grid-template-columns:1fr;
    }

}