/* KREA Showroom · base común (web, probador y panel) */
/* Fuentes servidas desde nuestro servidor (sin llamar a Google). Licencia SIL Open Font License 1.1: fuentes/LICENCIAS.md */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/instrument-serif.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; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fuentes/instrument-serif-italic.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; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fuentes/inter-tight.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 {
  --crema: #F6F2EA;
  --tinta: #1A1714;
  --tinta-suave: #5E5750;
  --acento: #B4532A;
  --vidrio: rgba(255, 255, 255, .55);
  --borde-vidrio: rgba(255, 255, 255, .8);
  --sombra: 0 10px 30px rgba(26, 23, 20, .12);
  --verde-ok: #2E9E5B;
  --rojo-error: #B3261E;
  --radio: 18px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --salida: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Sello «píldora» de la tienda: NOMBRE (&) NOMBRE dentro de una cápsula */
.pildora { display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px; border: 1.5px solid var(--tinta); border-radius: 999px;
  color: var(--tinta); text-decoration: none; font-family: var(--sans); font-size: .7rem; font-weight: 600; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.pildora span { letter-spacing: .32em; margin-right: -.32em; }
.pildora i { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 50%; background: var(--tinta); color: var(--crema);
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12rem; text-transform: none; padding-top: 2px; }
@media (max-width: 767px) { .pildora { height: 30px; gap: 7px; padding: 0 10px; font-size: .6rem; } .pildora i { width: 23px; height: 23px; font-size: .98rem; } }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }

.vidrio {
  background: var(--vidrio);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--borde-vidrio);
  box-shadow: var(--sombra);
}

.boton { text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em;
  border: 0; border-radius: 999px;
  background: var(--tinta); color: #fff; font-weight: 600;
  transition: transform 120ms var(--salida), opacity 200ms;
}
.boton:active { transform: scale(.97); }
.boton[disabled] { opacity: .45; cursor: not-allowed; }
.boton.claro { background: #fff; color: var(--tinta); border: 1px solid rgba(26,23,20,.15); }

.aviso-ia {
  font-size: .72rem; letter-spacing: .02em; color: var(--tinta-suave);
}

[hidden] { display: none !important; }

.solo-lector {
  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-duration: 0ms !important; animation-duration: 0ms !important; }
}
