.t1281__wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.t1281__item {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

/* базовое скругление для всех */
.t1281__tab-style1 {
  border: 1px solid #e0d0c0 !important;
  border-radius: 999px !important;
  background-color: transparent;
}

/* явно перебиваем скругление у первого и последнего элемента,
   на случай если Tilda задаёт им radius только с одной стороны */
.t1281__item:first-child .t1281__tab-style1,
.t1281__item:last-child .t1281__tab-style1,
.t1281__item:not(:first-child):not(:last-child) .t1281__tab-style1 {
  border-radius: 999px !important;
}

.t1281__tab_active {
  background-color: #eecdb3 !important;
  border-color: #eecdb3 !important;
}

.t1281__title {
  padding: 14px 28px;
  white-space: nowrap;
  line-height: 1.2;
}