/* ============================= */
/* RESET GENERAL */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 3px solid #01C4B1;
}

.logo img {
  height: 65px;
}

/* MENÚ */  
.menu {
  display: flex;
  gap: 20px;
}

/* BOTÓN */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* CELULAR */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;        /* 🔥 ESTO HACE QUE BAJE */
    right: 0;
    width: 220px;
    padding: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,.2);
    z-index: 9999;    /* 🔥 PARA QUE NO LO TAPEN */
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
}

/* ============================= */
/* INICIO */
/* ============================= */
.inicio {
  padding: 40px 50px;
  text-align: center;
}

.inicio h2 {
  color: #01C4B1;
}

.productos {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  width: 230px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: #01C4B1;
  margin-bottom: 8px;
}

.card p {
  font-weight: bold;
}

.card button {
  margin-top: 12px;
  padding: 10px;
  width: 100%;
  background-color: #01C4B1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.card button:hover {
  background-color: #01a89a;
}

/* ============================= */
/* PRODUCTOS (SIN CAMBIOS) */
/* ============================= */

/* ============================= */
/* SERVICIOS (SIN CAMBIOS) */
/* ============================= */
.servicios {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.servicios h2 {
  color: #01C4B1;
  margin-bottom: 30px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.servicio-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 15px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.servicio-card:hover {
  transform: translateY(-6px);
}

.servicio-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}
.servicio-card h3 {
  color: #01C4B1;
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: 14px;
  color: #555;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  .carousel {
    height: 200px;
  }

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 85px;
    right: 20px;
    flex-direction: column;
    background: #f1efef;
    width: 220px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    z-index: 9999;
  }

  .menu.show {
    display: flex;
  }

  .productos {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================= */
/* BOTÓN WHATSAPP */
/* ============================= */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #01C4B1;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  z-index: 9999;
}

.whatsapp img {
  width: 32px;
  height: 32px;
}
/* ============================= */
/* FILTROS */
/* ============================= */
.filtros {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  padding: 25px 20px;
  background: #f9f9f9;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filtros select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #01C4B1;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.filtros button {
  padding: 10px 18px;
  background-color: #01C4B1;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.filtros button:hover {
  background-color: #01a89a;
}
@media (max-width: 480px) {
  .filtros {
    flex-direction: column;
  }

  .filtros select,
  .filtros button {
    width: 100%;
    max-width: 280px;
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  padding: 20px;
}

.close {
  font-size: 28px;
  cursor: pointer;
  float: right;
}

.modal-body {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.modal-img img {
  width: 220px;
  border-radius: 12px;
}

.modal-info {
  flex: 1;
}

.modal-info label {
  display: block;
  margin-top: 10px;
}

.modal-info input,
.modal-info select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
}

.btn-comprar {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #01C4B1;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
  background: #fbfdfd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 55px;
}

.menu a {
  color: rgb(14, 13, 13);
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

/* FILTROS */
.filtros {
  padding: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
}

.modal-body {
  display: flex;
  gap: 20px;
}

.modal-body img {
  width: 250px;
  border-radius: 10px;
}

.modal-info input,
.modal-info select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

#datosTarjeta {
  display: none;
}

.btn-comprar {
  background: green;
  color: white;
  padding: 10px;
  border: none;
  width: 100%;
  cursor: pointer;
}

.close {
  font-size: 24px;
  cursor: pointer;
  float: right;
}

/* HERO */
.hero {
  height: 420px;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
              url("../img/banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-hero {
  background: #01C4B1;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* CATEGORÍAS */
.categorias {
  padding: 50px;
  text-align: center;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.categoria-card {
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: black;
}

.categoria-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.categoria-card h3 {
  padding: 15px;
  background: #01C4B1;
  color: white;
}

/* BENEFICIOS */
.beneficios {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background: #f5f5f5;
}

.beneficio {
  text-align: center;
  max-width: 200px;
}

/* CONTENEDOR DE SLIDES */
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* CADA SLIDE */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 clave para que NO se deformen */
}

/* SLIDE ACTIVO */
.slide.active {
  opacity: 1;
}

/* TEXTO ENCIMA */
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.btn-hero {
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.45);*/
  z-index: 1;
  pointer-events: none;
}

/* MÁS VENDIDOS */
.productos {
  gap: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* 🔑 CONTROL DE IMÁGENES */
.card img {
  width: 100%;
  max-width: 160px;   /* 👈 tamaño ideal */
  height: 160px;
  object-fit: contain; /* no se recortan */
  margin: 0 auto 10px;
}

/* TEXTO */
.card h3 {
  font-size: 1rem;
  margin: 8px 0 4px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* BOTÓN */
.card button {
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.card button:hover {
  background: #008c4a;
}


/* ===== CARRITO ===== */
input[type="number"] {
  width: 60px;
  padding: 6px;
  margin: 8px auto;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.menu a {
  position: relative;
}

/* Botón agregar carrito */
.producto-info button {
  margin-top: 10px;
}

/* ===== CARRITO PAGE ===== */
#carrito {
  padding: 40px;
}

#carrito .producto-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

#carrito .producto-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* TOTAL + PAGO */
.filtros h3 {
  margin-bottom: 15px;
}

#tarjeta input {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 8px;
  margin: 8px auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #carrito .producto-card {
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.whatsapp-float img {
  width: 55px;
  height: 55px;
}
/* ============================= */
/* MARCAS */
/* ============================= */
.marcas {
  display: flex;
  gap: 20px;
  padding: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.marca-card {
  width: 120px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s;
}

.marca-card:hover {
  transform: scale(1.1);
}

.marca-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.marca-card p {
  margin-top: 8px;
  font-weight: bold;
  color: #2bb673;
}
.marcas-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.marca-item {
  width: 120px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.marca-item:hover {
  transform: scale(1.1);
}

.marca-item img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}
.marcas-home {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.marcas-home h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.marca-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.marca-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.marca-card img {
  max-width: 100%;
  height: 70px;
  object-fit: contain;
}

.marca-card p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* ================= LOGIN ================= */

.login-body {
  background: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: Arial, sans-serif;
}

.login-container {
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.login-logo {
  width: 120px;
  margin-bottom: 15px;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.input-group {
  text-align: left;
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: #2e8b57;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.btn-login:hover {
  background: #256f46;
}

.login-extra {
  margin-top: 15px;
  font-size: 14px;
}

.login-extra a {
  color: #2e8b57;
  text-decoration: none;
}

.producto-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.producto-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.producto-card h3 {
  font-size: 16px;
  margin: 10px 0;
}

.precio {
  color: #01C4B1;
  font-weight: bold;
}

.filtros button {
  padding: 10px 16px;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.filtros button:hover {
  background: #1b5e20;
}
.producto-detalle {
  max-width: 900px;
  margin: 40px auto;
}

.producto-info-detalle {
  display: flex;
  gap: 40px;
}

.producto-info-detalle img {
  width: 300px;
}

.detalle-texto input {
  width: 60px;
  margin: 10px 0;
}
/* ===============================
   PÁGINA PRODUCTO (TIPO TIENDA)
================================ */

.producto-page {
  background: #fff;
}

.producto-layout {
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 40px;
}

/* IMAGEN */
.producto-imagen img {
  width: 100%;
  border-radius: 8px;
}

/* INFO */
.producto-info h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.producto-info .marca {
  color: #777;
  display: block;
  margin-bottom: 15px;
}

.producto-info .descripcion {
  line-height: 1.7;
  font-size: 15px;
}

/* COMPRA */
.producto-compra {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
}

.producto-compra h2 {
  color: #e53935;
  font-size: 28px;
  margin-bottom: 20px;
}

.cantidad-box input {
  width: 70px;
  padding: 8px;
  margin-bottom: 20px;
}

.producto-compra button {
  width: 100%;
  padding: 14px;
  background: #01C4B1;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.producto-compra button:hover {
  background: #01C4B1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .producto-layout {
    grid-template-columns: 1fr;
  }
}
.header {
  position: relative; /* CLAVE */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #fff;
  z-index: 1000;
}

/* =========================
   CARRITO
========================= */

.carrito-page {
  padding: 30px;
  max-width: 1000px;
  margin: auto;
}

.carrito-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carrito-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carrito-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
}

.carrito-info {
  flex: 1;
}

.carrito-info h4 {
  margin: 0 0 5px;
}

.carrito-info p {
  margin: 5px 0;
}

.carrito-info button {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.carrito-resumen {
  margin-top: 30px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 12px;
}

.btn-vaciar {
  background: #555;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  margin-bottom: 15px;
}

.btn-confirmar {
  background: #27ae60;
  color: #fff;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
}

.tarjeta-form {
  display: none;
  margin-top: 10px;
}

.tarjeta-form input {
  display: block;
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .carrito-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =======================
   CARRITO
======================= */
.carrito-page {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.carrito-lista {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.carrito-item {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.carrito-item img {
  width: 90px;
  border-radius: 8px;
}

.carrito-info {
  flex: 1;
}

.carrito-info h4 {
  margin: 0;
}

.btn-eliminar {
  background: red;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.carrito-resumen {
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.carrito-resumen input,
.carrito-resumen select {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-vaciar {
  background: #444;
  color: #fff;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-confirmar {
  background: #2ecc71;
  color: #fff;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
}

.tarjeta-box {
  display: none;
  margin-top: 10px;
}
/* ===== LOGIN ===== */

.login-body {
  background: linear-gradient(135deg, #2bb673, #01c4b1);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.login-container {
  background: #fff;
  width: 80%;
  max-width: 380px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.login-logo {
  width: 120px;
  margin-bottom: 15px;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: #01C4B1;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.btn-login:hover {
  background: #01C4B1;
}

.login-extra {
  margin-top: 15px;
  font-size: 14px;
}

.login-extra a {
  color: #01C4B1;
  text-decoration: none;
  font-weight: bold;
}

.login-error {
  display: none;
  background: #ffdede;
  color: #b00020;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.admin-panel {
  padding: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.admin-btn {
  background: #01C4B1;
  color: white;
  padding: 30px;
  text-align: center;
  font-size: 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s;
}

.admin-btn:hover {
  transform: scale(1.05);
}
/*
.admin-btn.disabled {
  background: #ccc;
  cursor: not-allowed;
}
*/
.stock-rojo {
  color: red;
  font-size: 12px;
  font-weight: bold;
}

.producto-card.sin-stock {
  opacity: 0.6;
  pointer-events: none;
}

/* ===========================
   DETALLE DE PRODUCTO
============================== */

.producto-page {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.detalle-producto {
  margin-top: 30px;
}

.detalle-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* IMAGEN */
.detalle-imagen img {
  width: 380px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

/* INFO */
.detalle-info {
  flex: 1;
}

.detalle-info h2 {
  margin-top: 0;
  font-size: 28px;
}

.detalle-info .marca {
  color: #777;
  margin-bottom: 10px;
}

.detalle-info .descripcion {
  margin: 15px 0;
  line-height: 1.6;
}

.detalle-info .precio {
  font-size: 24px;
  color: #01C4B1;
  margin: 15px 0;
}

.detalle-info select {
  padding: 8px;
  margin-bottom: 15px;
}

.detalle-info button {
  padding: 10px 15px;
  background: #01C4B1;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.detalle-info button:hover {
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .detalle-card {
    flex-direction: column;
    align-items: center;
  }

  .detalle-imagen img {
    width: 100%;
  }

  .detalle-info {
    width: 100%;
  }
}

/* ============================
   LOGIN / REGISTRO / ADMIN
============================ */

.auth-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #2bb673, #01c4b1);
  padding: 20px;
}

.auth-box {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 20px;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.auth-box input:focus {
  outline: none;
  border-color: #ff7a00;
}

.btn-auth {
  width: 100%;
  padding: 12px;
  background: #01C4B1;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-auth:hover {
  background: #e86f00;
}

.error-text {
  color: red;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.auth-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.auth-link a {
  color: #01C4B1;
  text-decoration: none;
  font-weight: bold;
}
body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
}

.admin-container {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.admin-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.admin-menu a {
  text-decoration: none;
  background: #007bff;
  color: white;
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: bold;
}

.admin-menu a:hover {
  background: #0056b3;
}

.logout {
  background: #dc3545;
}

.logout:hover {
  background: #a71d2a;
}

/* BUSCADOR */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-box input {
  flex: 1;
  padding: 8px;
}

.search-box button {
  padding: 8px 15px;
  background: #28a745;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

table th {
  background: #007bff;
  color: white;
}

.back {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: #007bff;
}

body {
  background: #f4f6f8;
  font-family: Arial, sans-serif;
}

.admin-container {
  max-width: 1100px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

h1, h2 {
  margin-bottom: 20px;
}

/* DASHBOARD */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.admin-card {
  background: #eaf2ff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: transform 0.2s;
}

.admin-card:hover {
  transform: translateY(-5px);
}

.admin-card.salir {
  background: #ffdede;
}

/* BUSCADOR */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  padding: 8px;
}

/* TABLA */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

input, select {
  padding: 6px;
}

button {
  padding: 6px 10px;
  cursor: pointer;
}

.btn-delete {
  color: red;
  text-decoration: none;
}

.back {
  display: inline-block;
  margin-top: 20px;
}

/* FIX carrito - mostrar formularios */
.carrito-resumen input,
.carrito-resumen select {
  display: block !important;
  width: 100%;
  margin-bottom: 10px;
}

/* SERVICIOS */
@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr !important;
    padding: 15px;
  }
}

/* CARRITO */
@media (max-width: 768px) {
  .carrito-page {
    padding: 15px !important;
  }

  .carrito-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .carrito-item img {
    width: 100px !important;
    height: 100px !important;
  }
}

/* FORMULARIOS */
@media (max-width: 768px) {
  .carrito-resumen {
    padding: 15px !important;
  }

  .carrito-resumen input,
  .carrito-resumen select,
  .btn-confirmar,
  .btn-vaciar {
    width: 100% !important;
  }
}

/* =====================
   NAVBAR
===================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: rgb(20, 20, 20);
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.menu a,
.nav-icons a {
  color: rgb(19, 18, 18);
  margin: 0 10px;
  text-decoration: none;
}

/* =====================
   HAMBURGUESA
===================== */
.hamburger {
  font-size: 26px;
  cursor: pointer;
  display: none;
  margin-right: 10px;
}

/* =====================
   MENÚ MÓVIL
===================== */
.menu-movil {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100%;
  background: white;
  padding: 20px;
  transition: 0.3s;
  z-index: 9999;
}

.menu-movil a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  color: #333;
  text-decoration: none;
}

.menu-movil hr {
  margin: 15px 0;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
  }

  .menu-movil.active {
    left: 0;
  }
}

/* ===============================
   ICONOS NAVBAR
================================ */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-icon {
  font-size: 20px;
  text-decoration: none;
}

.user-icon {
  position: relative;
  cursor: pointer;
  font-size: 20px;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  min-width: 150px;
  z-index: 1000;
}

.user-dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.user-dropdown a:hover {
  background: #f2f2f2;
}

.user-icon:hover .user-dropdown {
  display: block;
}

/* ===============================
   MENÚ DE CATEGORÍAS
================================ */
.menu-categorias {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.menu-categorias ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 12px 0;
}

.menu-categorias li {
  position: relative;
  font-weight: bold;
  cursor: pointer;
}

.menu-categorias a {
  text-decoration: none;
  color: #000;
}

/* SUBMENÚ */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 15px;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  z-index: 999;
}

.submenu a {
  display: block;
  padding: 6px 0;
  color: #333;
  font-weight: normal;
}

.submenu a:hover {
  color: red;
}

.dropdown:hover .submenu {
  display: block;
}

/* ===============================
   MÓVIL
================================ */
@media (max-width: 768px) {
  .menu-categorias {
    display: none;
  }
}

/* ===============================
   NAVBAR SUPERIOR
================================ */
.navbar {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cart-icon,
.user-icon {
  font-size: 20px;
  cursor: pointer;
}

/* USER DROPDOWN */
.user-icon {
  position: relative;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 28px;
  background: #fff;
  min-width: 150px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  z-index: 1000;
}

.user-dropdown a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.user-dropdown a:hover {
  background: #f2f2f2;
}

.user-icon:hover .user-dropdown {
  display: block;
}

/* ===============================
   MEGA MENU
================================ */
.mega-menu {
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}

.mega-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 0;
  padding: 14px 0;
}

.mega-menu li {
  position: relative;
  font-weight: 600;
}

.mega-menu a,
.mega-menu span {
  text-decoration: none;
  color: #222;
  cursor: pointer;
}

/* SUBMENU */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 15px;
  min-width: 230px;
  box-shadow: 0 6px 15px rgba(0,0,0,.2);
  z-index: 999;
}

.submenu a {
  display: block;
  padding: 6px 0;
  color: #444;
  font-weight: normal;
}

.submenu a:hover {
  color: #01C4B1;
}

.dropdown:hover .submenu {
  display: block;
}

/* LINKS SIMPLES */
.simple-link a:hover {
  color: #01C4B1;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .mega-menu {
    display: none;
  }
}
/* ===============================
   ANIMACIONES GENERALES
================================ */
.mega-menu a,
.mega-menu span {
  position: relative;
  padding: 5px 0;
}

/* Línea animada abajo */
.mega-menu a::after,
.mega-menu span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #01C4B1;
  transition: width 0.3s ease;
}

.mega-menu a:hover::after,
.mega-menu span:hover::after {
  width: 100%;
}

/* ===============================
   SUBMENU CON ANIMACIÓN
================================ */
.submenu {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.35s ease;
  border-radius: 12px;
}

.dropdown:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===============================
   SUBMENU DISEÑO
================================ */
.submenu a {
  padding: 8px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.submenu a:hover {
  transform: translateX(6px);
  color: #01C4B1;
}

/* ===============================
   MOBILE MENU navar.hover

================================ */
@media (max-width: 768px) {

  .mega-menu {
    display: none;
    background: #fff;
  }

  .mega-menu.show {
    display: block;
    animation: slideDown 0.35s ease;
  }

  .mega-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }

  .mega-menu li {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
  }

  .submenu {
    position: static;
    box-shadow: none;
    padding-left: 15px;
    transform: none;
    opacity: 1;
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }
}

/* ===============================
   ANIMACIÓN MOBILE
================================ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*//////////////////////////////*/

/* =========================
   NAVBAR SUPERIOR
========================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 42px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* =========================
   USER ICON
========================= */
.user-icon {
  position: relative;
  cursor: pointer;
  font-size: 20px;
}

.user-dropdown {
  position: absolute;
  top: 28px;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,.15);
  display: none;
  min-width: 140px;
}

.user-dropdown a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.user-dropdown a:hover {
  background: #f2f2f2;
}
/*
.user-icon:hover .user-dropdown {
  display: block;
}
*/
/* =========================
   MEGA MENU
========================= */
.mega-menu {
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

.mega-list {
  display: flex;
  gap: 25px;
  padding: 12px 20px;
  margin: 0;
  list-style: none;
  align-items: center;
}

.mega-list span,
.mega-list a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
   SUBMENU
========================= */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: .25s ease;
  z-index: 2000;
}
/* Evita que el hover se pierda */
.dropdown {
  padding-bottom: 6px;
}


.submenu a {
  display: block;
  padding: 10px 16px;
  font-weight: normal;
}

.submenu a:hover {
  background: #f4f4f4;
}

/* HOVER PC */
.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   LINKS SIMPLES
========================= */
.simple-link a {
  font-weight: 600;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .mega-menu {
    display: none;
    flex-direction: column;
    background: #fff;
  }

  .mega-menu.show {
    display: block;
  }

  .mega-list {
    flex-direction: column;
    gap: 0;
  }

  .mega-list > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .mega-list span,
  .mega-list a {
    padding: 14px;
    display: block;
  }

  .submenu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }

  .hamburger {
    display: block;
  }
}
.nav-left {
  margin-left: 15px;
}

.saludo {
  font-weight: 600;
  color: #333;
}

/* USUARIO */
.user-icon {
  position: relative;
  cursor: pointer;
}

/* DROPDOWN USUARIO */
.user-dropdown {
  position: absolute;
  top: 130%;
  right: 0;
  background: #fff;
  min-width: 190px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: none;
  z-index: 3000;
}

.user-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.user-dropdown a:hover {
  background: #f5f5f5;
}
/* ================= ESPACIADO NAVBAR ================= */

.navbar {
  padding: 10px 18px;
}

.nav-left {
  margin-right: 12px;
}

.logo img {
  height: 70px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px; /* 🔥 esto separa iconos */
}

.user-icon,
.cart-icon,
.hamburger {
  font-size: 22px;
  cursor: pointer;
}
/* ====== USUARIO DROPDOWN FIX ====== */

.user-icon {
  position: relative;
}

/* oculto por defecto */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;

  background: #fff;
  min-width: 160px;
  padding: 8px 0;

  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  display: none;
  z-index: 9999;
}

/* 🔥 ESTA ES LA CLAVE */
.user-icon:hover .user-dropdown,
.user-dropdown:hover {
  display: block;
}

/* links */
.user-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.user-dropdown a:hover {
  background: #f5f5f5;
}

/* ====== LAYOUT PRODUCTOS ====== */
.productos-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 20px;
}



/* ====== FILTROS ====== */
.filtros {
  border-right: 1px solid #ddd;
  padding-right: 15px;
}

.filtros h3,
.filtros h4 {
  margin-top: 20px;
  font-size: 16px;
}

.filtros select,
.filtros button {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
}

.filtros button {
  margin-top: 15px;
  cursor: pointer;
}


@media (max-width: 768px) {
  .productos-layout {
    grid-template-columns: 1fr;
  }

  .filtros {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
}

/* ================= LAYOUT PRODUCTOS ================= */

/* ================= BARRA FILTROS ================= */
.barra-filtros {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.ordenar-box select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 600;
  background: #fff;
}

/* Botón filtros */
.btn-filtros {
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 25px;
  background: #fff;
  font-weight: 600;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .barra-filtros {
    display: flex;
    justify-content: space-between;
  }

  .productos-layout {
    flex-direction: column;
  }

  .filtros {
    display: none;
  }
}
*/
.filtros select,
.filtros button {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
}

.filtros select:focus {
  outline: none;
  border-color: #00bfa6;
}

#btnLimpiar {
  background: #01C4B1;
  color: #fff;
  border: none;
}

#btnLimpiar:hover {
  background: #d32f2f;
}



.copy {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}


/* ============================= */
/* HERO */
/* ============================= */

.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* ============================= */
/* CARRUSEL */
/* ============================= */

.carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← CAMBIO CLAVE */
  display: block;
  background: #fff; /* opcional, para que no se vea vacío */
}

/* ============================= */
/* OVERLAY OSCURO */
/* ============================= */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
 /* background: rgba(0, 0, 0, 0.45); */
  z-index: 2;
  pointer-events: none;
}

/* ============================= */
/* TEXTO HERO */
/* ============================= */

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 500px;
  color: #fff;
  padding: 60px;
}

.btn-hero {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  background: #16c2a3;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}


/* ============================= */
/* CATEGORIAS DESTACADAS MOBILE */
/* ============================= */

.categorias-destacadas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.categoria-card {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.categoria-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.categoria-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 14px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  .categorias-destacadas {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 👇 FARMACIA ABAJO OCUPA TODO */
  .categoria-card.farmacia {
    grid-column: span 2;
  }

  .categoria-card img {
    height: 130px;
  }

  .categoria-card.farmacia img {
    height: 160px;
  }
}

/* ============================= */
/* CATEGORÍAS DESTACADAS */
/* ============================= */

.categorias {
  padding: 20px;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* 🔥 separación real */
}

.categoria-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #f5f5f5;
}

.categoria-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.categoria-card h3 {
  text-align: center;
  padding: 10px;
  margin: 0;
  color: #333;
  font-size: 16px;
}

/* ============================= */
/* 📱 MOBILE */
/* ============================= */
@media (max-width: 768px) {

  .categorias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* 👇 FARMACIA ABAJO SOLA */
  .categoria-card.farmacia {
    grid-column: span 2;
  }

  .categoria-card img {
    height: 140px;
  }

  .categoria-card.farmacia img {
    height: 170px;
  }
}

/* ============================= */
/* ANIMACIÓN SUAVE CATEGORÍAS */
/* ============================= */

.categoria-card {
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

/* 🖥️ PC - hover elegante */
@media (hover: hover) {
  .categoria-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  }
}

/* 📱 CELULAR - efecto tap */
.categoria-card:active {
  transform: scale(0.97);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
/* ===============================
   CONTADOR DEL CARRITO
=============================== */
.cart-icon {
  position: relative;
  font-size: 22px;
}

.carrito-count {
  position: absolute;
  top: -6px;
  right: -10px;

  background: #e53935;
  color: #fff;

  font-size: 12px;
  font-weight: bold;

  min-width: 18px;
  height: 18px;
  line-height: 18px;

  border-radius: 50%;
  text-align: center;

  display: none; /* 🔴 oculto si es 0 */
}

/* cuando tenga número */
.carrito-count.show {
  display: inline-block;
}

.sin-productos {
  text-align: center;
  padding: 40px 20px;
}

/* CELULAR (por defecto) */
.sin-productos img {
  max-width: 260px;   /* más grande en móvil */
  width: 100%;
  height: auto;
}

/* TEXTO */
.sin-productos p {
  margin-top: 18px;
  font-size: 16px;
  color: #555;
}

/* PC / TABLET */
@media (min-width: 768px) {
  .sin-productos img {
    max-width: 420px;  /* más grande en PC */
  }

  .sin-productos p {
    font-size: 18px;
  }
}


.search-container {
  position: relative;
  width: 350px;
}

.search-container input {
  width: 100%;
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.sugerencias {
  position: absolute;
  background: white;
  width: 100%;
  top: 45px;
  left: 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  display: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
}

.sugerencias a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
}

.sugerencias a:hover {
  background: #f5f5f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .search-container {
    order: 3;
    width: 100%;
    padding: 10px 15px;
  }

}

/* CONTENEDOR SUGERENCIAS */
.sugerencias {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  max-height: 320px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

/* ITEM INDIVIDUAL */
.sugerencias a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.sugerencias a:hover {
  background: #f5f5f5;
}

/* IMAGEN MINI */
.sugerencias img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

/* TEXTO */
.sugerencias .info {
  display: flex;
  flex-direction: column;
}

.sugerencias .info strong {
  font-size: 14px;
}

.sugerencias .info span {
  font-size: 13px;
  color: #777;
}

.search-container {
  display: flex;
  align-items: center;
  position: relative;
}

.btn-lupa {
  border: none;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
}

/* ===============================
   BUSCADOR RESPONSIVE (MÓVIL)
   =============================== */
@media (max-width: 768px) {

  .navbar {
    flex-wrap: wrap;
  }

  .search-container {
    width: 100%;
    order: 3;               /* 👈 baja el buscador */
    margin: 10px 0 0;
    padding: 0 10px;
  }

  .search-container input {
    flex: 1;
    width: 100%;
    border-radius: 6px 0 0 6px;
  }

  .btn-lupa {
    border-radius: 0 6px 6px 0;
  }

  .sugerencias {
    width: calc(100% - 20px);
    left: 10px;
  }
}

/* ===============================
   MEGA MENU SOLO EN MÓVIL
=============================== */
@media (max-width: 768px) {

  .mega-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    display: none;
  }

  .mega-menu.show{
    display: block;
  }

  /* botón cerrar */
  .cerrar-menu-movil{
    position: sticky;
    top: 0;
    background: #fff;
    text-align: right;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    z-index: 10000;
  }

  #cerrarMenu{
    font-size: 22px;
    cursor: pointer;
  }
}

/* ===============================
   EN ESCRITORIO NO TOCAR NADA
=============================== */
@media (min-width: 769px){
  .cerrar-menu-movil{
    display: none;
  }
}

/* ================= SUBMENÚ TOGGLE SOLO MÓVIL ================= */
@media (max-width: 768px) {

  .mega-menu .submenu {
    display: none;
  }

  .mega-menu .dropdown.activo > .submenu {
    display: block;
  }

}

@media (max-width: 768px){

  /* el megamenu ocupa pantalla, pero controlado */
  .mega-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 9999;
    display: none;
  }

  .mega-menu.show{
    display: block;
  }

  /* ===== DROPDOWNS ===== */

  .mega-menu .submenu{
    display: none;              /* 🔥 clave */
    pointer-events: none;       /* 🔥 clave */
  }

  .mega-menu .dropdown.open > .submenu{
    display: block;
    pointer-events: auto;
  }

  /* el título SIEMPRE clickeable */
  .mega-menu .dropdown > span{
    display: block;
    padding: 14px;
    cursor: pointer;
  }

}


/* ===============================
   DETALLE DE PRODUCTO
=============================== */

.producto-page{
  padding: 20px;
  display: flex;
  justify-content: center;
}

#detalleProducto{
  max-width: 1000px;
  width: 100%;
}

/* CONTENEDOR GENERAL (PC) */
.detalle-producto{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* ===============================
   IMAGEN DEL PRODUCTO
=============================== */

.detalle-img{
  width: 100%;
  aspect-ratio: 1 / 1;          /* 🔥 tamaño estable */
  background: #f7f7f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detalle-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;          /* 🔥 no se deforma */
}

/* ===============================
   INFO PRODUCTO
=============================== */

.detalle-info h1,
.detalle-info h2,
.detalle-info h3{
  margin-top: 0;
}

.detalle-info{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===============================
   RESPONSIVE MÓVIL
=============================== */

@media (max-width: 768px){

  .detalle-producto{
    grid-template-columns: 1fr;
  }

  .detalle-img{
    max-width: 320px;     /* 🔥 ni gigante ni enano */
    margin: 0 auto;
  }
}


.cantidad-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.cantidad-control button {
 /* width: 32px;
  height: 32px;
  */
  border: none;
  background: #eee;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

.cantidad-control span {
  min-width: 24px;
  text-align: center;
  font-weight: bold;
}




/* ===== MODAL BIENVENIDA ===== */

.modal-bienvenida {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  background: #d9f7f2; /* verde agua clarito */
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: aparecer 0.4s ease;
}

.modal-contenido h2 {
  color: #00897b;
  margin-bottom: 10px;
}

.modal-contenido p {
  margin-bottom: 20px;
  color: #333;
}

.modal-imagenes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-imagenes img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
}

.btn-modal {
  background: #00bfa5;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-modal:hover {
  background: #009e88;
}

.cerrar-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #555;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== HERO BOTÓN ABAJO ===== */

.hero-boton {
  text-align: center;
  padding: 50px 20px;
  background: #f5fffd;
}

.hero-boton h1 {
  font-size: 32px;
  color: #00897b;
  margin-bottom: 15px;
}

.hero-boton p {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
}

.btn-hero-nuevo {
  display: inline-block;
  background: linear-gradient(135deg, #00bfa5, #009e88);
  color: white;
  padding: 14px 35px;
  border-radius: 40px;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-nuevo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}


/* =============================
   HERO PROPORCIÓN FIJA
============================= */

.hero {
  position: relative;
  width: 100%;
  max-width: 1600px; /* evita que sea gigante en pantallas grandes */
  margin: auto;
  aspect-ratio: 2268 / 556; /* proporción real de tu imagen */
  overflow: hidden;
}

/* =========================
   HERO RESPONSIVE
========================= */

/* Por defecto ocultamos móvil */
.hero-mobile {
  display: none;
}

/* En celular ocultamos carrusel y mostramos móvil */
@media (max-width: 768px) {

  .hero {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .hero-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-boton {
    padding: 30px 15px;
  }

  .hero-boton h1 {
    font-size: 22px;
  }

  .hero-boton p {
    font-size: 16px;
  }

}


/* =========================
   HERO MOBILE CARRUSEL
========================= */

.hero-mobile {
  display: none;
}

.carousel-mobile {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide-mobile {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide-mobile.active {
  opacity: 1;
  position: relative;
}

.slide-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

}


/* =========================
   LLUVIA SAN VALENTÍN INDEX
========================= */

.lluvia-corazones {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.corazon {
  position: absolute;
  top: -20px;
  animation: caer linear forwards;
}

@keyframes caer {
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.helper-antiparasitario {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 8%;
  background: linear-gradient(135deg, #bef5ee, #7aedd5);
  border-radius: 25px;
  margin: 60px 0;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

/* Efecto decorativo suave */
.helper-antiparasitario::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(1, 196, 177, 0.15);
  border-radius: 50%;
  right: -80px;
  bottom: -80px;
}

.helper-contenido {
  flex: 1;
  min-width: 280px;
  z-index: 2;
}

.helper-contenido h2 {
  font-size: 34px;
  color: #00897b;
  margin-bottom: 15px;
  font-weight: 700;
}

.helper-contenido p {
  font-size: 17px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn-helper {
  display: inline-block;
  padding: 16px 35px;
  background: #01C4B1;
  color: #fff;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-helper:hover {
  background: #00897b;
  transform: translateY(-3px);
}

/* IMÁGENES */
.helper-imagen {
  flex: 1;
  min-width: 260px;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 2;
}

.helper-imagen img {
  max-width: 250px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.helper-imagen img:hover {
  transform: scale(1.05);
}
@media (max-width: 900px) {

  .helper-antiparasitario {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .helper-imagen {
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .helper-imagen img {
    max-width: 150px;
  }

  .helper-contenido h2 {
    font-size: 26px;
  }

  .helper-contenido p {
    font-size: 15px;
  }
}

.buscador-antiparasitario {
  padding: 80px 8%;
  background: linear-gradient(135deg, #e0fdf8, #b2f7ef);
  min-height: 80vh;
}

.buscador-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 50px;
}

.buscador-box h1 {
  color: #00897b;
  margin-bottom: 15px;
}

.buscador-box p {
  color: #555;
  margin-bottom: 30px;
}

.formulario-helper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.campo {
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.campo label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #00897b;
}

.campo input,
.campo select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.btn-buscar {
  padding: 14px 25px;
  background: #01C4B1;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-buscar:hover {
  background: #a80000;
  transform: scale(1.05);
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

/* ============================= */
/* SELECTOR MASCOTA */
/* ============================= */

.selector-mascota {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-mascota {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  border: 2px solid #01C4B1;
  background: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-mascota.activo {
  background: #01C4B1;
  color: white;
}

.btn-mascota:hover {
  transform: scale(1.05);
}

/* ============================= */
/* PESO RANGE */
/* ============================= */

#pesoRange {
  width: 100%;
  margin: 15px 0;
  accent-color: #01C4B1;
}

#pesoMascota {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
  .selector-mascota {
    flex-direction: column;
  }
}

/* Caja principal más ancha */
.buscador-box {
  background: #f4f4f4;
  border-radius: 25px;
  padding: 60px 80px;
  max-width: 1100px;   /* MÁS ANCHO */
  margin: auto;
}

/* Layout interno */
.helper-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;  /* Más espacio entre form e imagen */
}

/* Formulario ocupa más */
.helper-form {
  flex: 1.4;   /* Antes era 1 */
}

/* Imagen lateral más grande */
.helper-imagen-lateral {
  flex: 1;
  display: flex;
  justify-content: center;
}

.helper-imagen-lateral img {
  width: 100%;
  max-width: 320px;  /* MÁS GRANDE */
  border-radius: 25px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .helper-layout {
    flex-direction: column;
  }

  .helper-imagen-lateral {
    margin-top: 30px;
  }
}

/* Separación entre formulario y resultados */
.resultados-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 exactos por fila */
  gap: 30px;
}

/* Animación entrada */
.producto-card {
  opacity: 0;
  transform: translateY(30px);
  animation: aparecerProducto 0.5s ease forwards;
}

/* Delay automático en cascada */
.producto-card:nth-child(1) { animation-delay: 0.05s; }
.producto-card:nth-child(2) { animation-delay: 0.1s; }
.producto-card:nth-child(3) { animation-delay: 0.15s; }
.producto-card:nth-child(4) { animation-delay: 0.2s; }
.producto-card:nth-child(5) { animation-delay: 0.25s; }
.producto-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes aparecerProducto {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .resultados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celular */
@media (max-width: 576px) {
  .resultados-grid {
    grid-template-columns: 1fr;
  }
}
.producto-card {
  padding: 20px;
  border-radius: 16px;
  background: white;
}

.producto-card img {
  height: 200px;
  object-fit: contain;
}

.login-page {
  background: #f4f6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.login-card input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.login-card button {
  width: 100%;
  padding: 10px;
  background: #4CAF50;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.login-card button:hover {
  background: #45a049;
}

.subtext {
  font-size: 14px;
  color: #555;
}

.back-login {
  margin-top: 15px;
  font-size: 14px;
}

.back-login a {
  color: #4CAF50;
  text-decoration: none;
}

#mensaje {
  margin-top: 15px;
  font-weight: bold;
}

.detalle-card {
  position: relative;
}

.btn-politica-envio {
  margin-top: 12px;
  background: transparent;
  color: #2d89ef;
  border: 1px solid #2d89ef;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.btn-politica-envio:hover {
  background: #2d89ef;
  color: white;
}

/* MODAL */
.modal-envio {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  overflow-y: auto;  /* 👈 permite scroll si es muy pequeño el celular */
}

.modal-contenido {
  background: white;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;      /* 👈 límite vertical */
  overflow-y: auto;      /* 👈 permite scroll interno */
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.cerrar-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

.contenido-politica {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  text-align: left;              /* 👈 SOLUCIONA el centrado raro */
}

/* Títulos */
.contenido-politica h2 {
  margin-bottom: 15px;
}

.contenido-politica h3 {
  margin-top: 22px;
  margin-bottom: 10px;
}

.contenido-politica h4 {
  margin-top: 15px;
  margin-bottom: 8px;
}

/* Listas */
.contenido-politica ul {
  padding-left: 22px;           /* 👈 ordena los puntos */
  margin-bottom: 15px;
}

.contenido-politica li {
  margin-bottom: 8px;
}

/* Separadores */
.contenido-politica hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 20px 0;
}

.footer {
  position: relative;
  background: linear-gradient(135deg, #0ac6b6, #0ac6b6);
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 60px;
  overflow: hidden;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

/* Huellas de fondo */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('img/paw.jpg'); /* verifica la ruta */
  background-size: 120px;
  background-repeat: repeat;
  opacity: 0.05; /* muy sutil */
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  min-width: 200px;
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 16px;
  border-bottom: 2px solid #ffffff;
  display: inline-block;
  padding-bottom: 5px;
}

.redes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: #e6f7f5;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer a i {
  margin-right: 8px;
  color: #ffffff;
}

.footer a:hover {
  color: #ffffff;
  padding-left: 5px;
  opacity: 0.8;
}

.copy {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #d9f2ef;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

.legal-container {
  padding: 60px 20px;
  background: #f9f9f9;
  min-height: 80vh;
}

.legal-content {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-content h1 {
  margin-bottom: 10px;
  color: #018f84;
}

.fecha {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 25px;
  color: #333;
}

.legal-content p {
  line-height: 1.7;
  margin-top: 8px;
  color: #555;
}

.slide,
.slide img {
  pointer-events: auto !important;
  cursor: pointer;
}

.slides {
  pointer-events: auto !important;
}


/* CONTENEDOR */
.carousel-mobile {
  position: relative;
  overflow: hidden;
}

/* TODAS LAS SLIDES */
.slide-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* SOLO LA ACTIVA SE VE */
.slide-mobile.active {
  opacity: 1;
  z-index: 2;
}

/* LAS INACTIVAS NO RECIBEN CLICK */
.slide-mobile:not(.active) {
  pointer-events: none;
}



#detalleProducto {
  line-height: 1.8;
  color: #333;
}

#detalleProducto p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
  white-space: pre-line;
}

#detalleProducto h1,
#detalleProducto h2,
#detalleProducto h3 {
  margin-bottom: 12px;
  color: #111;
}

#detalleProducto strong {
  color: #000;
}

#detalleProducto ul {
  padding-left: 20px;
  margin: 10px 0;
}

#detalleProducto li {
  margin-bottom: 6px;
}


.cyber-container {
  padding: 20px;
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.card-cyber {
  background: white;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-cyber:hover {
  transform: scale(1.05);
}

.img-box {
  position: relative;
}

.img-box img {
  width: 100%;
  border-radius: 10px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
}

.precio {
  color: red;
  font-weight: bold;
  font-size: 18px;
}
