/* =========================================================
   SUPLE SALUD - Estilos
   ========================================================= */
:root {
  --verde: #1f5d3a;
  --verde-osc: #174a2e;
  --verde-claro: #e7f0e9;
  --verde-hoja: #6fae5a;
  --crema: #f7f4ec;
  --crema-2: #efeadd;
  --texto: #1d2a22;
  --muted: #6b7570;
  --borde: #e6e2d6;
  --blanco: #ffffff;
  --wa: #25d366;
  --rojo: #c0392b;
  --radio: 14px;
  --sombra: 0 6px 22px rgba(31, 93, 58, .08);
  --sombra-2: 0 12px 34px rgba(31, 93, 58, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: .9rem; }
.seccion { padding: 40px 16px 0; }
.seccion-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.titulo-sec { font-size: 1.35rem; color: var(--verde-osc); font-weight: 600; }
.link-ver { color: var(--verde); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.link-ver:hover { text-decoration: underline; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 500; font-size: .95rem;
  border: 1.5px solid transparent; transition: .2s; text-align: center;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--verde); color: #fff; }
.btn-primary:hover { background: var(--verde-osc); }
.btn-outline { border-color: var(--verde); color: var(--verde); background: #fff; }
.btn-outline:hover { background: var(--verde-claro); }
.btn-wa { background: var(--verde-claro); color: var(--verde-osc); border-color: #b9d6c1; }
.btn-wa:hover { background: #d5e8da; }
.form-pedido .btn-wa { background: var(--wa); color: #0b3d1f; border-color: var(--wa); font-weight: 600; }
.form-pedido .btn-wa:hover { filter: brightness(.95); }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 30px; }
.btn-block { width: 100%; }
.btn:disabled { background: #ccc; border-color: #ccc; color: #666; cursor: not-allowed; }
.btn-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; }
.btn-icon:hover { background: var(--crema); }
.btn-link { color: var(--muted); text-decoration: underline; font-size: .85rem; margin: 10px auto 0; display: block; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--borde); }
.header-top { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Logo en imagen: ajusta "height" para hacerlo más grande o más pequeño */
.logo-img { height: 54px; width: auto; max-width: 240px; object-fit: contain; }

.search { flex: 1; max-width: 460px; margin: 0 auto; display: flex; background: var(--crema); border: 1px solid var(--borde); border-radius: 30px; overflow: hidden; }
.search input { flex: 1; border: none; background: transparent; padding: 10px 18px; outline: none; font-size: .9rem; min-width: 0; }
.search button { padding: 0 16px; color: var(--verde); }
.search:focus-within { border-color: var(--verde); background: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-link { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--verde-osc); }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--verde-osc); }
.cart-btn:hover { background: var(--crema); }
.cart-btn svg { width: 26px; height: 26px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--verde); color: #fff; border-radius: 10px; font-size: .7rem; font-weight: 600;
  display: grid; place-items: center; border: 2px solid #fff;
}
.cart-count.pop { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

.nav { background: var(--crema); border-top: 1px solid var(--borde); }
.nav-inner { display: flex; justify-content: center; gap: 28px; height: 46px; align-items: center; }
.nav a { font-size: .88rem; font-weight: 500; color: #3a4a40; position: relative; padding: 4px 0; }
.nav a:hover, .nav a.activo { color: var(--verde); }
.nav a.activo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--verde); border-radius: 2px; }

.aviso-demo { background: #fff6dc; color: #6b5300; font-size: .82rem; text-align: center; padding: 8px 16px; }
.aviso-demo code { background: #fff; padding: 1px 6px; border-radius: 4px; }

/* ---------- Hero ---------- */
/* La imagen Hero.png cubre toda la sección y el texto va encima */
.hero { position: relative; overflow: hidden; background: var(--crema); }
/* Imagen de fondo en su propia capa para poder animarla con zoom */
.hero-bg {
  position: absolute; inset: 0;
  background: url('img/Hero.png') right center / cover no-repeat;
}
/* Degradado claro a la izquierda para que el texto se lea bien */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(247,244,236,.97) 0%, rgba(247,244,236,.85) 30%, rgba(247,244,236,0) 58%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; min-height: 470px; }
.hero-texto { padding: 56px 0; max-width: 520px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; color: var(--verde-osc); font-weight: 700; }
.hero p { font-size: 1.1rem; color: #3d4a42; margin: 16px 0 24px; max-width: 420px; }
.hero-beneficios { list-style: none; display: flex; gap: 22px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-beneficios li { display: flex; align-items: center; gap: 8px; font-size: .78rem; line-height: 1.3; color: #3d4a42; }
.hero-beneficios span { font-size: 1.4rem; }

/* ---------- Categorías ---------- */
.categorias { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .88rem; font-weight: 500; }
.cat-circle {
  width: 110px; height: 110px; border-radius: 50%; background: var(--crema);
  display: grid; place-items: center; font-size: 2.6rem; transition: .25s; overflow: hidden;
}
.cat-circle img { width: 75%; height: 75%; object-fit: contain; }
.cat:hover .cat-circle { transform: translateY(-4px); box-shadow: var(--sombra); background: var(--verde-claro); }
.cat-circle.ofertas { background: var(--verde); color: #fff; font-weight: 700; font-size: 2.2rem; }

/* ---------- Grid y tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 20px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  display: flex; flex-direction: column; transition: .25s; overflow: hidden;
}
.card:hover { box-shadow: var(--sombra-2); transform: translateY(-3px); }
.card-img { display: block; aspect-ratio: 1; padding: 18px; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 0 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.card-title:hover { color: var(--verde); }
.card-sub { font-size: .78rem; color: var(--muted); margin: 4px 0 10px; flex: 1; }
.card-precio { margin-bottom: 12px; }
.precio { font-weight: 700; color: var(--verde-osc); font-size: 1.1rem; }
.precio-antes { color: var(--muted); text-decoration: line-through; font-size: .85rem; margin-left: 8px; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--verde); color: #fff;
  font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 6px;
}
.stock-bajo { font-size: .75rem; color: #b26a00; margin-bottom: 8px; }

.skeleton { min-height: 340px; background: linear-gradient(90deg, #f3f1ea 25%, #faf8f3 50%, #f3f1ea 75%); background-size: 200% 100%; animation: brillo 1.2s infinite; border: none; }
@keyframes brillo { to { background-position: -200% 0; } }

.vacio { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- Banner ---------- */
.banner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden;
  background: linear-gradient(100deg, #f5f1e6, #e6efdf); border-radius: 22px; min-height: 230px;
}
.banner-texto { padding: 36px 48px; }
.banner h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--verde-osc); line-height: 1.2; }
.banner p { margin: 8px 0 18px; color: #3d4a42; }
.banner img { height: 100%; max-height: 260px; width: 100%; object-fit: cover; object-position: center; }

.nosotros p { max-width: 820px; color: #3d4a42; margin-top: 10px; }

/* ---------- Catálogo ---------- */
.migas { font-size: .82rem; color: var(--muted); padding: 18px 0; }
.migas a:hover { color: var(--verde); }
.migas span:last-child { color: var(--texto); font-weight: 500; }
.catalogo { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-bottom: 50px; }
.filtros { align-self: start; position: sticky; top: 140px; background: #fff; }
.filtros-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.filtro-grupo { padding: 16px 0; border-bottom: 1px solid var(--borde); }
.filtro-grupo:first-of-type { padding-top: 0; }
.filtro-grupo h4 { font-size: .95rem; color: var(--verde-osc); margin-bottom: 10px; }
.filtros > .btn { margin-top: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .86rem; padding: 4px 0; cursor: pointer; color: #3d4a42; }
.check input { width: 17px; height: 17px; accent-color: var(--verde); cursor: pointer; }

.catalogo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.catalogo-head h1 { font-size: 1.6rem; color: var(--verde-osc); }
.catalogo-tools { display: flex; gap: 10px; align-items: center; }
.btn-filtros { display: none; }

/* ---------- Detalle de producto ---------- */
.detalle { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding-bottom: 30px; }
.galeria { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { width: 76px; height: 76px; border: 1.5px solid var(--borde); border-radius: 10px; padding: 6px; background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.activo { border-color: var(--verde); }
.foto-principal { position: relative; border: 1px solid var(--borde); border-radius: var(--radio); aspect-ratio: 1; padding: 30px; background: #fff; }
.foto-principal img { width: 100%; height: 100%; object-fit: contain; }
.info h1 { font-size: 1.7rem; line-height: 1.2; color: var(--verde-osc); }
.info .sub { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.info-precio { margin: 18px 0 12px; }
.info-precio .precio { font-size: 1.9rem; }
.resumen { color: #3d4a42; font-size: .93rem; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; }
.badges li { font-size: .82rem; color: var(--verde-osc); background: var(--verde-claro); padding: 4px 12px; border-radius: 20px; }
.compra { display: flex; gap: 12px; margin-top: 20px; }
.compra-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.btn-grow { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--borde); border-radius: 10px; overflow: hidden; }
.qty button { width: 40px; height: 44px; font-size: 1.15rem; color: var(--verde-osc); }
.qty button:hover { background: var(--crema); }
.qty input, .qty span { width: 44px; text-align: center; border: none; outline: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 30px; height: 30px; font-size: 1rem; }
.qty-sm span { width: 30px; font-size: .9rem; }

.detalle-bottom { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.tabs-box { border: 1px solid var(--borde); border-radius: var(--radio); padding: 0 24px 24px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--borde); overflow-x: auto; margin-bottom: 18px; }
.tab { padding: 14px 16px; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.activo { color: var(--verde-osc); font-weight: 600; border-color: var(--verde); }
.tab-panel { font-size: .92rem; color: #3d4a42; }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li::before { content: "✓"; color: var(--verde); font-weight: 700; margin-right: 10px; }
.ficha { border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px; background: var(--crema); font-size: .88rem; display: grid; gap: 8px; }

/* ---------- Features y footer ---------- */
.features { background: var(--verde); color: #fff; margin-top: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.feature { display: flex; align-items: center; gap: 14px; justify-content: center; }
.feature span { font-size: 1.8rem; }
.feature strong { display: block; font-size: .92rem; }
.feature small { opacity: .85; font-size: .78rem; }
/* Logos de Yape y Plin en "Pagos seguros" */
.feature .pagos-logos { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: inherit; }
.pagos-logos img { height: 30px; width: auto; border-radius: 7px; background: #fff; padding: 2px; }
.footer { background: var(--verde-osc); color: #d9e6dc; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; align-items: start; padding-top: 36px; padding-bottom: 30px; }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: .95rem; }
.footer p { margin-bottom: 6px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 14px; font-size: .78rem; opacity: .8; }

/* ---------- Carrito ---------- */
.carrito {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%; background: #fff; z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.12);
}
body.carrito-abierto .carrito { transform: none; }
.carrito-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--borde); }
.carrito-head h3 { color: var(--verde-osc); font-size: 1.1rem; }
.carrito-body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--borde); }
.ci img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--borde); border-radius: 10px; padding: 4px; }
.ci-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ci-nombre { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.ci-sub { font-size: .74rem; color: var(--muted); }
.ci-precio { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.ci .qty { width: max-content; }
.ci-der { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: .9rem; color: var(--verde-osc); }
.ci-quitar { color: var(--muted); font-size: .85rem; padding: 2px 6px; border-radius: 6px; }
.ci-quitar:hover { color: var(--rojo); background: #fdecea; }
.cart-vacio { text-align: center; padding: 60px 10px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cart-vacio-ico { font-size: 3rem; }
.totales { padding: 16px 0; display: grid; gap: 6px; font-size: .9rem; }
.totales p { display: flex; justify-content: space-between; }
.totales .total { font-size: 1.15rem; font-weight: 700; color: var(--verde-osc); border-top: 1px dashed var(--borde); padding-top: 10px; margin-top: 4px; }
.form-pedido { background: var(--crema); border-radius: var(--radio); padding: 18px; display: grid; gap: 12px; }
.form-pedido h4 { color: var(--verde-osc); }
.form-pedido label { display: grid; gap: 4px; font-size: .8rem; font-weight: 500; color: #3d4a42; }
#grupoDireccion { display: grid; gap: 12px; }
.form-pedido input, .form-pedido select, .form-pedido textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--borde); border-radius: 9px; background: #fff; outline: none; font-size: .9rem; font-weight: 400;
}
.form-pedido input:focus, .form-pedido select:focus, .form-pedido textarea:focus { border-color: var(--verde); }

/* ---------- Overlay, toast, whatsapp ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 30, 20, .45); z-index: 90; opacity: 0; pointer-events: none; transition: .3s; }
body.carrito-abierto .overlay, body.filtros-abiertos .overlay, body.menu-abierto .overlay { opacity: 1; pointer-events: auto; }
body.carrito-abierto, body.filtros-abiertos { overflow: hidden; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--verde-osc); color: #fff;
  padding: 12px 22px; border-radius: 30px; font-size: .88rem; z-index: 200; opacity: 0; pointer-events: none; transition: .3s; box-shadow: var(--sombra-2); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* Botón de WhatsApp con ondas palpitantes */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; z-index: 80; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s;
  animation: wa-latido 2s ease-in-out infinite;
}
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: -1; animation: wa-onda 2s ease-out infinite;
}
.wa-float::after { animation-delay: 1s; }
.wa-float:hover { transform: scale(1.08); animation-play-state: paused; }
.wa-float svg { width: 30px; height: 30px; stroke: #fff; stroke-width: 2; position: relative; }
.wa-float .wa-tel { fill: #fff; stroke: none; }
@keyframes wa-onda {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes wa-latido {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.08); }
  30%      { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float::before, .wa-float::after { animation: none; }
}

/* ---------- Efecto zoom al bajar (solo Hero y Banner) ---------- */
[data-zoom] {
  opacity: 0; transform: scale(.8);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--retraso, 0s);
}
/* Banner: la foto se acerca desde más grande dentro de su marco */
[data-zoom="img"] { transform: scale(1.18); transition-duration: 1.2s; }
/* Hero: el fondo no se desvanece, solo hace zoom */
[data-zoom="fondo"] { opacity: 1; transform: scale(1.12); transition: transform 1.8s ease-out; }
[data-zoom].visible { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-zoom] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Redes sociales (pie de página) ---------- */
.redes { display: flex; gap: 12px; margin-top: 18px; }
.redes a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; transition: .25s;
}
.redes a:hover { background: #fff; color: var(--verde-osc); transform: translateY(-3px); text-decoration: none !important; }
.redes svg { width: 24px; height: 24px; stroke-width: 2; }

/* ---------- Libro de reclamaciones ---------- */
.libro-ico-img { width: 120px; height: auto; }
/* Pie de página: imagen del libro + letras blancas, sin recuadro */
.libro-footer {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  color: #fff; transition: transform .25s;
}
.libro-footer:hover { transform: translateY(-3px); text-decoration: none !important; color: #fff !important; }
.libro-footer:hover .libro-titulo { text-decoration: underline; }
.libro-img { width: 130px; height: auto; transition: transform .25s; }
.libro-footer:hover .libro-img { transform: scale(1.05); }
.libro-pregunta { font-weight: 700; font-size: .95rem; line-height: 1.25; color: #fff; }
.libro-titulo { font-weight: 600; font-size: .9rem; color: #fff; }

.reclamo-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; padding-bottom: 40px; align-items: start; }
.reclamo-intro h1 { font-size: 1.7rem; color: var(--verde-osc); margin: 14px 0 10px; }
.reclamo-intro > p { color: #3d4a42; font-size: .93rem; }
/* Imagen de la página de reclamaciones (con zoom como el Banner) */
.reclamo-foto { overflow: hidden; border-radius: 20px; margin-top: 20px; }
.reclamo-foto img { width: 100%; height: auto; display: block; }
.reclamo-datos { list-style: none; margin: 16px 0; display: grid; gap: 4px; font-size: .88rem; }

.reclamo-card { background: var(--crema); border-radius: 20px; padding: 28px; }
.form-reclamo { display: grid; gap: 16px; }
.fr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fr-full { grid-column: 1 / -1; }
.form-reclamo input:not([type=checkbox]), .form-reclamo select, .form-reclamo textarea {
  width: 100%; padding: 13px 18px; background: #fff; border: none; border-bottom: 2px solid var(--verde-hoja);
  border-radius: 16px; outline: none; font-size: .95rem; transition: .2s;
}
.form-reclamo textarea { resize: vertical; min-height: 130px; }
.form-reclamo select { cursor: pointer; }
.form-reclamo input:focus, .form-reclamo select:focus, .form-reclamo textarea:focus { border-bottom-color: var(--verde); box-shadow: 0 0 0 3px rgba(31,93,58,.12); }
.form-reclamo .invalido { border-bottom-color: var(--rojo) !important; }
.form-reclamo .btn { justify-self: start; min-width: 170px; }
.fr-acepto { font-size: .82rem; align-items: flex-start; }
.fr-acepto input { margin-top: 2px; flex-shrink: 0; }
.fr-nota { font-size: .78rem; color: var(--muted); }
.fr-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reclamo-ok { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.reclamo-ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.reclamo-ok h2 { color: var(--verde-osc); }
.reclamo-ok strong { color: var(--verde-osc); font-size: 1.1rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .categorias { grid-template-columns: repeat(3, 1fr); }
  .detalle, .detalle-bottom { grid-template-columns: 1fr; }
  .catalogo { grid-template-columns: 1fr; }
  .btn-filtros { display: inline-flex; }
  .filtros {
    position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 85%; z-index: 100; padding: 18px 20px;
    overflow-y: auto; transform: translateX(-100%); transition: .3s; box-shadow: 10px 0 30px rgba(0,0,0,.12);
  }
  body.filtros-abiertos .filtros { transform: none; }
  .filtros-head { display: flex; }
}

@media (max-width: 760px) {
  .header-top { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .menu-toggle { display: inline-grid; }
  .logo { margin-right: auto; }
  .logo-img { height: 40px; max-width: 170px; }
  .header-link span { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav { display: none; }
  body.menu-abierto .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 95; box-shadow: var(--sombra-2); }
  .nav-inner { flex-direction: column; height: auto; align-items: stretch; gap: 0; padding: 6px 16px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--borde); }
  .nav a:last-child { border-bottom: none; }
  .nav a.activo::after { display: none; }

  /* En celular: texto arriba y los productos visibles abajo */
  .hero-bg { background-position: 75% bottom; }
  .hero::before {
    background: linear-gradient(180deg, rgba(247,244,236,.97) 0%, rgba(247,244,236,.9) 45%, rgba(247,244,236,0) 75%);
  }
  .hero-grid { min-height: 560px; align-items: start; }
  .hero-texto { padding: 32px 0 10px; text-align: center; max-width: none; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-beneficios { justify-content: center; gap: 14px; }

  .categorias { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
  .cat-circle { width: 82px; height: 82px; font-size: 2rem; }
  .cat { font-size: .78rem; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-img { padding: 12px; }
  .card-body { padding: 0 12px 12px; }
  .card-title { font-size: .86rem; }
  .card .btn { padding: 9px 8px; font-size: .82rem; }

  .banner { grid-template-columns: 1fr; text-align: center; }
  .banner-texto { padding: 30px 20px 10px; }
  .banner img { max-height: 200px; object-fit: contain; }

  .catalogo-head h1 { font-size: 1.3rem; }
  .catalogo-tools { width: 100%; justify-content: space-between; }

  .galeria { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumb { width: 64px; height: 64px; flex-shrink: 0; }
  .info h1 { font-size: 1.35rem; }
  .compra-2 { grid-template-columns: 1fr; }
  .tabs-box { padding: 0 16px 18px; }

  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .libro-footer { max-width: 280px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }

  .reclamo-wrap { grid-template-columns: 1fr; gap: 24px; }
  .reclamo-card { padding: 20px 16px; }
  .fr-grid { grid-template-columns: 1fr; }
  .form-reclamo .btn { justify-self: stretch; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reclamo-wrap { grid-template-columns: 1fr; }
}