/* SauseStore — base compartida (página y sistema).
 * Materiales del mundo del tenis: cuero blanco, cuero negro, suela de goma y cartón de caja.
 * Colores provisionales hasta tener el logo y la paleta oficial de la tienda. */
:root {
  color-scheme: only light;
  --blanco: #FFFFFF;
  --tinta: #000000;
  --tinta-2: #4A4A4A;
  --tinta-3: #6B6B6B;
  --linea: #E3E2DF;
  --linea-2: #CFCDC8;
  --hundido: #F4F3F0;
  --goma: #B8742F;        /* suela de goma: acento y serie 1 de gráficos */
  --goma-tinta: #8A5220;  /* texto sobre fondo claro */
  --goma-suave: #F5EADC;
  --carton: #E2CFAE;      /* etiqueta de caja */
  --azul: #2A78D6;        /* serie 2 de gráficos */
  --ok: #1B7F3A;
  --peligro: #B42318;
  --peligro-suave: #FDECEA;
  --f: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--tinta); font: 400 16px/1.55 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; font-stretch: 75%; letter-spacing: -0.005em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--goma); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r); border: 1.5px solid var(--tinta); background: var(--tinta); color: var(--blanco); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #262626; }
.btn-2 { background: var(--blanco); color: var(--tinta); }
.btn-2:hover { background: var(--hundido); }
.btn-peligro { background: var(--blanco); color: var(--peligro); border-color: var(--peligro); }
.btn-peligro:hover { background: var(--peligro-suave); }
.btn-chico { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Corrida de tallas: el elemento distintivo. Cada casilla es una talla con su existencia. */
.corrida { display: flex; flex-wrap: wrap; gap: 4px; }
.talla { position: relative; display: grid; place-items: center; align-content: center; min-width: 46px; height: 46px; padding: 0 6px; border: 1.5px solid var(--tinta); border-radius: 4px; background: var(--blanco); line-height: 1.05; text-align: center; font-variant-numeric: tabular-nums; }
.talla b { font-size: 14px; font-weight: 700; font-stretch: 87.5%; }
.talla small { font-size: 11.5px; color: var(--tinta-2); }
.talla.bajo { background: var(--goma-suave); border-color: var(--goma); }
.talla.bajo small { color: var(--goma-tinta); font-weight: 700; }
.talla.agotada { border-color: var(--linea-2); background: var(--hundido); color: var(--tinta-3); }
.talla.agotada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .75px), var(--linea-2) calc(50% - .75px), var(--linea-2) calc(50% + .75px), transparent calc(50% + .75px)); pointer-events: none; }
.talla.agotada small { color: var(--tinta-3); }
button.talla { cursor: pointer; font: inherit; color: inherit; }
button.talla:not(:disabled):hover { background: var(--tinta); color: var(--blanco); }
button.talla:not(:disabled):hover small { color: #DDD; }
button.talla:disabled { cursor: not-allowed; }
.talla[aria-pressed="true"], .talla[aria-current="true"] { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.talla[aria-pressed="true"] small { color: #DDD; }
.corrida-chica .talla { min-width: 36px; height: 36px; }
.corrida-chica .talla b { font-size: 12.5px; }
.corrida-chica .talla small { font-size: 10.5px; }

.tenis { display: block; width: 100%; height: auto; }
