.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
    }
}

.productos-maquinas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.tarjeta-maquina {
    border: 1px solid #e0e0e0a5;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tarjeta-maquina:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tarjeta-maquina img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.tarjeta-maquina h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 10px 0;
}

.precio-maquina {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.btn-ver-mas {
    background-color: red;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-ver-mas:hover {
    background-color: rgb(125, 0, 0);
}

/* Estilos del Pop-up (Modal) */
.modal-fondo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-caja {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    line-height: 1;
}

.modal-caja img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.lista-detalles {
    text-align: left;
    margin-top: 15px;
    padding-left: 20px;
}

.lista-detalles li {
    margin-bottom: 8px;
    color: #444;
    line-height: 1.5;
}