/* Estilo Moderno y Limpio */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Hero Section con gradiente */
.hero-section {
    background: linear-gradient(45deg, #1a1a1a, #4e4e4e);
}

/* Efecto Hover en Tarjetas (Elevación) */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px; /* Bordes redondeados modernos */
    background: white;
}

.product-card:hover {
    transform: translateY(-5px); /* Se levanta un poco */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Botones flotantes sobre la imagen */
.card-overlay {
    position: absolute;
    bottom: -50px; /* Oculto por defecto */
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255,255,255,0.9);
    transition: bottom 0.3s ease;
}

/* En móvil, mostramos los botones siempre para mejor usabilidad */
@media (max-width: 768px) {
    .card-overlay {
        bottom: 0; 
    }
}

/* En PC, solo al pasar el mouse */
.product-card:hover .card-overlay {
    bottom: 0;
}

/* Ajustes de imágenes */
.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 250px;
    object-fit: cover; /* Evita que la imagen se deforme */
}