/* Стили для адаптивной карусели карточек */
.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 30px 0;
}
.carousel-btn {
  background: none;
  border: none;
  color: #08005e;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0 20px;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}
.carousel-btn:active {
  color: #e80368;
}
.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  padding: 0;
  margin: 0;
  list-style: none;
}
.carousel-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #08005e22;
  margin: 0 10px;
  min-width: 160px;
  min-height: 160px;
  max-width: 180px;
  max-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #08005e;
  text-align: center;
}
/* Десктоп: 5 карточек */
@media (min-width: 1024px) {
  .carousel-track-wrapper {
    max-width: 1180px;
  }
  .carousel-card {
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
  }
}
/* Планшет: 3 карточки */
@media (max-width: 1023px) and (min-width: 600px) {
  .carousel-track-wrapper {
    max-width: 570px;
  }
  .carousel-card {
    min-width: 170px;
    min-height: 170px;
    max-width: 170px;
    max-height: 170px;
  }
}
/* Мобильный: 2 карточка */
@media (max-width: 599px) {
  .carousel-track-wrapper {
    max-width: 390px;
  }
  .carousel-card {
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
    margin: 0 5px;
  }
}