/**
 * VERSPORT — PÁGINA DE CATEGORÍA
 * PrestaShop 9.1.x / Hummingbird 2.x
 * Referencia maestra: 1920 px.
 */

/* ==========================================================
   ESTRUCTURA GENERAL
   ========================================================== */

body#category {
  --versport-category-claim-desktop: 88px;
  overflow-x: hidden;
  background: #fff;
}

body#category #wrapper,
body#category .versport-category-layout,
body#category #content-wrapper,
body#category #center-column,
body#category .page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body#category .breadcrumb,
body#category #left-column,
body#category #right-column {
  display: none !important;
}

body#category #center-column {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

body#category .versport-category {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
  font-family: "Inter", sans-serif;
}

/* ==========================================================
   HEADER — MISMA VARIANTE VISUAL QUE PRODUCTO
   ========================================================== */

body#category #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;
}

body#category .versport-header--category {
  position: relative;
  width: 100%;
  height: 150px;
  min-height: 150px;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  border: 0;
  box-shadow: none;
}

body#category .versport-header--category::before,
body#category .versport-header--category::after {
  display: none !important;
  content: none !important;
}

body#category .versport-header--category .versport-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  height: 150px;
  margin: 0 auto;
  padding: 0 60px;
}

body#category .versport-header--category .versport-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

body#category .versport-header--category .versport-header__logo a {
  display: block;
  line-height: 0;
}

body#category .versport-header--category .versport-header__logo-image {
  display: block;
  width: auto;
  max-width: 250px;
  height: auto;
  max-height: 48px;
}

body#category .versport-header--category .versport-header__navigation {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
  margin: 0 30px 0 60px;
  padding: 0;
}

body#category .versport-header--category .ps-mainmenu--desktop {
  flex: 0 1 auto !important;
  width: auto !important;
  height: 100%;
  margin: 0 30px 0 auto !important;
  padding: 0 !important;
}

body#category .versport-header--category .ps-mainmenu__tree {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 38px);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

body#category .versport-header--category .ps-mainmenu__tree-item,
body#category .versport-header--category .ps-mainmenu__tree-item-wrapper {
  margin: 0;
  padding: 0;
}

body#category .versport-header--category .ps-mainmenu__tree-link {
  padding: 0 !important;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
}

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

body#category .versport-header--category .submenu {
  min-width: 320px;
  background: #fff;
  color: #111;
}

body#category .versport-header--category .submenu > .container {
  width: auto !important;
  min-width: 320px !important;
  max-width: min(760px, calc(100vw - 40px)) !important;
  margin: 0 !important;
  padding: 18px 20px !important;
}

body#category .versport-header--category .submenu__row {
  display: flex !important;
  flex-wrap: nowrap;
  width: auto;
  margin: 0 !important;
}

body#category .versport-header--category #_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#category .versport-header--category #_desktop_ps_searchbar:has(.ps-searchbar__form:focus-within) {
  flex-basis: 280px;
  width: 280px;
}

body#category .versport-header--category .ps-searchbar,
body#category .versport-header--category .ps-searchbar__form {
  position: relative;
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0;
}

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

body#category .versport-header--category .ps-searchbar__form::after {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 5px;
  width: 22px;
  height: 22px;
  background: url("../../img/header/search.png") center/contain no-repeat;
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

body#category .versport-header--category .ps-searchbar__input {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 32px;
  height: 36px;
  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#category .versport-header--category .ps-searchbar__form:focus-within .ps-searchbar__input {
  width: 100%;
  border-color: rgba(255,255,255,.35);
  background: rgba(0,0,0,.9);
  opacity: 1;
  cursor: text;
}

body#category .versport-header--category .ps-searchbar__clear {
  display: none !important;
}

body#category .versport-header--category .versport-header__account {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 100%;
  margin-left: 14px;
}

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

body#category .versport-header--category .versport-header__account .header-block__action-btn {
  display: block;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent url("../../img/header/user.png") center/22px 22px no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  box-shadow: none;
}

/* ==========================================================
   HERO DE CATEGORÍA — VERSPORT v17
   Misma geometría base que producto.
   Imagen fuente: 1920 × 1211 px.
   ========================================================== */

body#category .versport-category-hero {
  position: relative;
  width: 100%;
  max-width: none;
  height: min(63.125vw, 1212px);
  min-height: 760px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

body#category .versport-category-hero__picture {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body#category .versport-category-hero__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center top;
}

body#category .versport-category-hero--no-image {
  background:
    radial-gradient(circle at 70% 25%, rgba(121, 0, 39, .3), transparent 43%),
    #080709;
}

/* ----------------------------------------------------------
   Contenido editorial configurable desde el módulo GVO.
   Posicionado como en el PSD: bloque izquierdo dentro del Hero,
   por encima de la franja inferior de beneficios.
   ---------------------------------------------------------- */

body#category .versport-category-hero__editorial {
  position: absolute;
  z-index: 4;
  top: 12%;
  left: 2.85%;
  width: min(710px, 43%);
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: left;
}

body#category .versport-category-hero__claim {
  margin: 0 0 28px;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(44px, 3.25vw, 62px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

body#category .versport-category-hero__subtitle {
  margin: 0 0 52px;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

body#category .versport-category-hero__description {
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, .9vw, 17px);
  font-weight: 600;
  line-height: 1.5;
}

body#category .versport-category-hero__description,
body#category .versport-category-hero__description p,
body#category .versport-category-hero__description h2,
body#category .versport-category-hero__description h3 {
  color: #fff;
}

body#category .versport-category-hero__description > :last-child {
  margin-bottom: 0;
}

body#category .versport-category-hero__certifications {
  position: absolute;
  z-index: 4;
  left: 2.85%;
  bottom: 272px;

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

  width: min(533px, 43%);
  margin: 0;
  padding: 0;
}

body#category .versport-category-hero__certifications-image {
  display: block;
  width: min(533px, 100%);
  max-width: 100%;
  height: auto;
  max-height: 115px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left bottom;
}

/* ----------------------------------------------------------
   Franja inferior: misma altura y transparencia que producto.
   ---------------------------------------------------------- */

body#category .versport-category-hero__shade {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 203px;
  margin: 0;
  padding: 0;
  background: rgba(8, 0, 5, .76);
  pointer-events: none;
}

body#category .versport-category-benefits {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  height: 203px;
  margin: 0;
  padding: 0 48px;
}

body#category .versport-category-benefits__item {
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 20px 18px;
}

body#category .versport-category-benefits__icon {
  flex: 0 0 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body#category .versport-category-benefits__icon img {
  display: block;
  width: auto;
  max-width: 82px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

body#category .versport-category-benefits__content {
  min-width: 0;
}

body#category .versport-category-benefits__title {
  margin: 0 0 8px;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

body#category .versport-category-benefits__text {
  max-width: 230px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================
   CATÁLOGO
   ========================================================== */

body#category .versport-category-products {
  width: 100%;
  margin: 0;
  padding: 82px 0 104px;
  background: #fff;
}

body#category .versport-category-products__inner {
  width: calc(100% - 192px);
  max-width: 1728px;
  margin: 0 auto;
  padding: 0;
}

body#category .versport-category-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 520px));
  justify-content: center;
  gap: 56px 42px;
  width: 100%;
}

/* ==========================================================
   TARJETA DE PRODUCTO
   ========================================================== */

body#category .versport-category-product {
  min-width: 0;
  margin: 0;
  padding: 0;
}

body#category .versport-category-product__link {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Imagen lifestyle superior con corte inferior diagonal como en el PSD. */
body#category .versport-category-product__visual {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1.28 / 1 !important;
  overflow: hidden !important;
  background: #eee !important;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%) !important;
}

body#category .versport-category-product__visual picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body#category .versport-category-product__image,
body#category .versport-category-product__placeholder {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

body#category .versport-category-product__image {
  object-fit: cover !important;
  object-position: center top !important;
  image-rendering: auto !important;
}

body#category .versport-category-product__placeholder {
  background: #e9e9e9 !important;
}

body#category .versport-category-product__content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-height: 142px !important;
  padding: 14px 8px 0 !important;
  text-align: left !important;
}

body#category .versport-category-product__category {
  display: none !important;
}

body#category .versport-category-product__name {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(20px, 1.25vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.015em !important;
  text-transform: uppercase !important;
}

body#category .versport-category-product__description {
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #222 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body#category .versport-category-product__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body#category .versport-category-product__cta > span {
  display: inline-block !important;
  transform: translateY(-1px);
}

body#category .versport-category-products__pagination {
  margin-top: 70px;
}

body#category .versport-category-products__empty {
  padding: 80px 20px;
  text-align: center;
}

/* ==========================================================
   VERSPORT v19 — AJUSTE EDITORIAL PSD
   ========================================================== */

/*
 * PSD: slogan principal 24 pt, Inter SemiBold.
 * En CSS web 24pt equivale a 32px (96dpi), y 600 = SemiBold.
 */
@media (min-width: 992px) {
  body#category .versport-category-hero__claim {
    margin: 0 0 34px !important;
    font-family: "Inter", sans-serif !important;
    font-size: var(--versport-category-claim-desktop) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em !important;
  }

  body#category .versport-category-hero__subtitle {
    margin-bottom: 58px !important;
  }

  body#category .versport-category-hero__description {
    line-height: 1.45 !important;
  }

  /* Los logos quedan anclados a la parte baja del Hero,
     separados del bloque textual y alineados al mismo margen izquierdo. */
  body#category .versport-category-hero__certifications {
    z-index: 7 !important;
    left: 2.85% !important;
    bottom: 258px !important;
    width: min(533px, 43%) !important;
  }

  body#category .versport-category-hero__certifications-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(533px, 100%) !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 115px !important;
    object-fit: contain !important;
    object-position: left bottom !important;
  }
}

/* ==========================================================
   BLOQUE GAFAS DE PROTECCIÓN DEPORTIVA HOMOLOGADAS
   ========================================================== */

body#category .versport-category-intro {
  width: 100%;
  max-width: 1920px;
  min-height: 280px;
  margin: 0 auto;
  padding: 0;
  background: #000;
  color: #fff;
}

body#category .versport-category-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  margin: 0 auto;
  padding: 46px 96px 52px;
  text-align: center;
}

body#category .versport-category-intro__title {
  margin: 0 0 30px;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 1.65vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

body#category .versport-category-intro__description {
  width: 100%;
  max-width: 1540px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, .94vw, 18px);
  font-weight: 500;
  line-height: 1.48;
}

body#category .versport-category-intro__description,
body#category .versport-category-intro__description p {
  color: #fff;
}

body#category .versport-category-intro__description p {
  margin: 0;
}

/* ==========================================================
   VERSPORT v20 — ZONA INFERIOR DE CATEGORÍA
   PSD maestro: 1920 px
   ========================================================== */

/* ---------- COMPARAR MODELOS ---------- */
body#category .versport-category-compare {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 50px 0 60px;
  background: #fff;
  text-align: center;
}

body#category .versport-category-compare__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(395px, calc(100% - 40px));
  height: 76px;
  margin: 0;
  padding: 0 28px;
  background: #ed1c24;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

body#category .versport-category-compare__button:hover,
body#category .versport-category-compare__button:focus {
  background: #c9161d;
  color: #fff;
  text-decoration: none;
}

/* ---------- HOMOLOGACIONES ---------- */
body#category .versport-category-certifications {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 72px;
  background: #fff;
  color: #111;
}

body#category .versport-category-certifications__header {
  margin: 0 0 52px;
  padding: 0;
  text-align: center;
}

body#category .versport-category-certifications__title {
  margin: 0;
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 1.65vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

body#category .versport-category-certifications__accent {
  display: block;
  width: 97px;
  height: 9px;
  margin: 24px auto 0;
  background: #ed1c24;
}

body#category .versport-category-certifications__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: calc(100% - 192px);
  max-width: 1727px;
  min-height: 215px;
  margin: 0 auto;
  padding: 0;
  background: #f1f1f1;
}

body#category .versport-category-certifications__item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 28px;
  padding: 28px 34px;
}

body#category .versport-category-certifications__item + .versport-category-certifications__item {
  border-left: 1px solid rgba(0,0,0,.14);
}

body#category .versport-category-certifications__logo {
  flex: 0 0 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

body#category .versport-category-certifications__logo img {
  display: block;
  width: auto;
  max-width: 128px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
}

body#category .versport-category-certifications__content {
  min-width: 0;
}

body#category .versport-category-certifications__item-title {
  margin: 0 0 8px;
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

body#category .versport-category-certifications__item-text {
  margin: 0;
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.32;
}

/* ---------- TECNOLOGÍA VERSPORT: IMAGEN ÚNICA ---------- */
body#category .versport-category-technology {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 16px;
  background: #fff;
}

body#category .versport-category-technology__inner {
  width: calc(100% - 192px);
  max-width: 1727px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

body#category .versport-category-technology__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ---------- SERVICIOS ---------- */
body#category .versport-category-services {
  width: 100%;
  max-width: 1920px;
  min-height: 197px;
  margin: 0 auto;
  padding: 0 48px;
  background: #000;
  color: #fff;
}

body#category .versport-category-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-height: 197px;
  margin: 0;
  padding: 0;
}

body#category .versport-category-services__item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
  padding: 24px 22px;
}

body#category .versport-category-services__icon {
  flex: 0 0 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body#category .versport-category-services__item--shipping .versport-category-services__icon {
  flex-basis: 148px;
}

body#category .versport-category-services__icon img {
  display: block;
  width: auto;
  max-width: 112px;
  height: auto;
  max-height: 107px;
  object-fit: contain;
}

body#category .versport-category-services__item--shipping .versport-category-services__icon img {
  max-width: 148px;
}

body#category .versport-category-services__content {
  min-width: 0;
}

body#category .versport-category-services__title {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

body#category .versport-category-services__text {
  margin: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- ENCUENTRA TU ÓPTICA ---------- */
body#category .versport-category-stores {
  display: grid;
  grid-template-columns: minmax(0, 33.55%) minmax(0, 66.45%);
  width: 100%;
  max-width: 1920px;
  height: min(24.635vw, 473px);
  min-height: 360px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

body#category .versport-category-stores__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 48px 40px 38px 96px;
  background: #000;
  color: #fff;
}

body#category .versport-category-stores__eyebrow {
  margin: 0 0 28px;
  color: #ed1c24;
  font-family: "Inter", sans-serif;
  font-size: clamp(16px, 1.1vw, 21px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

body#category .versport-category-stores__title {
  margin: 0 0 23px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(25px, 1.7vw, 33px);
  font-weight: 700;
  line-height: 1.12;
}

body#category .versport-category-stores__description {
  max-width: 430px;
  margin: 0 0 30px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

body#category .versport-category-stores__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  max-width: 100%;
  min-height: 60px;
  padding: 0 22px;
  background: #ed1c24;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

body#category .versport-category-stores__visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body#category .versport-category-stores__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* ---------- RESPONSIVE NUEVOS BLOQUES ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  body#category .versport-category-certifications__grid,
  body#category .versport-category-technology__inner {
    width: calc(100% - 80px);
  }

  body#category .versport-category-certifications__item {
    gap: 14px;
    padding: 22px 16px;
  }

  body#category .versport-category-certifications__logo {
    flex-basis: 82px;
  }

  body#category .versport-category-certifications__logo img {
    max-width: 82px;
    max-height: 92px;
  }

  body#category .versport-category-services {
    padding: 0 28px;
  }

  body#category .versport-category-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0;
  }

  body#category .versport-category-stores {
    grid-template-columns: 1fr;
    height: auto;
  }

  body#category .versport-category-stores__content {
    padding: 42px 40px;
  }

  body#category .versport-category-stores__visual {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  body#category .versport-category-compare {
    padding: 34px 0 42px;
  }

  body#category .versport-category-compare__button {
    height: 60px;
  }

  body#category .versport-category-certifications {
    padding-bottom: 44px;
  }

  body#category .versport-category-certifications__header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  body#category .versport-category-certifications__title {
    font-size: 23px;
  }

  body#category .versport-category-certifications__accent {
    width: 64px;
    height: 6px;
    margin-top: 16px;
  }

  body#category .versport-category-certifications__grid,
  body#category .versport-category-technology__inner {
    width: calc(100% - 40px);
  }

  body#category .versport-category-certifications__grid {
    grid-template-columns: 1fr;
  }

  body#category .versport-category-certifications__item {
    min-height: 138px;
    padding: 22px 18px;
  }

  body#category .versport-category-certifications__item + .versport-category-certifications__item {
    border-top: 1px solid rgba(0,0,0,.14);
    border-left: 0;
  }

  body#category .versport-category-certifications__logo {
    flex-basis: 92px;
    min-height: 88px;
  }

  body#category .versport-category-certifications__logo img {
    max-width: 90px;
    max-height: 92px;
  }

  body#category .versport-category-services {
    min-height: 0;
    padding: 0 20px;
  }

  body#category .versport-category-services__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px 0;
  }

  body#category .versport-category-services__item {
    min-height: 128px;
    padding: 16px 8px;
  }

  body#category .versport-category-services__icon,
  body#category .versport-category-services__item--shipping .versport-category-services__icon {
    flex-basis: 96px;
  }

  body#category .versport-category-services__icon img,
  body#category .versport-category-services__item--shipping .versport-category-services__icon img {
    max-width: 94px;
    max-height: 90px;
  }

  body#category .versport-category-stores {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  body#category .versport-category-stores__content {
    padding: 42px 24px;
  }

  body#category .versport-category-stores__visual {
    min-height: 320px;
  }
}

/* ==========================================================
   VERSPORT v22 — CATEGORÍA: ENCUENTRA TU ÓPTICA
   Reutiliza el MISMO markup y la MISMA geometría desktop
   que el bloque de HOME (.versport-stores).
   ========================================================== */

body#category .versport-stores {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  width: 100%;
  max-width: 1920px;
  height: min(24.5833vw, 472px);
  margin: 0 auto;
  padding: 0;
  background: #000;
  overflow: hidden;
}

body#category .versport-stores__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: 46px 40px 38px 96px;
  background: #000;
  color: #fff;
}

body#category .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;
}

body#category .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;
}

body#category .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;
}

body#category .versport-stores__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
}

body#category .versport-stores__cta:hover,
body#category .versport-stores__cta:focus {
  background: #c9161d;
  color: #fff;
  text-decoration: none;
}

body#category .versport-stores__visual {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body#category .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;
}

/* ==========================================================
   VERSPORT v23 — AJUSTE FINAL PÁGINA DE CATEGORÍA
   Fuente de referencia: PSD 1920 × 4756.
   Esta hoja se carga con prioridad 950, después de
   90-responsive.css, para evitar solapamientos heredados.
   ========================================================== */

/* ----------------------------------------------------------
   HERO EDITORIAL — posición y tipografía según PSD
   PSD desktop 1920:
   - bloque x ≈ 96 px
   - slogan y ≈ 252 px
   - slogan ≈ 92 px, Inter SemiBold
   ---------------------------------------------------------- */
@media (min-width: 992px) {
  html body#category main.versport-category .versport-category-hero__editorial {
    top: 20.8% !important;
    left: 5% !important;
    width: min(680px, 40%) !important;
    max-width: 680px !important;
  }

  html body#category main.versport-category .versport-category-hero__claim {
    margin: 0 0 28px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(54px, 4.792vw, 92px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
    text-align: left !important;
    text-transform: uppercase !important;
  }

  html body#category main.versport-category .versport-category-hero__subtitle {
    margin: 0 0 72px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(22px, 1.667vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
  }

  html body#category main.versport-category .versport-category-hero__description {
    width: min(650px, 100%) !important;
    max-width: 650px !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Inter", sans-serif !important;
    font-size: clamp(14px, .938vw, 18px) !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
  }

  html body#category main.versport-category .versport-category-hero__certifications {
    left: 5% !important;
    bottom: min(15.885vw, 305px) !important;
    width: min(533px, 32%) !important;
    max-width: 533px !important;
    justify-content: flex-start !important;
  }

  html body#category main.versport-category .versport-category-hero__certifications-image {
    width: 100% !important;
    max-width: 533px !important;
    max-height: 115px !important;
    object-position: left bottom !important;
  }
}

/* ----------------------------------------------------------
   NUESTROS MODELOS
   ---------------------------------------------------------- */
body#category .versport-category-products {
  padding-top: 58px !important;
}

body#category .versport-category-products__header {
  width: 100%;
  margin: 0 auto 44px;
  padding: 0;
  text-align: center;
}

body#category .versport-category-products__title {
  margin: 0;
  padding: 0;
  color: #111;
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 2.083vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

body#category .versport-category-products__accent {
  display: block;
  width: 97px;
  height: 9px;
  margin: 18px auto 0;
  background: #ed1c24;
}

/* ----------------------------------------------------------
   COMPARAR MODELOS — botón real, no enlace de texto
   ---------------------------------------------------------- */
html body#category main.versport-category .versport-category-compare {
  width: 100% !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 34px 0 62px !important;
  background: #fff !important;
  text-align: center !important;
}

html body#category main.versport-category .versport-category-compare__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 395px !important;
  max-width: calc(100% - 40px) !important;
  height: 76px !important;
  min-height: 76px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ed1c24 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

html body#category main.versport-category .versport-category-compare__button:hover,
html body#category main.versport-category .versport-category-compare__button:focus {
  background: #c9161d !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ----------------------------------------------------------
   HOMOLOGACIONES — titular + raya roja según PSD
   ---------------------------------------------------------- */
html body#category main.versport-category .versport-category-certifications__header {
  width: calc(100% - 192px) !important;
  max-width: 1728px !important;
  margin: 0 auto 52px !important;
  padding: 0 !important;
  text-align: center !important;
}

html body#category main.versport-category .versport-category-certifications__title {
  margin: 0 !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(30px, 2.083vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.015em !important;
  text-transform: uppercase !important;
}

html body#category main.versport-category .versport-category-certifications__accent {
  display: block !important;
  width: 97px !important;
  height: 9px !important;
  margin: 18px auto 0 !important;
  background: #ed1c24 !important;
}

/* ----------------------------------------------------------
   ENCUENTRA TU ÓPTICA — MISMO COMPONENTE QUE HOME
   El TPL compartido usa las clases .versport-stores.
   ---------------------------------------------------------- */
html body#category main.versport-category .versport-stores {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 34%) minmax(0, 66%) !important;
  width: 100% !important;
  max-width: 1920px !important;
  height: min(24.5833vw, 472px) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: #000 !important;
  overflow: hidden !important;
}

html body#category main.versport-category .versport-stores__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 46px 40px 38px 96px !important;
  background: #000 !important;
  color: #fff !important;
}

html body#category main.versport-category .versport-stores__eyebrow {
  margin: 0 0 38px !important;
  padding: 0 !important;
  color: #ed1c24 !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(17px, 1.15vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body#category main.versport-category .versport-stores__title {
  margin: 0 0 28px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(27px, 1.72vw, 33px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
}

html body#category main.versport-category .versport-stores__description {
  margin: 0 0 36px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(14px, .94vw, 18px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

html body#category main.versport-category .versport-stores__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 392px !important;
  max-width: 100% !important;
  height: 74px !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ed1c24 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

html body#category main.versport-category .versport-stores__cta:hover,
html body#category main.versport-category .versport-stores__cta:focus {
  background: #c9161d !important;
  color: #fff !important;
  text-decoration: none !important;
}

html body#category main.versport-category .versport-stores__visual {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body#category main.versport-category .versport-stores__image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ----------------------------------------------------------
   TABLET / MÓVIL — conservación del responsive existente
   ---------------------------------------------------------- */
@media (max-width: 1199.98px) {
  html body#category main.versport-category .versport-stores {
    height: auto !important;
    min-height: 430px !important;
  }

  html body#category main.versport-category .versport-stores__content {
    padding-left: 48px !important;
  }
}

@media (max-width: 991.98px) {
  html body#category main.versport-category .versport-stores {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    height: auto !important;
    min-height: 430px !important;
  }

  html body#category main.versport-category .versport-stores__content {
    padding: 40px 28px !important;
  }

  html body#category main.versport-category .versport-stores__cta {
    height: 60px !important;
    min-height: 60px !important;
  }

  html body#category main.versport-category .versport-category-products__title,
  html body#category main.versport-category .versport-category-certifications__title {
    font-size: 30px !important;
  }
}

@media (max-width: 767.98px) {
  html body#category main.versport-category .versport-stores {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html body#category main.versport-category .versport-stores__content {
    min-height: 390px !important;
    padding: 34px 22px !important;
  }

  html body#category main.versport-category .versport-stores__eyebrow {
    margin-bottom: 24px !important;
  }

  html body#category main.versport-category .versport-stores__title {
    font-size: 29px !important;
  }

  html body#category main.versport-category .versport-stores__description {
    font-size: 15px !important;
  }

  html body#category main.versport-category .versport-stores__cta {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  html body#category main.versport-category .versport-stores__visual {
    min-height: 280px !important;
  }

  html body#category main.versport-category .versport-stores__image {
    position: absolute !important;
  }

  body#category .versport-category-products__header {
    margin-bottom: 28px;
  }

  body#category .versport-category-products__title,
  body#category .versport-category-certifications__title {
    font-size: 24px !important;
  }

  body#category .versport-category-products__accent,
  body#category .versport-category-certifications__accent {
    width: 56px !important;
    height: 6px !important;
    margin-top: 12px !important;
  }
}

/* ==========================================================
   VERSPORT v24 — NUESTROS MODELOS
   Ajuste exclusivo del grid/tarjetas según PSD.
   El resto de la categoría permanece intacto.
   ========================================================== */

@media (min-width: 1200px) {
  body#category .versport-category-products__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    align-items: start !important;
    gap: 0 28px !important;
    width: 100% !important;
  }

  body#category .versport-category-product {
    width: 100% !important;
    max-width: none !important;
  }
}

body#category .versport-category-product__link {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Foto lifestyle superior: proporción cercana a la maqueta del PSD. */
body#category .versport-category-product__visual {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1.32 / 1 !important;
  overflow: hidden !important;
  background: #eee !important;
}

body#category .versport-category-product__visual picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body#category .versport-category-product__image,
body#category .versport-category-product__placeholder {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

body#category .versport-category-product__image {
  object-fit: cover !important;
  object-position: center !important;
}

/* Segunda imagen: montura/modelo sobre fondo blanco. */

/* Texto de tarjeta: en el PSD va alineado a la izquierda. */
body#category .versport-category-product__content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-height: 205px !important;
  padding: 22px 8px 0 !important;
  text-align: left !important;
}

/* La categoría roja que se mostraba encima del nombre no existe en el PSD. */
body#category .versport-category-product__category {
  display: none !important;
}

body#category .versport-category-product__name {
  margin: 0 0 13px !important;
  padding: 0 !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  font-size: clamp(20px, 1.25vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.015em !important;
  text-transform: uppercase !important;
}

body#category .versport-category-product__description {
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #222 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body#category .versport-category-product__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body#category .versport-category-product__cta > span {
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

/* Tablet: dos modelos por fila. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body#category .versport-category-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 42px 28px !important;
  }

  
}

/* Móvil: una tarjeta por fila, con tamaños contenidos. */
@media (max-width: 767.98px) {
  body#category .versport-category-products__inner {
    width: calc(100% - 32px) !important;
  }

  body#category .versport-category-products__grid {
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
    gap: 42px !important;
  }

  body#category .versport-category-product__visual {
    aspect-ratio: 4 / 3 !important;
  }

  

  body#category .versport-category-product__content {
    min-height: 0 !important;
    padding: 20px 4px 0 !important;
  }

  body#category .versport-category-product__description {
    min-height: 0 !important;
  }
}

/* ==========================================================
   VERSPORT v25 — AJUSTE FINAL BLOQUE "NUESTROS MODELOS"
   Sobrescribe cualquier regla anterior/duplicada.
   ========================================================== */
body#category .versport-category-product__model,
body#category .versport-category-product__model picture,
body#category .versport-category-product__model-image,
body#category .versport-category-product__model-placeholder {
  display: none !important;
}

body#category .versport-category-products__grid {
  align-items: start !important;
}

body#category .versport-category-product__visual {
  aspect-ratio: 1.28 / 1 !important;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%) !important;
  background: #ececec !important;
}

body#category .versport-category-product__image {
  object-fit: cover !important;
  object-position: center top !important;
  image-rendering: auto !important;
}

body#category .versport-category-product__content {
  min-height: 142px !important;
  padding: 14px 8px 0 !important;
}

body#category .versport-category-product__description {
  min-height: 58px !important;
}

body#category .versport-category-product__cta {
  margin-top: 14px !important;
}
