.checkout-page-body {
    background: var(--efe-bg);
    color: var(--efe-text);
}

.checkout-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 30px;
}

.checkout-mini-header {
    padding: 18px 0 20px;
}

.checkout-mini-header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 140px 1fr 140px;
    align-items: center;
    border-bottom: 1px solid #dfe5ec;
    padding-bottom: 14px;
}

.checkout-brand-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkout-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 58px;
}

.checkout-mini-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--efe-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.9rem;
    text-transform: lowercase;
    line-height: 1;
}

.checkout-logo-img {
    max-width: 140px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
}

.checkout-stepper-area {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.checkout-mini-main {
    padding-top: 18px;
    min-height: 45vh;
}

.checkout-steps-header {
    margin: 0;
    width: 100%;
    max-width: 420px;
}

.checkout-page-body .checkout-steps {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 72px;
}

.checkout-page-body .checkout-progress-line {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 2px;
    background: #d7dee7;
    z-index: 0;
}

.checkout-page-body .checkout-step {
    position: relative;
    z-index: 1;
    text-align: center;
    min-width: 72px;
}

.checkout-page-body .checkout-step-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background: #fff;
    border: 2px solid #9eacba;
}

.checkout-page-body .checkout-step-label {
    font-size: .88rem;
    color: #8a97a6;
    font-weight: 500;
}

.checkout-step.done .checkout-step-circle {
    background: var(--efe-navy);
    border-color: var(--efe-navy);
    position: relative;
}

    .checkout-step.done .checkout-step-circle::after {
        content: "?";
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -54%);
    }

.checkout-step.active .checkout-step-circle {
    background: var(--efe-blue);
    border-color: var(--efe-blue);
}

.checkout-step.pending .checkout-step-circle {
    background: #fff;
    border-color: #9eacba;
}

.checkout-step.done .checkout-step-label,
.checkout-step.active .checkout-step-label {
    color: var(--efe-blue);
    font-weight: 700;
}

.checkout-step.pending .checkout-step-label {
    color: #8a97a6;
}

.checkout-page-body .summary-card {
    border-radius: 10px;
}

.checkout-page-body .content-card,
.checkout-page-body .address-card,
.checkout-page-body .delivery-option-card,
.checkout-page-body .payment-option-card,
.checkout-page-body .payment-mini-card,
.checkout-page-body .pickup-point-card {
    border-radius: 8px;
}

.checkout-page-body .checkout-link-action {
    font-size: .9rem;
}

.checkout-page-body .checkout-primary-btn {
    min-width: 210px;
}

@media (max-width: 991.98px) {
    .checkout-shell {
        padding: 0 16px 24px;
    }

    .checkout-mini-header {
        padding: 14px 0 18px;
    }

    .checkout-mini-header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px;
        min-height: auto;
    }

    .checkout-brand-area {
        justify-content: center;
        width: 100%;
    }

    .checkout-logo-img {
        max-width: 120px;
    }

    .checkout-stepper-area {
        width: 100%;
    }

    .checkout-steps-header {
        max-width: 360px;
    }

    .checkout-page-body .checkout-steps {
        gap: 52px;
    }

    .checkout-page-body .checkout-progress-line {
        width: 180px;
    }
}

@media (max-width: 575.98px) {
    .checkout-mini-logo {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }

    .checkout-steps-header {
        max-width: 300px;
    }

    .checkout-page-body .checkout-steps {
        gap: 34px;
    }

    .checkout-page-body .checkout-progress-line {
        width: 145px;
    }

    .checkout-page-body .checkout-step-label {
        font-size: .8rem;
    }
}

/* ===== Paleta comercial rojo / naranja / gris ===== */
.checkout-page-body {
    background: linear-gradient(180deg, #f7f7f7 0%, #f2f2f3 100%);
    color: #222;
}

.checkout-mini-header-inner {
    border-bottom: 1px solid #e2e2e2;
}

.checkout-mini-logo {
    background: linear-gradient(135deg, #003366 0%, #004F9F 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
}

.checkout-page-body .checkout-progress-line {
    background: #d6d6da;
}

.checkout-page-body .checkout-step-circle {
    background: #fff;
    border: 2px solid #a1a1aa;
}

.checkout-step.done .checkout-step-circle {
    background: #2b2b2b;
    border-color: #2b2b2b;
}

.checkout-step.active .checkout-step-circle {
    background: #004F9F;
    border-color: #004F9F;
}

.checkout-step.done .checkout-step-label,
.checkout-step.active .checkout-step-label {
    color: #004F9F;
}

.checkout-page-body .summary-card,
.checkout-page-body .content-card,
.checkout-page-body .address-card,
.checkout-page-body .delivery-option-card,
.checkout-page-body .payment-option-card,
.checkout-page-body .payment-mini-card,
.checkout-page-body .pickup-point-card {
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.checkout-page-body .checkout-link-action {
    color: #004F9F;
}

.checkout-page-body .checkout-primary-btn {
    background: linear-gradient(90deg, #003366 0%, #004F9F 100%);
    border-color: #003366;
    color: #fff;
}

.checkout-page-body .checkout-primary-btn:hover {
    background: linear-gradient(90deg, #981717 0%, #b62626 100%);
    border-color: #981717;
}

