/* ===== RESET GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Fondo y color base */
body {
  background-color: #fafafa;
  color: #222222;
}

/* header */
.header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

/* contenedor del header */
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  color: #b88a00;
  font-size: 26px;
  text-align: center;
  padding: 15px;
  font-size: 25px;
}

/* botoncitos */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn,
.btn-primary {
  background-color: #b88a00;
  color: #ffffff;
  padding: 10px 20px;
}

.btn:hover,
.btn-primary:hover {
  background-color: #a07800;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333333;
  padding: 8px 16px;
}

.btn-secondary:hover {
  opacity: 0.9;
}

/* hero parte de arriba con texto */
.hero {
  height: 500px;
  background: linear-gradient(to bottom, #fff8e1, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 500px;
  object-fit: cover;  /* hace que la imagen se escale bien */
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(70%); /* oscurece un poco la imagen */
}

.hero h2,
.hero p,
.hero a {
  position: relative;
  z-index: 1;
  color: #ffffff; /* texto blanco para que resalte */
}
 
.hero p {
  color: #f9f9f9;
  font-weight: bold;
  padding-top: 4px;
  margin-bottom: 25px;
}

/* ===== CATÁLOGO ===== */
.catalogo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.catalogo .titulo {
  text-align: center;
  margin-top: 20px;
  color: #b88a00;
  font-size: 32px;
  margin-bottom: 40px;
}

/* ===== GRID DE PRODUCTOS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* ===== TARJETAS ===== */
.tarjeta {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.tarjeta:hover {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

/* contenedor imagen */
.img-container {
  position: relative;
  background-color: #f9f9f9;
  text-align: center;
  padding: 20px;
}

.img-container img {
  height: 220px;
  object-fit: contain;
}

/*  etiquetas agotado, disponible, decants, etc  */
.etiqueta {
  position: absolute;
  top: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  color: #fff;
}

.agotado {
  left: 10px;
  background-color: #d32f2f;
}

.dispo {
  left: 10px;
  background-color: #04ff00;
}

.decants {
  right: 10px;
  background-color: #fbc02d;
  color: #000;
}

/* ===== INFO PRODUCTO EN TARJETA ===== */
.info {
  text-align: center;
  padding: 15px;
}

.info h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.ver-mas {
  color: #b88a00;
  font-weight: 600;
  text-decoration: none;
}

.ver-mas:hover {
  text-decoration: underline;
}

/* ===== PÁGINA DE PRODUCTO (vista individual) ===== */
.producto {
  max-width: 1100px;
  margin: 40px auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* cuando es pantalla grande, los pone lado a lado */
@media (min-width: 760px) {
  .producto {
    flex-direction: row;
  }
}

.producto-img {
  flex: 1;
  background: #fafafa;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.producto-img img {
  max-height: 320px;
  object-fit: contain;
}

.producto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.producto-info h2 {
  font-size: 26px;
  color: #111111;
}

.descripcion {
  color: #555555;
  font-size: 15px;
}

/* ===== FORMULARIO DE PEDIDO ===== */
.pedido-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label {
  font-weight: 600;
  color: #333333;
  font-size: 15px;
  margin-bottom: 4px;
}

select,
textarea {
  width: 100%;
  border: 1px solid #dddddd;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* ===== NOTAS O INFO EXTRA ===== */
.nota {
  background: #fffbe6;
  border: 1px solid #fff1b8;
  color: #6a4b00;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
}

.small {
  font-size: 13px;
  color: #777777;
}

.ayuda {
  font-size: 14px;
  color: #666666;
  margin-top: 8px;
}

.info-adicional {
  color: #666666;
  font-size: 15px;
  margin-top: 6px;
}

/* Footer general todo */
.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 2px solid #444;
}

/* Contenedor de íconos */
.footer .redes {
    margin-bottom: 10px;
}

/* Estilo base de los íconos */
.footer .icono {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 10px;
    background-size: cover;
    transition: transform 0.3s ease;
}

/* Hover: agrandar un poquito */
.footer .icono:hover {
    transform: scale(1.15);
}

/* Íconos individuales */
.footer .instagram {
    background-image: url('../multimedia/insta.webp');
}

.footer .tiktok {
    background-image: url('../multimedia/tk.png');
}

.footer .facebook {
    background-image: url('../multimedia/face.png');
}

.footer .whatsapp {
    background-image: url('../multimedia/whats.webp');
}
