/* Shared installment tables and payment/shipping dialogs. */
.cuotas-modern, .commerce-modal, .commerce-method-card {
    --commerce-accent: var(--main-bg-color, #333);
    --commerce-on-accent: var(--main-letra, #fff);
    --commerce-border: #e3e6eb;
    --commerce-muted: #68717e;
    color: #303741;
}
.cuotas-modern { min-width: 0; width: 100%; margin: 0; }
.cuotas-modern .payment-methods__list { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.cuotas-modern .payment-methods__list.slick-initialized { display: block; }
.cuotas-modern .payment-methods__item { min-width: 0; margin: 0; padding: 0; border: 1px solid var(--commerce-border); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(25, 30, 40, .025); overflow: hidden; }
.cuotas-modern .payment-methods__item + .payment-methods__item { margin-top: 0; }
.cuotas-modern .payment-methods__item-header { display: flex; align-items: center; min-height: 48px; margin: 0; padding: 14px 16px; border-bottom: 1px solid #eef0f3; background: #f6f7f9; color: #303741; }
.cuotas-modern .payment-methods__item-title { font-size: 13px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.cuotas-modern .payment-methods__item-description { padding: 12px 14px; color: var(--commerce-muted) !important; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.cuotas-modern .payment-methods__item-description:has(.cuotas-table) { padding: 0; }
.cuotas-table { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cuotas-modern .cuotas-table__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: #fff; font-size: 12px !important; line-height: 1.5; }
.cuotas-modern .cuotas-table__table :is(th, td) { padding: 11px 10px !important; border: 0; border-bottom: 1px solid #eef0f3; vertical-align: middle; text-align: right; white-space: nowrap; }
#divCuotas .cuotas-modern .payment-methods__item-title { text-align: left !important; }
.cuotas-modern .cuotas-table__table th { background: #fafbfc; color: #7a8492; font-size: 10px; font-weight: 600; white-space: normal; }
.cuotas-modern .cuotas-table__table :is(th, td):first-child { text-align: left; }
.cuotas-modern .cuotas-table__table tbody tr:nth-child(even) { background: #fafbfc; }
.cuotas-modern .cuotas-table__table tbody tr:last-child > td { border-bottom: 0; }
.cuotas-modern .cuotas-table__table tbody td:last-child { color: #303741; font-weight: 650; }
.cuotas-modern .cuotas-table__table tbody td:only-child { padding: 16px !important; color: #303741; font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.cuotas-modern .cuotas-table__table small { display: inline-block; margin-top: 4px; }
.cuotas-modern .cuotas-table__table small b { display: inline-block; padding: 3px 5px; border-radius: 5px; background: #eaf5ee; color: #287548; font-size: 8px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.cuotas-modern .slick-dots { position: static; margin: 12px 0; }
.commerce-modal { padding: 0 !important; overflow-y: hidden; }
.commerce-modal .modal-dialog { width: calc(100% - 24px); min-height: calc(100% - 32px); max-width: 700px; margin: 16px auto; }
.commerce-modal .modal-content { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border: 1px solid var(--commerce-border); border-radius: 20px; background: #f7f8fa; box-shadow: 0 20px 70px rgba(20, 25, 35, .2); overflow: hidden; }
.commerce-modal__header { flex-shrink: 0; padding: 26px 76px 22px 26px; border-bottom: 1px solid var(--commerce-border); background: #fff; }
.commerce-modal__header > span { display: block; margin-bottom: 7px; color: var(--commerce-muted); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.commerce-modal__header h2 { margin: 0; color: #303741; font-size: 26px; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.commerce-modal__header p { margin: 10px 0 0; color: var(--commerce-muted); font-size: 12px; line-height: 1.65; }
.commerce-modal .commerce-modal__body { width: 100%; max-width: 100%; min-height: 0; padding: 22px 26px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.commerce-modal .quickview__close { top: 22px; right: 22px; left: auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #f1f3f6; fill: #737e8c; z-index: 2; }
.commerce-modal .quickview__close svg { width: 15px; height: 15px; }
.commerce-modal .quickview__close:hover { background: #e8ecf1; fill: #303741; }
.commerce-modal :is(button, a, input):focus-visible { outline: 3px solid var(--commerce-accent); outline-offset: 2px; }
.commerce-modal .payment-methods__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.commerce-modal .payment-methods__item { margin: 0; border: 1px solid var(--commerce-border); border-radius: 12px; background: #fff; overflow: hidden; }
.commerce-modal .payment-methods__item-header { padding: 14px 16px; margin: 0; }
.commerce-modal .payment-methods__item-title { font-size: 14px; line-height: 1.5; font-weight: 650; }
.commerce-modal .payment-methods__item-description { padding: 0 16px 16px; color: var(--commerce-muted); font-size: 12px; line-height: 1.7; }
.commerce-modal .cuotas-modern .payment-methods__item-description:has(.cuotas-table) { padding: 0; }
.commerce-modal .commerce-shipping-option { margin: 0 0 12px !important; padding: 18px; border: 1px solid var(--commerce-border); border-radius: 13px; background: #fff; }
.commerce-modal .commerce-shipping-option:last-child { margin-bottom: 0 !important; }
.commerce-modal .address-card__row-title { color: #303741; font-size: 15px; line-height: 1.5 !important; font-weight: 700; }
.commerce-modal .address-card__row-content { color: var(--commerce-muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.commerce-modal .payment-price { display: inline-block; margin-bottom: 6px; padding: 4px 8px; border-radius: 6px; background: #eaf5ee; color: #287548 !important; font-size: 11px; font-weight: 700; }
.commerce-modal .footer-newsletter__form { display: flex; align-items: stretch; gap: 8px; margin: 12px 0 0; }
.commerce-modal .footer-newsletter__form-input { min-width: 0; height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #dce1e7; border-radius: 9px; background: #f8f9fb; color: #303741; font-size: 13px; box-shadow: none; }
.commerce-modal .footer-newsletter__form-button { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border-color: var(--commerce-accent); border-radius: 9px; background: var(--commerce-accent); color: var(--commerce-on-accent); }
.commerce-method-card { border: 1px solid var(--commerce-border); border-radius: 14px; background: #fff; }
.commerce-method-card .block-features__item { width: 100%; gap: 14px; padding: 18px; border-radius: 14px; background: transparent !important; }
.commerce-method-card .block-features__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin: 0; border-radius: 12px; background: #f3f5f7; fill: var(--commerce-accent); }
.commerce-method-card .block-features__icon svg { width: 25px; height: 25px; }
.commerce-method-card .block-features__content { min-width: 0; }
.commerce-method-card .block-features__title { font-size: 13px; font-weight: 650; line-height: 1.5; }
.commerce-method-card .block-features__subtitle { margin-top: 5px; font-size: 12px; line-height: 1.5; }
.commerce-method-card .commerce-method-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 15px 0 !important; padding: 0; text-align: left; }
.commerce-method-logos img { max-width: 90px; max-height: 20px; width: auto; object-fit: contain; }
@media (max-width: 575px) {
    .commerce-modal__header { padding: 22px 64px 18px 20px; }
    .commerce-modal__header h2 { font-size: 22px; }
    .commerce-modal .quickview__close { top: 18px; right: 16px; width: 34px; height: 34px; }
    .commerce-modal .commerce-modal__body { padding: 18px 14px; }
    .commerce-modal .commerce-shipping-option { padding: 15px; }
    .cuotas-modern .cuotas-table__table :is(th, td) { padding: 10px 8px !important; font-size: 11px; }
    .cuotas-modern .cuotas-table__table th { font-size: 10px; }
}
