/* Franja de medios de pago (checkout público y panel estudiante) */
.mc-checkout-payment-strip {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: #eef1f6;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.mc-checkout-payment-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.mc-checkout-payment-strip-label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9375rem;
    flex: 0 0 auto;
    line-height: 1.3;
}

.mc-checkout-payment-strip-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}

.mc-checkout-payment-strip-logos > li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-sizing: border-box;
    height: 32px;
    min-width: 48px;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    flex-shrink: 0;
}

.mc-pay-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.mc-pay-mark svg {
    display: block;
    width: auto;
    height: 32px;
}

.mc-pay-local {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 48px;
    padding: 0 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 7px;
    color: #fff;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.mc-pay-local--yape {
    background: linear-gradient(135deg, #5b1a6e 0%, #74248c 45%, #a855f7 100%);
}

.mc-pay-local--plin {
    background: #00b4e6;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.mc-pay-local--bim {
    background: linear-gradient(90deg, #0d9488 0%, #db2777 52%, #84cc16 100%);
}

.mc-pay-local--pagoefectivo {
    background: #ffcd00;
    color: #111827;
    font-size: 0.58rem;
    letter-spacing: 0;
    padding: 0 0.45rem;
}

.mc-pay-local--cuotealo {
    background: #002a8d;
    font-size: 0.68rem;
}

.checkout-wrap .mc-checkout-payment-strip {
    max-width: 100%;
}

[data-bs-theme="dark"] .mc-checkout-payment-strip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .mc-checkout-payment-strip-label {
    color: #f1f5f9;
}

[data-bs-theme="dark"] .mc-checkout-payment-strip-logos > li {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

/* Card Pago seguro · Culqi (misma pieza que en ficha de programa) */
.checkout-pay-trust-card .course-hero-pay-trust--card {
    margin: 0;
    padding: 0.15rem 0.15rem 0.05rem;
    border-top: 0;
    text-align: center;
}

.checkout-pay-trust-card .course-hero-pay-trust__label {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.checkout-pay-trust-card .course-hero-pay-trust__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
}

.checkout-pay-trust-card .course-hero-pay-trust__logos > li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.checkout-pay-trust-card .course-hero-pay-trust__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

.checkout-pay-trust-card .course-hero-pay-trust__logo--visa {
    height: 30px;
}

.checkout-pay-trust-card .course-hero-pay-trust__logo--mastercard {
    height: 42px;
}

.checkout-pay-trust-card .course-hero-pay-trust__logo--yape {
    height: 40px;
}

.checkout-pay-trust-card .course-hero-pay-trust__bank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    color: #1e3a5f;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.checkout-pay-trust-card .course-hero-pay-trust__bank svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

@media (max-width: 420px) {
    .checkout-pay-trust-card .course-hero-pay-trust__logos {
        flex-wrap: wrap;
        row-gap: 0.65rem;
    }
    .checkout-pay-trust-card .course-hero-pay-trust__logos > li {
        flex: 1 1 40%;
    }
}

.checkout-invoice-ruc {
    margin-top: 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.checkout-invoice-ruc__toggle .form-check-input {
    margin-top: 0.35rem;
}

.checkout-invoice-ruc__toggle .form-check-label {
    display: block;
    padding-left: 0.15rem;
}

.checkout-invoice-ruc__hint,
.checkout-invoice-ruc__note {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
}

.checkout-invoice-ruc__fields {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px dashed #dbe3ef;
}

.checkout-invoice-ruc__note {
    margin-top: 0.75rem;
}

[data-bs-theme="dark"] .checkout-invoice-ruc {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .checkout-invoice-ruc__hint,
[data-bs-theme="dark"] .checkout-invoice-ruc__note {
    color: #94a3b8;
}
