/**
 * VERSPORT — PORTADA
 *
 * PrestaShop: 9.1.4
 * Tema padre: Hummingbird 2.x
 *
 * Ancho máximo de referencia del diseño: 1920 px.
 *
 * La portada puede ocupar todo el ancho disponible.
 * Los contenidos interiores se limitarán posteriormente
 * según las medidas reales del PSD.
 */


/* ==========================================================
   ESTRUCTURA GENERAL DE LA HOME
   ========================================================== */

body#index {
  overflow-x: hidden;
}


/*
 * En templates/index.tpl sustituimos la clase "container"
 * de Hummingbird mediante el bloque container_class:
 *
 * {block name='container_class'}
 *   columns-container versport-home-layout
 * {/block}
 *
 * De esta forma la portada no queda limitada por Bootstrap.
 */
body#index .versport-home-layout {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}


/*
 * Hummingbird utiliza #center-column como contenedor
 * principal de la página.
 */
body#index #center-column {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/*
 * Contenedor específico de la portada de Hummingbird:
 *
 * #content.page-content.page-content--home
 */
body#index .page-content--home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/*
 * Wrapper propio de Versport definido en index.tpl.
 *
 * La web deja de crecer visualmente a partir de 1920 px.
 * En monitores superiores queda centrada.
 */
body#index .versport-home {
  width: 100%;
  max-width: var(--versport-site-max-width, 1920px);
  margin-right: auto;
  margin-left: auto;
}

/* ==========================================================
   HERO PRINCIPAL — VERSPORT
   ========================================================== */

body#index .versport-home {
  position: relative;
}


/* ==========================================================
   HERO
   ========================================================== */

body#index .versport-hero {
  position: relative;

  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  overflow: hidden;
}


body#index .versport-hero__carousel {
  position: relative;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;
}


/*
 * PSD:
 *
 * bloque superior completo:
 * 1920 × aproximadamente 1208 px
 */
body#index .versport-hero__slides {
  position: relative;

  width: 100%;

  height: min(62.917vw, 1208px);
  min-height: 820px;

  margin: 0;
  padding: 0;
}


body#index .versport-hero__slide {
  position: relative;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;
}


/* ==========================================================
   FIGURE
   ========================================================== */

/*
 * El figure deja de participar en el flujo vertical.
 *
 * Siempre ocupa exactamente el slide.
 *
 * Esto impide definitivamente que vuelva a aparecer
 * desplazado 1207 px hacia abajo.
 */
body#index .versport-hero__figure {
  position: absolute;

  z-index: 0;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;
}


/* ==========================================================
   IMAGEN
   ========================================================== */

body#index .versport-hero__image {
  position: absolute;

  z-index: 0;

  inset: 0;

  display: block;

  width: 100%;
  max-width: none;

  height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center top;
}


/*
 * No añadimos degradado adicional.
 */
body#index .versport-hero__figure::after {
  display: none;

  content: none;
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

body#index .versport-hero__content {
  position: absolute;

  z-index: 2;

  /*
   * PSD:
   *
   * x ≈ 96 px
   * y ≈ 328 px
   */
  top: 27.15%;
  left: 5%;

  right: auto;
  bottom: auto;

  width: min(627px, calc(100% - 64px));
  max-width: 627px;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;

  box-shadow: none;

  color: #fff;

  text-align: left;

  transform: none;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

body#index .versport-hero__title {
  width: 100%;
  max-width: 627px;

  margin: 0;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(44px, 3.15vw, 60px);

  font-weight: 400;
  line-height: 1.08;

  letter-spacing: -0.02em;

  text-align: left;
  text-transform: uppercase;
}


body#index .versport-hero__title-line {
  display: block;
}


body#index .versport-hero__title-line--accent {
  color: #ed1c24;

  font-weight: 600;
}


/* ==========================================================
   DESCRIPCIÓN
   ========================================================== */

body#index .versport-hero__description {
  width: 490px;
  max-width: 100%;

  margin-top: 34px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}


body#index .versport-hero__description,
body#index .versport-hero__description p {
  color: #fff;
}


body#index .versport-hero__description p {
  margin: 0;
}


/* ==========================================================
   CTA
   ========================================================== */

body#index .versport-hero__cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 284px;
  min-height: 75px;

  margin-top: 24px;
  padding: 0 24px;

  border: 0;
  border-radius: 0;

  background: #cd1719;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  text-align: center;
  text-decoration: none;
  text-transform: uppercase;

  transition: background-color 180ms ease;
}


body#index .versport-hero__cta:hover,
body#index .versport-hero__cta:focus {
  background: #b81417;

  color: #fff;

  text-decoration: none;
}


/* ==========================================================
   CONTROLES
   ========================================================== */

body#index .versport-hero__indicators,
body#index .versport-hero__control {
  display: none;
}

/* ==========================================================
   FRANJA DE BENEFICIOS
   ========================================================== */

/*
 * PSD:
 *
 * HERO completo:       1208 px
 * comienzo benefits:   1007 px
 * altura benefits:      201 px
 *
 * Por tanto, los benefits ocupan los últimos
 * 201 px de la fotografía.
 */
body#index .versport-benefits {
  position: relative;
  z-index: 5;

  width: 100%;
  height: 201px;

  margin-top: -201px;

  padding: 0;

  background: rgba(23, 0, 11, 0.72);
}


/*
 * Zona útil del PSD:
 *
 * x ≈ 48 px
 * derecha ≈ 48 px
 */
body#index .versport-benefits__inner {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  width: 100%;
  height: 100%;

  margin: 0 auto;

  padding-right: 48px;
  padding-left: 48px;
}


/* ==========================================================
   CADA BENEFICIO
   ========================================================== */

body#index .versport-benefits__item {
  display: flex;

  align-items: center;

  min-width: 0;
  height: 201px;

  margin: 0;

  padding: 0 20px;

  /*
   * Las divisiones del PSD son visuales,
   * pero no llevan borde blanco.
   */
  border: 0;
}


/* ==========================================================
   ICONO
   ========================================================== */

body#index .versport-benefits__icon {
  flex: 0 0 110px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 110px;

  margin-right: 18px;
}


body#index .versport-benefits__icon img {
  display: block;

  width: auto;
  max-width: 110px;

  height: auto;
  max-height: 107px;

  margin: 0;
  padding: 0;

  object-fit: contain;
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

body#index .versport-benefits__content {
  flex: 1 1 auto;

  min-width: 0;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

body#index .versport-benefits__title {
  margin: 0 0 14px;

  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;

  white-space: nowrap;

  text-transform: uppercase;
}


/* ==========================================================
   TEXTO
   ========================================================== */

body#index .versport-benefits__text {
  width: 100%;
  max-width: 210px;

  margin: 0;

  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================
   CATEGORÍAS PRINCIPALES
   ========================================================== */

/*
 * PSD:
 *
 * ancho total:  1920 px
 * altura:       ~800 px
 *
 * Cada tarjeta:
 * ~640 × 800 px
 * aspect-ratio = 4 / 5
 */
body#index .versport-categories {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: 1920px;

  margin: 0 auto;
  padding: 0;

  overflow: hidden;
}


/* ==========================================================
   TARJETA
   ========================================================== */

body#index .versport-categories__item {
  position: relative;

  min-width: 0;

  margin: 0;
  padding: 0;

  aspect-ratio: 4 / 5;

  overflow: hidden;
}


/* ==========================================================
   ENLACE
   ========================================================== */

body#index .versport-categories__link {
  position: relative;

  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  color: #fff;

  overflow: hidden;

  text-decoration: none;
}


body#index .versport-categories__link:hover,
body#index .versport-categories__link:focus {
  color: #fff;

  text-decoration: none;
}


/* ==========================================================
   FOTOGRAFÍA
   ========================================================== */

body#index .versport-categories__image {
  position: absolute;

  z-index: 0;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;

  transition: transform 400ms ease;
}


/*
 * Microinteracción.
 *
 * Muy discreta para no alterar la estética del PSD.
 */
body#index .versport-categories__link:hover
.versport-categories__image {
  transform: scale(1.025);
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

body#index .versport-categories__content {
  position: absolute;

  z-index: 2;

  top: 9%;
  left: 15%;

  width: 70%;
  max-width: 430px;

  margin: 0;
  padding: 0;

  color: #fff;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

body#index .versport-categories__title {
  margin: 0 0 34px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(24px, 2vw, 38px);
  font-style: italic;
  font-weight: 700;

  line-height: 1.05;

  letter-spacing: -0.02em;

  text-transform: uppercase;
}


body#index .versport-categories__title span {
  display: block;
}


body#index .versport-categories__title-accent {
  color: #ed1c24;
}


/* ==========================================================
   DESCRIPCIÓN
   ========================================================== */

body#index .versport-categories__description {
  margin: 0 0 25px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;

  line-height: 1.28;
}


/* ==========================================================
   CTA
   ========================================================== */

body#index .versport-categories__cta {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 13px;
  font-weight: 500;

  line-height: 1;

  text-transform: uppercase;
}


body#index .versport-categories__cta span {
  font-size: 20px;
  line-height: 0;
}


/* ==========================================================
   OSCURECIMIENTO SUAVE
   ========================================================== */

/*
 * Las fotografías del PSD ya vienen bastante preparadas
 * para recibir texto.
 *
 * Solo añadimos una pequeña protección local para conservar
 * legibilidad si las imágenes exportadas quedan más claras.
 */
body#index .versport-categories__link::after {
  position: absolute;

  z-index: 1;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0) 70%
  );

  content: "";

  pointer-events: none;
}

/* ==========================================================
   DEPORTES
   ========================================================== */

.versport-sports {
  width: 100%;
  max-width: 1920px;

  margin: 0 auto;
  padding: 0;

  background: #000;

  overflow: hidden;
}


/* ==========================================================
   GRID — 6 COLUMNAS × 2 FILAS
   ========================================================== */

.versport-sports__grid {
  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);

  width: 100%;

  min-height: 335px;

  margin: 0;

  padding: 18px 48px 20px;
}


/* ==========================================================
   ITEM
   ========================================================== */

.versport-sports__item {
  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  min-width: 0;

  margin: 0;

  padding: 8px 10px;

  color: #fff;

  text-align: center;
  text-decoration: none;
}


.versport-sports__item:hover,
.versport-sports__item:focus {
  color: #fff;

  text-decoration: none;
}


/* ==========================================================
   ICONO
   ========================================================== */

.versport-sports__icon {
  display: block;

  width: auto;
  max-width: 82px;

  height: 72px;
  max-height: 72px;

  margin: 0 auto 11px;

  padding: 0;

  object-fit: contain;
}


/* ==========================================================
   TEXTO
   ========================================================== */

.versport-sports__label {
  display: block;

  margin: 0;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 15px;
  font-weight: 500;

  line-height: 1.1;

  white-space: nowrap;

  text-align: center;
  text-transform: uppercase;
}

/* ==========================================================
   TECNOLOGÍA
   PSD: 1920 × 603 px
   ========================================================== */

.versport-technology {
  position: relative;

  width: 100%;
  max-width: 1920px;

  /*
   * 603 / 1920 × 100 = 31.40625vw
   * A 1920 px: altura exacta 603 px
   */
  height: min(31.40625vw, 603px);

  margin: 0 auto;
  padding: 0;

  overflow: hidden;

  background: #000;
}


/* ==========================================================
   IMAGEN DE FONDO COMPLETA
   ========================================================== */

.versport-technology__background {
  position: absolute;
  z-index: 1;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;
}


/* ==========================================================
   TEXTO PRINCIPAL IZQUIERDO
   ========================================================== */

.versport-technology__intro {
  position: absolute;
  z-index: 3;

  /*
   * Referencia PSD sobre 1920 × 603
   */
  top: 15.25%;
  left: 5.1%;

  width: 405px;
  max-width: 22%;
}


.versport-technology__title {
  margin: 0 0 58px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 700;
  line-height: 1.13;

  letter-spacing: -0.015em;
  text-transform: uppercase;
}


.versport-technology__description {
  margin: 0 0 49px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.25;
}


.versport-technology__cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 390px;
  max-width: 100%;
  height: 76px;

  padding: 0 24px;

  border: 0;
  border-radius: 0;

  background: #ed1c24;

  color: #fff;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;

  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}


.versport-technology__cta:hover,
.versport-technology__cta:focus {
  background: #ca171d;

  color: #fff;
  text-decoration: none;
}


/* ==========================================================
   LISTAS DE CARACTERÍSTICAS
   ========================================================== */

.versport-technology__features {
  position: absolute;
  z-index: 3;

  display: flex;
  flex-direction: column;

  color: #fff;

  font-family: "Inter", sans-serif;
  font-size: clamp(11px, 0.73vw, 14px);
  font-weight: 600;
  line-height: 1;

  text-transform: uppercase;
}


.versport-technology__features--left {
  top: 14.5%;
  left: 36.1%;

  gap: 43px;
}


.versport-technology__features--right {
  top: 32.5%;
  right: 5.1%;

  gap: 41px;

  align-items: flex-end;
  text-align: right;
}

/* ==========================================================
   TECNOLOGÍA · INNOVACIÓN · DISEÑO
   PSD: 1920 × 492 px aprox.
   ========================================================== */

.versport-stats {
  position: relative;

  width: 100%;
  max-width: 1920px;

  /*
   * 492 / 1920 × 100 = 25.625vw
   */
  height: min(25.625vw, 492px);

  margin: 0 auto;
  padding: 52px 48px 38px;

  background: #000;

  color: #fff;

  overflow: hidden;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.versport-stats__heading {
  margin: 0 0 70px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(28px, 2.29vw, 44px);
  font-weight: 300;
  line-height: 1;

  letter-spacing: 0.025em;

  text-align: center;
  text-transform: uppercase;
}


.versport-stats__heading span {
  display: inline-block;

  margin-right: 19px;
  margin-left: 19px;

  color: #fff;
}


/* ==========================================================
   GRID
   ========================================================== */

.versport-stats__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  width: 100%;

  margin: 0;
  padding: 0 70px;
}


/* ==========================================================
   ELEMENTO
   ========================================================== */

.versport-stats__item {
  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  min-width: 0;

  margin: 0;
  padding: 0;

  text-align: center;
}


/* ==========================================================
   ICONO
   ========================================================== */

.versport-stats__icon {
  display: block;

  width: auto;
  max-width: 105px;

  height: 108px;
  max-height: 108px;

  margin: 0 auto 24px;
  padding: 0;

  object-fit: contain;
}


/* ==========================================================
   CIFRA
   ========================================================== */

.versport-stats__value {
  margin: 0 0 10px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(19px, 1.4vw, 27px);
  font-weight: 600;
  line-height: 1;

  text-transform: uppercase;
}


.versport-stats__value span {
  color: #ed1c24;
}


/* ==========================================================
   TEXTO SECUNDARIO
   ========================================================== */

.versport-stats__label {
  margin: 0;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(12px, 0.83vw, 16px);
  font-weight: 500;
  line-height: 1.15;

  text-transform: uppercase;
}

/* ==========================================================
   ENCUENTRA TU ÓPTICA
   PSD: 1920 × 472 px aprox.
   ========================================================== */

.versport-stores {
  position: relative;

  display: grid;

  /*
   * Según PSD:
   *
   * zona izquierda ≈ 652 px
   * fotografía      ≈ 1268 px
   */
  grid-template-columns:
    minmax(0, 34%)
    minmax(0, 66%);

  width: 100%;
  max-width: 1920px;

  /*
   * 472 / 1920 × 100 = 24.5833vw
   *
   * A 1920 px:
   * altura = 472 px
   */
  height: min(24.5833vw, 472px);

  margin: 0 auto;
  padding: 0;

  background: #000;

  overflow: hidden;
}


/* ==========================================================
   BLOQUE DE TEXTO
   ========================================================== */

.versport-stores__content {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
  justify-content: flex-start;

  height: 100%;

  /*
   * PSD:
   * x ≈ 96 px
   * y ≈ 46 px
   */
  padding:
    46px
    40px
    38px
    96px;

  background: #000;

  color: #fff;
}


/* ==========================================================
   ENTRADILLA ROJA
   ========================================================== */

.versport-stores__eyebrow {
  margin: 0 0 38px;
  padding: 0;

  color: #ed1c24;

  font-family: "Inter", sans-serif;

  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 700;
  line-height: 1;

  text-transform: uppercase;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.versport-stores__title {
  margin: 0 0 28px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(27px, 1.72vw, 33px);
  font-weight: 700;
  line-height: 1.12;

  letter-spacing: -0.02em;
}


/* ==========================================================
   DESCRIPCIÓN
   ========================================================== */

.versport-stores__description {
  margin: 0 0 36px;
  padding: 0;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 400;
  line-height: 1.3;
}


/* ==========================================================
   CTA
   ========================================================== */

.versport-stores__cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  /*
   * Aproximación PSD:
   * ~392 × 74 px
   */
  width: 392px;
  max-width: 100%;

  height: 74px;

  margin: 0;
  padding: 0 24px;

  border: 0;
  border-radius: 0;

  background: #ed1c24;

  color: #fff;

  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;

  text-align: center;
  text-decoration: none;
  text-transform: uppercase;

  transition: background-color 180ms ease;
}


.versport-stores__cta:hover,
.versport-stores__cta:focus {
  background: #c9161d;

  color: #fff;

  text-decoration: none;
}


/* ==========================================================
   FOTOGRAFÍA
   ========================================================== */

.versport-stores__visual {
  position: relative;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;
}


.versport-stores__image {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;
}

/* ==========================================================
   HEADER VERSPORT — HOME
   ========================================================== */

body#index #header {
  position: absolute;
  z-index: 100;

  top: 0;
  right: 0;
  left: 0;

  width: 100%;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}


/* ==========================================================
   FRANJA OSCURA
   ========================================================== */

body#index .versport-header {
  position: relative;

  width: 100%;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}


body#index .versport-header::before {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 0;
  left: 0;

  height: 92px;

  background: rgba(0, 0, 0, 0.58);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);

  content: "";
}


body#index .versport-header::after {
  position: absolute;
  z-index: 0;

  top: 92px;
  right: 0;
  left: 0;

  height: 22px;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0) 100%
  );

  content: "";
}


/* ==========================================================
   CONTENEDOR DEL HEADER
   ========================================================== */

body#index .versport-header__inner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;

  width: 100%;
  max-width: 1920px;
  height: 92px;

  margin: 0 auto;
  padding: 0 60px;
}


/* ==========================================================
   LOGO
   ========================================================== */

body#index .versport-header__logo {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;
}


body#index .versport-header__logo a {
  display: block;

  line-height: 0;
}


body#index .versport-header__logo-image {
  display: block;

  width: auto;
  max-width: 185px;

  height: auto;
  max-height: 38px;

  margin: 0;
  padding: 0;
}


/* ==========================================================
   NAVEGACIÓN
   ========================================================== */

/*
 * Esta zona ocupa todo el espacio libre entre
 * el logo y la cuenta del usuario.
 *
 * Sus elementos se colocan a la DERECHA.
 */
body#index .versport-header__navigation {
  display: flex;

  flex: 1 1 auto;

  align-items: center;
  justify-content: flex-end;

  min-width: 0;

  margin-left: 40px;
  padding: 0;
}


/*
 * IMPORTANTE:
 *
 * No aplicar aquí reglas genéricas a:
 *
 * .container
 * .row
 *
 * porque ps_mainmenu utiliza precisamente esas clases
 * dentro de sus submenús.
 */


/* ==========================================================
   MENÚ PRINCIPAL
   ========================================================== */

body#index .versport-header .ps-mainmenu--desktop {
  flex: 0 1 auto !important;

  width: auto !important;

  margin: 0 30px 0 auto !important;
  padding: 0 !important;
}


body#index .versport-header .ps-mainmenu__desktop {
  display: block !important;
}


body#index .versport-header .ps-mainmenu__tree {
  display: flex;

  align-items: center;

  gap: 38px;

  width: auto;

  margin: 0;
  padding: 0;

  list-style: none;
}


body#index .versport-header .ps-mainmenu__tree-item {
  position: relative;

  flex: 0 0 auto;

  margin: 0;
  padding: 0;
}


body#index .versport-header .ps-mainmenu__tree-item-wrapper {
  display: flex;

  align-items: center;

  margin: 0;
  padding: 0;
}


body#index .versport-header .ps-mainmenu__tree-link {
  display: inline-flex;

  align-items: center;

  margin: 0;
  padding: 0 !important;

  color: rgba(255, 255, 255, 0.88);

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}


body#index .versport-header .ps-mainmenu__tree-link:hover,
body#index .versport-header .ps-mainmenu__tree-link:focus,
body#index .versport-header .ps-mainmenu__tree-item.current
.ps-mainmenu__tree-link {
  color: #fff;

  opacity: 1;

  text-decoration: none;
}


/* ==========================================================
   ELIMINAR FLECHAS DE SUBMENÚ
   ========================================================== */

/*
 * Hummingbird crea un botón específico justo después
 * del enlace cuando ese elemento tiene hijos.
 *
 * Lo ocultamos visualmente pero el submenu continúa
 * funcionando con el comportamiento JS del módulo.
 */
body#index .versport-header
.ps-mainmenu__tree-dropdown-toggle {
  display: none !important;

  width: 0 !important;
  height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
}


body#index .versport-header
.ps-mainmenu__tree-dropdown-toggle::after {
  display: none !important;

  content: none !important;
}


/* ==========================================================
   SUBMENÚ
   ========================================================== */

/*
 * Hummingbird genera:
 *
 * .submenu
 *   .container
 *     .submenu__row
 *
 * No debemos comprimir ese .container.
 */
body#index .versport-header .submenu {
  min-width: 320px;

  color: #111;

  background: #fff;
}


/*
 * Le damos espacio suficiente para mostrar nombres
 * completos como "Men", "Women" o categorías más largas.
 */
body#index .versport-header .submenu > .container {
  width: auto !important;
  min-width: 320px !important;

  max-width: min(760px, calc(100vw - 40px)) !important;

  margin: 0 !important;
  padding: 18px 20px !important;
}


/*
 * Recuperamos aquí expresamente la estructura de Bootstrap
 * que no debemos modificar desde el header general.
 */
body#index .versport-header .submenu__row {
  display: flex !important;

  flex-wrap: nowrap;

  width: auto;

  margin: 0 !important;
}


body#index .versport-header .submenu__left {
  flex: 0 0 auto;

  width: auto !important;
  min-width: 180px;

  padding: 0 20px 0 0;
}


body#index .versport-header .submenu__right {
  flex: 1 1 auto;

  width: auto !important;
  min-width: 180px;

  padding: 0 0 0 20px;
}


body#index .versport-header .submenu__left-item,
body#index .versport-header .submenu .menu-item {
  white-space: nowrap;
}


/*
 * Separación entre elementos verticales del submenu.
 */
body#index .versport-header .submenu__left-item {
  display: block;

  min-width: max-content;

  padding: 9px 12px;

  color: #111;

  text-decoration: none;
}


body#index .versport-header .submenu__left-item:hover,
body#index .versport-header .submenu__left-item:focus {
  background: #f4f4f4;

  color: #111;
}


/* ==========================================================
   BUSCADOR
   ========================================================== */

/*
 * Normal:
 *
 *     MENÚ     [30px]   🔍
 *
 * Al abrir el buscador, el propio contenedor aumenta
 * hasta 280px y EMPUJA el menú hacia la izquierda.
 *
 * Así el input nunca se monta encima de la última
 * opción del menú.
 */
body#index .versport-header #_desktop_ps_searchbar {
  flex: 0 0 32px;

  display: flex !important;

  align-items: center;
  justify-content: flex-end;

  width: 32px;
  height: 36px;

  margin: 0 !important;
  padding: 0 !important;

  transition:
    flex-basis 220ms ease,
    width 220ms ease;
}


body#index .versport-header
#_desktop_ps_searchbar:has(.ps-searchbar__form:focus-within) {
  flex-basis: 280px;

  width: 280px;
}


body#index .versport-header .ps-searchbar {
  position: relative;

  width: 100%;
  height: 36px;

  margin: 0;
  padding: 0;
}


body#index .versport-header .ps-searchbar__form {
  position: relative;

  width: 100%;
  height: 36px;

  margin: 0;
  padding: 0;
}


/* ==========================================================
   ICONO LUPA NATIVO — OCULTO
   ========================================================== */

body#index .versport-header .ps-searchbar__magnifier {
  display: none !important;
}


/* ==========================================================
   ICONO LUPA — PNG
   ========================================================== */

body#index .versport-header .ps-searchbar__form::after {
  position: absolute;
  z-index: 4;

  top: 50%;
  right: 5px;

  width: 22px;
  height: 22px;

  background-image: url("../../img/header/search.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  content: "";

  transform: translateY(-50%);

  pointer-events: none;
}


/* ==========================================================
   INPUT DEL BUSCADOR
   ========================================================== */

body#index .versport-header .ps-searchbar__input {
  position: absolute;
  z-index: 2;

  top: 0;
  right: 0;

  width: 32px;
  height: 36px;

  margin: 0;
  padding: 0 36px 0 12px;

  border: 1px solid transparent;
  border-radius: 0;

  background: transparent;

  color: #fff;

  opacity: 0;

  box-shadow: none;

  cursor: pointer;

  transition:
    width 220ms ease,
    opacity 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}


body#index .versport-header
.ps-searchbar__form:focus-within
.ps-searchbar__input {
  width: 100%;

  border-color: rgba(255, 255, 255, 0.35);

  background: rgba(0, 0, 0, 0.90);

  opacity: 1;

  cursor: text;
}


body#index .versport-header
.ps-searchbar__input::placeholder {
  color: rgba(255, 255, 255, 0.70);
}


/*
 * No necesitamos la X de Hummingbird en este diseño.
 */
body#index .versport-header
.ps-searchbar__clear {
  display: none !important;
}


/* ==========================================================
   RESULTADOS DEL BUSCADOR
   ========================================================== */

body#index .versport-header
.ps-searchbar__dropdown {
  position: absolute;

  top: calc(100% + 8px);
  right: 0;

  width: 280px;

  background: #fff;

  color: #111;
}


/* ==========================================================
   CUENTA / LOGIN
   ========================================================== */

body#index .versport-header__account {
  flex: 0 0 32px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 32px;

  margin: 0 0 0 14px;
  padding: 0;
}


body#index .versport-header__account
#_desktop_ps_customersignin,
body#index .versport-header__account
.ps-customersignin,
body#index .versport-header__account
.header-block {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 32px;

  margin: 0;
  padding: 0;
}


/* ==========================================================
   OCULTAR TEXTO E ICONO NATIVO
   ========================================================== */

/*
 * El HTML real de Hummingbird utiliza exactamente:
 *
 * .header-block__title
 * .header-block__icon
 */
body#index .versport-header__account
.header-block__title {
  display: none !important;
}


body#index .versport-header__account
.header-block__icon {
  display: none !important;
}


/* ==========================================================
   BOTÓN / ENLACE DE CUENTA
   ========================================================== */

body#index .versport-header__account
.header-block__action-btn {
  display: block;

  width: 32px;
  height: 32px;

  margin: 0;
  padding: 0 !important;

  border: 0 !important;

  background-color: transparent;

  background-image: url("../../img/header/user.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;

  color: transparent !important;

  font-size: 0 !important;
  line-height: 0;

  text-decoration: none;

  box-shadow: none;
}


/*
 * Mantenemos accesible y funcional el enlace:
 * solamente eliminamos su representación visual nativa.
 */
body#index .versport-header__account
.header-block__action-btn:hover,
body#index .versport-header__account
.header-block__action-btn:focus {
  opacity: 0.82;

  text-decoration: none;
}


/* ==========================================================
   DROPDOWN DE USUARIO AUTENTICADO
   ========================================================== */

/*
 * IMPORTANTE:
 *
 * No ocultamos los textos internos del dropdown.
 * Solo hemos ocultado .header-block__title del botón.
 */
body#index .versport-header__account
.dropdown-menu {
  font-size: 14px;
  line-height: normal;
}


body#index .versport-header__account
.dropdown-menu .dropdown-item {
  color: #111;

  font-size: 14px;
  line-height: 1.3;

  text-indent: 0;
}