/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Evita que el header fijo tape el contenido */
}

/* ------------------------------ */
/* HEADER */
/* ------------------------------ */

header {
    width: 100%;
    background: #ffffff;
    padding: 10px 0;
    position: fixed;  /* Navbar siempre visible */
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); /* Sombra elegante */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: auto;
}

.titulo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* Quitar subrayado del logo y del título */
.logo-link,
.titulo-link {
    text-decoration: none;
}

.titulo-link .titulo {
    text-decoration: none;
}

/* NAVIGATION LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
}


footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 25px;
}

/* Filtros */
.filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #999;
    font-size: 15px;
}

/* Galería */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.producto {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.producto img {
    width: 100%;
    height: 220px; /* antes 160px */
    border-radius: 10px;
    object-fit: cover;
}


.precio {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #0a7a0a;
}


footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

