.category-slider {
  background: #ffffff;
  padding: 34px 0 38px;
}

.category-slider__title {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.06;
  color: #33393d;
  margin-bottom: 26px;
}

.category-slider__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.category-slider__viewport {
  overflow: hidden;
}

.category-slider__track {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.6vw, 22px);
  transform: translateX(0);
}

.category-slider__item {
  flex: 0 0 clamp(176px, 18vw, 260px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
}

.category-slider__image-wrap {
  height: clamp(150px, 16vw, 210px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.category-slider__image-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.category-slider__line {
  display: block;
  width: 100%;
  height: 1px;
  background: #00a693;
}

.category-slider__name {
  margin-top: 14px;
  text-align: center;
  font-size: 19px;
  line-height: 1.16;
  text-transform: uppercase;
  color: #2f3539;
}

.category-slider__arrow {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #008577;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-slider__arrow:hover {
  background: rgba(0, 133, 119, 0.12);
  color: #005f53;
}

.category-slider__arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .category-slider__name {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .category-slider {
    padding: 24px 0 24px;
  }

  .category-slider__title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 14px;
  }

  .category-slider__shell {
    gap: 2px;
  }

  .category-slider__item {
    flex-basis: clamp(144px, 62vw, 210px);
  }

  .category-slider__image-wrap {
    height: 130px;
    margin-bottom: 8px;
  }

  .category-slider__name {
    margin-top: 10px;
    font-size: 14px;
  }

  .category-slider__arrow {
    width: 28px;
    height: 28px;
  }

  .category-slider__arrow svg {
    width: 20px;
    height: 20px;
  }
}
