/* ═══════════════════════════════════════════════════════════════
   DISEÑO "COVER" DE BANCOS (IMAGEN COMPLETAMENTE AJUSTADA)
   ═══════════════════════════════════════════════════════════════ */
.bank-grid-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.bank-card-cover {
    position: relative;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white; /* Por si la imagen tarda en cargar */
}

.bank-card-cover:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bank-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 ESTO HACE QUE CUBRA TODO EL ESPACIO 🔥 */
    object-position: center;
    display: block;
}

.bank-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    pointer-events: none;
}

.bank-cover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.bank-cover-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 3px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.bank-cover-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bank-cover-sub i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.bank-card-cover:active .bank-cover-sub i {
    transform: translateX(4px);
}

/* El BAC ocupa 2 columnas completas */
.bank-card-bac {
    grid-column: span 2;
    height: 140px; 
}

/* ═══════════════════════════════════════════════════════════════
   TARJETA CTA TRANSFERENCIA EN CHECKOUT (GRAFICA Y ELEGANTE)
   ═══════════════════════════════════════════════════════════════ */
.transfer-cta-card {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    padding: 22px 18px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.transfer-cta-card:active {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.transfer-cta-bg {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.transfer-cta-icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.transfer-cta-text {
    flex: 1;
    z-index: 2;
}

.transfer-cta-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
    margin: 0 0 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.transfer-cta-text p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.4;
}

.transfer-cta-arrow {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ══════════════════════════════════════════════════════
   DISEÑO "COVER" DE BANCOS (IMAGEN COMPLETAMENTE RELLENA)
   ══════════════════════════════════════════════════════ */
.bank-card-cover {
    position: relative;
    height: 120px; /* Altura de la tarjeta */
    border-radius: 20px;
    overflow: hidden; /* Esto corta todo lo que se sale del borde */
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    background: #1a1a1a; /* Fondo oscuro por si la imagen tarda */
}

.bank-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 ESTO HACE EL ZOOM PARA CUBRIR TODO 🔥 */
    object-position: center;
    display: block;
    opacity: 0.8; /* Le da un toque premium */
}

.bank-cover-gradient {
    position: absolute;
    inset: 0;
    /* Degradado oscuro para que el texto blanco resalte */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
}

.bank-cover-info {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bank-cover-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: white;
}

.bank-cover-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

/* Vista de Carga */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Hero Cover */
.bank-detail-hero { position: relative; height: 260px; overflow: hidden; background: #0f172a; }
.bank-detail-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bank-detail-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.detail-back-btn { position: absolute; top: 40px; left: 20px; background: rgba(255,255,255,0.2); border: none; color: white; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; backdrop-filter: blur(5px); }

.bank-detail-title-box { position: absolute; bottom: 20px; left: 20px; color: white; }

.info-val { font-size: 1.2rem; font-weight: 800; color: #1e293b; margin-top: 5px; }
.info-number { font-family: monospace; font-size: 1.5rem; color: #ff6600; letter-spacing: 2px; }

.btn-copy-pro {
    width: 100%; margin-top: 30px; padding: 18px; 
    background: #0f172a; color: white; border: none; border-radius: 16px;
    font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* Slider Pro */
.rapi-swipe-track {
    position: relative;
    width: 100%; height: 62px;
    background: #f1f5f9;
    border-radius: 99px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    user-select: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.rapi-swipe-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px 0 70px;
    font-family: 'Montserrat', sans-serif;
}
.rapi-swipe-text { font-weight: 900; font-size: 0.9rem; color: #1e293b; }
.rapi-swipe-total { font-weight: 900; font-size: 1rem; color: #ff6600; }
.rapi-swipe-thumb {
    position: absolute; left: 4px; top: 4px;
    width: 54px; height: 54px;
    background: linear-gradient(135deg, #ff6600, #ff8c00);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
    cursor: grab;
    box-shadow: 0 4px 15px rgba(255,102,0,0.4);
    transition: transform 0.1s;
    touch-action: none;
}
.rapi-swipe-thumb.success {
    background: #10b981 !important;
    transform: scale(1.1);
}