/* Karina Candles & Scents. Tokens de DESIGN.md. Movil primero. */
:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.975 0.012 8);
  --ink: oklch(0.24 0.03 8);
  --ink-2: oklch(0.42 0.03 8);
  --primary: oklch(0.56 0.21 8);
  --primary-ink: oklch(1 0 0);
  --primary-deep: oklch(0.44 0.19 8);
  --blush: oklch(0.93 0.045 8);
  --accent: oklch(0.72 0.11 150);
  --accent-deep: oklch(0.48 0.11 150);
  --line: oklch(0.9 0.012 8);
  --warn: oklch(0.7 0.16 70);
  --warn-ink: oklch(0.42 0.12 70);
  --error: var(--primary-deep);

  --display: "Young Serif", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --r-s: 12px; --r-m: 20px; --r-pill: 999px;
  --z-sticky: 10; --z-backdrop: 20; --z-sheet: 30; --z-toast: 40;
  --chrome-top: 56px; --chrome-bottom: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --sombra-hoja: 0 -8px 40px oklch(0.24 0.03 8 / 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--chrome-top) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.5 var(--text); font-optical-sizing: auto;
  padding-top: var(--chrome-top);
  padding-bottom: calc(var(--chrome-bottom) + env(safe-area-inset-bottom, 0px));
  overscroll-behavior-y: none;
}
img { display: block; max-width: 100%; }
a { color: var(--primary-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; max-width: 65ch; }
.display { font-family: var(--display); font-weight: 400; }
h1.display { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; }
h2.display { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenedor { width: min(100% - 32px, 1120px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- Cromo de cristal (barra superior, tab bar, hoja) ---------- */
.cromo {
  background: oklch(1 0 0 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.barra {
  position: fixed; inset: 0 0 auto 0; height: var(--chrome-top); z-index: var(--z-sticky);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  border-bottom: 1px solid oklch(1 0 0 / 0.55);
}
.barra::after { /* el contenido se desvanece bajo la barra, sin linea dura */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background: linear-gradient(oklch(1 0 0 / 0.55), transparent);
}
.marca { font-family: var(--display); font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.marca small { font-family: var(--text); font-size: 0.75rem; font-weight: 500; color: var(--primary-deep); letter-spacing: 0.01em; }
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky);
  height: calc(var(--chrome-bottom) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid oklch(1 0 0 / 0.55);
  box-shadow: 0 -1px 0 oklch(0.24 0.03 8 / 0.06);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 44px; text-decoration: none; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em;
  position: relative; -webkit-tap-highlight-color: transparent; transition: transform 100ms ease-out;
}
.tab:active { transform: scale(0.94); }
.tab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="page"] { color: var(--primary-deep); }
.tab[aria-current="page"] svg { stroke-width: 2.25; }
.tab .cuenta {
  position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--primary); color: var(--primary-ink); font-size: 0.75rem; font-weight: 600; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform 300ms var(--ease-out);
}
.tab .cuenta[data-n]:not([data-n="0"]) { transform: scale(1); }
@media (prefers-reduced-transparency: reduce) { .cromo { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (min-width: 900px) {
  :root { --chrome-bottom: 0px; }
  .tabbar { display: none; }
  .barra { padding: 0 max(16px, calc((100% - 1120px) / 2)); }
  .nav-escritorio { display: flex; gap: 24px; align-items: center; }
  .nav-escritorio a { text-decoration: none; color: var(--ink); font-weight: 500; }
  .nav-escritorio a:hover { color: var(--primary-deep); }
}
@media (max-width: 899px) { .nav-escritorio { display: none; } }

/* ---------- Botones, chips, etiquetas ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-s); border: 0; cursor: pointer;
  background: var(--primary); color: var(--primary-ink); font-weight: 600; text-decoration: none;
  transition: transform 100ms ease-out, background-color 150ms ease-out; -webkit-tap-highlight-color: transparent;
}
.boton:hover { background: var(--primary-deep); }
.boton:active { transform: scale(0.97); background: var(--primary-deep); }
.boton[disabled], .boton[aria-busy="true"] { opacity: 0.7; cursor: default; pointer-events: none; }
.boton.secundario { background: var(--bg); color: var(--primary-deep); border: 1px solid var(--primary); }
.boton.secundario:hover { background: var(--blush); }
.boton.ancho { width: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--blush); color: var(--primary-deep); font-size: 0.875rem; font-weight: 500;
  transition: transform 100ms ease-out, background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.chip:active { transform: scale(0.95); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--primary); color: var(--primary-ink); }
/* Chips de eleccion (aroma, color): envuelven en varias lineas en lugar de hacer scroll. */
.chips.envuelve { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
/* Muestra del color dentro del chip; el borde fino la separa del rosa del chip cuando el color es claro. */
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip .muestra { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px oklch(0.24 0.03 8 / 0.18); }
.chip[aria-checked="true"] .muestra { box-shadow: 0 0 0 2px var(--primary-ink); }
/* Colores disponibles bajo cada vela del catalogo */
.producto .colores { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 0.8125rem; color: var(--ink-2); }
.producto .colores i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px oklch(0.24 0.03 8 / 0.18); }
.personaliza { display: grid; gap: 18px; margin: 20px 0 4px; }
.personaliza:empty { display: none; }
.personaliza fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.personaliza legend { font-weight: 500; font-size: 0.9375rem; padding: 0; margin-bottom: 8px; }
.opciones-linea { font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.accion-fija .ayuda { flex-basis: 100%; margin: -4px 0 0; text-align: center; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); }
.accion-fija { flex-wrap: wrap; }
.etiqueta {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em;
}
.etiqueta.temporada { background: var(--blush); color: var(--primary-deep); }
.etiqueta.sobre_pedido { background: oklch(0.95 0.05 70); color: var(--warn-ink); }
.etiqueta.agotada { background: oklch(0.24 0.03 8 / 0.72); color: #fff; }
.etiqueta.cotiza { background: var(--surface); color: var(--ink); }
.precio { font-family: var(--display); font-size: 1.25rem; line-height: 1; color: var(--ink); }
.precio.grande { font-size: 1.75rem; }
/* 0.9.4: la foto trae varias piezas; el precio es de una */
.precio .cu { font-family: var(--text); font-size: .8125rem; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
.por-pieza { color: var(--ink-2); font-size: .9375rem; margin-top: 6px; }

/* ---------- Portada ---------- */
.hero { padding: 24px 0 8px; }
.hero h1 { margin-bottom: 10px; }
.hero p { color: var(--ink-2); font-size: 1.0625rem; }
.destacado {
  margin-top: 20px; display: grid; gap: 14px;
  grid-template-columns: 1fr; align-items: end;
}
.destacado .foto { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--surface); position: relative; }
.destacado .foto img { width: 100%; height: 100%; object-fit: cover; }
.destacado .foto .etiqueta { position: absolute; left: 12px; bottom: 12px; }
.destacado .texto h2 { margin-bottom: 6px; }
.destacado .texto p { color: var(--ink-2); margin: 6px 0 14px; }
.destacado .fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 700px) { .destacado { grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; } }

/* ---------- Cuadricula de productos (sin cards) ---------- */
.seccion { padding: 28px 0 8px; }
.seccion > h2 { margin-bottom: 14px; }
.cuadricula {
  display: grid; gap: 18px 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 600px) { .cuadricula { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 16px; } }
.producto { text-decoration: none; color: inherit; display: block; -webkit-tap-highlight-color: transparent; }
.producto .foto { aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: var(--surface); position: relative; }
.producto .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.producto:hover .foto img { transform: scale(1.03); }
.producto:active .foto { transform: scale(0.98); transition: transform 100ms ease-out; }
.producto .foto .etiqueta { position: absolute; left: 8px; bottom: 8px; }
.producto h3 { font-size: 1rem; font-weight: 600; line-height: 1.25; margin: 10px 0 2px; }
.producto .aroma { font-size: 0.875rem; color: var(--ink-2); }
.producto .precio { font-size: 1.0625rem; margin-top: 6px; }
.producto.grande { grid-column: span 2; }
.cuadricula.entrando .producto { animation: aparecer 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } }
.vacio { padding: 32px 0; color: var(--ink-2); }

/* ---------- Pagina de producto ---------- */
.ficha { padding-top: 8px; }
.ficha .foto { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--surface); margin: 0 -16px; border-radius: 0; }
.ficha .foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha .cuerpo { padding: 18px 0 100px; }
.ficha .cuerpo h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.ficha .meta { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.ficha .aroma { color: var(--ink-2); }
.ficha .descripcion { font-size: 1.0625rem; margin: 10px 0 18px; }
.ficha .nota { font-size: 0.9375rem; color: var(--ink-2); }
.accion-fija {
  position: fixed; left: 0; right: 0; bottom: calc(var(--chrome-bottom) + env(safe-area-inset-bottom, 0px)); z-index: var(--z-sticky);
  padding: 10px 16px 12px; display: flex; gap: 10px; align-items: center;
  border-top: 1px solid oklch(1 0 0 / 0.55);
}
.accion-fija .precio { flex: none; }
.accion-fija .boton { flex: 1; }
@media (min-width: 700px) {
  .ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-top: 24px; }
  .ficha .foto { margin: 0; border-radius: var(--r-m); }
  .ficha .cuerpo { padding-bottom: 24px; }
  .accion-fija { position: static; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--bg); cursor: pointer; font-size: 1.25rem; }
.stepper button:active { background: var(--blush); }
.stepper output { min-width: 36px; text-align: center; font-weight: 600; }

/* ---------- Hoja del carrito ---------- */
.scrim {
  position: fixed; inset: 0; z-index: var(--z-backdrop); background: oklch(0.24 0.03 8 / 0.35);
  opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out);
}
.scrim.visible { opacity: 1; pointer-events: auto; }
.hoja {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sheet);
  max-height: 86dvh; display: flex; flex-direction: column;
  background: oklch(1 0 0 / 0.86);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  border-radius: var(--r-m) var(--r-m) 0 0; box-shadow: var(--sombra-hoja);
  border-top: 1px solid oklch(1 0 0 / 0.6);
  transform: translateY(100%); will-change: transform; touch-action: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.hoja[aria-hidden="true"] { visibility: hidden; }
.hoja .asa { width: 36px; height: 5px; border-radius: 3px; background: oklch(0.24 0.03 8 / 0.25); margin: 10px auto 4px; }
.hoja header { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 20px 10px; }
.hoja header h2 { font-size: 1.4rem; }
.hoja header .quitar { background: none; border: 0; color: var(--primary-deep); font-weight: 500; cursor: pointer; padding: 8px 0; min-height: 44px; }
.hoja .lineas { overflow-y: auto; padding: 0 20px; touch-action: pan-y; overscroll-behavior: contain; }
.linea { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.linea:first-child { border-top: 0; }
.linea img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.linea .nombre { font-weight: 600; line-height: 1.25; }
.linea .sub { font-size: 0.875rem; color: var(--ink-2); }
.linea .quitar { background: none; border: 0; color: var(--ink-2); font-size: 0.875rem; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.hoja footer { padding: 12px 20px 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.hoja footer .total { display: flex; justify-content: space-between; align-items: baseline; }
.hoja .vacio { text-align: center; padding: 28px 20px 36px; }
@media (min-width: 900px) {
  .hoja { left: auto; right: 24px; bottom: 24px; width: 420px; border-radius: var(--r-m); max-height: 80vh; }
}
@media (prefers-reduced-transparency: reduce) { .hoja { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .hoja { transition: opacity 200ms ease; transform: none !important; opacity: 0; }
  .hoja.abierta { opacity: 1; }
  .cuadricula.entrando .producto { animation: none; }
  .pagina { transition: none !important; transform: none !important; }
}
.pagina { transition: transform 350ms var(--ease-out); transform-origin: 50% 0; }
.pagina.atras { transform: scale(0.96) translateY(-4px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--chrome-bottom) + env(safe-area-inset-bottom, 0px) + 16px); z-index: var(--z-toast);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 16px; border-radius: var(--r-s); border: 1px solid oklch(1 0 0 / 0.6);
  font-weight: 500; letter-spacing: 0.01em; box-shadow: 0 8px 24px oklch(0.24 0.03 8 / 0.14);
  transition: transform 350ms var(--ease-out), opacity 250ms ease; max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { margin-left: 8px; font-weight: 600; }

/* ---------- Formularios ---------- */
.formulario { display: grid; gap: 16px; max-width: 520px; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 500; font-size: 0.9375rem; }
.campo input, .campo textarea, .campo select {
  font: inherit; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--bg); color: var(--ink); width: 100%;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: oklch(0.5 0.02 8); }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.campo .error { display: none; font-size: 0.875rem; color: var(--error); }
.campo[data-invalido] input, .campo[data-invalido] textarea { border-color: var(--error); }
.campo[data-invalido] .error { display: block; }
.campo .ayuda { font-size: 0.875rem; color: var(--ink-2); }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opciones label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; }
.opciones label:has(input:checked) { border-color: var(--primary); background: var(--blush); color: var(--primary-deep); font-weight: 500; }
.opciones input { accent-color: var(--primary); width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; }
.resumen { background: var(--surface); border-radius: var(--r-m); padding: 16px; display: grid; gap: 8px; }
.resumen .fila { display: flex; justify-content: space-between; gap: 12px; }
.resumen .fila.total { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 600; }
.aviso { padding: 12px 14px; border-radius: var(--r-s); background: var(--blush); color: var(--primary-deep); font-size: 0.9375rem; }
.aviso.ok { background: oklch(0.95 0.04 150); color: var(--accent-deep); }

/* ---------- Confianza ---------- */
.lista-confianza { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.lista-confianza li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 0.9875rem; color: var(--ink-2); }
.lista-confianza li strong { color: var(--ink); font-weight: 600; }
.lista-confianza li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; background: oklch(0.95 0.04 150);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='oklch(0.48 0.11 150)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Secciones de portada: evento y Karina ---------- */
.evento { margin-top: 32px; padding: 24px; border-radius: var(--r-m); background: var(--primary); color: var(--primary-ink); }
.evento h2 { color: inherit; margin-bottom: 8px; }
.evento p { color: var(--primary-ink); margin-bottom: 16px; }
.evento .boton { background: var(--bg); color: var(--primary-deep); }
.evento .boton:hover { background: var(--blush); }
.karina { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: 96px 1fr; align-items: center; }
.karina img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.karina p { color: var(--ink-2); }
.karina .redes { display: flex; gap: 14px; margin-top: 6px; font-weight: 500; }
.pie { margin: 48px 0 16px; font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Legales (0.5.0) ---------- */
/* Pie con enlaces legales en todas las paginas; deja aire para la tabbar en movil. */
.pie-legal { display: grid; gap: 8px; padding-bottom: calc(var(--chrome-bottom) + 8px); }
.pie-legal nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.pie-legal a { color: var(--ink-2); text-underline-offset: 2px; min-height: 44px; display: inline-flex; align-items: center; }
/* Dato que Karina no ha llenado en el panel: visible a proposito, nunca escondido. */
mark.hueco { background: oklch(0.93 0.09 95); color: var(--warn-ink); padding: 0 4px; border-radius: 4px; font-weight: 500; }
/* Paginas de aviso y condiciones: medida de lectura y jerarquia por peso, sin tarjetas. */
.legal { padding-top: 16px; max-width: 68ch; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); text-wrap: balance; }
.legal h2 { font-family: var(--text); font-size: 1.0625rem; font-weight: 600; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; text-wrap: pretty; }
.legal p + p { margin-top: 8px; }
.legal ul, .legal ol { margin: 6px 0 0; padding-left: 1.25rem; display: grid; gap: 4px; }
.legal .actualizado { color: var(--ink-2); font-size: 0.875rem; margin-top: 6px; }
.legal a { color: var(--primary-deep); }
/* Antes de pagar: quien vende y el aviso corto, en tinta secundaria para no competir con el boton. */
.quien-vende { display: grid; gap: 2px; font-size: 0.875rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; }
.quien-vende strong { color: var(--ink); font-weight: 600; }
.aviso-corto { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.aviso-corto strong { color: var(--ink); font-weight: 600; }
.quien-vende a, .aviso-corto a, .formulario .ayuda a { color: var(--primary-deep); }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.casilla input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.seccion .nota { margin-top: 12px; font-size: 0.875rem; color: var(--ink-2); }
.seccion .nota a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.formulario > p.ayuda { font-size: 0.875rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Objetivos tactiles (0.6.0): 44 px en lo que se toca con el pulgar ---------- */
.marca { min-height: 44px; }
.karina .redes a { display: inline-flex; align-items: center; min-height: 44px; }
.ficha .volver { display: inline-flex; align-items: center; min-height: 44px; }
.linea .quitar { min-height: 44px; }
.chips.envuelve .chip { min-height: 44px; }
/* La etiqueta de estado vacia ocupaba lugar en el flex y sangraba el aroma. */
.ficha .meta > span:empty { display: none; }
.resumen > a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }

/* ---------- Foto "en casa" al pasar el puntero (0.7.0) ---------- */
.producto .foto .segunda { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms var(--ease-out), transform 500ms var(--ease-out); pointer-events: none; }
.producto .foto .etiqueta { z-index: 1; }
@media (hover: hover) { .producto:hover .foto .segunda[src] { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .producto .foto .segunda { transition: none; } }
.ficha .en-casa { margin: 20px 0 4px; display: grid; gap: 8px; }
.ficha .en-casa img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-m); background: var(--surface); }
.ficha .en-casa figcaption { font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Festividades en la portada (0.8.0) ---------- */
.destacados { margin-top: 20px; }
.temporada-titulo { font-weight: 600; color: var(--primary-deep); margin-bottom: 10px; font-size: 0.9375rem; }
.lista-destacados { display: grid; gap: 20px; }
.destacados .destacado { margin-top: 0; }
/* Varias protagonistas: se deslizan en el celular (se asoma la siguiente) y van en columnas en escritorio. */
.destacados.varios .lista-destacados {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch;
}
.destacados.varios .lista-destacados::-webkit-scrollbar { display: none; }
.destacados.varios .destacado { flex: 0 0 82%; scroll-snap-align: start; grid-template-columns: 1fr; align-items: start; align-content: start; }
.destacados.varios .texto h2 { font-size: 1.4rem; }
@media (min-width: 900px) {
  .destacados.varios .lista-destacados { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
}
