/*=========================================
CUSTOM CHECKOUT
=========================================*/

.teg-checkout-page{

    background:#f5f7fb;

    padding:70px 0;

}

.teg-checkout-page .container{

    max-width:1400px;

    margin:auto;

    padding:0 20px;

}

/*=========================================
HEADER
=========================================*/

.checkout-header{

    text-align:center;

    margin-bottom:55px;

}

.checkout-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 20px;

    border-radius:50px;

    background:#eef4ff;

    color:#173F90;

    font-weight:700;

    border:1px solid #d7e5ff;

}

.checkout-header h1{

    font-size:52px;

    margin:18px 0 12px;

    color:#111;

    font-weight:800;

}

.checkout-header p{

    color:#777;

    font-size:18px;

}

/*=========================================
LAYOUT
=========================================*/

.checkout-layout{
    display:grid;
    grid-template-columns: 1.15fr 1fr;
    gap:32px;
}/*=========================================
CARDS
=========================================*/

.checkout-card,

.checkout-summary{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.checkout-card h2,

.checkout-summary h2{

    font-size:32px;

    margin-bottom:35px;

    font-weight:800;

}

/*=========================================
FIELDS
=========================================*/

.checkout-field{
    width:100%;
}

.checkout-field label{

    display:block;

    font-weight:700;

    margin-bottom:10px;

}

.checkout-field input{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

.checkout-field input:focus{

    outline:none;

    border-color:#173F90;

    box-shadow:0 0 0 5px rgba(23,63,144,.08);

}/*=========================================
ORDER SUMMARY
=========================================*/

.checkout-summary{

    position:sticky;

    top:30px;

}

.summary-product{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px;

    border-bottom:1px solid #edf1f7;

}

.summary-product:last-child{

    border-bottom:none;

}

.summary-product-image img{

    width:80px;

    height:80px;

    object-fit:cover;

    border-radius:14px;

    border:1px solid #e5e5e5;

}

.summary-product-content{

    flex:1;

}

.summary-product-content h3{
    line-height:1.4;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.summary-meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.summary-qty{

    font-size:14px;

    color:#666;

    background:#eef4ff;

    padding:6px 12px;

    border-radius:30px;

}

.summary-price{

    font-size:18px;

    font-weight:700;

    color:#173F90;

}/*=========================================
TOTALS
=========================================*/

.summary-totals{

    margin-top:30px;

    padding-top:25px;

    border-top:2px dashed #dfe7f3;

}

.summary-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:18px;

    font-size:17px;

}

.summary-row strong{

    font-size:18px;

}

.summary-row.total{

    font-size:22px;

    font-weight:800;

    color:#173F90;

}

/*=========================================
COUPON
=========================================*/

.checkout-coupon-card{

    margin-top:30px;

    padding:25px;

    border-radius:18px;

    background:#f7f9fc;

    border:1px solid #e4e9f3;

}

.checkout-coupon-card h3{

    margin-bottom:18px;

}

.coupon-row{

    display:flex;

    gap:12px;

}

.coupon-input{

    flex:1;

    height:52px;

    padding:0 18px;

    border-radius:12px;

    border:1px solid #d8dfeb;

}

.coupon-btn{

    width:120px;

    border:none;

    background:#173F90;

    color:#fff;

    border-radius:12px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.coupon-btn:hover{

    background:#0f2d68;

}

/*=========================================
FEATURES
=========================================*/

.checkout-features{

    margin-top:30px;

}

.feature-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 0;

    color:#444;

    font-weight:600;

}/*=========================================
PAYMENT
=========================================*/

.checkout-payment{

    margin-top:35px;

    padding:25px;

    border:1px solid #e6ebf4;

    border-radius:18px;

    background:#fff;

}

.payment-method{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 0;

    cursor:pointer;

    font-weight:600;

    border-bottom:1px solid #edf2f7;

}

.payment-method:last-child{

    border-bottom:none;

}

.payment-method input{

    width:20px;

    height:20px;

}

.payment-box{

    padding:18px;

    margin:15px 0;

    background:#f8f9fc;

    border-radius:14px;

    border:1px solid #e3e8f2;

}

/*=========================================
PLACE ORDER
=========================================*/

.checkout-place-order,
#place_order{

    width:100% !important;

    height:62px;

    margin-top:30px;

    border:none;

    border-radius:16px;

    background:linear-gradient(135deg,#173F90,#2f63d8);

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

}

.checkout-place-order:hover,
#place_order:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 40px rgba(23,63,144,.30);

}

/*=========================================
HOVER
=========================================*/

.checkout-card,
.checkout-summary{

    transition:.35s;

}

.checkout-card:hover,
.checkout-summary:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:992px){

.checkout-layout{

grid-template-columns:1fr;

}

.checkout-summary{

position:relative;

top:0;

}

.checkout-header h1{

font-size:38px;

}

}

@media(max-width:768px){

.checkout-card,
.checkout-summary{

padding:25px;

}

.summary-product{

flex-direction:column;

align-items:flex-start;

}

.summary-meta{

width:100%;

margin-top:12px;

}

.coupon-row{

flex-direction:column;

}

.coupon-btn{

width:100%;

height:52px;

}

.checkout-header h1{

font-size:32px;

}

.checkout-header p{

font-size:16px;

}

}.checkout-header{

    max-width:700px;

    margin:0 auto 60px;

}

.checkout-header h1{

    font-size:58px;

    line-height:1.1;

    letter-spacing:-2px;

    font-weight:800;

}

.checkout-header p{

    font-size:20px;

    color:#7d8795;

    margin-top:18px;

}.checkout-card{

    border-radius:28px;

    border:1px solid #edf2f8;

    box-shadow:
    0 20px 60px rgba(0,0,0,.05);

}.checkout-field input{

    height:64px;

    border-radius:16px;

    font-size:17px;

    padding:0 22px;

}

.checkout-field input:focus{

    border-color:#1b57d0;

    box-shadow:
    0 0 0 6px rgba(27,87,208,.08);

}.summary-product{

    padding:22px;

    border-radius:18px;

    background:#fafbfd;

    margin-bottom:18px;

    border:none;

}.summary-product-image img{

    width:80px;

    height:80px;

    border-radius:18px;

    object-fit:cover;

    box-shadow:

    0 10px 25px rgba(0,0,0,.10);

}.summary-product-content h3{
    line-height:1.4;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}.summary-qty{

    background:#edf4ff;

    color:#2152b8;

    border-radius:40px;

    padding:5px 14px;

    font-size:13px;

    font-weight:700;

}.checkout-coupon-card{

    border-radius:20px;

    background:#f8fbff;

    border:1px solid #dce7ff;

}

.coupon-btn{

    border-radius:14px;

    height:54px;

}.checkout-place-order{

    height:66px;

    font-size:19px;

    border-radius:18px;

    letter-spacing:.4px;

    box-shadow:

    0 18px 40px rgba(32,77,199,.25);

}.checkout-summary{

    position:sticky;

    top:25px;

    border-radius:28px;

}
.applied-coupon-box{

    margin-bottom:20px;

}

.applied-coupon{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:14px 18px;

    border-radius:14px;

    background:#eef5ff;

    border:1px solid #cfe0ff;

}

.coupon-name{

    flex:1;

    margin-left:10px;

    color:#173F90;

    font-weight:700;

}

.remove-coupon{

    width:32px;

    height:32px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    text-decoration:none;

    background:#fff;

    color:#ff4d4f;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

}

.remove-coupon:hover{

    background:#ff4d4f;

    color:#fff;

}/*==============================
THANK YOU PAGE
===============================*/

.teg-thankyou-page{

padding:70px 20px;
background:#f5f7fc;

}

.teg-thankyou-card{

max-width:900px;
margin:auto;
background:#fff;
border-radius:25px;
padding:45px;
box-shadow:0 20px 60px rgba(0,0,0,.08);

}

/* Success Icon */

.woocommerce-order{

text-align:center;

}

.woocommerce-order:before{

content:"✓";
display:flex;
align-items:center;
justify-content:center;

width:90px;
height:90px;

margin:0 auto 25px;

border-radius:50%;

background:#22c55e;
color:#fff;

font-size:42px;
font-weight:bold;

}

/* Thank You Text */

.woocommerce-notice{

font-size:36px;
font-weight:800;
color:#163a84;
margin-bottom:10px;

}

.order-summary-title{

font-size:28px;
margin:40px 0 25px;
color:#163a84;

}

/* Order Table */

.woocommerce-order-overview{

display:grid;
grid-template-columns:repeat(4,1fr);

gap:20px;

list-style:none;

padding:0;
margin:0 0 40px;

}

.woocommerce-order-overview li{

background:#f8f9fd;

padding:25px;

border-radius:18px;

text-align:center;

font-weight:600;

}

/* Payment Button */

.payment-button-box{

margin-top:35px;

}

.payment-button-box a,
.payment-button-box button,
.payment-button-box input{

display:inline-flex;

align-items:center;
justify-content:center;

background:#163a84!important;
color:#fff!important;

padding:18px 45px;

border-radius:14px;

font-size:18px;

font-weight:700;

border:none;

text-decoration:none;

transition:.3s;

}

.payment-button-box a:hover,
.payment-button-box button:hover{

background:#d79d00!important;
transform:translateY(-3px);

}/* =========================================
   TEG PREMIUM CHECKOUT
   RESPONSIVE
========================================= */

.teg-checkout-page {
    width: 100%;
}

.teg-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 40px;
    align-items: start;
}

.teg-checkout-left,
.teg-checkout-right {
    min-width: 0;
}

.checkout-card,
.checkout-summary-card {
    width: 100%;
    box-sizing: border-box;
}

.teg-checkout-form .form-row {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

.teg-checkout-form input,
.teg-checkout-form select,
.teg-checkout-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 900px) {

    .teg-checkout-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .teg-checkout-right {
        order: 2;
    }

    .teg-checkout-left {
        order: 1;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .teg-checkout-layout {
        display: block;
    }

    .checkout-card,
    .checkout-summary-card {
        padding: 20px !important;
        border-radius: 18px;
    }

    .teg-checkout-header {
        text-align: center;
    }

    .checkout-title {
        font-size: 30px !important;
        line-height: 1.2;
    }

    .checkout-description {
        font-size: 15px;
    }

    .teg-checkout-form input,
    .teg-checkout-form select,
    .teg-checkout-form textarea {
        min-height: 52px;
        font-size: 16px;
    }
}