/* IAhorro · tienda. Blanco, gris cálido para las fotos, tinta y el amarillo de la marca (rediseño 22-oct-2026). */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F8F8F6;
  --tile: #FFFFFF;   /* fondo de las fotos: blanco (27-oct, Rodrigo); era #F4F4F2. Las cajas llevan borde fino. */
  --ink: #111111;
  --ink-2: #333333;
  --muted: #606060;
  --line: #E6E6E3;
  --line-2: #D4D4CF;
  --yellow: #FFD21A;
  --yellow-2: #F0C400;
  --yellow-soft: #FFF6CC;
  --wa: #1DA851;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 17, 16, .04), 0 10px 30px -12px rgba(17, 17, 16, .14);
  --shadow-up: 0 1px 2px rgba(17, 17, 16, .05), 0 22px 50px -20px rgba(17, 17, 16, .30);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1440px;
  --gutter: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sin-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.ico-relleno { fill: currentColor; stroke: none; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.saltar:focus { left: 8px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.85rem); letter-spacing: -.045em; line-height: 1; }
.logo__ia { background: var(--yellow); color: var(--ink); padding: .16em .26em .14em; border-radius: .32em; letter-spacing: -.02em; }
.logo__txt { padding-left: 1px; }
.logo--claro { color: #fff; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 52px; padding: 0 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn--negro { background: var(--ink); color: #fff; }
.btn--negro:hover { background: #2A2A26; }
.btn--negro svg { transition: transform .25s var(--ease); }
.btn--negro:hover svg { transform: translateX(3px); }
.btn--amarillo { background: var(--yellow); color: var(--ink); }
.btn--amarillo:hover { background: var(--yellow-2); }
.btn--amarillo svg { transition: transform .2s var(--ease); }
.btn--amarillo:hover svg { transform: translateX(3px); }
.btn--linea { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.btn--linea:hover { background: var(--soft); }
.btn--linea-claro { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--linea-claro:hover { border-color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #179146; }
.btn--ancho { width: 100%; }
.btn--chico { height: 42px; padding: 0 1.1rem; font-size: .92rem; }
.btn.agregado { animation: latido .5s var(--ease); }
@keyframes latido { 40% { transform: scale(.95); } 100% { transform: scale(1); } }

.icono { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; transition: background-color .2s; }
.icono:hover { background: rgba(17, 17, 16, .06); }

/* ---------- barra de aviso y encabezado ---------- */
.aviso { background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: .01em; }
.aviso__in { display: flex; justify-content: center; align-items: center; gap: 10px; height: 32px; overflow: hidden; white-space: nowrap; }
.aviso__in svg { width: 17px; height: 17px; }
.aviso__sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .7); flex: none; }
@media (max-width: 560px) { .aviso__in > span:nth-last-child(-n+2) { display: none; } }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.hdr.con-sombra { border-bottom-color: var(--line); }
.hdr__in { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(240px, 450px) auto; grid-template-areas: "logo nav buscar acc"; align-items: center; gap: 28px; height: 84px; }
.hdr__menu { grid-area: menu; display: none; margin-left: -10px; }
.hdr__in > .logo { grid-area: logo; }
.hdr__nav { grid-area: nav; display: flex; justify-content: center; align-items: center; gap: 4px; min-width: 0; }
.hdr__nav > a { padding: 9px 14px; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background-color .15s; }
.hdr__nav > a:hover { background: rgba(17, 17, 17, .05); }
.hdr__nav > a.activo { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 8px 8px 2px 2px; }
.hdr__buscar { grid-area: buscar; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); color: var(--muted); transition: border-color .15s, background-color .15s; }
.hdr__buscar:focus-within { border-color: var(--ink); background: var(--surface); }
.hdr__buscar svg { width: 20px; height: 20px; }
.hdr__buscar input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: .98rem; color: var(--ink); }
.hdr__buscar input::placeholder { color: var(--muted); }
.hdr__buscar input::-webkit-search-cancel-button { display: none; }
.hdr__acc { grid-area: acc; display: flex; gap: 4px; margin-right: -8px; }
.bolsa { position: relative; }
.bolsa svg { width: 26px; height: 26px; }
.bolsa__n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .7rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }

@media (max-width: 1280px) { .hdr__in { gap: 14px; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 340px) auto; } .hdr__nav { gap: 0; } .hdr__nav > a, .hdr__cat-btn { padding-left: 9px; padding-right: 9px; font-size: .95rem; } }
@media (max-width: 1100px) {
  .hdr__in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "menu logo acc" "buscar buscar buscar"; height: auto; gap: 6px 8px; padding-top: 8px; padding-bottom: 10px; }
  .hdr__menu { display: inline-grid; }
  .hdr__nav { display: none; }
  .hdr__in > .logo { justify-self: start; }
  .hdr__buscar { height: 44px; }
  .hdr__buscar input { font-size: 16px; } /* menos de 16 px hace zoom en iPhone */
}

/* ---------- menú móvil y cajón (paneles laterales) ---------- */
.menu, .cajon { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.menu.abierto, .cajon.abierto { visibility: visible; pointer-events: auto; }
.menu__fondo, .cajon__fondo { position: absolute; inset: 0; background: rgba(17, 17, 16, .38); opacity: 0; transition: opacity .3s var(--ease); }
.abierto .menu__fondo, .abierto .cajon__fondo { opacity: 1; }

.menu__panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 86vw); background: var(--surface); padding: 16px 24px 32px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); }
.menu.abierto .menu__panel { transform: none; }
.menu__cab { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 12px; }
.menu__titulo { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 6px; font-weight: 600; }
.menu__panel > a { padding: 11px 0; font-size: 1.12rem; font-weight: 500; border-bottom: 1px solid var(--line); }

.cajon__panel { position: absolute; inset: 0 0 0 auto; width: min(440px, 100vw); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .38s var(--ease); box-shadow: var(--shadow-up); }
.cajon.abierto .cajon__panel { transform: none; }
.cajon__cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.cajon__cab h2 { font-size: 1.25rem; }
.cajon__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cajon__vacio { display: grid; gap: 18px; justify-items: start; padding: 32px 0; color: var(--muted); }
.cajon__pie { border-top: 1px solid var(--line); padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; background: var(--bg); }
.cajon__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cajon__total strong { font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cajon__nota { font-size: .8rem; color: var(--muted); text-align: center; }

.item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.item:last-child { border-bottom: 0; }
.item__img { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--tile); border: 1px solid var(--line); overflow: hidden; }
.item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.item__txt { display: grid; gap: 3px; min-width: 0; }
.item__txt > a { font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__txt > span { font-size: .85rem; color: var(--muted); }
.item__acc { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.item__aviso { display: block; margin-top: 6px; padding: 6px 8px; border-radius: var(--radius-sm); background: var(--yellow-soft); color: var(--ink); font-size: .8rem; line-height: 1.35; }
.item__aviso a { font-weight: 600; text-decoration: underline; }
.item__quitar { font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.item__quitar:hover { color: var(--ink); }
.item__sub { font-variant-numeric: tabular-nums; font-size: .95rem; }

.campo { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.campo input { height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); padding: 0 14px; font-size: 1rem; outline: 0; transition: border-color .2s; }
.campo input:focus { border-color: var(--ink); }

.entrega { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.entrega label { position: relative; }
.entrega input { position: absolute; opacity: 0; }
.entrega span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; cursor: pointer; background: var(--surface); transition: border-color .2s, background-color .2s; }
.entrega span svg { width: 19px; height: 19px; }
.entrega input:checked + span { border-color: var(--ink); background: var(--yellow-soft); }
.entrega input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }

/* ---------- cantidad ---------- */
.cantidad { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); }
.cantidad button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: var(--radius-sm); }
.cantidad button svg { width: 18px; height: 18px; }
.cantidad button:hover { background: rgba(17, 17, 16, .05); }
.cantidad input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: 1rem; -moz-appearance: textfield; outline: 0; }
.cantidad input::-webkit-inner-spin-button, .cantidad input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cantidad--chica { height: 34px; }
.cantidad--chica button { width: 32px; font-size: 1.05rem; }
.cantidad--chica span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }

/* ---------- portada: protagonista + dos al costado ---------- */
.portada { padding: 14px 0 0; }
.portada__grid { display: grid; gap: 14px; }
@media (min-width: 1024px) { .portada__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } .portada__grid--solo { grid-template-columns: 1fr; } }
.portada__main { display: grid; gap: 20px 28px; align-items: center; background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 36px) clamp(22px, 3.2vw, 44px); }
@media (min-width: 760px) { .portada__main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.antetitulo { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.portada h1 { font-size: clamp(2rem, 2.95vw, 3.4rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.portada h1 span { display: block; }
@media (min-width: 1100px) { .portada h1 span { white-space: nowrap; } }
.bajada { margin-top: 16px; font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 38ch; line-height: 1.5; }
.portada__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.portada__cta .btn { padding: 0 1.25rem; }
/* notebooks (1100-1439 px): un poco más de texto y botones algo más justos, para que queden en una fila */
@media (min-width: 1100px) and (max-width: 1439px) { .portada__main { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); } .portada__cta .btn { padding: 0 1rem; font-size: .93rem; } }
/* El protagonista: foto arriba y nombre/precio en su propia fila (nunca encima del producto). */
.portada__prod { display: grid; gap: 10px; align-content: center; }
.portada__prod img { width: 100%; height: clamp(220px, 24vw, 310px); object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.portada__prod .portada__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; max-width: none; padding-top: 0; }
.portada__prod:hover img, .portada__mini:hover img { transform: scale(1.03); }
.portada__cap { display: grid; gap: 4px; align-content: start; max-width: 15ch; padding-top: 6px; }
.portada__nombre { font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.portada__precio { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.portada__side { display: grid; gap: 14px; }
@media (min-width: 1024px) { .portada__side { grid-template-rows: 1fr 1fr; } }
@media (max-width: 1023px) { .portada__side { grid-template-columns: 1fr 1fr; } }
.portada__mini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; align-items: center; background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow: hidden; }
.portada__mini img { width: 100%; aspect-ratio: 1; max-height: 170px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.portada__mini .portada__cap { max-width: none; padding-top: 0; }
.portada__mini .portada__nombre { font-size: .95rem; }
.portada__mini .portada__precio { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
@media (min-width: 1024px) and (max-width: 1279px) { .portada__mini { grid-template-columns: 1fr; gap: 8px; } .portada__mini img { max-height: 110px; } }
@media (max-width: 759px) {
  .portada__prod img { height: auto; max-height: 260px; aspect-ratio: 1; }
  .portada__cap { max-width: none; }
  .antetitulo { letter-spacing: .08em; font-size: .72rem; }
}
@media (max-width: 559px) {
  .portada__mini { grid-template-columns: 1fr; padding: 12px; gap: 8px; align-content: start; }
  .portada__mini img { max-height: 120px; }
  .portada__mini .portada__nombre { font-size: .86rem; }
  .portada__mini .portada__precio { font-size: 1.2rem; }
}

/* franja de confianza */
.confianza-wrap { margin-top: 14px; }
.confianza { list-style: none; margin: 0; padding: 14px 6px; display: grid; gap: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.confianza li { display: flex; gap: 12px; align-items: center; padding: 0 16px; }
.confianza li > svg { width: 24px; height: 24px; color: var(--ink); }
.confianza strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.confianza span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 600px) and (max-width: 1099px) { .confianza { grid-template-columns: 1fr 1fr; gap: 14px 0; } }
@media (min-width: 1100px) { .confianza { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 14px 0; } .confianza li { justify-content: center; padding: 0 14px; } .confianza li + li { border-left: 1px solid var(--line-2); } }

/* ---------- secciones ---------- */
.seccion { padding: clamp(28px, 4vw, 48px) var(--gutter); }
.seccion__cab { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.seccion__cab h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.enlace-flecha { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; white-space: nowrap; }
@media (max-width: 559px) { .seccion__cab h2 { font-size: 1.35rem; } }
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.enlace-flecha svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.enlace-flecha:hover svg { transform: translateX(3px); }

/* ---------- familias ---------- */
.familias { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.familia { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px; padding-right: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.familia:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.familia__img { width: 76px; height: 76px; border-radius: 14px; background: var(--tile); overflow: hidden; flex: none; }
.familia__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.familia__txt { display: grid; gap: 2px; flex: 1; }
.familia__txt strong { font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; line-height: 1.25; }
.familia__txt span { font-size: .85rem; color: var(--muted); }
.familia__flecha { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); transition: background-color .25s; }
.familia__flecha svg { width: 18px; height: 18px; }
.familia:hover .familia__flecha { background: var(--yellow); }

/* ---------- grilla y tarjetas ---------- */
.grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.tarjeta { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.tarjeta:hover { border-color: var(--line-2); box-shadow: 0 8px 22px -14px rgba(17, 17, 17, .28); }
.tarjeta__img { display: block; aspect-ratio: 6 / 5; background: var(--tile); overflow: hidden; } /* overflow: que una foto vertical no estire la tarjeta */
.tarjeta__img img { width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.tarjeta__info { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; flex: 1; }
.tarjeta__nombre { font-size: .98rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta__nombre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tarjeta__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; }
.tarjeta__precio { font-weight: 800; font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.tarjeta__agregar { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--yellow); color: var(--ink); font-weight: 600; font-size: .94rem; transition: background-color .15s; }
.tarjeta__agregar svg { width: 19px; height: 19px; stroke-width: 2; }
.tarjeta__agregar:hover { background: var(--yellow-2); }
.tarjeta__agregar.agregado { animation: latido .5s var(--ease); }
@media (max-width: 719px) { .tarjeta__agregar { width: 100%; } .tarjeta__info { padding: 10px 10px 12px; } }
/* precio a consultar (servicios): sin monto, botón verde a WhatsApp en vez de "Agregar" */
.tarjeta__precio--consultar { font-weight: 600; font-size: .92rem; letter-spacing: -.01em; color: var(--ink-2); }
.tarjeta__agregar--wa { background: var(--wa); color: #fff; }
.tarjeta__agregar--wa:hover { background: #179146; }

/* agotado · éxito en ventas */
.sello { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.sello__punto { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }
.tarjeta .sello { position: relative; z-index: 2; font-size: .7rem; }
.tarjeta--agotado .tarjeta__img img { opacity: .5; filter: grayscale(.7); }
.tarjeta--agotado .tarjeta__precio { color: var(--muted); }
@media (max-width: 420px) { .tarjeta .sello { width: 100%; justify-content: center; font-size: .66rem; padding: 6px; } }
.agotado-aviso { display: grid; gap: 10px; justify-items: start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--yellow-soft); margin-top: 14px; }
.agotado-aviso p { color: var(--ink-2); font-size: .95rem; }
.ficha__precio--agotado { color: var(--muted); }

/* barra de compra fija (celular, cuando el botón principal queda fuera de la pantalla) */
.barra-compra { display: none; }
@media (max-width: 899px) {
  .barra-compra { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .barra-compra.visible { transform: none; }
  .barra-compra__txt { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .barra-compra__txt span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barra-compra__txt strong { font-size: 1.15rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .barra-compra__txt .barra-compra__consultar { font-size: .95rem; letter-spacing: -.01em; } /* sin monto: que quepa en una línea */
  .barra-compra .btn { height: 46px; padding: 0 1.2rem; }
  body.con-barra .chat { bottom: calc(80px + env(safe-area-inset-bottom)); transition: bottom .3s var(--ease); }
}
@media (max-width: 520px) { body.con-barra .chat__panel { bottom: calc(152px + env(safe-area-inset-bottom)); } }

.sin-foto { display: grid; place-items: center; width: 100%; height: 100%; opacity: .5; font-weight: 800; font-size: 1.6rem; }

/* ---------- cómo comprar ---------- */
.como { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 80px) 0; margin-top: clamp(20px, 3vw, 40px); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: paso; }
@media (min-width: 820px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pasos li { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pasos__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); font-weight: 700; margin-bottom: 22px; }
.pasos h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pasos p { color: var(--muted); font-size: .96rem; }

/* ---------- respaldo ---------- */
.respaldo { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 48px); margin-top: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.respaldo__ico { width: 64px; height: 64px; border-radius: 18px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.respaldo__ico svg { width: 30px; height: 30px; }
.respaldo h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 8px; }
.respaldo p { color: rgba(255, 255, 255, .72); max-width: 60ch; }
@media (max-width: 820px) { .respaldo { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- catálogo ---------- */
.cabecera { padding-top: clamp(28px, 4vw, 52px); padding-bottom: 8px; }
.cabecera h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
.cabecera__n { margin-top: 10px; color: var(--muted); }
.cabecera--centro { text-align: center; display: grid; justify-items: center; gap: 0; padding-top: clamp(56px, 8vw, 110px); padding-bottom: 40px; }
.cabecera--centro .bajada { margin: 18px auto 30px; }
.cabecera--doc { max-width: 860px; }
.migas { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.migas a:hover { color: var(--ink); }
.migas [aria-current] { color: var(--ink-2); }
.migas--ficha { padding-top: 24px; margin-bottom: 20px; }

.filtros { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 30px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); max-width: calc(100% + 2 * var(--gutter)); }
@media (min-width: 720px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; max-width: none; } }
/* celular: se deslizan; el borde desvanecido avisa que hay más */
@media (max-width: 719px) { .chips { padding-right: 48px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); } }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: .92rem; font-weight: 500; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.chip span { font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip.activo { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.activo span { color: rgba(255, 255, 255, .6); }
.orden select { height: 40px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; padding: 0 38px 0 16px; font-size: .92rem; font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer; }

.aviso-edad { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--yellow-soft); font-size: .9rem; color: var(--ink-2); margin-bottom: 24px; }
.aviso-edad svg { width: 20px; height: 20px; }

.vacio { padding: 48px 0 24px; color: var(--muted); display: grid; gap: 20px; justify-items: start; }
.vacio a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ---------- ficha de producto ---------- */
.ficha { display: grid; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 720px) { .ficha { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
@media (min-width: 900px) { .ficha { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.galeria { display: grid; gap: 12px; }
@media (min-width: 720px) { .galeria { position: sticky; top: 96px; } }
.galeria__principal { aspect-ratio: 1; border-radius: calc(var(--radius) + 6px); background: var(--tile); border: 1px solid var(--line); overflow: hidden; }
.galeria__principal img { width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; animation: aparecer .5s var(--ease); }
.galeria__miniaturas { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.galeria__miniaturas button { flex: none; width: 76px; height: 76px; border-radius: 14px; background: var(--tile); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.galeria__miniaturas button.activo { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.galeria__miniaturas img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
/* Zoom: lupa al pasar el mouse (computador) y visor a pantalla completa al tocar la foto (tienda.js). */
.galeria__principal { cursor: zoom-in; }
.galeria__principal img { transition: transform .25s var(--ease); }
.visor { position: fixed; inset: 0; z-index: 90; background: var(--surface); display: none; }
.visor.abierto { display: block; }
.visor__marco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 16px; cursor: zoom-in; }
.visor__marco img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visor__marco.zoom { display: block; overflow: auto; padding: 0; cursor: zoom-out; }
.visor__marco.zoom img { max-width: none; max-height: none; height: auto; }
.visor__btn { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.7rem; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow); }
.visor__cerrar { top: 12px; right: 12px; }
.visor__ant, .visor__sig { top: 50%; transform: translateY(-50%); }
.visor__ant { left: 12px; }
.visor__sig { right: 12px; }
.visor.una-foto .visor__ant, .visor.una-foto .visor__sig { display: none; }

.ficha__info { display: grid; gap: 14px; align-content: start; }
.ficha__fam { justify-self: start; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ficha__fam:hover { color: var(--ink); }
.ficha h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1.06; }
.ficha__precio { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.ficha__iva { font-size: .85rem; color: var(--muted); margin-top: -10px; }
.ficha__precio--consultar { font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.ficha__compra { display: flex; gap: 10px; margin-top: 14px; }
.ficha__compra .btn { flex: 1; }

.ventajas { list-style: none; margin: 12px 0 0; padding: 6px 0 0; display: grid; border-top: 1px solid var(--line); }
.ventajas li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ventajas li > svg { margin-top: 2px; color: var(--ink-2); }
.ventajas strong { display: block; font-weight: 600; font-size: .95rem; }
.ventajas span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }

.ficha__desc { margin-top: 18px; }
.ficha__desc h2 { font-size: 1.2rem; margin-bottom: 12px; }
.ficha__video { margin-top: 18px; }
.ficha__video h2 { font-size: 1.2rem; margin-bottom: 12px; }
.video-fachada { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); overflow: hidden; cursor: pointer; }
.video-fachada img { width: 100%; height: 100%; object-fit: cover; }
.video-fachada__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.video-fachada:hover .video-fachada__play, .video-fachada:focus-visible .video-fachada__play { transform: scale(1.08); }
iframe.video-fachada { cursor: auto; }
/* Video subido (MP4, casi siempre vertical): ancho de celular, centrado, con su portada hasta que le dan play */
.video-propio { display: block; width: 100%; max-width: 420px; max-height: 80vh; margin: 0 auto; border-radius: var(--radius); background: var(--ink); }

.texto { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.texto p + p, .texto p + ul, .texto ul + p { margin-top: 1em; }
.texto ul, .texto ol { margin: .4em 0 0; padding-left: 1.2em; }
.texto li { margin: .25em 0; }
.texto li::marker { color: var(--yellow-2); }
.texto a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.texto strong { color: var(--ink); font-weight: 600; }

.documento { max-width: 860px; padding-top: 20px; padding-bottom: clamp(56px, 7vw, 96px); }
.documento h2 { font-size: 1.3rem; color: var(--ink); margin: 2em 0 .6em; letter-spacing: -.025em; }
.documento h2:first-child { margin-top: .5em; }
.documento .btn { margin-top: 1.2em; }

.tarjetas-contacto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.tcontacto { display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none !important; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tcontacto:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.tcontacto svg { width: 26px; height: 26px; margin-bottom: 10px; color: var(--ink); }
.tcontacto strong { color: var(--ink); }
.tcontacto span { font-size: .92rem; color: var(--muted); }
.tcontacto--wa svg { color: var(--wa); }

/* ---------- pie ---------- */
.pie { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .94rem; }
.pie__in { display: grid; gap: 36px; }
@media (min-width: 860px) { .pie__in { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.pie__marca { display: grid; gap: 18px; justify-items: start; max-width: 340px; }
.pie__titulo { color: #fff; font-weight: 600; margin-bottom: 4px; }
.pie__col { display: grid; gap: 10px; align-content: start; }
.pie__col a:hover { color: #fff; }
.pie__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.pie__discreto:hover { color: #fff; } /* enlace chico a una familia oculta (ej: Publicidad) */

/* ---------- nos respaldan ---------- */
.aliados { padding-top: 4px; padding-bottom: clamp(52px, 6vw, 84px); text-align: center; }
.aliados__titulo { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.aliados__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px clamp(36px, 6vw, 76px); }
.aliado img { height: var(--h, 40px); width: auto; }
.aliado a { display: block; transition: opacity .2s, transform .25s var(--ease); }
.aliado a:hover { opacity: .85; transform: translateY(-2px); }
@media (max-width: 560px) { .aliados__lista { gap: 24px 34px; } .aliado img { height: calc(var(--h, 40px) * .8); } }

/* ---------- chat de WhatsApp ---------- */
.chat { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; }
.wa-flotante { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(29, 168, 81, .6); transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.wa-flotante:hover { transform: scale(1.06); }
.wa-flotante::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa); opacity: 0; animation: pulso 2.4s var(--ease) 1.5s 3; pointer-events: none; }
@keyframes pulso { 0% { opacity: .7; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
.wa-flotante__ico { position: absolute; display: grid; place-items: center; transition: opacity .2s, transform .3s var(--ease); }
.wa-flotante__ico svg { width: 28px; height: 28px; }
.wa-flotante__ico--cerrar { opacity: 0; transform: rotate(-90deg) scale(.6); }
.wa-flotante__ico--cerrar svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 2; }
.chat.abierto .wa-flotante { background: var(--ink); box-shadow: var(--shadow-up); }
.chat.abierto .wa-flotante::after { display: none; }
.chat.abierto .wa-flotante__ico--wa { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.abierto .wa-flotante__ico--cerrar { opacity: 1; transform: none; }

.chat__panel { position: absolute; right: 0; bottom: 74px; width: 360px; background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-up), 0 0 0 1px rgba(17, 17, 16, .06); transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transition: opacity .22s var(--ease), transform .28s var(--ease), visibility 0s .28s; }
.chat.abierto .chat__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .28s var(--ease); }
.chat__cab { display: flex; align-items: center; gap: 12px; padding: 14px 8px 14px 16px; background: var(--ink); color: #fff; }
.chat__cab .icono:hover { background: rgba(255, 255, 255, .1); }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 800; letter-spacing: -.03em; flex: none; }
.chat__quien { display: grid; flex: 1; line-height: 1.3; }
.chat__quien strong { font-weight: 600; }
.chat__quien span { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.chat__cuerpo { display: grid; gap: 14px; padding: 18px 16px 12px; background: var(--bg); }
.chat__burbuja { justify-self: start; max-width: 90%; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface); border: 1px solid var(--line); font-size: .93rem; line-height: 1.45; animation: aparecer .4s var(--ease) both; }
.chat__rapidas { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__rapidas button { height: 34px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: .84rem; font-weight: 500; transition: border-color .2s, background-color .2s; }
.chat__rapidas button:hover { border-color: var(--ink); background: var(--yellow-soft); }
.chat__pie { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 12px 14px; background: var(--bg); border-top: 1px solid var(--line); }
.chat__pie textarea { flex: 1; min-width: 0; resize: none; max-height: 120px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); font-size: .95rem; line-height: 1.35; outline: 0; transition: border-color .2s; }
.chat__pie textarea:focus { border-color: var(--ink); }
.chat__enviar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; transition: background-color .2s; }
.chat__enviar:hover { background: #179146; }
.chat__enviar svg { width: 20px; height: 20px; }
@media (max-width: 520px) {
  .chat { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .chat__panel { position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); width: auto; }
  .chat__pie textarea { font-size: 16px; } /* menos de 16 px hace zoom en iPhone */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* stock real bajo: "¡Quedan N!" */
.quedan { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.quedan--ficha { margin: 2px 0 0; justify-self: start; font-size: .85rem; padding: 5px 12px; }


/* seminuevos */
.etiqueta-estado { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; box-shadow: var(--shadow); }

.ficha__estado { display: grid; gap: 8px; justify-items: start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: var(--surface); margin-top: -2px; }
.ficha__estado p { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.etiqueta-estado--ficha { background: var(--ink); color: var(--yellow); box-shadow: none; }
.chip--semi { border-color: var(--ink); }
.seccion__sub { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* cajón: cuentas, aviso y plan B */
.cajon__cuentas { display: grid; gap: 6px; }
.cajon__cuentas > div { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cajon__cuentas .cajon__total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); }
.cajon__despacho { display: grid; gap: 8px; }
.campo select { height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); padding: 0 10px; font-size: .95rem; min-width: 0; }
.cajon__falta { color: #8A1C1C; background: #FDECEC; border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; font-weight: 500; }
.cajon__planb { display: grid; gap: 8px; justify-items: start; padding: 12px; border-radius: var(--radius-sm); background: var(--yellow-soft); font-size: .88rem; color: var(--ink-2); }

/* ficha en celular: la barra de compra manda; el botón verde flotante sobra (ya está "Consultar por WhatsApp") */
@media (max-width: 899px) { .pagina-ficha .chat { display: none; } }
@media (max-width: 520px) { .wa-flotante { width: 50px; height: 50px; } .wa-flotante__ico svg { width: 25px; height: 25px; } .chat__panel { bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* el botón flotante tapaba el precio del producto principal de la portada en la primera pantalla ("$54.99") */
@media (max-width: 520px) { .portada__prod .portada__cap { padding-right: 56px; } }

/* nota de pago en el pedido: pagar al retirar es lo que más confianza da */
.cajon__nota--pago { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.cajon__nota--pago svg { width: 20px; height: 20px; color: var(--ink); margin-top: 1px; }
.cajon__nota--pago strong { color: var(--ink); }

/* quién vende (RUT visible): confianza para pagar */
.vendedor { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.vendedor svg { width: 18px; height: 18px; color: var(--ink-2); margin-top: 1px; }
.vendedor strong { color: var(--ink-2); font-weight: 600; }

/* liquidación */
.tarjeta > .etiquetas { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.etiqueta-liq { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; box-shadow: var(--shadow); }
.precio-liq { color: var(--ink); }
.precio-normal { color: var(--muted); font-weight: 500; font-size: .85em; text-decoration-thickness: 1.5px; margin-left: 4px; }
.mosaico__precio--liq { background: var(--yellow); }
.ficha__liq { display: grid; gap: 4px; justify-items: start; margin-top: 4px; }
.etiqueta-liq--ficha { box-shadow: none; margin-bottom: 4px; }
.ficha__precio--liq { margin-top: 0; }
.ficha__normal { font-size: .95rem; color: var(--ink-2); }
.ficha__normal s { color: var(--muted); }
.ficha__vigencia { font-size: .88rem; color: var(--ink-2); font-weight: 600; }

.chip--liq { border-color: var(--yellow-2); background: var(--yellow-soft); }
.barra-compra__txt .precio-normal { font-size: .78rem; }

/* desplegable "Categorías" del encabezado (escritorio) */
.hdr__nav { overflow: visible; }
.hdr__cat { position: relative; }
.hdr__cat-btn { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px 9px 14px; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); transition: background-color .15s; }
.hdr__cat-btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.hdr__cat-btn:hover { background: rgba(17, 17, 17, .05); }
.hdr__cat-btn.activo { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 8px 8px 2px 2px; }
.hdr__cat.abierto .hdr__cat-btn svg { transform: rotate(180deg); }
.hdr__cat-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 45; min-width: 260px; max-width: 560px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-up); }
.hdr__cat-panel a { padding: 10px 14px; border-radius: 12px; font-size: .95rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hdr__cat-panel a:hover { background: var(--yellow-soft); color: var(--ink); }
.hdr__cat-panel a.activo { background: var(--ink); color: #fff; }
.hdr__cat-panel a:first-child { grid-column: 1 / -1; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; margin-bottom: 4px; }

/* ficha: disponibilidad (sin cifras de stock) y estado */
.ficha__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ficha__meta:empty { display: none; }
.ficha__cond { font-size: .92rem; color: var(--ink-2); }
.ficha__cond strong { font-weight: 600; color: var(--ink); }
.ficha__disp { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.chat.escondido .wa-flotante { transform: translateY(150%); opacity: 0; pointer-events: none; }
.ficha__disp-punto { width: 9px; height: 9px; border-radius: 50%; background: #1F9D55; box-shadow: 0 0 0 3px rgba(31, 157, 85, .18); }

/* ---------- avisos por SMS ("avísame" y baja) ---------- */
.avisame { margin: clamp(24px, 4vw, 40px) 0; padding: 20px clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); display: grid; gap: 10px; max-width: 640px; }
.ficha__info .avisame { margin: 14px 0 0; padding: 16px 18px; border-radius: var(--radius-sm); }
.avisame h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.avisame__bajada { color: var(--ink-2); font-size: .95rem; }
.avisame__form { display: grid; gap: 8px; }
.avisame__fila { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.avisame__campo { flex: 1 1 180px; min-width: 0; }
.avisame__btn { height: 46px; padding: 0 1.2rem; flex: 0 0 auto; }
.avisame__btn:disabled { opacity: .6; cursor: default; }
.avisame__trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.avisame__msg { font-size: .9rem; min-height: 1.3em; color: var(--muted); }
.avisame__msg--ok { color: #14532D; font-weight: 600; }
.avisame__msg--error { color: #8A1C1C; font-weight: 500; }
.avisame__legal { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.avisame__legal a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.campo input[aria-invalid="true"] { border-color: #8A1C1C; }
@media (max-width: 480px) { .avisame__btn { width: 100%; } }

/* compartir (ficha): discreto, bajo los botones de compra */
.ficha__compartir { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 10px; padding: 6px 2px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.ficha__compartir svg { width: 16px; height: 16px; }
.ficha__compartir:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
