/* =====================================================
   CHECKOUT PAGE
===================================================== */

.ec-checkout-page{
    background:#f8fafc;
    min-height:100vh;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.ec-checkout-breadcrumb{
    font-size:14px;
    color:#94a3b8;
}

.ec-checkout-breadcrumb a{
    color:#64748b;
    text-decoration:none;
}

.ec-checkout-current{
    color:#0f172a;
    font-weight:600;
}

/* =====================================================
   HEADER
===================================================== */

.ec-checkout-header-badge{
    padding:10px 16px;
    font-size:13px;
    font-weight:600;
    border:1px solid #e2e8f0;
}

.ec-checkout-title{
    font-size:clamp(2rem, 4vw, 3rem);
    line-height:1.05;
    letter-spacing:-1px;
    color:#0f172a;
}

.ec-checkout-subtitle{
    max-width:620px;
    font-size:15px;
}

.ec-checkout-back-btn{
    border-radius:14px;
    padding:12px 18px;
    font-weight:600;
    border:1px solid #e2e8f0;
    background:#fff;
}

/* =====================================================
   CARDS
===================================================== */

.ec-checkout-card,
.ec-checkout-summary-card{
    border-radius:24px;
    background:#fff;
}

/* =====================================================
   SECTION ICON
===================================================== */

.ec-checkout-section-icon{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#f1f5f9;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#475569;
    font-size:20px;
    flex-shrink:0;
}

/* =====================================================
   INPUTS
===================================================== */

.ec-checkout-input,
.ec-checkout-textarea{
    border-radius:16px;
    background:#fff;
    padding:14px 16px;
    font-size:15px;
    color:#0f172a;
    box-shadow:none !important;
}


.ec-checkout-textarea{
    resize:none;
    min-height:120px;
}

/* =====================================================
   BOX
===================================================== */

.ec-checkout-box{
    border:1px solid #edf2f7;
    border-radius:20px;
    padding:20px;
    background:#fff;
}

/* =====================================================
   PAYMENT
===================================================== */

.ec-checkout-payment-icon{
    width:58px;
    height:58px;
    border-radius:16px;
    background:#f8fafc;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#334155;
    font-size:24px;
    flex-shrink:0;
}

/* =====================================================
   SUMMARY
===================================================== */

.ec-checkout-summary-column{
    top:20px;
    z-index:10;
}

.ec-checkout-product-item{
    display:flex;
    align-items:center;
    gap:14px;
}

.ec-checkout-product-image{
    width:72px;
    height:72px;
    border-radius:18px;
    background:#f1f5f9;
    flex-shrink:0;
}

.ec-checkout-product-item h4{
    font-size:14px;
    line-height:1.4;
    font-weight:700;
    color:#0f172a;
}

.ec-checkout-product-item span{
    font-size:13px;
    color:#64748b;
}

.ec-checkout-product-price{
    font-size:15px;
    font-weight:700;
    color:#0f172a;
}

.ec-checkout-summary-totals{
    border-top:1px solid #edf2f7;
    border-bottom:1px solid #edf2f7;
    padding:22px 0;
    margin:24px 0;
}

.ec-checkout-final-total{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:12px;
    margin-bottom:24px;
}

.ec-checkout-final-total span{
    font-size:16px;
    font-weight:600;
    color:#334155;
}

.ec-checkout-final-total strong{
    font-size:34px;
    line-height:1;
    letter-spacing:-1px;
    font-weight:800;
    color:#0f172a;
}

/* =====================================================
   BUTTON
===================================================== */

.ec-checkout-confirm-btn{
    border:none;
    border-radius:18px;
    padding:16px 20px;
    font-weight:700;
}

/* =====================================================
   TRUST
===================================================== */

.ec-checkout-trust-box{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.ec-checkout-trust-item{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    font-size:13px;
    color:#475569;
    font-weight:500;
}

.ec-checkout-trust-item i{
    color:#475569;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:991px){

    .ec-checkout-summary-column{
        position:relative !important;
        top:0;
    }

}

@media(max-width:768px){

    .ec-checkout-card,
    .ec-checkout-summary-card{
        border-radius:20px;
    }

    .ec-checkout-final-total strong{
        font-size:30px;
    }

}

@media(max-width:576px){

    .ec-checkout-page{
        padding-bottom:80px;
    }

    .ec-checkout-card .card-body,
    .ec-checkout-summary-card .card-body{
        padding:20px !important;
    }

    .ec-checkout-final-total{
        flex-direction:column;
        align-items:flex-start;
    }

    .ec-checkout-trust-box{
        flex-direction:column;
    }

    .ec-checkout-trust-item{
        width:100%;
        justify-content:center;
    }

}