/* ================================================
   ESTILOS COMPLETOS PARA iPHONE BUSINESS
   ================================================ */

/* ESTILOS CATALOGO EXISTENTE */
.s_iphone_catalog {
    background: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.s_iphone_catalog h2 {
    color: #212529;
    font-weight: 700;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
}

.s_iphone_catalog .input-group-text {
    background: white;
    border: 1px solid #dee2e6;
}

.s_iphone_catalog .form-control {
    border: 1px solid #dee2e6;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.s_iphone_catalog .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.s_iphone_catalog .card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
}

.s_iphone_catalog .table thead th {
    background: #212529 !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.s_iphone_catalog .table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
}

.s_iphone_catalog .table tbody tr:hover {
    background-color: #f8f9fa;
}

.s_iphone_catalog .btn-contact {
    background: #25d366;
    border: 1px solid #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.s_iphone_catalog .btn-contact:hover {
    background: #20c55e;
    color: white;
    transform: translateY(-1px);
}

/* ================================================
   WIDGET FINANCIAMIENTO
   ================================================ */

.ithesk-financing-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Segoe UI', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

.price-detection-box {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.price-detection-box:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.detected-price-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    color: white;
}

.detected-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.detected-price-amount.updating {
    animation: priceUpdate 0.5s ease;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #ffd700; }
    100% { transform: scale(1); }
}

.financing-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.financing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.financing-card.featured {
    border-color: #ffd700;
    transform: scale(1.05);
}

.financing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.discount-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); }
    to { box-shadow: 0 0 20px rgba(40, 167, 69, 0.8); }
}

.initial-payment {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

.price-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.price-display.updating {
    animation: priceUpdate 0.5s ease;
}

.months-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.month-btn {
    background: #e9ecef;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.month-btn:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.month-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.month-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-financing-main {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-financing-main:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.btn-financing-main:active {
    transform: translateY(-1px);
}

.financing-benefits {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.benefit-item {
    white-space: nowrap;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    color: #ffd700;
}

/* ================================================
   PANEL DE DEPURACIÓN
   ================================================ */

.debug-panel {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.debug-header h6 {
    margin: 0;
    color: #007bff;
    font-weight: 700;
}

.btn-debug-toggle {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-debug-toggle:hover {
    background: #0056b3;
}

.debug-content {
    font-size: 0.9rem;
}

#debugStatus {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 5px;
}

#debugStatus li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

#debugStatus li:last-child {
    border-bottom: none;
}

#debugLastPrice {
    background: #e9ecef;
    padding: 0.5rem;
    border-radius: 5px;
    font-weight: 700;
    color: #28a745;
    font-family: 'Courier New', monospace;
}

.debug-panel.hidden .debug-content {
    display: none;
}

/* ================================================
   ESTADOS DE CARGA Y ANIMACIONES
   ================================================ */

.loading-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .s_iphone_catalog h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .s_iphone_catalog .table {
        font-size: 0.85rem;
    }
    
    .s_iphone_catalog .table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .s_iphone_catalog .table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .debug-panel {
        font-size: 0.8rem;
    }
    
    .debug-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .detected-price-amount {
        font-size: 2rem;
    }
    
    .financing-card.featured {
        transform: none;
    }
    
    .financing-card {
        padding: 1.5rem;
    }
    
    .price-display {
        font-size: 1.5rem;
    }
    
    .btn-financing-main {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    
    .benefit-item {
        display: block;
        margin: 0.5rem 0;
        white-space: normal;
    }
    
    .months-selector {
        gap: 0.25rem;
    }
    
    .month-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .s_iphone_catalog .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .s_iphone_catalog .badge {
        margin-bottom: 0.5rem;
    }
    
    .financing-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .detected-price-amount {
        font-size: 1.8rem;
    }
    
    .btn-financing-main {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .debug-panel {
        padding: 0.75rem;
    }
    
    #debugStatus {
        max-height: 100px;
        font-size: 0.7rem;
    }
} {
    white-space: nowrap;
    transition: all 0.2s ease;
}



/* ================================================
   WIDGET FINANCIAMIENTO LIMPIO - AGREGAR AL CSS EXISTENTE
   ================================================ */

.financing-widget-clean {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

/* Header */
.financing-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.financing-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.025em;
}

.financing-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* Detector de precio */
.price-detector {
    display: flex;
    justify-content: center;
}

.price-detector-inner {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    min-width: 300px;
    transition: all 0.3s ease;
}

.price-detector-inner:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.price-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.price-amount.updating {
    animation: priceUpdateClean 0.5s ease;
}

@keyframes priceUpdateClean {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); color: #3b82f6; }
    100% { transform: scale(1); }
}

.price-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #059669;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
    animation: pulseClean 2s infinite;
}

@keyframes pulseClean {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Opciones de financiamiento */
.financing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.financing-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.financing-option:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.financing-option.featured {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Option header */
.option-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.option-icon.cash {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.option-icon.plan {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.option-icon.installments {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.option-info {
    flex: 1;
}

.option-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.option-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.option-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-badge.discount {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Option body */
.price-breakdown {
    text-align: center;
}

.final-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1rem;
    color: #64748b;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.savings {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 600;
}

/* Payment structure */
.payment-structure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.initial-payment,
.installments {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.payment-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.payment-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.payment-frequency {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Months selector */
.months-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.month-option {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-option:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.month-option.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.installments-only {
    text-align: center;
}

/* Call to Action */
.financing-cta {
    text-align: center;
}

.btn-financing-cta {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.25);
}

.btn-financing-cta:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.financing-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.benefit i {
    color: #059669;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .financing-title {
        font-size: 1.75rem;
    }
    
    .financing-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .financing-option {
        padding: 1.25rem;
    }
    
    .option-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .payment-structure {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .financing-benefits {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .price-detector-inner {
        min-width: auto;
        padding: 1.25rem 1.5rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .financing-widget-clean {
        padding: 2rem 0;
    }
    
    .financing-title {
        font-size: 1.5rem;
    }
    
    .btn-financing-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .months-selector {
        gap: 0.25rem;
    }
    
    .month-option {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ================================================
   MEJORAS DE DISEÑO Y UX PARA WIDGET FINANCIAMIENTO
   AGREGAR O REEMPLAZAR EN TU CSS EXISTENTE
   ================================================ */

/* MEJORAS GENERALES DEL WIDGET */
.financing-widget-clean {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón sutil de fondo */
.financing-widget-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* HEADER MEJORADO */
.financing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 28px;
    box-shadow: 
        0 10px 25px -5px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
    position: relative;
}

.financing-icon::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    blur: 10px;
}

.financing-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 15px 35px -5px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.financing-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.financing-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

/* DETECTOR DE PRECIO MEJORADO */
.price-detector {
    display: flex;
    justify-content: center;
    position: relative;
}

.price-detector-inner {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    min-width: 350px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.price-detector-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.price-detector-inner:hover::before {
    left: 100%;
}

.price-detector-inner:hover {
    border-color: #3b82f6;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.price-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.price-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #059669;
    font-weight: 500;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
    }
}

/* OPCIONES DE FINANCIAMIENTO MEJORADAS */
.financing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.financing-option {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.financing-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.financing-option:hover::before {
    opacity: 1;
}

.financing-option:hover {
    border-color: #3b82f6;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: translateY(-8px) scale(1.02);
}

.financing-option.featured {
    border-color: #3b82f6;
    box-shadow: 
        0 10px 25px -5px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.financing-option.featured:hover {
    transform: translateY(-8px) scale(1.07);
    box-shadow: 
        0 25px 35px -5px rgba(59, 130, 246, 0.35),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.featured-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 6px -1px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: featuredPulse 3s infinite;
}

@keyframes featuredPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* ICONOS MEJORADOS */
.option-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.option-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(4px);
}

.option-icon.cash {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.25);
}

.option-icon.plan {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.option-icon.installments {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.25);
}

/* TÍTULOS Y TEXTOS MEJORADOS */
.option-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.option-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.option-badge.discount {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.1);
}

/* PRECIOS MEJORADOS */
.final-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.savings {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 700;
    background: #dcfce7;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
}

/* ESTRUCTURA DE PAGOS MEJORADA */
.payment-structure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
}

.initial-payment,
.installments {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.initial-payment:hover,
.installments:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.payment-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.payment-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.payment-frequency {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SELECTOR DE MESES MEJORADO */
.months-selector {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.month-option {
    width: 44px;
    height: 44px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.month-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.month-option span {
    position: relative;
    z-index: 1;
}

.month-option:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.month-option.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.month-option.active::before {
    opacity: 1;
}

/* CTA MEJORADO */
.financing-cta {
    text-align: center;
    position: relative;
}

.btn-financing-cta {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 25px -5px rgba(37, 211, 102, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-financing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-financing-cta:hover::before {
    left: 100%;
}

.btn-financing-cta:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 35px -5px rgba(37, 211, 102, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    text-decoration: none;
}

.btn-financing-cta:active {
    transform: translateY(-2px) scale(1.02);
}

/* BENEFITS MEJORADOS */
.financing-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.benefit:hover {
    color: #059669;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.benefit i {
    color: #059669;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.benefit:hover i {
    color: #10b981;
    transform: scale(1.1);
}

/* RESPONSIVE MEJORADO */
@media (max-width: 768px) {
    .financing-title {
        font-size: 1.875rem;
    }
    
    .financing-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .financing-option {
        padding: 1.5rem;
    }
    
    .financing-option.featured {
        transform: none;
    }
    
    .option-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-structure {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .financing-benefits {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .price-detector-inner {
        min-width: auto;
        padding: 1.5rem 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .btn-financing-cta {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .financing-widget-clean {
        padding: 3rem 0;
    }
    
    .financing-title {
        font-size: 1.625rem;
    }
    
    .financing-subtitle {
        font-size: 1rem;
    }
    
    .btn-financing-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .months-selector {
        gap: 0.5rem;
    }
    
    .month-option {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .financing-benefits {
        gap: 1rem;
    }
    
    .price-detector-inner {
        padding: 1.25rem 1.5rem;
    }
}