.tlx-category-showcase-group {
  display: grid;
  gap: 34px;
  width: 100%;
  max-width: 100%;
}

.tlx-category-showcase,
.tlx-category-showcase * {
  box-sizing: border-box;
}

.tlx-category-showcase {
  --tlx-cs-gap: 20px;
  --tlx-cs-item-basis: calc((100% - 90px) / 5.5);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.tlx-cs-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.tlx-cs-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.tlx-cs-track {
  display: flex;
  align-items: stretch;
  gap: var(--tlx-cs-gap);
  width: 100%;
  max-width: none;
  min-width: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.tlx-category-showcase.is-static .tlx-cs-track {
  transition: none;
  will-change: auto;
}

.tlx-cs-item {
  flex: 0 0 var(--tlx-cs-item-basis);
  width: var(--tlx-cs-item-basis);
  min-width: 0;
  max-width: var(--tlx-cs-item-basis);
}

.tlx-cs-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tlx-cs-link:hover {
  color: inherit;
  text-decoration: none;
}

.tlx-cs-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
}

.tlx-cs-image,
.tlx-cs-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.tlx-cs-image {
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.28s ease;
}

.tlx-cs-link:hover .tlx-cs-image {
  transform: scale(1.04);
}

.tlx-cs-placeholder {
  background: linear-gradient(135deg, #f1f3f5, #e5e7eb);
}

.tlx-cs-title {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.tlx-cs-nav {
  position: absolute;
  top: 50%;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tlx-cs-nav-icon {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.tlx-cs-nav--prev {
  left: 8px;
  right: auto;
}

.tlx-cs-nav--next {
  right: 8px;
  left: auto;
}

.tlx-category-showcase:hover .tlx-cs-nav,
.tlx-category-showcase:focus-within .tlx-cs-nav {
  opacity: 1;
  pointer-events: auto;
}

.tlx-cs-nav:hover,
.tlx-cs-nav:focus-visible {
  background: #0052d4;
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.tlx-category-showcase.is-static .tlx-cs-nav {
  display: none;
}

@media (max-width: 1024px) {
  .tlx-category-showcase {
    --tlx-cs-gap: 18px;
  }

  .tlx-category-showcase .tlx-cs-nav,
  .tlx-category-showcase:hover .tlx-cs-nav,
  .tlx-category-showcase:focus-within .tlx-cs-nav,
  .tlx-category-showcase.is-static .tlx-cs-nav {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 40px;
    height: 40px;
  }

  .tlx-cs-nav--prev {
    left: 6px;
    right: auto;
  }

  .tlx-cs-nav--next {
    right: 6px;
    left: auto;
  }
}

@media (max-width: 767px) {
  .tlx-category-showcase-group {
    gap: 28px;
  }

  .tlx-category-showcase {
    --tlx-cs-gap: 14px;
  }

  .tlx-cs-title {
    font-size: 14px;
  }

  .tlx-category-showcase .tlx-cs-nav,
  .tlx-category-showcase:hover .tlx-cs-nav,
  .tlx-category-showcase:focus-within .tlx-cs-nav,
  .tlx-category-showcase.is-static .tlx-cs-nav {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 36px;
    height: 36px;
  }

  .tlx-cs-nav--prev {
    left: 8px;
    right: auto;
  }

  .tlx-cs-nav--next {
    right: 8px;
    left: auto;
  }

  .tlx-cs-nav-icon {
    width: 20px;
    height: 20px;
  }
}
