/* ==========================================================================
   Olibella — hoja de estilos

   Este archivo tiene dos mitades y conviene no confundirlas:

   TEMA (reescribir en cada cliente)
     Los tokens de :root y las secciones de escaparate — hero, franjas,
     historia, contacto, pie. Aquí es donde el sitio toma su personalidad.
     Empieza cambiando los tokens: casi todo lo demás los hereda.

   MOTOR (dejar como está, salvo que quieras cambiar el comportamiento)
     Catálogo y tarjetas, buscador y filtros, ficha de producto, carrito y
     cajón lateral, modal de contacto, avisos, banner de vista previa. Son
     los componentes que el panel y main.js manipulan por dentro: si les
     cambias los nombres de clase, dejan de funcionar. Reestilizarlos sí,
     renombrarlos no.

   La paleta que viene abajo es un gris neutro a propósito. No la publiques
   tal cual: sustitúyela por la del cliente antes de mostrar nada.
   ========================================================================== */

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* ---------- TEMA · Tokens ----------
   Paleta medida del logo de Olibella: amarillo limón de la gota (#F4EA2C),
   verde medio (#416B47) y verde oliva casi negro (#262B10). Los nombres
   --gold / --azul son históricos: significan "color de acción" y "color de
   marca". El panel y el motor los usan, así que se conservan los nombres.  */
:root {
  /* superficies: hueso verdoso, nunca blanco puro ni crema tostado */
  --porcelana:#ffffff;
  --paper:    #F7F8EE;   /* tarjetas y bloques claros */
  --bg:       #ECEFE0;   /* fondo de página */
  --bg-2:     #E0E5CD;
  --sand:     #C5CCA8;

  /* tinta: verde oliva muy oscuro */
  --ink:      #1B2010;
  --ink-soft: #37401f;
  --ink-mute: #5f6a44;

  /* marca */
  --azul:      #416B47;  /* verde del logo */
  --azul-hondo:#2A3A22;  /* bloques oscuros */
  --azul-tinta:#1B2010;  /* el más oscuro: hero, pie */
  --azul-claro:#86AC86;

  /* acción: el limón de la gota, solo para lo que se pulsa y para acentos */
  --gold:     #F4EA2C;
  --gold-deep:#6d6a00;   /* versión legible sobre fondo claro */
  --gold-soft:#F7F19A;
  --on-gold:  #1B2010;   /* texto sobre limón */

  --green:    #2f7d3a;
  --line:     rgba(27,32,16,0.18);
  --line-2:   rgba(27,32,16,0.09);

  --accent:   var(--azul);
  --accent-2: var(--azul-hondo);

  /* Titular: Bricolage Grotesque (carácter de imprenta artesanal).
     Texto: Instrument Sans. Datos —presentaciones, lotes, meses—: DM Mono,
     como el sello de una etiqueta.                                        */
  --ff-display: "Bricolage Grotesque", system-ui, sans-serif;
  --ff-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono:    "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ff-script:  var(--ff-display);

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease:     cubic-bezier(.65,.05,.36,1);

  --wrap: 1220px;
  --pad: clamp(1.1rem, 4vw, 3.2rem);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ---------- Tonalidad del fondo (elegible desde el panel · General) ---------- */
:root[data-bg-tone="crema"] {   /* más cálido */
  --paper: #FAF8EC;
  --bg:    #F1EEDC;
  --bg-2:  #E5E0C6;
  --sand:  #D0C9A6;
}
:root[data-bg-tone="arena"] {   /* más contrastado */
  --paper: #EEF0E2;
  --bg:    #DDE2C8;
  --bg-2:  #CDD4B0;
  --sand:  #B4BD90;
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.wrap { width: min(100% - 2.2rem, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 1.4rem, 1420px); margin-inline: auto; }
section { position: relative; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Tipografía utilitaria ---------- */
/* El eyebrow es una etiqueta de plano: mono, con guion de cota. */
.kicker {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: .75;
}
/* .script: la palabra que carga el titular. Archivo expandido, naranja. */
.script {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--gold);
  line-height: .88;
  letter-spacing: -0.025em;
}
h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: 0.8rem; }
.section-head p { color: var(--ink-mute); margin-top: 1rem; font-size: 1.02rem; max-width: 44ch; }

/* Cota: divisor con medida, en vez de una línea decorativa cualquiera */
.cota { display: flex; align-items: center; gap: .8rem; color: var(--ink-mute); font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.cota::before, .cota::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--azul);
  --fg-btn: #fff;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.88em 1.45em;
  border-radius: var(--radius-sm);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border: 1.5px solid var(--bg-btn);
  cursor: pointer;
  transition: transform .22s var(--ease-out), background .22s, color .22s, box-shadow .22s, border-color .22s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(27,32,16,.75); }
.btn-gold { --bg-btn: var(--gold); --fg-btn: var(--on-gold); }
.btn-gold:hover { box-shadow: 0 14px 30px -12px rgba(190,180,0,.6); }
.btn-wa { --bg-btn: #25d366; --fg-btn: #04310f; }
.btn-wa:hover { box-shadow: 0 14px 30px -12px rgba(37,211,102,.6); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Splash ---------- */
/* Deliberadamente breve y callado: el momento de la página es el plano del hero. */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--azul-tinta);
  color: #fff;
  animation: splashSafety .01s 4.4s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .55s var(--ease-out), clip-path .7s var(--ease); clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { text-align: center; }
.splash-mark .m {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(2.3rem,8vw,4rem); letter-spacing: .01em; color: #fff;
}
.splash-mark .s {
  font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-top: .5rem;
}
.splash-bar { width: 150px; height: 1px; margin: 1.4rem auto 0; background: rgba(255,255,255,.16); overflow: hidden; }
.splash-bar::after { content: ""; display: block; height: 100%; width: 34%; background: var(--gold); animation: splashLoad 1.2s var(--ease-out) infinite; }
@keyframes splashLoad { 0% { transform: translateX(-120%);} 100% { transform: translateX(400%);} }

/* ---------- Nav ---------- */
.nav {
  --nav-fg: #ffffff;
  --nav-fg-mute: rgba(255,255,255,.74);
  --nav-line: rgba(255,255,255,.24);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  /* mismo ancho maximo que el pie (--wrap): en pantallas anchas el contenido
     queda centrado a 1220px igual que mblsoftware.com, en vez de estirarse
     de borde a borde con solo el padding fijo. */
  padding-block: 1.05rem;
  padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2));
  color: var(--nav-fg);
  transition: background .35s var(--ease-out), box-shadow .35s, padding .35s, color .35s;
}
.nav.is-solid {
  --nav-fg: var(--ink);
  --nav-fg-mute: var(--ink-soft);
  --nav-line: var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -24px rgba(27,32,16,.6);
  padding-block: 0.66rem;
}
.brandmark {
  display: inline-flex; align-items: center; gap: .58rem;
  font-family: var(--ff-display); font-weight: 800;
  font-size: 1.3rem; letter-spacing: .0em; color: var(--nav-fg);
}
.brandmark .seal { width: 32px; height: 32px; flex: none; }
.brand-logo-img { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brandmark .apos { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a.link { font-weight: 500; font-size: .94rem; color: var(--nav-fg-mute); position: relative; padding: .2rem 0; transition: color .22s; }
.nav-links a.link:hover { color: var(--nav-fg); }
.nav-links a.link::after { content:""; position:absolute; left:0; bottom:-3px; height:2px; width:0; background: var(--gold); transition: width .28s var(--ease-out); }
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { display: inline-flex; }
.menu-extra { display: none; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--nav-fg); }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content:""; display:block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
body.menu-open .nav-burger { color: var(--ink); }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO — el olivar de Bella Unión + calendario de campaña (la firma)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6.4rem var(--pad) 0;
  color: #fff; background: var(--azul-tinta);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(27,32,16,.96) 0%, rgba(27,32,16,.55) 26%, rgba(27,32,16,0) 52%),
    linear-gradient(90deg, rgba(27,32,16,.9) 0%, rgba(27,32,16,.72) 34%, rgba(27,32,16,.12) 68%);
}
.hero-grid {
  flex: 1; display: flex; align-items: center;
  width: min(100% - 2rem, var(--wrap)); margin-inline: auto; padding-block: 1.5rem 2.2rem;
}
.hero-copy { max-width: 47rem; }
.hero .kicker { color: var(--gold-soft); }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: .9rem 0 .5rem; color: #fff; }
.hero-title .lg { display: block; font-weight: 600; letter-spacing: -0.03em; }
.hero-title .script {
  display: block; font-size: clamp(2.6rem, 6.6vw, 5.3rem); margin: .04em 0 .04em -0.03em;
  font-weight: 800; color: var(--gold); line-height: .9;
}
.hero-sub { font-size: 1.06rem; color: rgba(255,255,255,.82); max-width: 46ch; margin: 1.1rem 0 0; }
.hero-slogan { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero .btn-ghost { --fg-btn: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: #fff; color: var(--azul-tinta); border-color: #fff; }

/* Calendario de campaña: el año del olivar. Marzo–julio se cosecha a mano;
   el resto del año se cura, se envasa y se despacha. Marca el mes actual. */
.campana { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; padding: 0 0 1.4rem; }
.campana-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.5rem; margin-bottom: .9rem; }
.campana-t { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.campana-now { font-family: var(--ff-display); font-weight: 600; font-size: .98rem; color: #fff; }
.campana-now b { color: var(--gold); font-weight: 700; }
.campana-meses { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; list-style: none; }
.campana-meses li {
  position: relative; padding: .85rem 0 0; min-width: 0;
  font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.22);
}
.campana-meses li::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px;
  background: rgba(255,255,255,.1); transform-origin: left;
}
.campana-meses li.is-cosecha { color: #fff; }
.campana-meses li.is-cosecha::before { background: var(--gold); animation: mes-crece .7s var(--ease-out) both; animation-delay: calc(.35s + var(--i, 0) * 110ms); }
.campana-meses li.is-now { color: var(--gold); }
.campana-meses li.is-now::after { content: "hoy"; display: block; margin-top: .2rem; font-size: .56rem; letter-spacing: .12em; color: var(--gold); }
.campana-leyenda { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1rem; font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.campana-leyenda span { display: inline-flex; align-items: center; gap: .5rem; }
.campana-leyenda i { width: 22px; height: 6px; background: rgba(255,255,255,.14); display: inline-block; }
.campana-leyenda i.k-c { background: var(--gold); }
@keyframes mes-crece { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-cue { display: none; }

/* ---------- Accesos por categoría (opcional) ---------- */
.rooms { padding: clamp(3.4rem, 7vw, 5.4rem) var(--pad) clamp(2rem,4vw,3rem); }
.rooms-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.rooms-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: .7rem; }
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.room {
  background: var(--paper); padding: 1.5rem 1.4rem 1.3rem; border: 0; font: inherit; color: var(--ink); text-align: left; width: 100%;
  display: flex; flex-direction: column; gap: .55rem; min-height: 168px;
  transition: background .25s var(--ease-out), color .25s;
  cursor: pointer;
}
.room:hover { background: var(--azul); color: #fff; }
.room svg { width: 34px; height: 34px; color: var(--azul); transition: color .25s, transform .3s var(--ease-out); }
.room:hover svg { color: var(--gold); transform: translateY(-3px); }
.room .rn { font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; margin-top: auto; }
.room .rd { font-size: .84rem; color: var(--ink-mute); transition: color .25s; }
.room:hover .rd { color: rgba(255,255,255,.72); }
.room .rk { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); transition: color .25s; }
.room:hover .rk { color: var(--gold-soft); }

/* ---------- Catálogo ---------- */
.catalogo { padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(4rem, 9vw, 6.5rem); }
.cat-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem; margin-bottom: 1.6rem; }
.cat-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; margin-bottom: 2.2rem; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 300px; max-width: 380px; }
.search .ic { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--ink-mute); pointer-events: none; }
.search input { width: 100%; padding: .68em 2.6em .68em 2.5em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--porcelana); font-family: var(--ff-body); font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ink-mute); }
.search input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(65,107,71,.25); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 8px; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; color: var(--ink-mute); border-radius: var(--radius-sm); display: none; place-content: center; }
.search-clear.show { display: grid; }
.search-clear svg { width: 15px; height: 15px; }
.search-clear:hover { background: var(--bg-2); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.no-results { display: none; text-align: center; color: var(--ink-mute); padding: 2.8rem 1rem; }
.filter {
  font-family: var(--ff-mono); font-weight: 500; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .58em 1em; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all .22s var(--ease-out);
}
.filter:hover { border-color: var(--azul); color: var(--azul); }
.filter.is-active { background: var(--azul); color: #fff; border-color: var(--azul); }

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(266px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
  will-change: transform;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -30px rgba(27,32,16,.45); border-color: var(--line); }
.card-media { position: relative; aspect-ratio: 4/3.9; overflow: hidden; background: var(--photo-bg, #fff); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); z-index: 3; }
.card-fav {
  position: absolute; top: .75rem; right: .75rem; z-index: 3;
  background: var(--gold); color: var(--on-gold);
  font-family: var(--ff-mono); font-weight: 600; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .34em .7em; border-radius: 4px;
}
.card-promo {
  position: absolute; top: .75rem; right: .75rem; z-index: 4;
  background: var(--azul); color: #fff;
  font-family: var(--ff-mono); font-weight: 600; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .34em .7em; border-radius: 4px;
}
.card .pd-includes { padding: .6rem .75rem; margin-bottom: 0; font-size: .78rem; }
.card .pd-includes ul { padding-left: 1rem; }
.card-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-kicker { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; }
.card h3 { font-size: 1.2rem; }
/* tarjeta de Promociones: la presentación se fusiona al nombre en vez de repetirse en un kicker aparte */
.card-title-pres { font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-soft); white-space: nowrap; }
.card-desc { font-size: .88rem; color: var(--ink-mute); flex: 1; }
/* en los carriles (destacados/promociones) una descripción larga no debe desnivelar las tarjetas */
.dest-rail .card-desc { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-title-link { color: inherit; }
.card-title-link:hover h3 { color: var(--accent-2); }

/* tarjeta sin foto: ficha técnica dibujada, no un hueco */
.card-seal {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem; text-align: center;
  padding: 1rem;
  background:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0 / 22px 100%,
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, #eef2e0), #dbe2c6);
  color: var(--accent-2);
}
.card-seal .cs-mark { width: 84px; height: 84px; color: var(--accent-2); opacity: .92; }
.card-seal .cs-mark svg { width: 100%; height: 100%; }
.card-seal .cs-name { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.card-seal .cs-sub { font-family: var(--ff-mono); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Barra de confianza (va pegada al hero, donde decide) ---------- */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.trustbar-row { display: grid; grid-template-columns: repeat(4,1fr); width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.trust { display: flex; gap: .85rem; align-items: flex-start; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line-2); }
.trust:last-child { border-right: 0; }
.trust svg { width: 24px; height: 24px; color: var(--azul); flex: none; margin-top: .15rem; }
.trust h4 { font-family: var(--ff-display); font-weight: 700; font-size: .98rem; }
.trust p { font-size: .82rem; color: var(--ink-mute); margin-top: .1rem; }

/* ---------- Más pedidos: tira horizontal, distinta del grid ---------- */
.destacados { padding: clamp(3rem,6vw,4.5rem) var(--pad) 0; }
.dest-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.dest-head h2 { font-size: clamp(1.6rem,3.2vw,2.2rem); margin-top: .6rem; }
.dest-hint { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.dest-rail {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .3rem calc((100% - min(100% - 2rem, var(--wrap))) / 2) 1.4rem;
  scrollbar-width: thin;
}
.dest-rail::-webkit-scrollbar { height: 6px; }
.dest-rail::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 999px; }
.dest-rail .card { flex: 0 0 clamp(240px, 74vw, 290px); scroll-snap-align: start; }
.dest-rail:empty { display: none; }

/* ---------- Cotizador de lista (franja naranja: el momento de vender) ---------- */
.cotiza { background: var(--gold); color: var(--on-gold); padding: clamp(3.2rem,7vw,5rem) var(--pad); }
.cotiza-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.8rem,4vw,3.4rem); align-items: center; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.cotiza .kicker { color: #4a4a00; }
.cotiza h2 { font-size: clamp(2rem,4.6vw,3.1rem); margin-top: .7rem; color: var(--on-gold); }
.cotiza h2 .script { color: var(--azul); display: block; font-size: clamp(2.4rem,5.4vw,3.7rem); }
.cotiza p { color: #3c3d0b; margin-top: 1rem; max-width: 42ch; }
.cotiza-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #4a4a00; }
.cotiza-steps span { display: inline-flex; align-items: center; gap: .4rem; }
.cotiza-steps b { color: var(--on-gold); }
.cotiza-panel { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 34px 60px -34px rgba(60,58,0,.55); }
.cotiza-panel label { display: block; font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .5rem; }
.cotiza-panel textarea {
  width: 100%; min-height: 148px; resize: vertical;
  font-family: var(--ff-mono); font-size: .86rem; line-height: 1.7; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
}
.cotiza-panel textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(65,107,71,.25); }
.cotiza-foot { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .9rem; }
.cotiza-foot .btn { flex: 1 1 auto; justify-content: center; }
.cotiza-count { font-family: var(--ff-mono); font-size: .72rem; color: var(--ink-mute); }

/* ---------- Historia / el local (opcional) ---------- */
.historia { padding: clamp(4rem, 9vw, 6.5rem) var(--pad); background: var(--paper); }
.historia-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(2rem,5vw,4rem); align-items: center; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.historia-figure { position: relative; }
.historia-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/4.4; object-fit: cover; box-shadow: 0 36px 64px -40px rgba(27,32,16,.55); }
/* sin foto cargada, la columna se retira y el texto ocupa el ancho */
.historia-figure:not(:has(img[src])) { display: none; }
.historia-figure .tagchip {
  position: absolute; bottom: -14px; left: -12px;
  background: var(--gold); color: var(--on-gold);
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1rem; border-radius: 6px;
  box-shadow: 0 14px 28px -16px rgba(190,180,0,.6);
}
.historia-grid:not(:has(.historia-figure img[src])) { grid-template-columns: 1fr; max-width: 62ch; }
.historia h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: .8rem 0 1.1rem; }
.historia p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 56ch; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.2rem; }
.pillar { border-top: 2px solid var(--azul); padding-top: .9rem; }
.pillar .n {
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .2em;
  color: var(--azul); margin-bottom: .5rem; display: block;
}
.pillar h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; margin-bottom: .25rem; }
.pillar p { font-size: .88rem; color: var(--ink-mute); margin: 0; }

/* ---------- Respaldo (ex reconocimientos) ---------- */
.awards { padding: clamp(4rem, 9vw, 6.5rem) var(--pad); background: var(--azul-tinta); color: #fff; }
.awards .kicker { color: var(--gold); }
.awards .section-head h2 { color: #fff; }
.awards .section-head p { color: rgba(255,255,255,.6); }
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.award {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--azul-tinta);
  transition: background .3s var(--ease-out);
}
.award:hover { background: var(--azul-hondo); }
.medal { flex: none; width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; border: 1.5px solid currentColor; }
.medal svg { width: 19px; height: 19px; }
.medal.oro    { color: var(--gold); }
.medal.plata  { color: var(--azul-claro); }
.medal.bronce { color: rgba(255,255,255,.55); }
.award .cat { font-family: var(--ff-display); font-weight: 700; font-size: 1.06rem; color: #fff; }
.award .ev { font-size: .86rem; color: rgba(255,255,255,.62); margin-top: .25rem; }
.award .tp { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-top: .5rem; }
.award .yr { font-family: var(--ff-mono); font-size: .74rem; color: var(--gold); font-weight: 500; margin-top: .5rem; letter-spacing: .06em; }

/* ---------- Clientes / a quién atendemos ---------- */
.clients { padding: clamp(3rem,7vw,4.5rem) var(--pad); text-align: center; }
.clients .kicker { justify-content: center; }
.clients p.lead { color: var(--ink-mute); max-width: 50ch; margin: .9rem auto 2rem; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.client-chip { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: .6em 1em; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper); }
.client-chip-logo { padding: .5em 1.2em; display: inline-flex; align-items: center; justify-content: center; }
.client-chip-logo img { height: 30px; width: auto; max-width: 130px; object-fit: contain; display: block; }
.clients-marquee { margin-top: 1.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients-track { display: flex; align-items: center; gap: .55rem; width: max-content; }
.clients-marquee.is-scrolling .clients-track { animation: clients-scroll 32s linear infinite; }
.clients-marquee.is-scrolling:hover .clients-track { animation-play-state: paused; }
.clients-track-static { flex-wrap: wrap; justify-content: center; width: auto; }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients-marquee.is-scrolling .clients-track { animation: none; } .clients-marquee { overflow-x: auto; } }

/* ---------- Contacto ---------- */
.contacto { padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(4rem,9vw,6.5rem); }
.contacto-card {
  position: relative; overflow: hidden;
  background: var(--azul); color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5.5vw, 4.2rem);
  width: min(100%, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.contacto-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.contacto-card > * { position: relative; z-index: 1; }
.contacto-card .kicker { color: var(--gold-soft); }
.contacto-card h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: .7rem; }
.contacto-card h2 .script { display: block; font-size: clamp(2.5rem,5.6vw,4rem); }
.contacto-card p { color: rgba(255,255,255,.76); margin: 1rem 0 1.8rem; max-width: 42ch; }
.contacto-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.contacto-card .btn-ghost { --fg-btn: #fff; border-color: rgba(255,255,255,.4); }
.contacto-card .btn-ghost:hover { background: #fff; color: var(--azul); border-color: #fff; }
.contact-list { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-item svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: .25rem; }
.contact-item .lbl { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact-item .val { font-weight: 500; }
.contact-item a.val:hover { color: var(--gold-soft); }

/* ---------- Formulario de contacto (modal) ---------- */
.cf-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(27,32,16,.6);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  overflow-y: auto;
}
.cf-overlay.open { opacity: 1; pointer-events: auto; }
.cf-modal {
  width: min(640px, 94vw); max-height: 92vh; overflow-y: auto; overflow-x: hidden;
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: all .3s var(--ease-out);
  margin: auto;
}
.cf-modal.open { opacity: 1; transform: none; }
.contact-form {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
}
.cf-close {
  position: absolute; top: .9rem; right: .9rem; width: 30px; height: 30px;
  border-radius: 6px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-soft); cursor: pointer; display: grid; place-content: center;
}
.cf-close:hover { background: var(--bg-2); }
.contact-form h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: .4rem; }
.contact-form .cf-sub { color: var(--ink-mute); margin: .35rem 0 1.1rem; font-size: .92rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 2fr; gap: .8rem; min-width: 0; }
.cf-field { margin-bottom: .8rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cf-field label { display: block; min-height: 1.5rem; line-height: 1.25; font-family: var(--ff-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.cf-field label .opt { text-transform: none; letter-spacing: 0; font-size: .95em; }
.cf-field label .req { color: var(--gold-deep); }
.cf-req-note { font-size: .74rem; color: var(--ink-mute); margin-bottom: .5rem; }
.cf-req-note .req { color: var(--gold-deep); font-weight: 700; }
.cf-field input, .contact-form textarea {
  width: 100%; min-width: 0; box-sizing: border-box;
  font-family: var(--ff-body); font-size: 15px; color: var(--ink);
  padding: .58em .75em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.contact-form textarea { min-height: 90px; resize: vertical; }
.cf-field input:focus, .contact-form textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(65,107,71,.25); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#cf-code { font-family: var(--ff-mono); letter-spacing: .5em; text-align: center; font-size: 1.3rem; font-weight: 600; }
[data-cf-step2] [data-cf-back] { margin-left: .6rem; }
.cf-status { margin-top: .9rem; font-size: .9rem; color: var(--ink-mute); min-height: 1.3em; }
.cf-status.ok { color: var(--green); }
.cf-status.err { color: #c0392b; }
.cf-success { text-align: center; padding: 1.2rem 0 .4rem; }
.cf-success-ic { font-size: 2.4rem; margin-bottom: .3rem; }
.cf-success h3 { margin-top: 0; }
@media (max-width: 820px) { .cf-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--azul-tinta); color: rgba(255,255,255,.72); padding: clamp(2.8rem,5vw,3.8rem) var(--pad) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 2rem; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.footer .brandmark { font-size: 1.45rem; margin-bottom: .8rem; color: #fff; }
/* Recorte real del logo (solo la parte de abajo, sin la gota): assets/img/logo-texto.png */
.footer-wordmark { width: 128px; height: auto; margin: 0 0 .6rem; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff); }
.footer-about { color: rgba(255,255,255,.6); font-size: .88rem; max-width: none; text-align: justify; }
.footer h5 { font-family: var(--ff-mono); font-weight: 500; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,.72); font-size: .9rem; padding: .3rem 0; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold); padding-left: .3rem; }
.footer-links { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 2rem; align-items: start; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a, .socials button { width: 38px; height: 38px; border-radius: var(--radius-sm); display: grid; place-content: center; border: 1px solid rgba(255,255,255,.2); background: none; color: rgba(255,255,255,.8); cursor: pointer; transition: all .22s var(--ease-out); }
.socials a:hover, .socials button:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-base { width: min(100% - 2rem, var(--wrap)); margin: 2.4rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; justify-content: space-between; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.footer-base-left { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; }
.footer-base-right { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.footer-base-icons { margin-top: 0; }
.footer-base-icons a, .footer-base-icons button { width: 28px; height: 28px; }
.footer-base-icons svg { width: 14px; height: 14px; }
/* volver arriba: cierra la fila, y la flecha acompaña al cursor */
.to-top svg { transition: transform .22s var(--ease-out); }
.to-top:hover svg { transform: translateY(-2px); }

/* Libro de Reclamaciones: sello blanco al pie de la columna de contacto.
   Se oculta hasta que el panel tenga la URL — un sello que no lleva a
   ninguna parte es peor que no ponerlo. */
.libro-badge { display: none; }
.libro-badge[href]:not([href="#"]) { display: block; }
.libro-badge {
  width: 136px; margin-top: 1.5rem; padding: .45rem .6rem;
  background: #fff; border-radius: 6px;
  transition: transform .22s var(--ease-out), box-shadow .22s;
}
.libro-badge img { width: 100%; height: auto; }
.libro-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.8); }

/* ==========================================================================
   PÁGINA DE PRODUCTO
   ========================================================================== */
.pd { padding: 7.5rem var(--pad) 2rem; }
.breadcrumb { width: min(100% - 2rem, var(--wrap)); margin: 0 auto 1.8rem; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--azul); }
.breadcrumb .sep { opacity: .5; }

.pd-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); width: min(100% - 2rem, var(--wrap)); margin-inline: auto; align-items: start; }
.pd-gallery { position: sticky; top: 6rem; }
.pd-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/4; background: var(--photo-bg, #fff);
  box-shadow: 0 36px 64px -40px rgba(27,32,16,.5);
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main .card-line { height: 5px; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.pd-thumb { width: 80px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--photo-bg, #fff); transition: border-color .2s; padding: 0; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--accent-2); }
@media (max-width: 620px) { .pd-thumbs { flex-wrap: nowrap; gap: .4rem; } .pd-thumb { width: auto; flex: 1 1 0; min-width: 0; max-width: 80px; } }

.pd-info .kicker { color: var(--accent-2); }
/* designación del modelo: se lee como código de ficha, no como firma */
.pd-script {
  font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent-2);
  margin: 1rem 0 .3rem;
}
.pd-info h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }

/* ---------- me gusta, compartir, calificación ---------- */
.card-social { position: absolute; top: .75rem; left: .75rem; z-index: 5; display: flex; gap: .35rem; }
.like-btn, .share-btn { display: inline-flex; align-items: center; gap: .3rem; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-2); border-radius: 6px; padding: .34em .6em; font-family: var(--ff-mono); font-size: .7rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: background .2s var(--ease-out), transform .2s var(--ease-out); }
.like-btn svg, .share-btn svg { width: 14px; height: 14px; flex: none; }
.like-btn:hover, .share-btn:hover { background: var(--paper); transform: translateY(-1px); }
.like-btn.is-liked { color: #c0392b; }
.like-btn.is-liked svg { fill: #c0392b; stroke: #c0392b; }
.like-btn.like-pop svg { animation: like-pop .35s var(--ease-out); }
@keyframes like-pop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }

.share-menu { position: absolute; top: 100%; left: 0; margin-top: .4rem; z-index: 20; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 20px 40px -20px rgba(27,32,16,.45); padding: .35rem; display: flex; flex-direction: column; gap: .1rem; min-width: 180px; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: .6rem; padding: .5em .7em; border-radius: 6px; font-size: .86rem; color: var(--ink-soft); text-align: left; width: 100%; background: none; border: 0; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--bg-2); }
.share-menu svg { width: 17px; height: 17px; flex: none; }

.pd-social.card-social { position: relative; top: auto; left: auto; margin: .3rem 0 .1rem; }

.pd-rating { display: flex; flex-direction: column; gap: .3rem; margin: .8rem 0 1rem; }
.pd-rating .stars { display: flex; gap: .1rem; }
.pd-rating .star { font-size: 1.4rem; line-height: 1; color: var(--sand); background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s var(--ease-out), color .15s; }
.pd-rating .star.is-filled { color: var(--gold); }
.pd-rating.is-rated .star { cursor: default; }
.pd-rating:not(.is-rated) .star:hover { transform: scale(1.2); }
.pd-rating-info { font-size: .8rem; color: var(--ink-mute); }
.pd-rating-info b { color: var(--ink); font-weight: 600; }
.pd-rating-info .sep { display: inline-block; margin: 0 .5em; color: var(--sand); }

.pd-lead { font-size: 1.06rem; color: var(--ink-soft); margin: 1rem 0 1.4rem; max-width: 48ch; }

/* atributos: chapas técnicas, no sellos artesanales */
.pd-attrs { display: flex; flex-wrap: nowrap; gap: .4rem; margin-bottom: 1.8rem; }
.pd-attrs .attr-badge { gap: .4rem; padding: .45rem .55rem .45rem .5rem; min-width: 0; }
.pd-attrs .attr-badge-caption { font-size: .62rem; letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 620px) { .pd-attrs { flex-wrap: wrap; } }
.attr-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem .5rem .6rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper);
}
.attr-badge img { width: 20px; height: 20px; }
.attr-badge-circle { width: 26px; height: 26px; flex: none; border-radius: 5px; display: grid; place-content: center; background: var(--azul); }
.attr-badge-circle svg { width: 15px; height: 15px; color: #fff; }
.attr-badge-caption { font-family: var(--ff-mono); font-size: .68rem; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

.pd-desc { color: var(--ink-soft); margin-bottom: 1.4rem; }
.pd-uses { color: var(--ink-soft); margin-bottom: 1.6rem; }
.pd-uses b { font-family: var(--ff-display); font-weight: 700; color: var(--ink); }

.pd-spec { border-top: 2px solid var(--azul); margin-bottom: 1.6rem; }
.pd-spec .row { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.pd-spec .row .k { color: var(--ink-mute); font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .18rem; }
.pd-spec .row .v { color: var(--ink); font-weight: 500; }
.pres-pills { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.pres-pills span { font-family: var(--ff-mono); font-size: .76rem; padding: .3em .65em; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line-2); }

.related { padding: clamp(3rem,7vw,5rem) var(--pad); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

/* ==========================================================================
   CARRITO / PEDIDO
   ========================================================================== */
.cart-btn { position: relative; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1.5px solid var(--nav-line, var(--line)); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--nav-fg, var(--ink)); transition: all .22s var(--ease-out); flex: none; }
.cart-btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-family: var(--ff-mono); font-weight: 600; font-size: .68rem; line-height: 1; display: none; align-items: center; justify-content: center; }
.cart-badge.show { display: flex; }

.card-buy { display: flex; gap: .45rem; margin-top: .75rem; }
.card-size { flex: 1 1 auto; min-width: 0; padding: .55em .7em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--porcelana); color: var(--ink-soft); font-family: var(--ff-mono); font-size: .76rem; cursor: pointer; }
.btn-add { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .55em .95em; border-radius: var(--radius-sm); border: 1.5px solid var(--azul); background: var(--azul); color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: .82rem; cursor: pointer; transition: all .2s var(--ease-out); }
.btn-add:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); transform: translateY(-2px); }
.btn-add svg { width: 1.05em; height: 1.05em; }
.btn-add.added { background: #25d366; border-color: #25d366; color: #04310f; }

.pd-buy { margin-top: 1.3rem; padding: 1.4rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-2); }
.pd-buy-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-bottom: 1.2rem; }
.pd-field { display: flex; flex-direction: column; gap: .5rem; }
.pd-flabel { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.size-pills { display: flex; gap: .35rem; flex-wrap: wrap; }
.size-pill { padding: .45em .9em; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--porcelana); font-family: var(--ff-mono); font-size: .78rem; cursor: pointer; transition: all .2s var(--ease-out); }
.size-pill:hover { border-color: var(--azul); }
.size-pill.active { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.pd-buy-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pd-buy-actions .btn { flex: 1 1 auto; min-width: 180px; justify-content: center; }
.pd-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.pd-back svg { width: 1.1em; height: 1.1em; }
.pd-back:hover { color: var(--azul); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--porcelana); }
.stepper button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink); display: grid; place-content: center; }
.stepper button:hover { color: var(--gold-deep); }
.stepper .q { min-width: 26px; text-align: center; font-family: var(--ff-mono); font-weight: 600; font-size: .9rem; }

.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(27,32,16,.55); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 151; width: min(430px, 92vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .42s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line-2); }
.cart-head h3 { font-size: 1.3rem; }
.cart-head .count { font-family: var(--ff-mono); color: var(--ink-mute); font-size: .76rem; margin-top: .15rem; letter-spacing: .08em; text-transform: uppercase; }
.cart-close { background: none; border: 0; cursor: pointer; width: 38px; height: 38px; border-radius: var(--radius-sm); display: grid; place-content: center; color: var(--ink); }
.cart-close:hover { background: var(--bg-2); }
.cart-close svg { width: 19px; height: 19px; }
.cart-items { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.cart-empty { text-align: center; color: var(--ink-mute); margin: auto; padding: 2rem 1rem; }
.cart-empty svg { width: 48px; height: 48px; color: var(--sand); margin: 0 auto 1rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; align-items: start; }
.cart-line .thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb.seal { display: grid; place-content: center; font-family: var(--ff-mono); font-weight: 600; font-size: .95rem; }
.cart-line h4 { font-family: var(--ff-display); font-weight: 700; font-size: .98rem; line-height: 1.18; }
.cl-size { margin-top: .35rem; }
.cl-size select { font-family: var(--ff-mono); font-size: .76rem; padding: .3em .5em; border: 1px solid var(--line); border-radius: 6px; background: var(--porcelana); color: var(--ink-soft); cursor: pointer; }
/* presentación fija mientras tenga una promoción "lleva/paga" activa: no se puede cambiar por otra pagando el precio de oferta */
.cl-size-fixed { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-family: var(--ff-mono); font-size: .76rem; color: var(--ink-soft); }
.cl-promo-tag { font-family: var(--ff-mono); font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--azul); padding: .2em .5em; border-radius: 4px; }
.cl-controls { display: flex; align-items: center; gap: .8rem; margin-top: .5rem; }
.cl-remove { background: none; border: 0; cursor: pointer; color: var(--ink-mute); font-size: .76rem; display: inline-flex; align-items: center; gap: .28rem; }
.cl-remove svg { width: 13px; height: 13px; }
.cl-remove:hover { color: #c0392b; }
.cart-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line-2); background: var(--bg-2); }
.cart-note { font-size: .8rem; color: var(--ink-mute); margin-bottom: .9rem; display: flex; gap: .5rem; align-items: flex-start; }
.cart-note svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: .18rem; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-clear { text-align: center; margin-top: .7rem; }
.cart-clear button { background: none; border: 0; color: var(--ink-mute); font-size: .78rem; cursor: pointer; text-decoration: underline; }
.cart-clear button:hover { color: #c0392b; }

/* overlay del menú móvil */
.nav-overlay { position: fixed; inset: 0; z-index: 97; background: rgba(27,32,16,.5); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.nav-overlay.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* botón flotante WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-content: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease-out), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 38px -8px rgba(37,211,102,.75); }
.wa-float-hide { opacity: 0; transform: translateY(8px) scale(.9); pointer-events: none; }
.wa-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 160; background: var(--azul-tinta); color: #fff; padding: .78em 1.3em; border-radius: var(--radius-sm); font-family: var(--ff-display); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .5rem; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 1.15em; height: 1.15em; color: #4ade80; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-rail { grid-template-columns: repeat(2, 1fr); }
  .hero-rail div:nth-child(2) { border-right: 0; }
}
@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(87vw, 390px); height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--paper); padding: 5.4rem 1.9rem 2rem; transform: translateX(105%); transition: transform .42s var(--ease); box-shadow: -26px 0 66px -30px rgba(0,0,0,.55); overflow-y: auto; }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a.link { display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); padding: 1rem .1rem; border-bottom: 1px solid var(--line-2); }
  .nav-links a.link:first-of-type { border-top: 1px solid var(--line-2); }
  .nav-links a.link::after { content: "→"; position: static; width: auto; height: auto; background: none; margin-left: auto; font-size: 1rem; font-weight: 400; color: var(--gold-deep); opacity: .55; transition: transform .2s var(--ease-out), opacity .2s; }
  .nav-links a.link:hover::after, .nav-links a.link:active::after { transform: translateX(5px); opacity: 1; }

  body.menu-open .cart-btn { opacity: 0; visibility: hidden; pointer-events: none; }

  .menu-extra { display: block; }
  .menu-eyebrow { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
  .menu-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
  .menu-foot { margin-top: 1.8rem; }
  .menu-foot .btn { width: 100%; justify-content: center; font-size: 1rem; padding: .95em 1.4em; }
  .menu-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: var(--ink-mute); }
  .menu-contact a { color: var(--ink-soft); font-weight: 500; }
  .menu-contact a:hover { color: var(--azul); }
  .menu-social { display: flex; gap: .5rem; margin-top: .8rem; }
  .menu-social a { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; place-content: center; color: var(--ink-soft); transition: all .22s var(--ease-out); }
  .menu-social a svg { width: 17px; height: 17px; }
  .menu-social a:hover { background: var(--azul); color: #fff; border-color: var(--azul); transform: translateY(-2px); }

  .nav-burger { display: inline-flex; z-index: 101; }
  .nav .nav-cta.desktop { display: none; }

  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .scroll-cue { display: none; }

  .historia-grid { grid-template-columns: 1fr; }
  .historia-figure { max-width: 440px; }
  .contacto-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trustbar-row { grid-template-columns: repeat(2,1fr); }
  .trust:nth-child(2) { border-right: 0; }
  .trust:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .cotiza-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
}
@media (max-width: 620px) {
  /* en pantalla chica el texto del plano quedaria ilegible (5 px reales):
     se retiran las anotaciones y queda el dibujo limpio */

  .rooms-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .trustbar-row { grid-template-columns: 1fr; }
  .trust { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 1.15rem 0; }
  .trust:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-rail { grid-template-columns: repeat(2, 1fr); }
  .hero-rail div { padding: .9rem 1rem .9rem 0; }
  .hero-rail div:nth-child(2n) { border-right: 0; }
  .hero-rail div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .cat-top { align-items: flex-start; }
  .pd-spec .row { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Motion gating ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .splash-bar::after, .scroll-cue .ln, .wa-float::after { animation: none; }
}


/* ==========================================================================
   OLIBELLA · ajustes de tema (sobre el motor)
   ========================================================================== */
.pillar .n { display: none; }
.pillar { border-top-color: var(--gold); }
.pillar h4 { color: #fff; }
.pillar p { color: rgba(255,255,255,.66); }

/* Accesos por línea */
.rooms-grid { grid-template-columns: repeat(5, 1fr); }
.room .rn { font-size: 1.12rem; }

/* Destacados: banda oscura para cortar el ritmo claro */
.destacados { background: var(--azul-hondo); padding-bottom: clamp(2.6rem, 6vw, 4rem); margin-top: clamp(2rem, 5vw, 3.2rem); }
.destacados .kicker { color: var(--gold); }
.destacados .dest-head h2 { color: #fff; }
.destacados .dest-hint { color: rgba(255,255,255,.55); }
.destacados .dest-rail::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); }

/* Cotizador: franja limón */
.cotiza .kicker { color: #3c3d0b; }
.cotiza-steps { color: #3c3d0b; }

/* Historia: oliva oscuro con dos fotos */
.historia { background: var(--azul-tinta); color: #fff; }
.historia h2 { color: #fff; }
.historia h2 .script { color: var(--gold); display: block; }
.historia p { color: rgba(255,255,255,.78); }
.historia .kicker { color: var(--gold-soft); }
.historia-figure { display: block; }
.historia-figure img { height: auto; aspect-ratio: 4/4.6; box-shadow: 0 40px 70px -40px rgba(0,0,0,.9); }
.historia-figure .figure-2 {
  position: absolute; right: -6%; bottom: -10%; width: 46%; height: auto; aspect-ratio: 1; object-fit: cover;
  border: 6px solid var(--azul-tinta); border-radius: var(--radius);
}
.historia-figure .tagchip { left: -10px; bottom: auto; top: 18px; bottom: auto; }

/* Respaldo: claro, con fotos de los reconocimientos */
.awards { background: var(--paper); color: var(--ink); }
.awards .kicker { color: var(--gold-deep); }
.awards .section-head h2 { color: var(--ink); }
.awards .section-head p { color: var(--ink-mute); }
.awards-grid { background: var(--line); border-color: var(--line); }
.award { background: var(--paper); }
.award:hover { background: var(--bg-2); }
.award .cat { color: var(--ink); }
.award .ev { color: var(--ink-mute); }
.award .tp { color: var(--ink-mute); }
.award .yr { color: var(--gold-deep); }
.medal.oro { color: #a67c00; }
.medal.plata { color: var(--azul); }
.medal.bronce { color: var(--ink-mute); }
.premios { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.premios figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4/3; }
.premios img { width: 100%; height: 100%; object-fit: cover; }
.premios figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; background: linear-gradient(0deg, rgba(27,32,16,.85), transparent); color: #fff; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }

/* Contacto */
.contacto-card { background: var(--azul); }
.contacto-card .btn-ghost:hover { color: var(--azul); }
.contact-note { font-size: .84rem; color: rgba(255,255,255,.72); line-height: 1.5; }

/* Tarjetas y ficha: producto recortado sobre blanco */
.card-media img, .pd-main img { object-fit: contain; }
.card-media, .pd-main { background: #fff; }
.card-fav { background: var(--gold); }

@media (max-width: 1040px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .room:last-child { grid-column: 1 / -1; min-height: 120px; }
}
@media (max-width: 820px) {
  .premios { grid-template-columns: 1fr 1fr; }
  .premios figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .historia-figure .figure-2 { right: 4%; }
}
@media (max-width: 620px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .campana-meses li { font-size: .58rem; letter-spacing: 0; }
  .hero { padding-top: 5.6rem; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(27,32,16,.96) 0%, rgba(27,32,16,.5) 30%, rgba(27,32,16,0) 55%),
      linear-gradient(180deg, rgba(27,32,16,.78) 0%, rgba(27,32,16,.58) 60%, rgba(27,32,16,.3) 100%);
  }
  .hero-bg { object-position: 82% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .campana-meses li.is-cosecha::before { animation: none; }
}

/* ==========================================================================
   UBICACIÓN Y PRECIOS
   ========================================================================== */
/* Chip "Entrega en …" del encabezado */
.loc-chip {
  display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; margin-right: .2rem;
  padding: .5rem .8rem; border-radius: 999px; cursor: pointer; max-width: 15rem;
  border: 1.5px solid var(--nav-line, var(--line)); background: transparent; color: var(--nav-fg, var(--ink));
  font-family: var(--ff-body); font-size: .84rem; white-space: nowrap; overflow: hidden;
  transition: background .2s, border-color .2s, color .2s;
}
.loc-chip svg { width: 16px; height: 16px; flex: none; }
.loc-chip span { overflow: hidden; text-overflow: ellipsis; }
.loc-chip b { font-weight: 700; }
.loc-chip:not(.has-loc) b { color: var(--gold); }
.nav.is-solid .loc-chip:not(.has-loc) b { color: var(--gold-deep); }
.loc-chip:hover { border-color: var(--gold); }

/* Modal */
.loc-overlay {
  position: fixed; inset: 0; z-index: 180; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(27,32,16,.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-out); overflow-y: auto;
}
.loc-overlay.open { opacity: 1; pointer-events: auto; }
.loc-modal {
  position: relative; width: min(31rem, 100%); margin: auto; padding: 1.9rem 1.8rem 1.7rem;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  transform: translateY(14px) scale(.985); transition: transform .3s var(--ease-out);
}
.loc-overlay.open .loc-modal { transform: none; }
.loc-close { position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px; border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; display: grid; place-content: center; color: var(--ink-mute); }
.loc-close:hover { background: var(--bg-2); color: var(--ink); }
.loc-close svg { width: 18px; height: 18px; }
.loc-head { display: flex; align-items: center; gap: .6rem; padding-right: 2rem; }
.loc-head svg { width: 22px; height: 22px; flex: none; color: var(--azul); }
.loc-head h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.loc-sub { color: var(--ink-soft); font-size: .92rem; margin: 1rem 0 1.4rem; }
.loc-field { display: block; margin-bottom: 1rem; }
.loc-field span { display: block; font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .35rem; }
.loc-field select {
  width: 100%; padding: .85em 2.4em .85em .95em; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background-color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%235f6a44%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 18px;
}
.loc-field select:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(65,107,71,.22); }
.loc-field select:disabled { background-color: var(--bg); color: var(--ink-mute); cursor: not-allowed; }
.loc-status { min-height: 1.2em; font-size: .86rem; color: #c0392b; margin-bottom: .4rem; }
.loc-save { width: 100%; justify-content: center; }
.loc-save:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Aviso "Ubicación guardada" */
.loc-toast {
  position: fixed; z-index: 190; top: 50%; left: 50%; width: min(23rem, calc(100vw - 2rem));
  display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); box-shadow: 0 20px 50px -16px rgba(27,32,16,.5); border: 1px solid var(--line-2);
  opacity: 0; transform: translate(-50%, -46%); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.loc-toast.show { opacity: 1; transform: translate(-50%, -50%); }
.loc-toast .lt-ic { width: 26px; height: 26px; flex: none; color: var(--green); }
.loc-toast .lt-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; border-left: 1px solid var(--line); padding-left: .85rem; }
.loc-toast .lt-txt b { font-size: .95rem; }
.loc-toast .lt-txt span { font-size: .86rem; color: var(--ink-soft); }
.loc-toast button { border: 0; background: none; cursor: pointer; color: var(--ink-mute); width: 28px; height: 28px; border-radius: 6px; display: grid; place-content: center; }
.loc-toast button:hover { background: var(--bg-2); }
.loc-toast button svg { width: 16px; height: 16px; }

/* Precio en la tarjeta */
.card-priceslot { min-height: 2.6rem; }
.card-price { display: flex; flex-direction: column; gap: .1rem; margin-top: .35rem; text-align: left; }
.card-price.is-ask { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); background: none; border: 0; padding: 0; cursor: default; }
button.card-price.is-ask { cursor: pointer; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.cp-main { font-family: var(--ff-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.cp-mayor { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .04em; color: var(--azul); }
.cp-mayor b { font-weight: 500; color: var(--ink); }

/* Precio de la tarjeta de Promociones: el total del trato manda, el unitario queda de referencia */
.card-price--promo { gap: .3rem; }
.cp-deal { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.cp-row { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.cp-was { font-family: var(--ff-mono); font-size: .82rem; color: var(--ink-mute); text-decoration: line-through; }
.cp-save { font-family: var(--ff-mono); font-size: .64rem; font-weight: 600; color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); padding: .18em .55em; border-radius: 4px; }
.cp-unit-ref { font-family: var(--ff-mono); font-size: .68rem; color: var(--ink-mute); }
.cp-unit-ref b { font-weight: 500; color: var(--ink-soft); }
/* aviso corto de vigencia de la promoción (fecha límite y/o nota libre puesta en el panel) */
.card-promo-vigencia { font-family: var(--ff-mono); font-size: .68rem; color: var(--gold-deep); margin: -.1rem 0 0; }

/* Precio en la ficha */
.pd-price { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.pdp-zone { display: block; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .3rem; }
.pdp-main { display: flex; align-items: baseline; gap: .6rem; }
.pdp-amount { font-family: var(--ff-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; }
.pdp-unit { font-size: .84rem; color: var(--ink-mute); }
.pdp-mayor { margin-top: .5rem; font-size: .9rem; color: var(--ink-soft); }
.pdp-mayor b { font-family: var(--ff-mono); font-weight: 500; color: var(--ink); }
.pdp-mayor.is-on { color: var(--green); font-weight: 600; }

.pd-includes { background: var(--green-pale, #eef3ea); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.1rem; font-size: .86rem; }
.pd-includes b { display: block; margin-bottom: .4rem; color: var(--ink); }
.pd-includes ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.pd-includes li { margin-bottom: .2rem; }
.pd-inc-size { color: var(--ink-mute); font-size: .82em; }
.pdp-total { margin-top: .4rem; font-family: var(--ff-mono); font-size: .8rem; color: var(--ink-soft); }
.pdp-total b { color: var(--ink); font-weight: 500; }
.pdp-ask { font-size: .95rem; color: var(--ink-soft); background: none; border: 0; padding: 0; text-align: left; }
button.pdp-ask { cursor: pointer; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pd-na { color: var(--ink-soft); margin-bottom: 1rem; }

/* Carrito: precio por línea y total */
.cl-price { margin-top: .35rem; font-family: var(--ff-mono); font-size: .76rem; color: var(--ink-soft); }
.cl-price b { color: var(--ink); font-weight: 500; }
.cl-price em { font-style: normal; color: var(--green); }
.cl-price.cl-na { color: #c0392b; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cart-total span { font-weight: 600; font-size: .92rem; }
.cart-total small { display: block; font-weight: 400; color: var(--ink-mute); font-size: .72rem; }
.cart-total b { font-family: var(--ff-display); font-weight: 800; font-size: 1.35rem; text-align: right; }

@media (max-width: 940px) {
  .loc-chip { max-width: 9.5rem; padding: .45rem .6rem; font-size: .76rem; margin-right: 0; }
  .loc-chip span { font-size: 0; }
  .loc-chip span b { font-size: .76rem; }
  .loc-chip:not(.has-loc) span::before { content: "Ubicación"; font-size: .76rem; font-weight: 700; color: var(--gold); }
  .nav.is-solid .loc-chip:not(.has-loc) span::before { color: var(--gold-deep); }
  .loc-chip:not(.has-loc) b { display: none; }
  .loc-toast { top: 4.6rem; }
}

/* ==========================================================================
   PORTADA · video que se abre al deslizar (solo la primera pantalla)
   ========================================================================== */
.hv {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 540px;
  background: var(--azul-tinta); color: #fff;
}
.hv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; z-index: -3; }
.hv-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(27,32,16,.42) 0%, rgba(27,32,16,0) 40%, rgba(27,32,16,.5) 100%);
}
.hv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hv-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 300px; height: 400px; max-width: 100vw; max-height: 100%;
  overflow: hidden; border-radius: 16px; border: 2px solid rgba(247,248,238,.7);
  background: var(--azul-tinta); box-shadow: 0 20px 60px rgba(16,32,15,.55);
  pointer-events: none;
}
.hv-card.is-full { border-radius: 0; border-color: transparent; box-shadow: none; }
.hv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-tint { position: absolute; inset: 0; background: rgba(27,32,16,.3); opacity: .4; }
.hv-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; background: linear-gradient(0deg, rgba(27,32,16,.9), rgba(27,32,16,.25) 60%, transparent); }

/* Textos sobre la tarjeta: se separan hacia los lados mientras el video se abre */
.hv-caption {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 100%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; pointer-events: none;
  padding-inline: 1rem;
}
.hv-eyebrow {
  font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: .04em; line-height: 1.15;
  color: var(--gold-soft); text-shadow: 0 1px 3px rgba(16,32,15,.9), 0 4px 16px rgba(16,32,15,.7);
}
.hv-hint {
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(247,248,238,.92);
  text-shadow: 0 1px 3px rgba(16,32,15,.9), 0 4px 16px rgba(16,32,15,.7);
}

/* Botones: aparecen cuando el video ya está abierto */
.hv-cta {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 5vh, 3rem); z-index: 3; transform: translate(-50%, 12px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; width: min(100% - 2rem, 34rem);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.hv.is-expanded .hv-cta, .hv.is-static .hv-cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hv .btn-ghost { --fg-btn: #fff; border-color: rgba(255,255,255,.45); }
.hv .btn-ghost:hover { background: #fff; color: var(--azul-tinta); border-color: #fff; }

/* Sin movimiento (o "reducir movimiento"): foto de fondo y el mismo texto, sin video */
.hv.is-static .hv-card { display: none; }
.hv.is-static .hv-shade { background: linear-gradient(180deg, rgba(27,32,16,.55) 0%, rgba(27,32,16,.35) 50%, rgba(27,32,16,.75) 100%); }
.hv.is-static .hv-caption { top: 42% !important; transform: translate(-50%, -50%); max-width: 36rem !important; }
.hv.is-static .hv-eyebrow { transform: none !important; font-size: clamp(2rem, 6vw, 3.4rem); }
.hv.is-static .hv-hint { display: none; }

@media (max-width: 767px) {
  .hv-caption { gap: .4rem; }
  .hv-hint { font-size: .68rem; letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-cta { transition: none; }
}

/* ==========================================================================
   RECONOCIMIENTOS · paneles de foto que se expanden (efecto del sitio original)
   ========================================================================== */
.awards { background: var(--bg); }
.awx-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.awx-head .kicker { justify-content: center; color: var(--gold-deep); }
.awx-head .kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .75; }
.awx-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-top: .8rem; }
.awx-head p { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink-soft); }

.awx { display: flex; height: 460px; gap: .75rem; margin-top: clamp(2.2rem, 5vw, 4rem); overflow: hidden; border-radius: 24px; }
.awx-item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; outline: none; background: var(--azul-hondo);
  transition: flex-grow .5s var(--ease-out);
}
.awx-item:hover, .awx-item:focus, .awx-item:focus-within { flex-grow: 2.4; }
.awx-item:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.awx-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease-out); }
.awx-item:hover img, .awx-item:focus img { transform: scale(1.05); }
.awx-noimg { position: absolute; inset: 0; display: grid; place-content: center; color: var(--gold); }
.awx-noimg svg { width: 56px; height: 56px; }
.awx-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--azul-tinta) 0%, rgba(27,32,16,.6) 30%, rgba(27,32,16,.1) 62%, transparent 100%); }
.awx-badge {
  position: absolute; right: 1rem; top: 1rem; white-space: nowrap; background: var(--gold); color: var(--on-gold);
  font-family: var(--ff-mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: .35em .85em; border-radius: 999px;
}
.awx-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.awx-date { white-space: nowrap; font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); text-shadow: 0 1px 4px rgba(16,32,15,.95); }
.awx-body h3 { margin-top: .5rem; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.15; color: #fff; }
.awx-org { margin-top: .35rem; max-width: 20rem; font-size: .86rem; color: rgba(255,255,255,.8); opacity: 0; transition: opacity .3s; }
.awx-item:hover .awx-org, .awx-item:focus .awx-org { opacity: 1; }

@media (max-width: 639px) {
  .awx { flex-direction: column; height: auto; gap: 1rem; overflow: visible; border-radius: 0; }
  .awx-item { flex: none; aspect-ratio: 16 / 10; border-radius: 20px; }
  .awx-item:hover, .awx-item:focus { flex-grow: 0; }
  .awx-org { opacity: 1; }
  .awx-body { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .awx-item, .awx-item img, .awx-org { transition: none; }
}


/* LOGO REAL (imagen con gota y palabra): reemplaza al sello dibujado y al texto */
.brandmark { gap: 0; }
.brand-logo-img { width: auto; height: 50px; flex: none; object-fit: contain; transition: height .3s var(--ease-out); }
.nav.is-solid .brand-logo-img { height: 42px; }
.footer .brandmark-foot { margin-bottom: 1rem; }
.footer .brand-logo-img { height: 96px; }
@media (max-width: 940px) { .brand-logo-img { height: 42px; } .nav.is-solid .brand-logo-img { height: 38px; } }

/* El logo lleva colores oscuros: va sobre una placa clara para que se lea sobre el hero y el pie oscuros */
.brand-logo-img { background: var(--paper); border-radius: 14px; padding: 4px 6px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.55); }
.nav.is-solid .brand-logo-img { box-shadow: none; background: transparent; padding: 2px 4px; }
.footer .brand-logo-img { padding: 6px 10px; border-radius: 18px; }

/* ENCABEZADO CLARO (como el sitio original): barra hueso translúcida desde el primer momento, logo grande sin placa */
.nav {
  --nav-fg: var(--ink); --nav-fg-mute: var(--ink-soft); --nav-line: var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -24px rgba(27,32,16,.6);
  padding-block: .55rem;
}
.nav.is-solid { padding-block: .55rem; }
.loc-chip:not(.has-loc) b { color: var(--gold-deep); }
.nav .brand-logo-img { height: 64px; background: transparent; padding: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 3px 6px rgba(27,32,16,.28)); }
.nav.is-solid .brand-logo-img { height: 64px; padding: 0; }
.footer .brand-logo-img { height: 96px; background: var(--paper); padding: 6px 10px; border-radius: 18px; box-shadow: none; filter: none; }
.hero { padding-top: 7.4rem; }
@media (max-width: 940px) {
  .nav .brand-logo-img { height: 52px; }
  .nav.is-solid .brand-logo-img { height: 52px; }
  .hero { padding-top: 6.6rem; }
}




/* Portada de video en celular: solo la foto vertical y los botones (sin tarjeta, sin video) */
.hv.is-mobile { height: 100vh; height: 100svh; }
.hv.is-mobile .hv-bg { object-position: 50% 40%; }
.hv.is-mobile .hv-shade { background: linear-gradient(180deg, rgba(27,32,16,.25) 0%, rgba(27,32,16,0) 35%, rgba(27,32,16,.7) 100%); }
.hv.is-mobile .hv-caption { display: none; }
.hv.is-mobile .hv-cta { bottom: 7.5rem; flex-direction: column; align-items: stretch; }
.hv.is-mobile .hv-cta .btn { justify-content: center; }
/* la foto vertical se muestra completa (proporción de la imagen), sin recortar las letras */
.hv.is-mobile { height: 181vw; min-height: 0; }
.hv.is-mobile .hv-bg { object-position: 50% 50%; }
.hv.is-mobile .hv-cta { bottom: 1.4rem; gap: .5rem; }
.hv.is-mobile .hv-cta .btn { padding-block: .75em; }


/* FLECHAS DEL CARRIL: sin barra de desplazamiento; se avanza con flechas, rueda o dedo */
.dest-rail { scrollbar-width: none; -ms-overflow-style: none; }
.dest-rail::-webkit-scrollbar { display: none; height: 0; }
.dest-nav { display: flex; gap: .5rem; }
.dest-nav button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.dest-nav button svg { width: 18px; height: 18px; }
.dest-nav button:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.dest-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 767px) { .dest-nav { display: none; } }

/* Encabezado de "Los que no pueden faltar": centrado; las flechas quedan a la derecha */
.dest-head { position: relative; justify-content: center; text-align: center; }
.destacados .kicker { justify-content: center; }
.destacados .kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .75; display: inline-block; }
.dest-head .dest-nav { position: absolute; right: 0; bottom: 0; }

/* ==========================================================================
   PORTADAS DE TEMPORADA · Navidad y Fiestas Patrias (solo la primera pantalla)
   ========================================================================== */
.hf { justify-content: center; padding-bottom: 3rem; }
.hf .hero-bg { object-position: 72% 55%; }
.hf .hero-grid { flex: 0 0 auto; }
.hf-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hf .hero-grid { position: relative; z-index: 2; }
.hf .hero-title { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.hf .hero-title .script { font-size: clamp(2.7rem, 7vw, 5.6rem); }

/* ---- Navidad: verde profundo y rojo, luces y nieve ---- */
.hf-navidad::before {
  background:
    linear-gradient(0deg, rgba(20,45,26,.9) 0%, rgba(20,45,26,0) 45%),
    linear-gradient(90deg, rgba(110,16,22,.9) 0%, rgba(58,18,20,.72) 38%, rgba(18,40,24,.2) 72%);
}
.hf-navidad .kicker { color: #ffd166; }
.hf-navidad .hero-title .script { color: #ffd166; text-shadow: 0 0 28px rgba(255,209,102,.35); }
.hf-navidad .btn-ghost:hover { color: #6e1016; }
.hf-lights {
  position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 20px 34px, #ff5a5f 0 7px, transparent 8px),
    radial-gradient(circle at 60px 42px, #ffd166 0 7px, transparent 8px),
    radial-gradient(circle at 100px 34px, #4cc36f 0 7px, transparent 8px),
    radial-gradient(circle at 140px 42px, #ffffff 0 7px, transparent 8px);
  background-size: 160px 64px; background-repeat: repeat-x;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); animation: hf-blink 2.4s ease-in-out infinite;
}
.hf-lights::before {   /* el cable */
  content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 22px;
  background: radial-gradient(ellipse 80px 12px at 40px 0, transparent 0 11px, rgba(20,45,26,.9) 12px 13px, transparent 14px) repeat-x;
  background-size: 80px 22px; opacity: .8;
}
.hf-lights::after {    /* segunda tanda que parpadea al revés */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80px 34px, #ff5a5f 0 7px, transparent 8px),
    radial-gradient(circle at 120px 42px, #4cc36f 0 7px, transparent 8px);
  background-size: 160px 64px; background-repeat: repeat-x; animation: hf-blink 2.4s ease-in-out infinite reverse;
}
@keyframes hf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Fiestas Patrias: rojo y blanco, banderines y confeti ---- */
.hf-patrias::before {
  background:
    linear-gradient(0deg, rgba(27,32,16,.92) 0%, rgba(27,32,16,0) 42%),
    linear-gradient(90deg, rgba(150,12,28,.9) 0%, rgba(120,12,26,.68) 38%, rgba(27,32,16,.12) 72%);
}
.hf-patrias .kicker { color: #fff; }
.hf-patrias .hero-title .script {
  color: #fff; background: #D91023; display: inline-block; padding: .02em .28em .08em; margin-left: -.05em;
  transform: rotate(-1.5deg); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); line-height: 1;
}
.hf-patrias .btn-ghost:hover { color: #9a0c1c; }
.hf-bunting { position: absolute; left: 0; top: 0; width: 100%; height: 70px; z-index: 1; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }

@media (max-width: 767px) {
  .hf { padding-top: 6.4rem; }
  .hf .hero-bg { object-position: 78% 50%; }
  .hf-lights, .hf-bunting { top: 0; }
  .hf .hero-title .script { font-size: clamp(2.4rem, 10vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) { .hf-lights, .hf-lights::after { animation: none; } }
/* la decoración cuelga justo debajo del encabezado fijo */
.hf-lights, .hf-bunting { top: 5.4rem; }
@media (max-width: 767px) { .hf-lights, .hf-bunting { top: 4.6rem; } }
.hf-patrias .hero-title .script { font-size: clamp(2.2rem, 5.2vw, 4.3rem); white-space: nowrap; }
@media (max-width: 767px) { .hf-patrias .hero-title .script { white-space: normal; font-size: clamp(2rem, 9vw, 3rem); } }


/* ==========================================================================
   TEMA DE TEMPORADA en las tarjetas (el <body> lleva data-tema="navidad" | "patrias")
   ========================================================================== */
[data-tema] .card-line { display: none; }
[data-tema] .card-media::after { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none; }

/* ---- Navidad: nieve sobre cada producto, moño rojo y detalles en rojo ---- */
[data-tema="navidad"] .card-media::after {
  height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 26' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v9c-4 0-5 5-9 5s-5-3-8-3-6 9-11 9-6-7-10-7-6 6-11 6-5-8-9-8-7 8-12 8-5-5-9-5-6 6-10 6-4-8-8-8-5 4-9 4-4-5-4-5z' fill='white'/%3E%3C/svg%3E") repeat-x left 0 top 5px / 120px 26px, linear-gradient(#b3202a, #b3202a) left top / 100% 6px no-repeat;
  filter: drop-shadow(0 1.5px 1px rgba(20,45,26,.4));
}
[data-tema="navidad"] .card-media::before {
  content: ""; position: absolute; left: .55rem; bottom: .45rem; z-index: 2; width: 46px; height: 38px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40'%3E%3Cpath d='M24 20C14 8 2 6 3 16c1 9 13 8 21 4z' fill='%23c4232b'/%3E%3Cpath d='M24 20C34 8 46 6 45 16c-1 9-13 8-21 4z' fill='%23c4232b'/%3E%3Cpath d='M24 20C15 10 6 10 6 15c0 4 9 4 18 5z' fill='%23e0454d'/%3E%3Cpath d='M24 20C33 10 42 10 42 15c0 4-9 4-18 5z' fill='%23e0454d'/%3E%3Cpath d='M22 22 14 38l6-3 3 4 3-15zM26 22l8 16-6-3-3 4-3-15z' fill='%23a01d24'/%3E%3Ccircle cx='24' cy='19' r='4.5' fill='%23f2c14e'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25));
  transition: transform .35s var(--ease-out);
}
[data-tema="navidad"] .card:hover .card-media::before { transform: rotate(-8deg) scale(1.1); }
[data-tema="navidad"] .btn-add { background: #b3202a; border-color: #b3202a; }
[data-tema="navidad"] .btn-add:hover { background: #1f5a33; border-color: #1f5a33; color: #fff; }
[data-tema="navidad"] .cp-main { color: #a5202a; }
[data-tema="navidad"] .filter.is-active { background: #b3202a; border-color: #b3202a; }
[data-tema="navidad"] .card:hover { box-shadow: 0 28px 48px -30px rgba(179,32,42,.45); }

/* ---- Fiestas Patrias: banderines rojo y blanco sobre cada producto ---- */
[data-tema="patrias"] .card-media::after {
  height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' width='60' height='20'%3E%3Cellipse cx='5.0' cy='5.8' rx='6.2' ry='3.3' fill='none' stroke='%238f0a18' stroke-width='2.8' transform='rotate(26.6 5.0 5.8)'/%3E%3Cellipse cx='5.0' cy='5.8' rx='6.2' ry='3.3' fill='none' stroke='%23D91023' stroke-width='1.9' transform='rotate(26.6 5.0 5.8)'/%3E%3Cellipse cx='15.0' cy='9.8' rx='6.2' ry='3.3' fill='none' stroke='rgba(0,0,0,.3)' stroke-width='2.8' transform='rotate(16.7 15.0 9.8)'/%3E%3Cellipse cx='15.0' cy='9.8' rx='6.2' ry='3.3' fill='none' stroke='%23ffffff' stroke-width='1.9' transform='rotate(16.7 15.0 9.8)'/%3E%3Cellipse cx='25.0' cy='11.7' rx='6.2' ry='3.3' fill='none' stroke='%238f0a18' stroke-width='2.8' transform='rotate(5.7 25.0 11.7)'/%3E%3Cellipse cx='25.0' cy='11.7' rx='6.2' ry='3.3' fill='none' stroke='%23D91023' stroke-width='1.9' transform='rotate(5.7 25.0 11.7)'/%3E%3Cellipse cx='35.0' cy='11.8' rx='6.2' ry='3.3' fill='none' stroke='rgba(0,0,0,.3)' stroke-width='2.8' transform='rotate(-5.7 35.0 11.8)'/%3E%3Cellipse cx='35.0' cy='11.8' rx='6.2' ry='3.3' fill='none' stroke='%23ffffff' stroke-width='1.9' transform='rotate(-5.7 35.0 11.8)'/%3E%3Cellipse cx='45.0' cy='9.8' rx='6.2' ry='3.3' fill='none' stroke='%238f0a18' stroke-width='2.8' transform='rotate(-16.7 45.0 9.8)'/%3E%3Cellipse cx='45.0' cy='9.8' rx='6.2' ry='3.3' fill='none' stroke='%23D91023' stroke-width='1.9' transform='rotate(-16.7 45.0 9.8)'/%3E%3Cellipse cx='55.0' cy='5.8' rx='6.2' ry='3.3' fill='none' stroke='rgba(0,0,0,.3)' stroke-width='2.8' transform='rotate(-26.6 55.0 5.8)'/%3E%3Cellipse cx='55.0' cy='5.8' rx='6.2' ry='3.3' fill='none' stroke='%23ffffff' stroke-width='1.9' transform='rotate(-26.6 55.0 5.8)'/%3E%3C/svg%3E") repeat-x left top / 60px 20px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
}
[data-tema="patrias"] .btn-add { background: #c8102e; border-color: #c8102e; }
[data-tema="patrias"] .btn-add:hover { background: #1b2010; border-color: #1b2010; color: #fff; }
[data-tema="patrias"] .cp-main { color: #b40d28; }
[data-tema="patrias"] .filter.is-active { background: #c8102e; border-color: #c8102e; }
[data-tema="patrias"] .card:hover { box-shadow: 0 28px 48px -30px rgba(200,16,46,.4); }

/* la insignia "Destacado" y los botones sociales quedan por encima de la decoración */
[data-tema] .card-fav { top: 2.1rem; }
[data-tema] .card-social { top: 2.1rem; }


/* ---- Aniversario de Arequipa: guinda (el color de Arequipa), blanco sillar y dorado ---- */
.hf-arequipa::before {
  background:
    linear-gradient(0deg, rgba(27,32,16,.9) 0%, rgba(27,32,16,0) 40%),
    linear-gradient(90deg, rgba(112,16,52,.92) 0%, rgba(92,16,46,.72) 38%, rgba(27,32,16,.12) 72%);
}
.hf-arequipa .kicker { color: #f2c14e; }
.hf-arequipa .hero-title .script {
  color: #7f1a3c; background: #f3efe6; display: inline-block; padding: .02em .28em .08em; margin-left: -.05em;
  transform: rotate(-1.5deg); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); line-height: 1; font-size: clamp(2.2rem, 5.2vw, 4.3rem); white-space: nowrap;
}
.hf-arequipa .btn-ghost:hover { color: #5c1029; }
.hf-arequipa { padding-bottom: 7rem; }
.hf-misti { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(70px, 11vw, 150px); z-index: 1; pointer-events: none; }
.hf-seal {
  position: absolute; z-index: 2; right: clamp(1rem, 7vw, 8rem); top: 8.5rem; width: 116px; height: 116px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(8deg);
  background: #7f1a3c; color: #f3efe6; border: 3px solid #e0b040; box-shadow: 0 0 0 5px rgba(243,239,230,.9), 0 16px 30px -12px rgba(0,0,0,.6);
}
.hf-seal b { font-family: var(--ff-display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: #f2c14e; letter-spacing: -0.03em; }
.hf-seal span { font-family: var(--ff-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; margin-top: .25rem; max-width: 7ch; }
@media (max-width: 767px) {
  .hf-arequipa .hero-title .script { white-space: normal; font-size: clamp(2rem, 9vw, 3rem); }
  .hf-seal { width: 84px; height: 84px; top: 6.6rem; right: 1rem; }
  .hf-seal b { font-size: 1.6rem; } .hf-seal span { font-size: .46rem; }
}

/* tarjetas con el tema de Arequipa */
[data-tema="arequipa"] .card-media::after {
  height: 24px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'%3E%3Cpath d='M0 1Q15 4 30 1T60 1' fill='none' stroke='%234a0d24' stroke-width='1'/%3E%3Cpolygon points='1,3 19,3 10,18' fill='%238f1f45'/%3E%3Cpolygon points='21,3 39,3 30,18' fill='%23f3efe6'/%3E%3Cpolygon points='41,3 59,3 50,18' fill='%23e0b040'/%3E%3C/svg%3E") repeat-x left top / 60px 20px;
}
[data-tema="arequipa"] .btn-add { background: #7f1a3c; border-color: #7f1a3c; }
[data-tema="arequipa"] .btn-add:hover { background: #e0b040; border-color: #e0b040; color: #1b2010; }
[data-tema="arequipa"] .cp-main { color: #7f1a3c; }
[data-tema="arequipa"] .filter.is-active { background: #7f1a3c; border-color: #7f1a3c; }
[data-tema="arequipa"] .card:hover { box-shadow: 0 28px 48px -30px rgba(127,26,60,.45); }
.hf-patrias .hf-bunting { height: 100px; }
@media (max-width: 767px) { .hf-patrias .hf-bunting { height: 78px; } .hf-patrias .hf-bunting rect { height: 78px; } }

/* Carril de destacados: mismo ancho y centro que el título y el resto de la página (antes quedaba pegado a la izquierda) */
.dest-rail { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; padding-inline: 0; scroll-padding-inline: 0; }
@media (max-width: 767px) { .dest-rail { width: 100%; padding-inline: 1rem; scroll-padding-inline: 1rem; } }

/* ---------- Pago en línea (Niubiz) y confirmación de pedido ---------- */
.ck { padding: 7.5rem var(--pad) 3rem; }
.ck-wrap { width: min(100% - 2rem, 1040px); margin-inline: auto; }
.ck-wrap h1 { font-family: var(--ff-display, inherit); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; margin: .4rem 0 1.6rem; }
.ck-back { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.ck-back svg { width: 1em; height: 1em; }
.ck-back:hover { color: var(--azul); }
.ck-empty { text-align: center; padding: 3rem 1rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; gap: 1rem; justify-items: center; }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.ck-form, .ck-summary { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.3rem; }
.ck-summary { position: sticky; top: 6rem; }
.ck-summary h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.ck-form fieldset { border: 0; margin-bottom: 1.2rem; min-width: 0; }
.ck-form legend { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); margin-bottom: .8rem; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ck-form .cf-field input, .ck-form .cf-field textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.ck-form .cf-field textarea { resize: vertical; min-height: 3.4rem; }
.ck-form .cf-field input:focus, .ck-form .cf-field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(65,107,71,.25); }
.ck-check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; margin: -.3rem 0 .8rem; cursor: pointer; }
.ck-check input { width: auto; }
.ck-loc { font-size: .9rem; margin-bottom: .8rem; }
.ck-link { background: none; border: 0; color: var(--azul); text-decoration: underline; cursor: pointer; }
.ck-options { display: grid; gap: .5rem; margin-bottom: 1rem; }
.ck-opt { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.ck-opt.is-on { border-color: var(--azul); box-shadow: 0 0 0 2px rgba(65,107,71,.2); }
.ck-opt b { display: block; font-size: .92rem; }
.ck-opt small { display: block; color: var(--ink-mute); font-size: .78rem; margin-top: .1rem; }
.ck-opt em { font-style: normal; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.ck-error { color: #a1281c; font-size: .88rem; min-height: 1.2rem; margin-bottom: .5rem; }
.ck-pay { width: 100%; justify-content: center; font-size: 1rem; }
.ck-pay:disabled { opacity: .55; cursor: not-allowed; }
.ck-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .78rem; color: var(--ink-mute); margin-top: .8rem; }
.ck-note svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .1em; }
.ck-note:empty { display: none; }
.ck-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.ck-lines em { display: block; font-style: normal; color: var(--ink-mute); font-size: .78rem; }
/* ---- "Mis pedidos": una tarjeta por pedido, con el avance del estado ---- */
.ord-card { position: static; margin-bottom: 1rem; }
.ord-card:last-child { margin-bottom: 0; }
.ord-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.ord-steps { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0; }
.ord-step { font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: .4rem .8rem; border-radius: 999px; background: var(--line-2); color: var(--ink-mute); }
.ord-step.on { background: var(--green); color: #fff; }
.ck-totals { margin-top: .8rem; }
.ck-totals div { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .92rem; }
.ck-totals .tot { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-size: 1.1rem; font-weight: 700; }
.ck-shipnote { font-size: .8rem; color: var(--ink-mute); margin-top: .6rem; }
.ck-result { text-align: center; }
.ck-result .ck-summary { text-align: left; margin: 1.6rem auto; max-width: 560px; position: static; }
.ck-lead { max-width: 560px; margin: 0 auto; line-height: 1.6; }
.ck-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; color: #fff; }
.ck-badge svg { width: 30px; height: 30px; }
.ck-badge.ok { background: var(--azul); } .ck-badge.wait { background: #b8860b; } .ck-badge.bad { background: #a1281c; }
.ck-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
[data-cart-pay] { display: flex; justify-content: center; margin-bottom: .5rem; }
@media (max-width: 860px) { .ck-grid { grid-template-columns: 1fr; } .ck-summary { position: static; order: -1; } }
@media (max-width: 480px) { .ck-row { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies (mismo estilo de MBL Software en todos sus sitios) ---------- */
.cko-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 28px; align-items: center; padding: 22px 56px 18px 24px; background: var(--paper); color: var(--ink); border-top: 3px solid var(--azul); box-shadow: 0 -8px 30px rgba(0,0,0,.25); max-height: 85vh; overflow: auto; }
.cko-barra[hidden] { display: none; }
.cko-barra h2, .cko-panel h3 { font-size: 16px; margin: 0 0 6px; }
.cko-barra p, .cko-panel p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; max-width: 110ch; }
.cko-barra .cko-marca { grid-column: 1 / -1; }
.cko-opciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 6px; }
.cko-sw { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; position: relative; }
.cko-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cko-sw i { width: 46px; height: 26px; border-radius: 99px; background: #475569; position: relative; transition: background .15s; flex: 0 0 auto; }
.cko-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cko-sw input:checked + i { background: var(--azul); }
.cko-sw input:checked + i::after { transform: translateX(20px); }
.cko-sw input:focus-visible + i { outline: 2px solid var(--azul); outline-offset: 2px; }
.cko-sw input:disabled + i { opacity: .55; cursor: not-allowed; }
.cko-no span { opacity: .6; }
.cko-link { background: none; border: 0; color: var(--azul); font-weight: 700; cursor: pointer; padding: 0; font-size: 14px; }
.cko-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.cko-botones-col { flex-direction: column-reverse; min-width: 240px; }
.cko-btn { padding: 12px 18px; border-radius: 6px; border: 2px solid var(--azul); background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; flex: 1 1 0; font-family: inherit; }
.cko-btn-1 { background: var(--azul); color: var(--porcelana); }
.cko-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--ink); font-size: 20px; cursor: pointer; line-height: 1; padding: 6px; }
.cko-marca { display: inline-flex; flex-direction: column; line-height: 1.05; }
.cko-marca b { font-size: 17px; letter-spacing: -.3px; }
.cko-marca small { font-size: 10px; opacity: .75; margin-left: 24px; }
.cko-fondo { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cko-fondo[hidden] { display: none; }
.cko-modal { position: relative; width: min(900px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.45); overflow: hidden; }
.cko-cab { display: flex; justify-content: flex-end; align-items: center; padding: 14px 52px 10px 20px; }
.cko-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.cko-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 8px; font-weight: 700; color: var(--ink); cursor: pointer; font-family: inherit; }
.cko-tabs button.activa { color: var(--azul); border-bottom-color: var(--azul); }
.cko-panel { padding: 18px 26px 18px 22px; overflow: auto; flex: 1 1 auto; min-height: 220px; }
.cko-panel[hidden] { display: none; }
.cko-modal .cko-botones { padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.cko-id { background: var(--bg-2); padding: 10px 12px; border-radius: 6px; overflow-wrap: anywhere; }
body.cko-abierto { overflow: hidden; }
.cko-texto h2 { font-size: 16px; margin: 0 0 8px; }
.cko-texto p { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.cko-cols { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px -22px 0; }
.cko-col { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 8px; font-weight: 700; cursor: pointer; border-left: 1px solid var(--line); }
.cko-col:first-child { border-left: 0; }
.cko-col.cko-no { cursor: default; }
.cko-col.cko-no > span:first-child { opacity: .6; }
.cko-cat { border-bottom: 1px solid var(--line); padding: 14px 0; }
.cko-cat > summary, .cko-prov > summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.cko-cat > summary::-webkit-details-marker, .cko-prov > summary::-webkit-details-marker { display: none; }
.cko-flecha { display: inline-block; width: 16px; font-size: 20px; line-height: 1; font-weight: 700; text-align: center; transition: transform .15s; }
details[open] > summary > .cko-flecha { transform: rotate(90deg); }
.cko-n { background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; font-size: 12px; font-weight: 700; }
.cko-sw-der { margin-left: auto; }
.cko-cat-desc { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.cko-vacio { margin: 10px 0 0 26px; font-size: 14px; }
.cko-prov { margin: 12px 0 0 26px; padding: 10px 12px; background: var(--bg-2); border-radius: 8px; }
.cko-prov > summary { font-weight: 700; }
.cko-prov-url { display: inline-block; margin: 8px 0 4px; font-size: 13px; color: var(--azul); }
.cko-item { border-top: 1px solid var(--line); padding: 10px 0 2px; }
.cko-item b { font-size: 14px; }
.cko-item p { margin: 2px 0 4px; font-size: 13px; line-height: 1.5; }
.cko-item small { font-size: 12px; color: var(--ink-mute); }
.cko-declarada { margin: 16px 0 0; font-size: 13px; color: var(--ink-mute); }
@media (max-height: 700px) {
  /* Pantallas bajas (laptop chica, celular en horizontal): la cabecera +
     pestañas + botones ya ocupan buena parte de los 700px, y dejar que
     solo .cko-panel haga scroll lo aplastaba a una franja muy angosta.
     En vez de eso, deja que sea TODA la ventana la que haga scroll. */
  .cko-modal { max-height: 94vh; overflow-y: auto; }
  .cko-panel { overflow: visible; flex: none; min-height: 0; }
}
@media (max-width: 760px) {
  .cko-barra { grid-template-columns: 1fr; padding: 18px 16px 14px; }
  .cko-botones-col { min-width: 0; flex-direction: column-reverse; }
  .cko-tabs button { font-size: 13px; padding: 12px 4px; }
  .cko-modal .cko-botones { flex-direction: column-reverse; }
  .cko-cols { grid-template-columns: repeat(2,1fr); }
  .cko-col:nth-child(3) { border-left: 0; }
  .cko-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cko-prov { margin-left: 0; }
}

/* ---------- Botón "Ver más en catálogo" bajo los destacados ---------- */
.dest-more { display: flex; justify-content: center; margin-top: 1.6rem; }
.nav .cat-inicio { padding: .45rem .95rem; font-size: .85rem; margin-right: .3rem; }
@media (max-width: 767px) { .nav .cat-inicio { display: none; } }
.destacados .dest-more .btn-ghost { --fg-btn: #fff; border-color: rgba(255, 255, 255, 0.6); }
.destacados .dest-more .btn-ghost:hover { background: #fff; color: var(--azul-tinta, #2a3a22); border-color: #fff; }

/* ---------- Cuenta de cliente (inicio de sesión con Google) ---------- */
.acc-btn { display: inline-flex; align-items: center; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--paper); white-space: nowrap; }
.acc-btn:hover { background: var(--ink); color: var(--paper); }
.acc-btn-menu { display: none; }
@media (max-width: 767px) { .acc-btn { display: none; } .acc-btn-menu { display: inline-flex; margin-top: .6rem; } }

/* ---------- Pantalla de acceso de clientes (dos columnas) ---------- */
.login-split { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--bg); overflow: hidden; padding-top: 7.5rem; box-sizing: border-box; }
.login-photo { position: absolute; inset: 0; overflow: hidden; background: #2a3a22; display: none; }
@media (min-width: 900px) { .login-photo { display: block; width: 50%; } }
.login-photo img { width: 100%; height: 100%; object-fit: cover; }
.login-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,58,34,.85), rgba(42,58,34,.05) 60%, transparent); }
.login-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem; color: #f6f1e4; }
.login-quote { font-family: var(--ff-display, Georgia, serif); font-style: italic; font-size: 2rem; margin: 0; }
.login-place { font-size: .9rem; opacity: .75; margin: .6rem 0 0; }
.login-form-wrap { position: relative; min-height: calc(100vh - 7.5rem); min-height: calc(100dvh - 7.5rem); display: flex; align-items: center; justify-content: center; padding: 3rem 1.4rem; overflow-y: auto; }
@media (min-width: 900px) { .login-form-wrap { margin-left: 50%; } }
.login-card { width: 100%; max-width: 380px; }
.login-logo img { height: 56px; width: auto; display: block; margin-bottom: 1.6rem; }
.login-card h1 { font-size: 1.9rem; margin: 0 0 .3rem; font-family: var(--ff-display, Georgia, serif); color: var(--ink); }
.login-sub { color: var(--ink-mute); font-size: .95rem; margin: 0 0 1.4rem; }
.login-tabs { display: flex; gap: .4rem; background: rgba(27,32,16,.06); border-radius: 999px; padding: .3rem; margin-bottom: 1.4rem; }
.login-tabs a { flex: 1; text-align: center; padding: .55rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.login-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.login-form { display: flex; flex-direction: column; gap: .9rem; }
.login-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.login-form input { border: 1px solid rgba(27,32,16,.18); border-radius: 12px; padding: .75rem .9rem; font-size: .98rem; background: #fff; color: var(--ink); }
.login-form input:focus { outline: none; border-color: #416B47; box-shadow: 0 0 0 3px rgba(65,107,71,.22); }
.login-hint { font-weight: 400; color: var(--ink-mute); font-size: .8rem; }
.login-submit { width: 100%; justify-content: center; margin-top: .3rem; }
.login-alt { font-size: .88rem; color: var(--ink-mute); margin-top: 1rem; }
.login-alt a { color: #416B47; font-weight: 600; }
.login-ok { background: rgba(65,107,71,.12); color: #2a4a2c; border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; margin-bottom: 1rem; }
.login-or { display: flex; align-items: center; gap: .8rem; color: var(--ink-mute); font-size: .8rem; margin: 1.4rem 0; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: rgba(27,32,16,.14); }
.login-google { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; border: 1px solid rgba(27,32,16,.18); background: #fff; border-radius: 12px; padding: .75rem; font-weight: 600; color: var(--ink); }
.login-google:hover { background: #f8f8f4; }
.login-back { margin-top: 1.6rem; font-size: .85rem; }
.login-back a { color: var(--ink-mute); }
