:root {
    --primary-color-titulos: #f46e20;
    --fondos: #EAA83E;
    --btn: white;
}


/**********************HERO*********************************/
.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 🔹 imagen arriba, texto abajo */
  align-items: center;
  background-color: #111; /* 🔹 Evita el salto blanco */
}

.banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: opacity 1s ease-in-out;
}

.content {
  position: static; 
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* 🔹 fondo detrás del texto */
  width: 100%;
  padding: 1rem;
  transition: all 0.6s ease; 
}

.content h1 {
  font-size: 1.8rem;
  margin: 0.2rem 0;
}

.content h3 {
  font-size: 1rem;
  margin: 0.2rem 0;
}



.btn {
  display: inline-block;
  background: #ff9800;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  margin-top: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e68a00;
}


/***************************MENU*******************/
.filtros {
    display: grid;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filtros button {
    padding: 0.5rem 1rem;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}

.filtros button.activo {
    background: #ff9800;
    color: white;
}

.product-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
}

.producto {
   
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.producto img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}
.btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* ====== NOTIFICACIONES CARRITO ====== */

.alerta-carrito {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #f46e20;
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  z-index: 9999;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}

.alerta-carrito.hide {
  opacity: 0;
  transform: translateY(-10px);
}



/*******************modal de extras***********************/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 1rem;
  width: 90%;
  max-width: 400px;
  border-radius: .5rem;
}

/********************carrito flotante********************/
#floating-cart-btn {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: #f46e20;
  color: white;
  border: none;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  z-index: 3000;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}

#floating-cart-btn:hover {
  transform: scale(1.05);
}

#floating-cart-btn.hidden {
  display: none;
}


/******************Section Nosotros**************************************/

.nosotros {
    padding: 20px;
    margin-top: 40px;
}

.nosotros-titulo {
    text-align: center;
    color: var(--primary-color-titulos);
}

.nosotros-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.text-container {

    padding: 20px;
    color: #000;
}

.img-container img {

    width: 100%;
    max-width: 300px;
    height: auto;
    padding: 20px;

}

.menu-title {
    text-align: center;
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columnas de igual tamaño */
    gap: 20px;
    /* Espacio entre las tarjetas */
    padding: 20px;
    margin: auto;
    /* Centra el contenedor */
}