/* Los Fantasmas de la Pesca — modelo 1 de la demo (portada a todo el ancho, Barlow Condensed + DM Sans)
   con los pedidos de la clienta del 8-oct-2026: un verde menos oscuro, el nombre bien grande en la
   portada y el logo más grande. Los colores salen de los tokens de :root. */

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bosque: #1E4D2B;
  --bosque-900: #163B21;
  --bosque-700: #275E37;
  --verde: #2F7A3B;
  --verde-900: #25632F;
  --lima: #B1D66F;
  --lima-hi: #C4E785;
  --lima-ink: #3F7A2A;
  --paper: #F7FAF2;
  --paper-2: #EDF4E3;
  --paper-3: #DCE8CC;
  --menta: #CFE3B3;
  --blanco: #FFFFFF;
  --ink: #152016;
  --ink-soft: #56664F;
  --sobre-oscuro: #D7E5D0;
  --line: rgba(30, 77, 43, .18);
  --line-soft: rgba(30, 77, 43, .1);

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --fs-body: clamp(.98rem, 1.02vw, 1.05rem);
  --fs-h2: clamp(2.6rem, 5.4vw, 5rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.6rem);
  --fs-price: clamp(1.3rem, 1.6vw, 1.5rem);

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-pad-y: clamp(4rem, 7vw, 7rem);
  --radius: 4px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

html { overflow-x: clip; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--lima); color: var(--bosque-900); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: .005em; }

.sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 400;
  background: var(--lima); color: var(--bosque-900); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 0; }

.shell, .container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }

/* ============ BOTONES Y ENLACES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border: 1.5px solid transparent; border-radius: 2px;
  font: 700 .9rem/1.1 var(--font-body); letter-spacing: .01em; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm, .btn-chico { min-height: 42px; padding: .55rem 1.05rem; font-size: .84rem; }
.btn-full { width: 100%; }

.btn-lima { background: var(--lima); color: var(--bosque-900); }
.btn-lima:hover { background: var(--lima-hi); }
.btn-verde, .btn-cta { background: var(--verde); color: var(--blanco); }
.btn-verde:hover, .btn-cta:hover { background: var(--verde-900); }
.btn-outline { border-color: var(--bosque); color: var(--bosque); background: transparent; }
.btn-outline:hover { background: var(--bosque); color: var(--blanco); }
.btn-oscuro { background: var(--bosque); color: var(--blanco); }
.btn-oscuro:hover { background: var(--bosque-900); }
.btn-claro { background: var(--blanco); color: var(--bosque); }
.btn-claro:hover { background: var(--paper); }
.btn-wsp { background: #25D366; color: #0F3B1F; }
.btn-wsp:hover { background: #3BE07A; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font: 700 .86rem/1.2 var(--font-body);
  box-shadow: inset 0 -1.5px 0 currentColor;
  transition: color .2s;
}
.text-link::after { content: "↗"; }

.link-todo {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font: 700 .86rem/1 var(--font-body); color: var(--bosque);
  box-shadow: inset 0 -2px 0 var(--lima); padding: .2rem 0 .5rem;
  transition: color .2s, box-shadow .2s;
}
.link-todo::after { content: "→"; transition: transform .25s var(--ease); }
.link-todo:hover { color: var(--verde); box-shadow: inset 0 -2px 0 var(--verde); }
.link-todo:hover::after { transform: translateX(4px); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; position: relative; transition: background-color .2s, color .2s;
}
.icon-btn svg { width: 22px; height: 22px; stroke-width: 1.8; }

/* ============ AVISOS ============ */
.aviso { background: var(--lima); color: var(--bosque-900); position: relative; z-index: 61; }
.aviso-txt { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .7rem; padding: .45rem var(--gutter); font: 700 .8rem/1.4 var(--font-body); text-align: center; }
@media (max-width: 760px) { .aviso-txt > span:not(:first-child) { display: none; } }

/* ============ CABECERA ============ */
.masthead { position: relative; z-index: 60; background: var(--bosque); color: var(--blanco); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 96px; padding-block: .6rem; }

.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; flex-shrink: 0; }
.brand-logo {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 2px var(--lima), 0 6px 18px -6px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.04); }
.brand-txt {
  display: block; font: 800 clamp(1.45rem, 2.1vw, 1.95rem)/.86 var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.brand-txt small { display: block; margin-top: .3rem; font-size: .7em; letter-spacing: .2em; color: var(--lima); }

.main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--sobre-oscuro); transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--lima); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--lima); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-close { display: none; }

.masthead-tools { display: flex; align-items: center; gap: .35rem; }
.buscar-btn { color: var(--blanco); }
.buscar-btn:hover { background: rgba(255, 255, 255, .1); color: var(--lima); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 46px; padding: .5rem .95rem;
  border: 1.5px solid rgba(177, 214, 111, .7); border-radius: 2px;
  font: 700 .8rem/1 var(--font-body); color: var(--blanco); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.cart-btn svg { width: 20px; height: 20px; stroke-width: 1.8; }
.cart-btn:hover { background: var(--lima); color: var(--bosque-900); }
.cart-badge, .float-badge {
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px;
  display: inline-grid; place-items: center;
  font: 700 .72rem/1 var(--font-body); background: var(--lima); color: var(--bosque-900);
}
.float-badge { position: absolute; top: -2px; right: -2px; }
.cart-btn:hover .cart-badge { background: var(--bosque); color: var(--blanco); }
.cart-badge.bump, .float-badge.bump { animation: badge-bump .4s var(--ease); }
@keyframes badge-bump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.3); } }

.menu-toggle { display: none; color: var(--lima); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(10, 30, 16, .55); z-index: 110;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
body.no-scroll { overflow: hidden; }

/* ============ PORTADA (modelo 1: foto a todo el ancho) ============ */
.hero {
  position: relative; overflow: hidden; color: var(--blanco); background: var(--bosque);
  min-height: clamp(640px, calc(100svh - 96px), 920px);
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 58, 31, .9) 0%, rgba(20, 58, 31, .62) 50%, rgba(20, 58, 31, .1) 100%),
    linear-gradient(0deg, rgba(16, 48, 25, .55), transparent 62%);
}
.hero-in { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5.5rem); }
.hero-copy { max-width: 920px; }

.hero-marca { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.hero-logo {
  width: clamp(150px, 16vw, 236px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 4px var(--lima), 0 0 0 12px rgba(177, 214, 111, .18), 0 26px 50px -18px rgba(0, 0, 0, .7);
}
.hero-nombre {
  font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(3.6rem, 8.4vw, 9.2rem); line-height: .84;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-nombre span { display: block; }
.hn-2 { color: var(--lima); }

.hero-kicker {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  font: 700 .78rem/1.3 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--lima);
}
.hero-lema {
  margin-top: .55rem; font: 700 clamp(1.7rem, 2.8vw, 2.6rem)/1 var(--font-display);
  text-transform: uppercase; letter-spacing: .01em;
}
.hero-bajada { margin-top: .9rem; max-width: 34rem; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.55; color: #E8F0E2; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 1.8rem; }
.hero-cta .text-link { color: var(--blanco); }
.hero-cta .text-link:hover { color: var(--lima); }
.hero-aside {
  position: absolute; right: var(--gutter); bottom: clamp(3.5rem, 6vw, 5.5rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 700 .72rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(215, 229, 208, .85);
}

/* ============ SECCIONES ============ */
.sec { position: relative; padding-block: var(--section-pad-y); }
.sec-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sec-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.sec-head-split .sec-sub { max-width: 21rem; margin: 0 0 .3rem; }
.eyebrow {
  display: block; margin-bottom: .9rem;
  font: 700 .72rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--lima-ink);
}
.sec-title { font-size: var(--fs-h2); font-weight: 800; line-height: .94; text-transform: uppercase; max-width: 15ch; }
.sec-sub { max-width: 56ch; margin-top: .8rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }

/* ============ RUBROS ============ */
.sec-rubros { background: var(--paper); }
.rubros-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rubro-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem;
  overflow: hidden; height: clamp(320px, 31vw, 420px); padding: 22px 24px 20px;
  background: var(--bosque); color: var(--blanco);
}
.rubro-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rubro-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 42, 22, .9) 0%, rgba(14, 42, 22, .35) 45%, transparent 72%); }
.rubro-card:hover img { transform: scale(1.06); }
.rubro-num, .rubro-frase, .rubro-ver { position: relative; z-index: 1; }
.rubro-num { font: 700 .68rem/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--lima); }
.rubro-frase { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 800; line-height: .92; text-transform: uppercase; max-width: 12ch; }
.rubro-ver { margin-top: .5rem; font: 700 .8rem/1 var(--font-body); }
.rubro-card:hover .rubro-ver { color: var(--lima); }

/* ============ DESTACADOS (carrusel) ============ */
.sec-elegidos { background: var(--paper-2); }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.rail-tools { display: flex; align-items: center; gap: 1rem; }
.rail-arrows { display: flex; gap: .4rem; }
.rail-arrow {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1.5px solid var(--bosque); color: var(--bosque); border-radius: 50%;
  transition: background-color .2s, color .2s, opacity .2s;
}
.rail-arrow svg { width: 18px; height: 18px; }
.rail-arrow:hover:not(:disabled) { background: var(--bosque); color: var(--blanco); }
.rail-arrow:disabled { opacity: .3; cursor: default; }
@media (hover: none) { .rail-arrows { display: none; } }
.rail-vp { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.rail-vp::-webkit-scrollbar { display: none; }
.rail-vp.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-vp.dragging .prod { pointer-events: none; }
.rail-track {
  display: flex; gap: clamp(.8rem, 1.3vw, 1.1rem); width: max-content;
  padding-inline: max(var(--gutter), (100vw - var(--container)) / 2);
  padding-block: 4px 10px;
}
.rail-track .prod { width: clamp(220px, 60vw, 280px); flex: 0 0 auto; scroll-snap-align: start; }

/* ============ TARJETAS DE PRODUCTO ============ */
.prod {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--blanco); border: 1px solid #CDDDC4; border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.prod:hover { transform: translateY(-4px); border-color: #A9C79A; box-shadow: 0 18px 36px -24px rgba(22, 59, 33, .55); }
.prod-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); border-radius: var(--radius) var(--radius) 0 0; }
.prod-media-link { position: absolute; inset: 0; display: block; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod:hover .prod-media img { transform: scale(1.05); }
.prod.is-agotado .prod-media img { opacity: .55; }
.prod-ver {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; min-height: 42px;
  background: rgba(20, 58, 31, .92); color: var(--blanco);
  font: 700 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease);
}
.prod:hover .prod-ver, .prod:focus-within .prod-ver { opacity: 1; transform: none; }
@media (hover: none) { .prod-ver { opacity: 1; transform: none; } }

.prod-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font: 700 .66rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .55rem; background: var(--bosque); color: var(--blanco);
}
.prod-badge.off { background: var(--lima); color: var(--bosque-900); }
.prod-badge.sin { background: var(--ink); color: var(--blanco); }
.prod-badge.ultimas { background: var(--blanco); color: var(--bosque); border: 1px solid var(--bosque); }

.prod-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: .9rem .95rem 1rem; }
.prod-cat { font: 700 .64rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lima-ink); }
.prod-nombre {
  font-size: 1.22rem; font-weight: 700; line-height: 1.05;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-nombre a:hover { color: var(--verde); }
.prod-precios { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .35rem; }
.prod-precio { font: 800 var(--fs-price)/1 var(--font-display); color: var(--bosque); font-variant-numeric: tabular-nums; }
.prod-precios s { font-size: .82rem; color: var(--ink-soft); }

.prod-actions { display: flex; align-items: stretch; gap: .4rem; margin-top: .55rem; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; flex: 0 0 auto; background: var(--blanco); }
.stepper button { width: 32px; height: 44px; display: grid; place-items: center; font: 700 1rem/1 var(--font-body); color: var(--bosque); transition: background-color .2s; }
.stepper button:hover { background: var(--paper-2); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper span { min-width: 22px; text-align: center; font: 700 .86rem/1 var(--font-body); font-variant-numeric: tabular-nums; }
.prod-add {
  flex-grow: 1; min-width: 0; min-height: 44px; padding: .5rem .6rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--verde); color: var(--blanco); border-radius: 2px;
  font: 700 .8rem/1 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .15s, transform .12s;
}
.prod-add:hover { background: var(--verde-900); }
.prod-add:active { transform: scale(.97); }
.prod-add:disabled { background: var(--paper-3); color: var(--ink-soft); cursor: not-allowed; }
.prod-buy {
  display: none; width: 100%; min-height: 38px; margin-top: .4rem; padding: .45rem;
  border: 1.5px solid var(--bosque); border-radius: 2px; color: var(--bosque);
  font: 700 .78rem/1 var(--font-body); transition: background-color .2s, color .2s;
}
.prod-buy:hover { background: var(--bosque); color: var(--blanco); }
@media (min-width: 900px) { .prod-buy { display: block; } }

@media (max-width: 640px) {
  .catalogo-grid .prod-actions { flex-direction: column; align-items: stretch; gap: .4rem; }
  .catalogo-grid .stepper { align-self: center; }
}
@media (max-width: 520px) {
  .catalogo-grid .prod-cat { display: none; }
  .catalogo-grid .prod-nombre { font-size: 1.05rem; }
  .catalogo-grid .prod-precio { font-size: 1.2rem; }
  .catalogo-grid .prod-body { padding: .6rem .6rem .7rem; gap: .2rem; }
  .catalogo-grid .prod-add { min-height: 42px; }
  .catalogo-grid .stepper button { height: 42px; }
}

/* ============ QUIÉNES SOMOS ============ */
.historia { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: 700px; background: var(--bosque); color: var(--blanco); }
.historia-foto { position: relative; overflow: hidden; max-height: 820px; }
.historia-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.historia-txt { align-self: center; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 8vw, 8rem); }
.historia .eyebrow { color: var(--lima); }
.historia-tit { font-size: clamp(3.2rem, 5.7vw, 5.6rem); font-weight: 800; line-height: .9; text-transform: uppercase; margin-bottom: 1.6rem; max-width: 11ch; }
.historia-txt > p:not(.eyebrow):not(.historia-quote) { max-width: 33rem; color: var(--sobre-oscuro); font-size: .98rem; line-height: 1.7; }
.historia-txt > p + p { margin-top: 1rem; }
.historia-regla { display: block; width: 80px; height: 2px; background: var(--lima); margin: 2.2rem 0 1.4rem; }
.historia-quote { font: 700 clamp(1.6rem, 2.4vw, 2rem)/1.1 var(--font-display); text-transform: uppercase; color: var(--lima); }
.historia .text-link { margin-top: 1rem; color: var(--blanco); }
.historia .text-link:hover { color: var(--lima); }

/* ============ CATÁLOGO (vista previa y página) ============ */
.sec-tienda { background: var(--paper); }
.filtros { display: flex; flex-direction: column; gap: .9rem; margin-bottom: clamp(1.3rem, 2.4vw, 1.9rem); }
.buscador { position: relative; display: flex; align-items: center; max-width: 560px; }
.buscador svg { position: absolute; left: 14px; width: 20px; height: 20px; stroke-width: 1.8; color: var(--ink-soft); pointer-events: none; }
.buscador input {
  width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 44px;
  background: var(--blanco); border: 1.5px solid #BDD1B2; border-radius: 2px; transition: border-color .2s;
}
.buscador input:focus { outline: none; border-color: var(--bosque); }

.chips-cat { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip-cat {
  display: inline-flex; align-items: center; min-height: 42px; padding: .55rem 1rem;
  border: 1.5px solid #BDD1B2; border-radius: 2px; background: transparent;
  font: 700 .8rem/1 var(--font-body); color: #46563F; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.chip-cat:hover { border-color: var(--bosque); color: var(--bosque); }
.chip-cat:active { transform: scale(.96); }
.chip-cat.on, .chip-cat[aria-pressed="true"] { background: var(--bosque); border-color: var(--bosque); color: var(--blanco); }
.chip-cat:disabled { opacity: .4; cursor: not-allowed; }

.filtros-selects { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.filtros-selects select {
  min-height: 44px; padding: .5rem 2.2rem .5rem .8rem; background: var(--blanco); cursor: pointer;
  border: 1.5px solid #BDD1B2; border-radius: 2px; font-size: .86rem; appearance: none;
  background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152016' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center / 14px;
}
.check-stock { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font: 700 .82rem/1 var(--font-body); color: var(--ink-soft); cursor: pointer; }
.check-stock input { width: 18px; height: 18px; accent-color: var(--verde); }
.btn-limpiar { min-height: 44px; padding: .5rem .3rem; font: 700 .82rem/1 var(--font-body); color: var(--verde); text-decoration: underline; text-underline-offset: 4px; }
.btn-limpiar:hover { color: var(--bosque); }
.resultados { font: 700 .8rem/1 var(--font-body); color: var(--ink-soft); }

.catalogo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 1.3vw, 1.1rem); }
@media (min-width: 680px) { .catalogo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .catalogo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.catalogo-grid[aria-busy="true"] { opacity: .55; transition: opacity .2s; }

.vacio { text-align: center; padding: clamp(2.2rem, 5vw, 3.6rem) 1rem; border: 1.5px dashed #BDD1B2; background: var(--blanco); }
.vacio-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: .8rem; border-radius: 50%; background: var(--paper-2); color: var(--verde); }
.vacio-ico svg { width: 30px; height: 30px; }
.vacio h3 { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: .4rem; }
.vacio p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.vacio-cta { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.vermas-wrap { display: flex; justify-content: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* ============ CÓMO COMPRAR ============ */
.sec-trust { background: var(--paper-2); padding-block: clamp(2.6rem, 5vw, 3.8rem); border-top: 1px solid var(--line-soft); }
.trust { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust li { display: flex; gap: .8rem; align-items: flex-start; padding-top: 1rem; border-top: 2px solid var(--bosque); }
.trust svg { width: 28px; height: 28px; stroke-width: 1.6; color: var(--verde); flex: 0 0 auto; }
.trust strong { display: block; font: 700 1.2rem/1.05 var(--font-display); text-transform: uppercase; }
.trust span { display: block; margin-top: .25rem; font-size: .84rem; line-height: 1.45; color: var(--ink-soft); }

/* ============ VIDEOS ============ */
.sec-videos { background: var(--bosque); color: var(--blanco); }
.sec-videos .eyebrow { color: var(--lima); }
.sec-videos .sec-sub { color: var(--sobre-oscuro); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.video-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px, 30vw, 400px); padding: 28px; overflow: hidden; background: var(--bosque-900);
}
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 42, 22, .88), transparent 70%); }
.video-card:hover img { transform: scale(1.05); }
.video-card .play {
  position: absolute; top: 20px; right: 20px; z-index: 1; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8);
  transition: background-color .2s, color .2s;
}
.video-card .play svg { width: 20px; height: 20px; margin-left: 3px; }
.video-card:hover .play { background: var(--lima); border-color: var(--lima); color: var(--bosque-900); }
.video-card strong, .video-card small { position: relative; z-index: 1; }
.video-card strong { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-display); text-transform: uppercase; }
.video-card small { margin-top: .5rem; font-size: .8rem; color: var(--sobre-oscuro); }

/* ============ CONTACTO ============ */
.sec-contacto { background: var(--menta); }
.contacto-in { max-width: var(--container); }
.contacto-tit { font-size: clamp(3.2rem, 7vw, 6.9rem); font-weight: 800; line-height: .9; text-transform: uppercase; max-width: 13ch; margin-bottom: 1.3rem; }
.contacto-in > p:not(.eyebrow) { max-width: 36rem; font-size: 1rem; line-height: 1.6; color: #2D4528; }
.sec-contacto .eyebrow { color: #305E22; }
.contacto-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* ============ PIE ============ */
.site-footer { background: var(--bosque-900); color: var(--sobre-oscuro); padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.2rem; }
.footer-grid { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--blanco); }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--lima); }
.footer-brand span { font: 800 1.5rem/.88 var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.footer-brand small { display: block; margin-top: .25rem; font-size: .72em; letter-spacing: .2em; color: var(--lima); }
.footer-marca p { margin-top: 1rem; max-width: 30ch; font-size: .88rem; }
.footer-col h3 { font: 700 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--lima); margin-bottom: .7rem; }
.footer-col a, .footer-col div > a { display: block; padding-block: .5rem; font-size: .88rem; overflow-wrap: anywhere; transition: color .2s; }
.footer-col a > span { display: block; color: var(--blanco); }
.footer-col a:hover { color: var(--lima); }
.footer-legal-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.footer-legal-extra a { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; }
.footer-legal-extra img { width: 56px; height: auto; background: var(--blanco); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap;
  margin-top: clamp(1.8rem, 3vw, 2.6rem); padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem; color: rgba(215, 229, 208, .75);
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; color: var(--lima); }
.footer-bottom a:hover { color: var(--blanco); }

/* ============ FLOTANTES ============ */
.floats { position: fixed; right: clamp(14px, 3vw, 24px); bottom: clamp(14px, 3vw, 24px); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.float-btn svg { width: 26px; height: 26px; stroke-width: 1.8; }
.float-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
.cart-float { background: var(--bosque); color: var(--blanco); box-shadow: 0 10px 24px -8px rgba(14, 42, 22, .7); }
.wsp-float { background: #25D366; color: var(--blanco); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.wsp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse-ring 2.4s var(--ease) infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
body.no-scroll .floats, body.drawer-open .floats { opacity: 0; pointer-events: none; }
[data-pagina="checkout"] .cart-float { display: none; }

/* ============ CARRITO ============ */
.drawer-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(10, 30, 16, .55); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101; width: min(440px, 92vw);
  display: flex; flex-direction: column; background: var(--paper);
  transform: translateX(100%); transition: transform .38s cubic-bezier(.32, .72, 0, 1);
  box-shadow: -18px 0 44px -22px rgba(14, 42, 22, .6);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: var(--bosque); color: var(--blanco); }
.drawer-head h2 { font-size: 1.7rem; font-weight: 800; text-transform: uppercase; }
.drawer-head h2 span { font: 700 .9rem/1 var(--font-body); color: var(--lima); }
.drawer-head .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.drawer-foot { display: grid; gap: .6rem; padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; }
.drawer-total span { font: 700 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.drawer-total strong { font: 800 1.8rem/1 var(--font-display); color: var(--bosque); font-variant-numeric: tabular-nums; }

.ci { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .75rem; align-items: start; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.ci-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.ci-media img { width: 100%; height: 100%; object-fit: cover; }
.ci-nombre { font-weight: 700; font-size: .88rem; line-height: 1.3; }
.ci-nombre a:hover { color: var(--verde); text-decoration: underline; }
.ci-variante { font-size: .76rem; color: var(--ink-soft); }
.ci-precio { margin-top: .2rem; font: 700 1.05rem/1 var(--font-display); color: var(--bosque); }
.ci-bottom { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.ci-del { font-size: .76rem; color: var(--verde); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.ci-sub { font: 700 1.05rem/1 var(--font-display); font-variant-numeric: tabular-nums; }

.drawer-vacio { padding: 2.6rem 1rem; text-align: center; }
.drawer-vacio > span { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: .8rem; border-radius: 50%; background: var(--paper-2); color: var(--verde); }
.drawer-vacio > span svg { width: 30px; height: 30px; }
.drawer-vacio h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: .35rem; }
.drawer-vacio p { margin-bottom: 1.2rem; font-size: .88rem; color: var(--ink-soft); }

/* ============ VISTA RÁPIDA ============ */
.modal { position: fixed; inset: 0; z-index: 110; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 16, .6); opacity: 0; transition: opacity .3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card {
  position: absolute; left: 50%; top: 50%; width: min(900px, 94vw); max-height: 90svh; overflow-y: auto;
  background: var(--paper); opacity: 0; transform: translate(-50%, -46%) scale(.96);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 34px 70px -32px rgba(14, 42, 22, .7);
}
.modal.open .modal-card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--blanco); color: var(--bosque); }
.modal-close:hover { background: var(--paper-2); }
.modal-body { min-height: 120px; }

.vr { display: grid; }
@media (min-width: 760px) { .vr { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); } }
.vr-media { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); max-height: 70svh; }
@media (max-width: 759px) { .vr-media { aspect-ratio: 4 / 3; max-height: 40svh; } }
.vr-media img { width: 100%; height: 100%; object-fit: cover; }
.vr-txt { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.2rem, 2.6vw, 2.2rem); }
.vr-cat { font: 700 .68rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lima-ink); }
.vr-cat a:hover { color: var(--bosque); text-decoration: underline; }
.vr-txt h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; line-height: .95; text-transform: uppercase; }
.vr-desc { color: var(--ink-soft); font-size: .92rem; }
.vr-precios { display: flex; align-items: baseline; gap: .55rem; margin-top: .2rem; }
.vr-precio { font: 800 2rem/1 var(--font-display); color: var(--bosque); font-variant-numeric: tabular-nums; }
.vr-precios s { color: var(--ink-soft); }
.vr-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.vr-tag { font: 700 .68rem/1 var(--font-body); background: var(--paper-2); color: var(--ink-soft); padding: .38rem .6rem; }
.vr-precios .vr-tag { background: var(--lima); color: var(--bosque-900); }
.vr-stock { font: 700 .86rem/1.3 var(--font-body); color: var(--verde); }
.vr-stock.sin { color: #8A2A17; }
.vr-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; margin-top: .4rem; }
.vr-actions .stepper button { height: 50px; width: 34px; }
.vr-ficha { align-self: flex-start; }
.vr-rel { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.vr-rel h4 { margin-bottom: .7rem; font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lima-ink); }
.vr-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.vr-rel-item { text-align: left; }
.vr-rel-item .m { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); margin-bottom: .35rem; }
.vr-rel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.vr-rel-item:hover img { transform: scale(1.06); }
.vr-rel-item b { display: block; font: 700 .76rem/1.25 var(--font-body); }
.vr-rel-item i { display: block; font: normal 700 .95rem/1.2 var(--font-display); color: var(--bosque); }

/* ============ TOAST ============ */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 320; display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: .55rem; max-width: min(92vw, 26rem);
  padding: .8rem 1.1rem; background: var(--bosque); color: var(--blanco);
  font: 700 .86rem/1.3 var(--font-body); box-shadow: 0 14px 32px -14px rgba(14, 42, 22, .7);
  animation: toast-in .3s var(--ease);
}
.toast svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--lima); }
.toast.hiding { opacity: 0; transform: translateY(8px); transition: opacity .22s, transform .22s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============ ENTRADAS ============ */
[data-animate] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-animate].in { opacity: 1 !important; transform: none !important; }
.modo-editor [data-animate] { opacity: 1 !important; transform: none !important; }

/* ============ MIGAS ============ */
.migas { margin-bottom: 1.2rem; font-size: .84rem; color: var(--ink-soft); }
.migas ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; }
.migas li + li::before { content: "/"; margin-right: .5rem; color: var(--lima-ink); }
.migas a { display: inline-flex; align-items: center; min-height: 44px; }
.migas a:hover { color: var(--bosque); text-decoration: underline; text-underline-offset: 3px; }
.migas [aria-current] { color: var(--ink); font-weight: 700; }

/* ============ PÁGINA DE CATÁLOGO ============ */
.sec-catalogo { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.sec-catalogo .sec-title { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 20ch; }

/* ============ FICHA DE PRODUCTO ============ */
.sec-ficha { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.ficha { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 860px) { .ficha { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); } }
.ficha-galeria { position: relative; }
@media (min-width: 860px) { .ficha-galeria { position: sticky; top: 16px; } }
.ficha-foto { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); border: 1px solid #CDDDC4; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha-foto .prod-badge { top: 14px; left: 14px; font-size: .74rem; }
.ficha-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.ficha-thumb { width: 76px; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; }
.ficha-thumb[aria-pressed="true"] { border-color: var(--verde); }
.ficha-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ficha-info { padding: 0; }
.ficha-nombre { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 800; line-height: .92; text-transform: uppercase; max-width: 18ch; }
.ficha-tecnica { margin-top: .4rem; }
.ficha-tecnica div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .6rem; padding: .5rem 0; border-bottom: 1px dotted var(--line); font-size: .9rem; }
.ficha-tecnica dt { color: var(--ink-soft); }
.ficha-variantes { display: grid; gap: .9rem; }
.ficha-variante { border: 0; }
.ficha-variante legend { margin-bottom: .5rem; font: 700 .8rem/1 var(--font-body); }
.ficha-wsp { align-self: flex-start; margin-top: .4rem; }
.ficha-bloques { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.ficha-bloque { padding: 1.2rem 1.3rem; background: var(--blanco); border: 1px solid var(--line); border-top: 4px solid var(--lima); }
.ficha-bloque h2 { margin-bottom: .45rem; font-size: 1.4rem; text-transform: uppercase; }
.ficha-bloque p, .ficha-bloque li { font-size: .9rem; color: var(--ink-soft); }
.sec-relacionados { background: var(--paper-2); }

/* ============ ESTADOS: 404, producto no encontrado, vuelta de Mercado Pago ============ */
.estado { padding-block: clamp(3.4rem, 8vw, 6rem); }
.estado-caja { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.estado-caja .sec-title { max-width: 18ch; margin-inline: auto; }
.estado-caja .sec-sub { margin-inline: auto; }
.estado-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .4rem; }
.estado-icono { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--bosque); color: var(--lima); font: 800 2rem/1 var(--font-display); }
.estado-fallo .estado-icono { background: #8A2A17; color: var(--blanco); }
.estado-detalle { width: min(100%, 520px); padding: 1.1rem 1.3rem; border: 1px solid var(--line); background: var(--blanco); text-align: left; }
.estado-pedido { margin-bottom: .4rem; font-size: 1.5rem; text-transform: uppercase; }
.order-tracking a { color: var(--verde); }
.estado-sugeridos { width: 100%; margin-top: 2rem; text-align: left; }

/* ============ CHECKOUT (estilos compartidos del motor, con los tokens de esta web) ============ */
:root {
  --color-bg: var(--paper);
  --color-surface: var(--blanco);
  --color-line: #C9D9BF;
  --color-text: var(--ink);
  --color-text-muted: var(--ink-soft);
  --color-primary-ink: var(--verde);
  --color-primary-deep: var(--bosque);
  --color-primary-soft: rgba(177, 214, 111, .28);
  --color-secondary: var(--paper-2);
  --color-secondary-ink: #3B5A2E;
  --radius-lg: 6px;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
}
.checkout { padding-block: clamp(1.4rem, 3vw, 2.2rem) var(--section-pad-y); }
.checkout-cabecera { margin-bottom: var(--sp-4); }
.checkout-estado { padding: 1.4rem; border: 1.5px dashed var(--color-line); border-radius: var(--radius-lg); text-align: center; }
.checkout-estado a { color: var(--color-primary-ink); font-weight: 700; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.checkout-form { display: grid; gap: 1.2rem; }
.cx-block { min-width: 0; margin: 0; padding: 1.3rem clamp(1rem, 2.4vw, 1.6rem) 1.4rem; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.cx-block legend { padding: 0 .4rem; font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--bosque); }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .9rem 1rem; margin-top: .4rem; }
.cx-grid label, .cx-full, .cx-franja, .form-legal label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 500; }
.cx-grid input, .cx-grid select, .cx-full textarea, .cx-franja select, .cx-cupon input, .form-legal input, .form-legal textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: .65rem .95rem;
  border: 1.5px solid var(--color-line); border-radius: 4px; background: var(--color-bg);
  font-weight: 400; transition: border-color .2s;
}
.cx-grid select, .cx-franja select { appearance: none; background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152016' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 16px; padding-right: 2.4rem; }
.cx-grid input:focus, .cx-grid select:focus, .cx-full textarea:focus, .cx-cupon input:focus, .form-legal input:focus, .form-legal textarea:focus { outline: none; border-color: var(--bosque); }
.cx-full { margin-top: .4rem; }
.cx-opt { font-weight: 400; color: var(--color-text-muted); }
.cx-hint { margin-top: .4rem; color: var(--color-text-muted); font-size: .92rem; }
.cx-hint a { color: var(--color-primary-ink); font-weight: 700; }
.cx-envios, .cx-pagos { display: grid; gap: .6rem; margin-top: .9rem; }
.cx-envios[aria-busy="true"] { opacity: .6; }
.cx-opcion {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem;
  min-height: 64px; padding: .75rem 1rem; border: 1.5px solid var(--color-line); border-radius: var(--radius);
  background: var(--color-bg); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.cx-opcion input { width: 18px; height: 18px; accent-color: var(--verde); }
.cx-opcion--on { border-color: var(--verde); background: var(--color-primary-soft); }
.cx-opcion-info { display: grid; gap: .1rem; }
.cx-opcion-info em { font-style: normal; font-size: .86rem; color: var(--color-text-muted); }
.cx-opcion-precio { font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-franja { margin-top: .9rem; }
.cx-transferencia { margin-top: .8rem; padding: .8rem 1rem; border-radius: 4px; background: var(--color-secondary); color: var(--color-secondary-ink); font-size: .92rem; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: .3rem; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--verde); }
.cx-error { padding: .8rem 1rem; border-radius: 4px; background: #FDE8E4; color: #8A2A17; font-weight: 500; }
.cx-submit { width: 100%; min-height: 58px; font-size: 1.05rem; }
.cx-legal { font-size: .85rem; color: var(--color-text-muted); text-align: center; }
.cx-legal a { color: inherit; text-decoration: underline; }
.checkout-resumen { position: sticky; top: 16px; }
.cx-resumen-card { padding: clamp(1.3rem, 2.6vw, 1.8rem); background: var(--paper-2); border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.cx-resumen-card h2 { margin-bottom: .7rem; font-size: 1.8rem; font-weight: 800; text-transform: uppercase; color: var(--bosque); }
.cx-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--color-line); }
.cx-item img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.cx-item-nombre { font-weight: 500; line-height: 1.25; }
.cx-item-cant { font-size: .85rem; color: var(--color-secondary-ink); }
.cx-item strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-cupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; margin-top: 1rem; }
.cx-cupon input { background: var(--blanco); }
.cx-cupon-msg { margin-top: .4rem; font-size: .88rem; color: #8A2A17; }
.cx-cupon-msg.ok { color: var(--color-primary-deep); }
.cx-totales { margin-top: 1rem; }
.cx-totales div { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; }
.cx-totales dd { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.cx-total { margin-top: .4rem; }
.cx-total dt, .cx-total dd { font: 800 1.9rem/1.1 var(--font-display); color: var(--bosque); }
.cx-entrega { margin-top: .7rem; font-size: .9rem; color: var(--color-secondary-ink); }
.checkout-ok { display: grid; justify-items: center; }
.cx-ok-card { display: grid; justify-items: center; gap: .9rem; width: min(100%, 620px); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); text-align: center; }
.cx-ok-icono { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--bosque); color: var(--lima); font: 800 1.9rem/1 var(--font-display); }
.cx-ok-card h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--bosque); }
.cx-ok-card > p { color: var(--color-text-muted); }
.cx-transfer-datos { display: grid; gap: .3rem; width: 100%; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--color-secondary); text-align: left; }
.cx-transfer-datos p { display: flex; justify-content: space-between; gap: 1rem; }
.cx-transfer-datos span { color: var(--color-secondary-ink); }
.cx-transfer-datos strong { font-weight: 700; overflow-wrap: anywhere; text-align: right; }
.cx-transfer-aviso { color: var(--color-secondary-ink); font-weight: 500; }
.cx-comprobante { display: grid; justify-items: center; gap: .6rem; width: 100%; }
.cx-file { position: relative; display: grid; place-items: center; width: 100%; min-height: 56px; padding: .8rem 1rem; border: 1.5px dashed var(--color-line); border-radius: var(--radius); color: var(--color-text-muted); cursor: pointer; }
.cx-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cx-comprobante-msg { color: var(--color-primary-deep); font-weight: 500; }
.cx-ok-nota { font-size: .88rem; color: var(--color-text-muted); }
.cx-ok-volver { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-primary-ink); font-weight: 700; }
@media (max-width: 960px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-resumen { position: static; order: -1; }
}
@media (max-width: 560px) { .cx-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============ LEGALES ============ */
.legal { padding-block: clamp(1.4rem, 3vw, 2.2rem) var(--section-pad-y); }
.legal-page { max-width: 820px; }
.legal-page .sec-title { margin-bottom: 1.2rem; font-size: clamp(2.4rem, 4.4vw, 3.6rem); max-width: 20ch; }
.legal-copy { color: var(--color-text-muted); line-height: 1.75; }
.legal-copy + .legal-copy { margin-top: 1.5rem; }
.legal-copy a { color: var(--color-primary-ink); }
.legal-stats h2 { margin-bottom: .4rem; font-size: 1.5rem; text-transform: uppercase; color: var(--color-text); }
.form-legal { display: grid; gap: .9rem; margin-top: 1.5rem; }
.form-legal .btn { justify-self: start; }
.form-ok { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--color-primary-soft); color: var(--color-primary-deep); font-weight: 500; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .brand-txt { font-size: 1.35rem; }
  .main-nav { gap: .9rem; }
}

@media (max-width: 900px) {
  .masthead-in { min-height: 80px; }
  .brand-logo { width: 62px; height: 62px; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 120; width: 78%; max-width: 330px; max-height: 100dvh; overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--bosque); box-shadow: none;
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s .38s;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; box-shadow: -14px 0 40px -20px rgba(0, 0, 0, .7); transition: transform .38s var(--ease); }
  .main-nav a { min-height: 52px; font-size: .92rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .main-nav a::after { display: none; }
  .nav-close { display: grid; place-items: center; align-self: flex-end; width: 44px; height: 44px; margin-bottom: .4rem; border-radius: 50%; color: var(--lima); }
  .nav-close svg { width: 22px; height: 22px; }
  .menu-toggle { display: grid; }

  .hero { min-height: 0; }
  .hero-in { padding-block: 4.5rem 3.5rem; }
  .hero-media::after { background: linear-gradient(0deg, rgba(20, 58, 31, .94) 0%, rgba(20, 58, 31, .7) 55%, rgba(20, 58, 31, .38) 100%); }
  .hero-aside { display: none; }

  .sec-head-split { display: block; }
  .sec-head-split .sec-sub { margin-top: 1rem; max-width: 36rem; }
  .rubros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rubro-card:last-child:nth-child(odd) { grid-column: 1 / -1; height: 260px; }
  .historia { grid-template-columns: 1fr; min-height: 0; }
  .historia-foto { height: 460px; }
  .historia-txt { padding: 3.6rem var(--gutter) 4rem; }
}

@media (max-width: 640px) {
  .masthead-in { gap: .6rem; min-height: 74px; }
  .brand { gap: .6rem; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-txt { font-size: 1.12rem; }
  .cart-btn { padding: .5rem .65rem; }
  .cart-btn-txt { display: none; }
  .buscar-btn { display: none; }

  .hero-marca { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .hero-logo { width: 124px; box-shadow: 0 0 0 3px var(--lima), 0 0 0 9px rgba(177, 214, 111, .18), 0 18px 36px -16px rgba(0, 0, 0, .7); }
  .hero-nombre { font-size: clamp(3.2rem, 15.5vw, 4.6rem); }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: .8rem; }

  .rubro-card { height: 250px; padding: 14px 14px 16px; gap: .4rem; }
  .rubro-num { font-size: .58rem; letter-spacing: .14em; }
  .rubro-frase { font-size: 1.45rem; }
  .rubro-ver { margin-top: .2rem; font-size: .72rem; }
  .rubro-card:last-child:nth-child(odd) { height: 220px; }

  .historia-foto { height: 380px; }
  .video-grid { grid-template-columns: 1fr; gap: 10px; }
  .video-card { min-height: 270px; }
  .footer-grid { grid-template-columns: 1fr; }
  .rail-track .prod { width: 66vw; }
}

@media (max-width: 380px) {
  .brand-txt { font-size: 1rem; }
  .brand-logo { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .wsp-float::before { animation: none; }
}
