/* TVC Brand Categories 2.0.13 - sistema del render extendido a todas las marcas. */
body#category .category__header > .category__description {
  display: none !important;
}

body#category .category__header .subcategory {
  padding: 48px var(--tvc-bc-padding, 22px) var(--tvc-bc-padding, 22px) !important;
}

body#category .category__header .subcategory__list {
  display: grid !important;
  grid-template-columns: repeat(var(--tvc-bc-cols, 4), minmax(0, 1fr)) !important;
  gap: var(--tvc-bc-gap, 14px) !important;
}

body#category .category__header .subcategory__link {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: calc(var(--tvc-bc-height, 120px) + 52px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 6px !important;
  background: linear-gradient(118deg, #191b1a 0%, #121413 48%, #0d0f0e 100%) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

body#category .category__header .subcategory__link:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 210, 28, .55) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22) !important;
}

body#category .category__header .subcategory__link::after {
  content: none !important;
}

html body#category[class*="category-id-"] .category__header .subcategory .subcategory__list .subcategory__link[href]::before {
  top: 0 !important;
  right: 0 !important;
  bottom: 52px !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  background-position: center !important;
  background-size: var(--tvc-bc-logo-scale, 70%) auto !important;
  -webkit-mask-position: center !important;
  -webkit-mask-size: var(--tvc-bc-logo-scale, 70%) auto !important;
  mask-position: center !important;
  mask-size: var(--tvc-bc-logo-scale, 70%) auto !important;
}

body#category .category__header .subcategory__name {
  position: absolute !important;
  z-index: 4 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #fff !important;
  text-transform: uppercase !important;
  background: #101211 !important;
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

body#category .category__header .subcategory__name::after {
  content: "\2192" !important;
  color: #ffd21c !important;
}

body#category .category__header .subcategory__link::before,
body#category .category__header .subcategory__link picture {
  height: var(--tvc-bc-height, 120px) !important;
  flex-basis: var(--tvc-bc-height, 120px) !important;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body#category .category__header .subcategory__list {
    grid-template-columns: repeat(var(--tvc-bc-tablet-cols, 3), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  body#category .category__header .subcategory {
    padding: 46px var(--tvc-bc-mobile-padding, 14px) var(--tvc-bc-mobile-padding, 14px) !important;
  }

  body#category .category__header .subcategory__list {
    grid-template-columns: repeat(var(--tvc-bc-mobile-cols, 2), minmax(0, 1fr)) !important;
    gap: var(--tvc-bc-mobile-gap, 10px) !important;
  }

  body#category .category__header .subcategory__link::before,
  body#category .category__header .subcategory__link picture {
    height: var(--tvc-bc-mobile-height, 104px) !important;
    flex-basis: var(--tvc-bc-mobile-height, 104px) !important;
  }

  body#category .category__header .subcategory__link {
    height: calc(var(--tvc-bc-mobile-height, 104px) + 46px) !important;
  }

  html body#category[class*="category-id-"] .category__header .subcategory .subcategory__list .subcategory__link[href]::before {
    bottom: 46px !important;
  }

  body#category .category__header .subcategory__link::after { content: none !important; }
}

/* Sistema visual aprobado para todos los directorios de marcas. */
@media (min-width: 1200px) {
  body#category .category__header .subcategory__list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
  }

  body#category .category__header .subcategory__link {
    flex: 0 0 calc((100% - 72px) / 4) !important;
    width: calc((100% - 72px) / 4) !important;
    max-width: 260px !important;
    height: 234px !important;
  }

  body#category .category__header .subcategory__link::before,
  body#category .category__header .subcategory__link picture {
    height: 170px !important;
    flex-basis: 170px !important;
  }

  html body#category .category__header .subcategory .subcategory__list .subcategory__link[href]::before {
    bottom: 64px !important;
  }
}

body#category .category__header .subcategory__link {
  background: #121413 !important;
}

html body#category .category__header .subcategory .subcategory__list .subcategory__link[href]::before {
  filter: grayscale(1) brightness(0) invert(1) !important;
}

body#category .category__header .subcategory__name {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 20px !important;
  border-top: 1px solid rgba(255, 255, 255, .14) !important;
  background: #292b2a !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body#category .category__header .subcategory__link:hover .subcategory__name,
body#category .category__header .subcategory__link:focus-visible .subcategory__name {
  background: #303231 !important;
}

body#category .category__header .subcategory__name::after {
  color: #ffd21c !important;
  font-size: 24px !important;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body#category .category__header .subcategory__list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  body#category .category__header .subcategory__link {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    width: calc((100% - 48px) / 4) !important;
    height: 220px !important;
  }

  body#category .category__header .subcategory__link::before,
  body#category .category__header .subcategory__link picture {
    height: 156px !important;
    flex-basis: 156px !important;
  }

  html body#category .category__header .subcategory .subcategory__list .subcategory__link[href]::before {
    bottom: 64px !important;
  }
}

@media (max-width: 767.98px) {
  body#category .category__header .subcategory__list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  body#category .category__header .subcategory__link {
    flex: 0 0 calc((100% - var(--tvc-bc-mobile-gap, 10px)) / 2) !important;
    width: calc((100% - var(--tvc-bc-mobile-gap, 10px)) / 2) !important;
  }

  body#category .category__header .subcategory__name {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}
