/* Estilos para Métodos de Pago con Hover Effect */

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.payment-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.05) 0%, rgba(88, 28, 135, 0.05) 100%);
    border: 0.5 solid rgba(126, 34, 206, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 140px;
    overflow: hidden;
}

.payment-item img {
    width: 100%;
    height: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.05;
    filter: grayscale(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover */
.payment-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.15) 0%, rgba(88, 28, 135, 0.15) 100%);
    border-color: rgba(126, 34, 206, 0.5);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.3);
}

.payment-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Efecto de brillo al hover */
.payment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.payment-item:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 25px;
        padding: 10px;
    }
    
    .payment-item {
        padding: 20px;
        min-height: 110px;
    }
    
    .payment-item img {
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .payment-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .payment-item img {
        max-width: 70px;
    }
}