 /* --- 1. NAV principal --- */
  nav {
    background-color: #9c2d2d;
    padding: 30px 20px;
    display: flex; /*active flexbox*/
    justify-content: space-between;/*Coloca los elementos (botón y menú) a los extremos del nav. */
    align-items: center;
    position: relative; /* posiciona los elementos del menu segun el nav */
  }

  /* --- 2. BOTÓN TOGGLER --- */
  .toggler {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    z-index: 2; /* Asegura que esté encima del menú al desplegarlo */
  }

  /* --- 3. MENÚ OCULTO POR DEFECTO --- */
  .menu {
    list-style: none;/*quita el tipo de lista*/
    padding: 0;
    margin: 0;
    position: absolute; /*Hace que el menú se posicione respecto al nav*/
    top: 110px;/*Coloca el menú justo debajo del nav*/
    left: 0;
    width: 100%;
    background-color:#9c2d2d;
    flex-direction: column;/*Organiza los elementos uno debajo del otro (vertical).*/
    align-items: left;
    gap: 10px;/* Espacio entre cada opción (li).*/
    z-index: 999;
    
    /* ANIMACIÓN: inicia oculto */
    max-height: 0; /* Lo “aplasta” para que esté cerrado inicialmente.*/
    overflow: hidden; /*Oculta el contenido que sobrepasa el alto*/
    opacity: 0; /*Lo vuelve invisible mientras está cerrado.*/
    transition: all 0.4s ease; /* Duración y suavidad */
  }

  /* --- 4. MENÚ ACTIVO (VISIBLE) --- */
  .menu.active {
    max-height: 450px; /* Altura máxima del contenido visible */
    opacity: 1;
  }

  /* --- 5. ESTILO DE LOS ELEMENTOS DEL MENÚ --- */
  .menu li {
    color: white ;
    padding: 10px 0;
    width: 100%;
    text-align: center;

  }

  /* --- 6. VERSIÓN ESCRITORIO --- */
@media (min-width: 768px) {

  .toggler {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    max-height: none;
    opacity: 1;

    background: none;
    width: auto;

    gap: 40px;
    overflow: visible;
  }

  .menu li {
    width: auto;
    padding: 0;
  }

}
.texto{
        color: rgb(255, 255, 255);
  text-decoration: none;
  transition: color 0.3s ease; /* animación suave */
    }
   .texto:hover {
  color: #ff4848; 
    }

    .font_p_1{
      
   font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;

    }

    @media (max-width: 991px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px;
  }

  .nav-links a {
    display: block;
    margin: 6px 0;
  }

  .titulo_index {
    height: 8vh;
  }
}

    .colorbackground{
        background-color: #feebe7;
        /* Footer: por encima de todo */
        position:relative;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
    }

    .colorbackground-2{
        background-color: #f8f8f8;
        /* Footer: por encima de todo */
        position:relative;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
    }
    .fuentelogo{
        
  font-family: "Rouge Script";
  font-weight: 400;
  font-style: normal;
  font-size: 60px;
    }
    input.color{
         background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px
    }
    a.texto{
        color: inherit;
  text-decoration: none;
    }
    
    
body {
  background: #fafafa;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-content: center;
}

.producto-card {
  width: 250px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 18px 12px 20px 12px;
  text-align: center;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.producto-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

.producto-card i{
    visibility: hidden;
}
.producto-card:hover i{
    visibility: visible;
}

.producto-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
}

.producto-card h3 {
  margin: 10px 0 6px 0;
  font-size: 1.1rem;
  color: #222;
}

.precio {
  font-weight: bold;
  color: #700000;
  margin-bottom: 16px;
  font-size: 1.05rem;
}


.producto-card button {
  background: #111;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s;
}

.producto-card button:hover {
  background: #333;
}

.or-1{
  border-radius: 50px;
}

.fondo-contacto {
  background-image: url('fondo_contacto.png');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  
  
}