@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;1,9..144,400&family=Inter:wght@400;500;600&display=swap");

/* ============================================================================
   GLOBAL · Reset + fundamentos
============================================================================ */

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-texto);
  font-family: var(--fuente-cuerpo);
  font-size: var(--fs-body);
  line-height: var(--lh-cuerpo);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--color-acento);
  outline-offset: 3px;
}

.eyebrow {
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mas-amplio);
  text-transform: uppercase;
  color: var(--color-texto-tenue);
}

.u-oculto-visualmente {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.u-bloquear-scroll {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-borde-fuerte);
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* Layout raíz compartido por las páginas de la tienda */
.pagina {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contenedor {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--espacio-4);
}

@media (max-width: 640px) {
  .contenedor {
    padding-inline: var(--espacio-3);
  }
}