/*==========================
PAYMENT PAGE
==========================*/

.payment-header h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:12px;

}

.payment-header p{

    color:#777;

    font-size:17px;

}

.billing-item{

    display:flex;

    gap:18px;

    margin-bottom:22px;

    align-items:flex-start;

}

.billing-item:last-child{

    margin-bottom:0;

}

.billing-item i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#edf3ee;

    color:#8AA08B;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}

.payment-method-box{

    display:flex;

    align-items:center;

    gap:20px;

    background:#f8faf8;

    padding:22px;

    border-radius:16px;

    border:1px solid #e8ece8;

}

.payment-text h5{

    margin-bottom:8px;

    font-weight:700;

}

.payment-text p{

    margin:0;

    color:#666;

}




/*====================================
PAYMENT SUMMARY
====================================*/

.checkout-summary{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.05);


}

.summary-header{

    margin-bottom:30px;

}

.summary-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 0;

    border-bottom:1px solid #f1f1f1;

}

.summary-row span{

    color:#666;

    font-size:16px;

}

.summary-row strong{

    font-size:18px;

    font-weight:700;

}

.grand-total{

    font-size:22px;

    font-weight:700;

}

.grand-total strong{

    color:#8AA08B;

    font-size:28px;

}

.payment-security{

    margin:30px 0;

    padding-top:25px;

    border-top:1px solid #ececec;

}

.payment-security div{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:16px;

    color:#666;

    font-size:15px;

}

.payment-security i{

    width:22px;

    color:#8AA08B;

    font-size:17px;

}

.payment-logo{

    text-align:center;

    margin:25px 0;

}

.payment-logo img{

    height:42px;

}

.payment-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:50px;

    background:#3395ff;

    color:#fff;

    font-size:18px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    cursor:pointer;

    transition:.3s;

}

.payment-btn:hover{

    background:#2477d8;

    transform:translateY(-2px);

}

.payment-btn i{

    font-size:18px;

}



.checkout-product-meta{
    display:flex;
    gap:20px;
    margin-top:10px;
    flex-wrap:wrap;
}

.checkout-product-meta small{
    color:#666;
    font-size:14px;
}

.checkout-product-meta strong{
    color:#222;
    font-weight:600;
}

.checkout-product-price{
    text-align:right;
    min-width:120px;
    font-size:30px;
    font-weight:700;
    color:#8AA08B;
}

.checkout-product-price small{
    display:block;
    margin-top:6px;
    font-size:13px;
    color:#888;
    font-weight:500;
}

.checkout-product{
    display:flex;
    align-items:center;
    gap:20px;
    padding:10px 0;
}

.checkout-product-image{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid #ececec;
}

.checkout-variation{
    margin-top:8px;
    margin-bottom:8px;
}

.checkout-variation span{
    display:inline-block;
    background:#f5f5f5;
    color:#555;
    border-radius:20px;
    padding:5px 12px;
    margin-right:8px;
    margin-bottom:6px;
    font-size:12px;
    font-weight:600;
}

.payment-summary-sticky{
    position: sticky;

    top: 120px;

    align-self: flex-start;
}






/*=========================================
PAYMENT METHOD CARD
=========================================*/

.payment-method-card{
    overflow:hidden;
}

.payment-method-wrapper{

    display:flex;
    align-items:center;
    gap:30px;

    padding:28px;

    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;

    transition:.3s;

}

.payment-method-wrapper:hover{

    border-color:#d9e5da;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.payment-method-logo{

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

}

.payment-logo-image{

    width:170px;
    max-width:100%;
    height:auto;

}

.payment-method-content{

    flex:1;

}

.payment-method-content h5{

    font-size:26px;
    font-weight:700;
    color:#222;

    margin-bottom:10px;

}

.payment-method-content p{

    margin-bottom:18px;

    color:#666;

    font-size:16px;
    line-height:1.6;

}

.payment-method-badges{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.payment-method-badges span{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:7px 14px;

    background:#f6f6f6;

    color:#555;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    transition:.25s;

}

.payment-method-badges span:hover{

    background:#edf3ee;

    color:#56745d;

}


/*=========================================
MOBILE
=========================================*/

@media (max-width:768px){

    .payment-method-wrapper{

        flex-direction:column;

        text-align:center;

        gap:22px;

        padding:24px;

    }

    .payment-logo-image{

        width:180px;

    }

    .payment-method-content h5{

        font-size:22px;

    }

    .payment-method-content p{

        font-size:15px;

    }

    .payment-method-badges{

        justify-content:center;

    }

}




.payment-loader{

    position:fixed;
    inset:0;
    background:rgba(255,255,255,.96);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:999999;

}

.payment-loader.active{

    display:flex;

}

.loader-box{

    text-align:center;
    max-width:420px;
    padding:40px;

}

.loader-spinner{

    width:70px;
    height:70px;

    border:6px solid #edf3ee;
    border-top:6px solid #8AA08B;

    border-radius:50%;

    margin:0 auto 30px;

    animation:spin .8s linear infinite;

}

.loader-title{

    font-size:30px;
    font-weight:700;
    color:#222;
    margin-bottom:12px;

}

.loader-text{

    color:#666;
    font-size:17px;
    line-height:28px;

}

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}
