.srs-carousel {
  position: relative;
  padding: 12px 0 4px;
  color: var(--grey);
  background: transparent;
}

.srs-carousel-header {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.srs-carousel-heading {
  width: 100%;
  text-align: center;
  margin-bottom: 5vw;
  text-transform: unset;
}

.srs-carousel-description {
  margin: 0;
  font-size: clamp(12px, 0.95vw, 14px);
  opacity: 0.8;
}

.srs-carousel-list {
  margin: 8px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: transparent;
}

.srs-carousel-list::-webkit-scrollbar {
  display: none;
}

.srs-carousel-item {
  flex: 0 0 var(--srs-carousel-item-width, calc(100% / 2.3));
  scroll-snap-align: start;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at top, rgba(255, 196, 116, 0.08) 0, rgba(18, 18, 18, 0.96) 28%, #101010 80%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.18s ease-out,
    border-color 0.18s ease-out;
}

.srs-carousel-item.srs-carousel-item-active {
  transform: translateY(-2px);
  border-color: rgba(255, 196, 116, 0.7);
}

.srs-carousel-item-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.srs-carousel-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.srs-carousel-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease-out;
}

.srs-carousel-item:hover .srs-carousel-bg-img,
.srs-carousel-item.srs-carousel-item-active .srs-carousel-bg-img {
  transform: scale(1.06);
}

.srs-carousel-overlay {
  position: absolute;
  inset: 0;
}

.srs-carousel-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 5px 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.4), rgba(8, 8, 8, 0));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(3px);
}

.srs-carousel-content-align-left {
  text-align: left;
}

.srs-carousel-content-align-center {
  text-align: center;
}

.srs-carousel-content-align-right {
  text-align: right;
}

.srs-carousel-content-valign-top {
  justify-content: flex-start;
}

.srs-carousel-content-valign-center {
  justify-content: center;
}

.srs-carousel-content-valign-bottom {
  justify-content: flex-end;
}

.srs-carousel-badge {
  align-self: flex-start;
  border-radius: 5px;
  padding: 5px 8px;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 196, 116, 0.45);
  background: radial-gradient(circle at top, rgba(255, 196, 116, 0.2), rgba(18, 18, 18, 0.92));
  color: var(--belyy);
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.srs-carousel-badge-icon {
  display: inline-block;
  width: 23px;
  height: 23px;
  filter: invert(1);
}

.srs-carousel-badge-text {
  white-space: nowrap;
}

.srs-carousel-badge-button {
  border-radius: 3px;
  padding: 5px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 196, 116, 0.7);
  background: linear-gradient(135deg, var(--akcentnyy) 0%, #ffe0a8 100%);
  color: #191919;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.srs-carousel-title {
  margin: 4px 0 2px;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  color: var(--belyy);
}

.srs-carousel-subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.srs-carousel-caption {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}

.srs-carousel-item-hidden {
  display: none;
}

.srs-carousel-item-no-desktop,
.srs-carousel-item-no-mobile {
}

.srs-carousel-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.srs-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  padding: 0;
}

.srs-carousel-dot-active {
  transform: scale(1.3);
  border-color: rgba(255, 196, 116, 0.9);
  background: rgba(255, 196, 116, 0.35);
}

.srs-carousel-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.srs-carousel-arrow {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.srs-carousel-arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--belyy);
  border-right: 1px solid var(--belyy);
  transform: rotate(135deg);
}

.srs-carousel-arrow-next::before {
  transform: rotate(-45deg);
}

.srs-carousel-arrow:hover,
.srs-carousel-arrow:focus-visible {
  outline: none;
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 196, 116, 0.8);
  box-shadow:
    0 0 0 1px rgba(255, 196, 116, 0.55),
    0 0 0 8px rgba(255, 196, 116, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .srs-carousel-badge-text {
    display: none;
  }
}

@media (min-width: 768px) {
  .srs-carousel-item {
    flex: 0 0 calc(100% / 4.5);
    min-height: 260px;
  }
}

@media (min-width: 1200px) {
  .srs-carousel-item {
    flex: 0 0 calc(100% / 6);
    min-height: 280px;
  }
}
