body {
  .titulo-principal {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}
}

/* HEADER */
header {
  background: #ff9800;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 28px;
}

/* PROMO */
.promo {
  background: #4caf50;
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
}

/* CONTENEDOR */
.container {
  padding: 15px;
}

/* BOTÓN */
.boton {
  display: block;
  width: 100%;
  background: #ff9800;
  color: white;
  padding: 15px;
  margin: 10px 0;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
}

/* PRODUCTOS */
.producto {
  background: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.producto h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.producto p {
  font-size: 18px;
  margin: 5px 0;
}

/* WHATSAPP */
.whatsapp {
  display: block;
  margin-top: 10px;
  background: #25d366;
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
}

/* MOBILE EXTRA */
@media (max-width: 600px) {
  header h1 {
    font-size: 24px;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  line-height: 60px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* HERO CON IMAGEN */
.hero {
  background-image: url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
}

/* Ajuste celular */
@media (max-width: 600px) {
  .hero {
    height: 55vh;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }
}

.carrito {
  background: #fff;
  margin: 30px auto;
  padding: 20px;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.carrito ul {
  list-style: none;
  padding: 0;
}

.carrito li {
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
}

.producto img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Categorías */
.categoria {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 24px;
  color: #333;
}

/* Grid responsive */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  padding: 10px;
}

/* Tarjeta producto */
.producto {
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

/* Imagen */
.producto img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Botón */
.producto button {
  background: #ff9800;
  border: none;
  padding: 10px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  width: 100%;
}

/* Banner principal */
.banner {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.banner h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 18px;
  margin-bottom: 20px;
}

.beneficios {
  background: rgba(255,255,255,0.2);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 15px;
}

.boton-banner {
  background: #25D366;
  color: white;
  padding: 14px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
}

/* Responsive */
@media (max-width: 600px) {
  .banner h1 {
    font-size: 28px;
  }

  .banner p {
    font-size: 16px;
  }
}

.checkout {
  background: #fff;
  padding: 20px;
  margin: 30px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.checkout button {
  background: #25D366;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.filtros {
  text-align: center;
  margin: 20px 0;
}

.filtros button {
  margin: 5px;
  padding: 10px 15px;
  border-radius: 20px;
  border: none;
  background: #ff9800;
  color: white;
  font-weight: bold;
}

/* Tarjeta producto preparada para botón flotante */
.producto {
  position: relative;
  padding-bottom: 60px;
}

/* Botón flotante */
.producto button {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  border: none;
  padding: 12px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Efecto al presionar */
.producto button:active {
  transform: translateX(-50%) scale(0.95);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Efecto hover (PC) */
.producto button:hover {
  transform: translateX(-50%) scale(1.03);
}

.acceso-categoria {
  text-align: center;
  margin: 25px 0;
}

.acceso-categoria a {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 14px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.acceso-categoria a:active {
  transform: scale(0.95);
}

html {
  scroll-behavior: smooth;
}

.menu-fijo {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ff5722;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 999;
}

.menu-fijo a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

body {
  padding-top: 55px;
}

.iconos-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
  text-align: center;
}

.iconos-home a {
  background: white;
  border-radius: 15px;
  padding: 20px 10px;
  text-decoration: none;
  color: #333;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.iconos-home span {
  display: block;
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}
/* ============================= */
/* CARRITO FLOTANTE - CHROME OK */
/* ============================= */

/* BOTÓN FLOTANTE */
#carrito-flotante-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #ff9800;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* PANEL CARRITO */
#carrito-flotante {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;

  background: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);

  padding: 15px;
  overflow-y: auto;

  z-index: 99999;
}

/* OCULTO */
.oculto {
  display: none !important;
}

/* CONTADOR DEL CARRITO */
#contador-carrito {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* LISTA */
#lista-carrito {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#lista-carrito li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
  display: block;
  margin-top: 10px;
  background: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

#carrito-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffcc00;
  padding: 12px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
}

#carrito-float {
  position: fixed;
  bottom: 90px;
  right: 15px;
  background: #ff9800;
  color: #fff;
  padding: 14px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999; /* CLAVE */
}

#carrito-flotante {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 80vh;
  background: white;
  z-index: 10000; /* CLAVE */
}

#lista-carrito {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

#lista-carrito li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

#lista-carrito button {
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-whatsapp {
  display: block;
  background: #25D366;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

/* ============================= */
/* PRODUCTOS YERBAS - HORIZONTAL */
/* ============================= */
.productos yerbas {
  display: flex;            /* Pone los productos en fila */
  flex-wrap: wrap;          /* Permite que bajen si no caben en pantalla */
  gap: 20px;                /* Espacio entre productos */
  justify-content: flex-start; /* Alinea al inicio */
  padding: 10px 0;
}

.productos yerbas .producto {
  flex: 0 1 200px;          /* Cada producto ocupa aprox 200px de ancho */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.productos yerbas .producto:hover {
  transform: translateY(-5px);  /* Pequeña animación al pasar el mouse */
}

.productos yerbas .producto img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.productos yerbas .producto h3 {
  font-size: 16px;
  text-align: center;
  margin: 10px 0 5px 0;
}

.productos yerbas .producto p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.productos yerbas .producto button {
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.productos yerbas .producto button:hover {
  background: #e67e22;
}