/**
 * VERSPORT — ESTILOS BASE
 *
 * Tema padre: Classic 2.1.1
 * PrestaShop: 8.2.7
 *
 * Este archivo contiene reglas generales y neutrales.
 * Los estilos específicos de componentes deben colocarse
 * en 30-components.css y los de la portada en pages/home.css.
 */

/* Modelo de caja coherente */

html {
  box-sizing: border-box;
  font-size: var(--versport-font-size-base, 16px);
  scroll-behavior: smooth;
}

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

/* Documento */

body {
  min-width: 320px;
  margin: 0;
  color: var(--versport-color-text, #222);
  background-color: var(--versport-color-background, #fff);
  font-size: 1rem;
  line-height: var(--versport-line-height-base, 1.5);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
 * Evita desbordamientos horizontales accidentales.
 * No fijamos una altura, ya que la web debe crecer verticalmente.
 */

html,
body {
  width: 100%;
  max-width: 100%;
}

/* Recursos multimedia */

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

img {
  height: auto;
}

/* Formularios */

button,
input,
select,
textarea {
  font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

/* Enlaces */

a {
  color: inherit;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.15em;
}

a,
button {
  transition:
    color var(--versport-transition-fast, 180ms ease),
    background-color var(--versport-transition-fast, 180ms ease),
    border-color var(--versport-transition-fast, 180ms ease),
    opacity var(--versport-transition-fast, 180ms ease),
    transform var(--versport-transition-fast, 180ms ease);
}

/* Tipografía */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  line-height: 1.15;
}

p:last-child {
  margin-bottom: 0;
}

/* Accesibilidad */

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* Elementos ocultos visualmente, pero accesibles */

.versport-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}
