/* ── Neon Financings ───────────────────────────────────────────────────────── */

/* Grid */
.neon-financings-grid {
    display: grid;
    grid-template-columns: repeat(var(--neon-financings-cols, 3), 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .neon-financings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .neon-financings-grid { grid-template-columns: 1fr; }
}

/* Slider wrapper */
.neon-financings-slider {
    position: relative;
    overflow: hidden;
}
.neon-financings-track {
    display: flex;
    gap: 1.25rem;
    transition: transform .35s ease;
}
.neon-financings-slide {
    flex: 0 0 calc(100% / var(--neon-financings-cols, 3));
    min-width: 0;
}
.neon-financings-prev,
.neon-financings-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.neon-financings-prev { left: .5rem; }
.neon-financings-next { right: .5rem; }

/* Card */
.neon-financing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    transition: box-shadow .2s;
}
.neon-financing-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* Image */
.neon-financing-img {
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
}
.neon-financing-img img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Body */
.neon-financing-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Header: banco + tarjeta */
.neon-financing-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
}
.neon-financing-bank {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}
.neon-financing-card {
    font-size: .85rem;
    color: #555;
    background: #f0f1f3;
    padding: .15rem .5rem;
    border-radius: 2rem;
}

/* Days badges */
.neon-financing-days {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}
.neon-day-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: .15rem .45rem;
    border-radius: .25rem;
    background: #e8f4fd;
    color: #0d6efd;
    border: 1px solid #b6d9f7;
    white-space: nowrap;
}
.neon-day-all {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

/* Installments table */
.neon-financing-installments {
    flex: 1;
}
.neon-install-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}
.neon-install-table thead th {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
    font-weight: 600;
    padding: .2rem .4rem;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
}
.neon-install-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}
.neon-install-table td {
    padding: .35rem .4rem;
    vertical-align: middle;
}
.neon-install-qty {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}
.neon-install-label {
    font-size: .7rem;
    font-weight: 400;
    color: #888;
    margin-left: .2rem;
}
.neon-install-rate {
    color: #444;
}
.neon-interest-free {
    color: #16a34a;
    font-weight: 600;
    font-size: .8rem;
}

/* Notes */
.neon-financing-notes {
    font-size: .8rem;
    color: #666;
    border-top: 1px solid #f0f0f0;
    padding-top: .6rem;
    line-height: 1.5;
}
.neon-financing-notes p { margin: 0 0 .35rem; }
.neon-financing-notes p:last-child { margin-bottom: 0; }
