/* Base: reinicio, tipografía y sensación nativa (propuestas.md §7.6 · mobile-native). Igual en todos los proyectos. */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  scroll-padding-top: calc(var(--alto-cabecera) + var(--alto-riel) + env(safe-area-inset-top, 0px) + var(--e-3));
  scrollbar-gutter: stable;
  scrollbar-color: var(--c-linea) transparent;
}
body {
  margin: 0; min-height: 100dvh;
  background: var(--c-fondo); color: var(--c-texto);
  font: var(--t-base) / var(--lh-texto) var(--f-texto);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  caret-color: var(--c-fieltro);
}
::selection { background: var(--c-marca-seleccion); color: var(--c-texto); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, a, [role="button"], label { touch-action: manipulation; }
button, [role="button"], .chip, .dock, .tarjeta__abrir {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
input, select, textarea { font: inherit; font-size: max(16px, 1rem); color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.precio { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--c-fieltro); outline-offset: 3px; border-radius: var(--r-s); }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.icono { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
