/*==================================================
CHECKOUT EBOOK
Sutan Khulifah Academy
==================================================*/

.checkout-wrapper{

    background:linear-gradient(
        180deg,
        #fffaf3 0%,
        #f8f4ee 100%
    );

    padding:90px 0;

}

/*==================================================
CONTAINER
==================================================*/

.checkout-container{

    max-width:1280px;

    margin:auto;

    padding:0 20px;

}

.checkout-header{

    text-align:center;

    margin-bottom:60px;

}

.checkout-header span{

    display:inline-block;

    background:#d8b16c;

    color:#17304f;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.checkout-header h1{

    font-size:48px;

    color:#17304f;

    margin-bottom:20px;

}

.checkout-header p{

    max-width:720px;

    margin:auto;

    color:#64748b;

    line-height:1.8;

    font-size:17px;

}

/*==================================================
GRID
==================================================*/

.checkout-grid{

    display:grid;

    grid-template-columns:340px 1fr;

    gap:40px;

    align-items:start;

}

/*==================================================
CARD
==================================================*/

.checkout-card{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

/*==================================================
SUMMARY
==================================================*/

.checkout-cover{
    text-align:center;
    margin-bottom:30px;
}

.checkout-cover-image{
    display:block;
    margin:0 auto;

    max-width:280px;
    width:100%;

    height:auto;

    border-radius:15px;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}
.checkout-title{

    text-align:center;

    font-size:30px;

    color:#17304f;

    margin-bottom:20px;

    line-height:1.4;

}

.checkout-meta{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-bottom:30px;

}

.checkout-meta div{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    background:#f8fafc;

    border-radius:14px;

}

.checkout-meta strong{

    color:#17304f;

}

.checkout-meta span{

    color:#64748b;

}

/*==================================================
PRICE
==================================================*/

.checkout-price{

    text-align:center;

    padding:30px;

    background:#17304f;

    color:#fff;

    border-radius:18px;

}

.checkout-price .old-price{

    display:block;

    font-size:18px;

    color:#d6d6d6;

    text-decoration:line-through;

    margin-bottom:10px;

}

.checkout-price .new-price{

    display:block;

    font-size:42px;

    font-weight:700;

    color:#d8b16c;

}

.checkout-price.free{

    font-size:42px;

    font-weight:700;

    color:#8ff0b2;

}

/*==================================================
FORM
==================================================*/

.checkout-form h2{

    color:#17304f;

    margin-bottom:30px;

}

.checkout-form-group{

    margin-bottom:25px;

}

.checkout-form-group label{

    display:block;

    margin-bottom:10px;

    color:#17304f;

    font-weight:600;

}

.checkout-form-group input,

.checkout-form-group textarea,

.checkout-form-group select{

    width:100%;

    padding:15px 18px;

    border:1px solid #dbe3ea;

    border-radius:14px;

    font-size:15px;

    transition:.3s;

    background:#fff;

}

.checkout-form-group input:focus,

.checkout-form-group textarea:focus,

.checkout-form-group select:focus{

    outline:none;

    border-color:#d8b16c;

    box-shadow:0 0 0 4px rgba(216,177,108,.15);

}

/*==================================================
ORDER
==================================================*/

.order-summary{

    margin-top:40px;

    border-top:1px solid #edf2f7;

    padding-top:30px;

}

.order-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:18px;

    color:#475569;

}

.order-total{

    display:flex;

    justify-content:space-between;

    margin-top:25px;

    padding-top:25px;

    border-top:2px dashed #d8b16c;

    font-size:24px;

    font-weight:700;

    color:#17304f;

}

/*==================================================
BUTTON
==================================================*/

.checkout-button{

    margin-top:40px;

}

.checkout-button .btn-primary{

    width:100%;

    padding:18px;

    border:none;

    border-radius:50px;

    background:#d8b16c;

    color:#17304f;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.checkout-button .btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(0,0,0,.18);

}

/*==================================================
PAYMENT
==================================================*/

.payment-method{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:35px;

}

.payment-card{

    border:2px solid #edf2f7;

    border-radius:18px;

    padding:20px;

    cursor:pointer;

    transition:.3s;

}

.payment-card:hover{

    border-color:#d8b16c;

    transform:translateY(-4px);

}

.payment-card.active{

    border-color:#d8b16c;

    background:#fffaf1;

}

/*==================================================
SECURITY
==================================================*/

.checkout-security{

    margin-top:60px;

}

.security-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.security-item{

    background:#fff;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.security-item i{

    font-size:40px;

    margin-bottom:18px;

    color:#d8b16c;

}

.security-item h3{

    color:#17304f;

    margin-bottom:10px;

    font-size:20px;

}

.security-item p{

    color:#64748b;

    line-height:1.7;

    font-size:15px;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1100px){

.checkout-grid{

    grid-template-columns:1fr;

}

.checkout-cover{

    margin-bottom:40px;

}

}

@media(max-width:768px){

.checkout-wrapper{

    padding:60px 0;

}

.checkout-card{

    padding:25px;

}

.checkout-header h1{

    font-size:34px;

}

.checkout-title{

    font-size:24px;

}

.payment-method{

    grid-template-columns:1fr;

}

.security-grid{

    grid-template-columns:1fr;

}

.checkout-price .new-price{

    font-size:34px;

}

}
/*=========================================
FORM
=========================================*/

.checkout-form p{

    color:#64748b;

    margin-bottom:35px;

    line-height:1.8;

}

.checkout-form-group{

    margin-bottom:25px;

}

.checkout-form-group label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

    color:#17304f;

}

.checkout-form-group input,

.checkout-form-group textarea{

    width:100%;

    padding:15px 18px;

    border:1px solid #d9e2ec;

    border-radius:14px;

    font-size:15px;

    transition:.3s;

}

.checkout-form-group input:focus,

.checkout-form-group textarea:focus{

    outline:none;

    border-color:#d8b16c;

    box-shadow:0 0 0 4px rgba(216,177,108,.15);

}

.coupon-wrapper{

    display:flex;

    gap:12px;

}

.coupon-wrapper input{

    flex:1;

}

.checkbox{

    display:flex !important;

    align-items:flex-start;

    gap:15px;

    line-height:1.8;

}

.checkbox input{

    width:22px;

    height:22px;

    margin-top:3px;

}

.checkbox a{

    color:#17304f;

    font-weight:600;

    text-decoration:none;

}

.checkbox a:hover{

    color:#d8b16c;

}

.checkout-cover img,
.checkout-cover-image{

    display:block !important;

    width:auto !important;

    height:auto !important;

    max-width:280px !important;

    max-height:none !important;

    object-fit:unset !important;

    margin:0 auto !important;

    border-radius:15px;

}