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

.tlx-category-showcase {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
}

.tlx-cs-section-title {
  margin: 0 0 18px;
  color: inherit;
  font-size: 24px;
  line-height: 1.25;
}

.tlx-cs-scroll-row {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 8px;
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.tlx-cs-scroll-row::-webkit-scrollbar {
  display: none;
}

.tlx-cs-scroll-row:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.tlx-cs-scroll-row.is-dragging,
.tlx-cs-scroll-row.is-momentum {
  cursor: grabbing;
}

.tlx-cs-scroll-row.is-dragging a {
  pointer-events: none;
}

.tlx-cs-item {
  flex: 0 0 calc((100% - ((var(--tlx-cs-desktop-items, 6) - 1) * 20px)) / var(--tlx-cs-desktop-items, 6));
  min-width: 0;
}

.tlx-cs-link {
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
}

.tlx-cs-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #f5f6f7;
  border-radius: 0;
}

.tlx-cs-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  -webkit-user-drag: none;
  user-select: none;
  border-radius: 4px;
}

.tlx-cs-placeholder {
  position: relative;
  width: 44%;
  height: 44%;
  background: linear-gradient(135deg, #e6e8eb, #f8f9fa);
}

.tlx-cs-placeholder::after {
  content: "";
  position: absolute;
  inset: 28%;
  background: #d5d9de;
}

.tlx-cs-title {
  display: block;
  margin: 10px 0px 0px;
  color: #000000;
  font-weight: 700;
  line-height: 1.25;
}

.tlx-cs-item:hover .tlx-cs-title {
  color: #0052d4;
}

.tlx-cs-scrollbar {
  position: relative;
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 6px;
  background: #f1f3f5;
  overflow: hidden;
  cursor: pointer;
}

.tlx-cs-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0;
  height: 100%;
  background: #a8b0bb;
  transform: translateX(0);
  will-change: transform, width;
  transition: background-color 0.2s ease;
}


.tlx-cs-scrollbar:hover .tlx-cs-scrollbar-thumb {
  background: #7f8996;
}

.tlx-category-showcase:not(.has-overflow) .tlx-cs-scrollbar {
  display: none;
}

@media (max-width: 1024px) {
  .tlx-cs-item {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 767px) {
  .tlx-category-showcase {
    margin: 18px 0;
  }

  .tlx-cs-item {
    flex-basis: calc((100% - 20px) / 2);
  }

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