
@charset "UTF-8";
@font-face {
  font-family: "SFProText";
  src: url("../fonts/SFProText-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "SFProText";
}

html {
  font-size: 13px;
}

body {
  background-color: #f2f2f7;
}
@media (min-width: 1024px) {
  .body{
    background-color: #8a8a8e;
  }
}

ul, ul li {
  list-style: disc;
  /* margin-bottom: 3px; */
  padding-left: inherit;
}
.header_text {
  /* text-align: center; */
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.container_header_text {
  margin-top: 15px;
  max-width: 380px;
  width: 100%;
  margin: 10px auto;
  padding: 0 8px;
}
.header {
  position: fixed;
  /* touch-action: none; */
  top: 0;
  left: 0;
  /* right: 0;
  height: 56px; */
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.33, 1, 0.68, 1);

  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 20px 10px;
  height: 125px;
  will-change: height;
  z-index: 1;
}
.header.popup-open {
  pointer-events: none !important;
}
.header__container {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.header__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.header__content {
  position: relative;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* 👈 добавь это */
  height: 100%;
}

.header__avatar-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 25px;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.header__name {
  font-weight: bold;
  font-size: 1.4333333333rem;
  text-align: justify;
  transition: inherit;
}

.header__username {
  color: #007aff;
  font-size: 1.1rem;
}

/* Expanded state */
.header--expanded {
  height: 40vh;
  /* padding: 10px 10px 20px; */
  padding: 0px 0px 0px;
  background-color: 0;
}

.header--expanded .header__background {
  opacity: 1;
}

.header--expanded .header__avatar-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.header--expanded .header__content {
  align-items: flex-end;
  padding-bottom: 16px;
}

.header--expanded .header__info {
  transform: translateY(30px);
  margin-left: 0;
}

.header--expanded .header__name {
  font-size: 24px;
  color: #fff;
  padding: 12px 5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.header--expanded .header__username {
  font-size: 0px;
  color: rgba(255,255,255,0.9);
}
.header--expanded .header__approved {
  margin-left: 5px;
  max-width: 0px;
}
.header--expanded .header__icon__approved {
  margin-left: 5px;
  max-width: 0px;
}
/*
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 0 0 40px 40px;
  background-color: #ffffff;
  padding: 20px 10px;
  height: 125px;
}
.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.header__image {
  width: 80px;
  height: 80px;
} */
/* .header__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-left: 25px;
} */
.header__row {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  
}
.header__title {
  font-weight: bold;
  font-size: 1.4333333333rem;
  text-align: justify;
}
.header__icon__approved {
  margin-left: 5px;
  margin-right: 0px;
  max-width: 24px;
}

.header__approved {
  /* margin-left: 5px; */
  margin-right: 8px;
  max-width: 20px;
}

.header__update-wrapper {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.image {
  -o-object-fit: cover;
  object-fit: cover;
}
.image--circle {
  border-radius: 50%;
}

.nickname__title {
  color: #007aff;
  font-size: 1.1rem;
}

.nickname {
  color: #007aff;
  font-size: 1.2rem;
}

.points {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #007aff;
  border-radius: 30px;
  padding: 4px 6px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.points__value {
  color: #ffffff;
  margin-left: 5px;
}

.content {
  margin-top: 145px;
  padding: 10px 15px 60px 15px;
  background-color: #f2f2f7;

}
.content--rule {
  margin-top: 0px;
  padding: 10px 15px 60px 15px;
  background-color: #f2f2f7;

}

.map {
  border-radius: 50%;
  margin-right: 12px;
}

.section {
  margin-bottom: 32px;
}
.section__title-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 8px;
}
.event-badges-right {
  display: flex;
  justify-content: flex-end; /* прижимает содержимое вправо */
  gap: 6px;
  margin-left: auto; /* гарантированно отталкивает вправо */
}
.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #333;
  text-transform: lowercase;
  white-space: nowrap;
}
.section__title-row-book {
  margin-bottom: 2px;
}
.section__title {
  font-weight: bold;
  font-size: 1.5333333333rem;
}
.section__title__noactive {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.5333333333rem;
}
.section__title__active {
  font-weight: bold;
  color: #007aff;
  cursor: pointer;
  font-size: 1.5333333333rem;
}
.section__item {
  background-color: #ffffff;
  margin-bottom: 8px;
}
.section__item__singup {
  background-color: #007aff;
  margin-bottom: 0px;
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
}
.section__item__singup--text {
  padding: 12px 10px;
  border-radius: 16px;
}
.section__item__singup-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #f0f0f0;
  text-align: center;
}
.section__singup {
  margin-bottom: 32px;
  margin-top: 20px;
}
.section__item_photo {
  margin-bottom: 8px;
}

.section__text {
  text-align: left;
  line-height: 1.5;
  max-height: 4.5em; /* Ограничиваем высоту текста */
  overflow: hidden; /* Прячем текст, выходящий за пределы */
  text-overflow: ellipsis;
  transition: max-height 0.3s ease; /* Анимация при раскрытии */
  white-space: normal;
}

.section__text--expanded {
  line-height: 1.5;
  max-height: 100em; /* Достаточно большое значение для полного текста */
  overflow: visible; /* Показываем весь текст */
}

.section__item--text {
  padding: 12px 10px;
  border-radius: 8px;
}
.section__item--img {
  padding: 4px;
  border-radius: 4px;
}
.section__item--card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section__item--more-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.section__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0px 0px 10px;
}
.section__item-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section__card-info {
  width: 100%;
  width: calc(100% - 80px);
}
.section__card-info--thanks {
  width: calc(100% - 30px);
}
.section__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 10px;
}
.section__logo {
  margin-right: 8px;
}
/* .section__text {
  text-align: left;
  line-height: 1.5;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
} */
.section__text--grey {
  color: #8a8a8e;
}
.event-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section__text--nooverflow {
  max-height: none;
  overflow: auto;
}
.section__item-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: black;
}
.section__item-title--normal {
  font-weight: normal;
  font-size: 1.2rem;
  margin-bottom: 2px;
  color: black;
}
/* .section__item-title--blue {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 4px;
  cursor: pointer;
  color: #007aff;
} */
.section__item-title--nomargin {
  margin: 0;
}
.event-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section__item-title--grey {
  color: #8a8a8e;
}
.section__item-title--grey-book {
  margin-bottom: 8px;
  color: #8a8a8e;
}
.section__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.section__img {
  margin-right: 12px;
  width: 66px;
  height: 66px;
}
.section__img--high {
  height: 86px;
  border-radius: 8px;
}
.section__img--star {
  width: 25px;
  height: 25px;
  -ms-flex-item-align: start;
  align-self: start;
  margin-right: 12px;
}
.section__more-info {
  text-align: right;
  font-size: 1.2rem;
  color: #007aff;
  text-decoration: underline !important;
}

.accordeon__part {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.accordeon__part--hidden {
  margin-top: 2px;
}
.accordeon__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}
@media (min-width: 1024px) {
  .accordeon__img{
      max-height: 120px; /* Настройте для декстоп экранов */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .accordeon__img{
      max-height: 20rem; /* Настройте для декстоп экранов */
  }
}
@media (max-width: 768px) {
  .accordeon__img{
      max-height: 120px; /* Настройте для мобильных экранов */
  }
}

.accordeon-trigger {
  color: #007aff;
  /* text-decoration: underline; */
  cursor: pointer;
}
.accordeon-trigger.active {
  font-weight: bold;
  color: #0b0c0c;
}

.menu-container {
  position: fixed;
  padding: 15px;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.menu-wrapper .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 380px;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
}
.menu-wrapper .menu__item {
  text-align: center;
  color: #000;
  padding: 13px 0;
  font-weight: 600;
}
.menu-wrapper .menu__item:active,
.menu-wrapper .menu__item:hover {
  background-color: #007aff;
  color: #ffffff;
  z-index: 10;
}
.menu-wrapper .menu--hidden {
  width: 1px !important;
  left: 100%;
}

.burger-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background-color: #007aff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
}
.burger-btn:active {
  background-color: #0056b3;
}

@keyframes waveEffect {
  0% {
    box-shadow: 0 0 0 0 #D11589;
  }
  100% {
    box-shadow: 0 0 0 20px rgba(209, 21, 137, 0);
  }
}

.wave {
  animation: waveEffect 1.5s ease-out infinite;
}

.popup-background {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8098039216);
}

.popup-container {
  background-color: rgba(0, 0, 0, 0.8098039216);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 15px;
}

.popup {
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  box-shadow: -3px 1px 12.3px 2px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: scroll;
  z-index: 10;
}
.popup__img {
  width: 100%;
  margin-top: 10px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}


@media (min-width: 1024px) {
  .popup__img{
      max-height: 400px; /* Настройте для декстоп экранов */
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .popup__img{
      max-height: 600px; /* Настройте для декстоп экранов */
  }
}
@media (max-width: 768px) {
  .popup__img{
      max-height: 400px; /* Настройте для мобильных экранов */
  }
}

.hidden {
  display: none !important;
}
.clickable-item {
  cursor: pointer; /* Курсор в виде указателя */
  transition: background-color 0.3s ease; /* Плавное изменение фона */
}

.clickable-item:hover {
  background-color: #f0f0f0; /* Изменение фона при наведении */
}
.collections-text {
  color: #414956;
  font-size: 1.3666666667rem;
  margin-bottom: 15px;
}

.collections {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  overflow-x: scroll;
  padding-bottom: 4px;
}
.collections__item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 10px;
}
.collections__img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 112px;
  height: 72px;
  border-radius: 8px;
  background-color: #ffffff;
}
.collections__item-title {
  text-align: center;
  color: #000;
  margin-top: 10px;
}

.header,
.menu-container,
.popup-container,
.content--rule,
.content {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
/* Гарантируем, что скрытая модалка не перехватывает клики */
.popup-container.hidden { display: none !important; pointer-events: none !important; }
@media (min-width: 1024px) {
  .header,
  .menu-container,
  .popup-container,
  .content--rule,
  .content{
      max-width: 400px; /* Настройте для декстоп экранов */
  }
}

.close-btn {
  /* margin-inline: auto;
  cursor: pointer;
  font-size: 4rem;
  color: #009dff; */
  background-color: #007BFF;
  z-index: 10;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  font-size: 14px;
}
.close-btn:hover {
  /* color: #555; */
  background-color: #0056b3;
}

.parent {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 0px 0px 15px 0px; /* Добавляем отступ сверху и снизу */
}

.parent-menu-wrapper {
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 100%; /* Растягиваем на всю ширину */
  padding: 10px 0px 0px 0px; /* Добавляем отступ сверху и снизу */
}

.modal-header {
  padding-bottom: 0px;
  text-align: center;

}

.modal-header h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.modal-header p {
  font-size: 16px;
  color: #555;
  margin: 5px 0;
  font-style: italic;
}

.color-line {
  height: 2px;
  background: linear-gradient(to right, #007BFF, #33CC99, #6A5ACD);
  border-radius: 3px;
  /* margin: 10px 0; */
}

.header,
.menu-container,
.popup-container {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.footer-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

.footer-button {
    color: #007aff;
    text-decoration: none;
    font-size: 1.15rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    text-align: center;
    background-color: rgba(0, 122, 255, 0.1);
    flex: 1;
    margin: 0 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
}

.footer-button:hover {
    opacity: 0.8;
    background-color: rgba(0, 122, 255, 0.2);
}

.city_section {
  width: 365px;
  height: 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 16px;
  letter-spacing: -0.5px;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  margin-bottom: 15px;
}

.text-center {
  text-align: center;
}

/* Стили для контейнера с иконками */
.icons-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  border-radius: 8px;
}

/* Контейнер для верхних навигационных иконок */
.content > .icons-container:first-child {
  margin-top: 0;
}

/* Стили для иконок */
.icon-item {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.2s ease;
  cursor: pointer;
  padding: 4px;
}



/* Стили для категорий мероприятий */
.event-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 0;
}

.event-category {
  box-sizing: border-box;
  padding: 2px 12px;
  height: 21px;
  background: #31C8FF;
  border: 1px solid #8CD9FF;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-category:hover {
  background: #1FB8EF;
  border-color: #7BC8E6;
}

.event-category.active {
  background: #0A84FF;
  border-color: #0A84FF;
}

.event-category-text {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 16px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  white-space: nowrap;
}

/* Стили для иконок специалистов (увеличенный размер) */
.specialist-icon {
  width: 60px;
  height: 60px;
}

.icon-item:hover {
  transform: scale(1);
}

/* Активная иконка */
.active-icon {
  background-color: #0A84FF;
}

/* Стиль для подзаголовков подтипов специалистов */
.section__subtitle {
  font-size: 1.2em;
  color: #4e4e4e;
  margin: 15px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #009dff;
}

/* Стиль для контейнера заголовков подтипов специалистов */
.section__item-row h2.section__item-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  width: 100%;
  font-size: 1.2em;
  color: #4e4e4e;
  margin-bottom: 0;
}

/* Стили для SEO элементов */
.seo-content {
  display: none;
}

.footer {
  margin-top: 30px;
  padding: 20px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.footer-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-text {
  font-size: 12px;
  color: #6c757d;
  margin: 10px 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.footer-link {
  font-size: 12px;
  color: #007bff;
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer a {
  color: #007bff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }

  .footer-link {
    margin: 5px 0;
  }
}

/* Стили для Cookie баннера */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-banner p {
    margin-bottom: 10px;
    font-size: 14px;
}

.cookie-banner button {
    background-color: white;
    color: #007bff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
    width: auto;
    min-width: 140px;
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
}

.cookie-banner button:hover {
    background-color: #f0f0f0;
}

/* Стили для социальных сетей */
.social-networks-section {
    margin-bottom: 32px;
}

.social-networks-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 16px;
    gap: 26px; /* По умолчанию большой gap для малого количества иконок */
    /* max-width: 364px; */
    margin: 0 auto;
    border-radius: 8px;
    flex-wrap: nowrap; /* Запрещаем перенос элементов */
}

/* Уменьшаем gap если иконок больше 3 */
.social-networks-container:has(.social-network-item:nth-child(5)) {
    gap: 16px;
}

.social-networks-container + .social-networks-container {
    margin-top: 10px;
}

.social-network-item {
    display: flex;
    width: 53px;
    height: 53px;
    border-radius: 53px;
    text-decoration: none;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.social-network-icon {
    width: 53px;
    height: 53px;
    border-radius: 53px;
    object-fit: cover;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.social-network-placeholder {
    width: 53px;
    height: 53px;
    border-radius: 53px;
    background-color: #4F5B67;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

/* Стили для навигации тегов */
.tags-navigation {
  position: fixed;
  top: 125px;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tags-navigation .icons-container {
  display: flex;
  justify-content: space-around;
  padding: 0 15px;
}

/* Стили для контейнеров с контентом тегов */
.tag-content {
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.3s, transform 0.3s;
  display: none;
}

.tag-content.active-content {
  opacity: 1;
  transform: translateX(0);
  display: block;
}


/* Фиксированная навигация */
/* .fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
} */

/* Обновленные стили для иконок навигации */
.nav-icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 50%;
  background-color: #ADABAB;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-icon:hover {
  opacity: 0.8;
}

.nav-icon.active-icon {
  background-color: #0A84FF;
}

/* Индикатор свайпа для мобильных устройств */
@media (max-width: 768px) {
  .swipe-indicator {
    position: relative;
    bottom: 24px;
    max-width: 50px;
    left: 47%;
    transform: translateX(-50%);
    font-size: 12;
    color: #aaa;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 1s;
    animation: fadeInOut 2s infinite;
  }

  .swipe-indicator::before,
  .swipe-indicator::after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #aaa;
    display: inline-block;
    margin: 0 5px;
  }

  .swipe-indicator::before {
    transform: rotate(45deg);
  }

  .swipe-indicator::after {
    transform: rotate(-45deg);
  }

  @keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
  }
  
  .icons-container {
    position: relative;
    margin-bottom: 32px;
  }
}

.icons-container--two {
  justify-content: flex-start;
  gap: 16px; /* небольшой отступ между двумя иконками */
}

/* Убираем старые стили, которые мы добавляли ранее */
.icons-container--scroll {
  flex-wrap: wrap; /* По умолчанию разрешаем перенос для больших экранов */
  gap: 16px;
  justify-content: flex-start;
}

/* Новое адаптивное поведение только для телефонов */
@media (max-width: 767px) {
  .icons-container--scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px;
    /* Динамический gap так, чтобы влезало ровно 5,5 иконок */
    gap: calc((100% - (36px * 5.9)) / 4.5);
  }

  .icons-container--scroll::-webkit-scrollbar {
    display: none;
  }

  .icons-container--scroll .icon-item {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0; /* Сбрасываем padding, чтобы размер был ровно 35px */
  }
}

.popup-container[data-popup-type="review"] .close-btn {
  position: absolute;
  left: 290px;
  /* Можно скорректировать значения по желанию */
}

.icons-container--scroll .specialist-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  padding: 0;
}

/* Стили для заголовков дат в мероприятиях пользователей */
.date-header {
  background-color: transparent !important;
  padding: 8px 10px !important;
}

.date-header .section__item-title {
  color: black !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
}

.header__icons-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  margin-left: 20px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .icons-container--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 36px;
    width: 100%;
    overflow: visible;
  }
  /* Если 7 иконок — gap меньше */
  .icons-container--scroll:has(.icon-item:nth-child(7)) {
    gap: 18px;
  }
  /* Если 8 иконок — gap ещё меньше */
  .icons-container--scroll:has(.icon-item:nth-child(8)) {
    gap: 12px;
  }
  .icons-container--scroll .icon-item {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    padding: 0;
  }
}

/* Цвета для каждой иконки — теперь базово полупрозрачные */
/* Люди */
.nav-icon--home {
  background-color: rgba(10,132,255,0.3);
}
.nav-icon--people {
  background-color: rgba(10,132,255,0.3);
}
.nav-icon--userevent {
  background-color: rgba(10,132,255,0.3);
}
.nav-icon--broadcast {
  background-color: rgba(10,132,255,0.3);
}
/* Инфраструктура */
.nav-icon--market {
  background-color: rgba(255,133,11,0.3);
}
.nav-icon--rent {
  background-color: rgba(255,133,11,0.3);
}
.nav-icon--event {
  background-color: rgba(255,133,11,0.3);
}
.nav-icon--railway {
  background-color: rgba(255,133,11,0.3);
}
/* Службы */
.nav-icon--police {
  background-color: rgba(15,190,67,0.15);
}
.nav-icon--building {
  background-color: rgba(15,190,67,0.15);
}
.nav-icon--question {
  background-color: 	rgba(15,190,67,0.15);
}
.nav-icon--commonExpressions {
  background-color: 	rgba(15,190,67,0.15);
}

/* Активная иконка — насыщенный цвет */
/* Люди */
.nav-icon--home.active-icon {
  background-color: #0A84FF;
}
.nav-icon--people.active-icon {
  background-color: #0A84FF;
}
.nav-icon--userevent.active-icon {
  background-color: #0A84FF;
}
.nav-icon--broadcast.active-icon {
  background-color: #0A84FF;
}
/* Инфраструктура */
.nav-icon--market.active-icon {
  background-color: #FF850B;
}
.nav-icon--rent.active-icon {
  background-color: #FF850B;
}
.nav-icon--event.active-icon {
  background-color: #FF850B;
}
.nav-icon--railway.active-icon {
  background-color: #FF850B;
}
/* Службы */
.nav-icon--police.active-icon {
  background-color: #0FBE43;
}
.nav-icon--building.active-icon {
  background-color: #0FBE43;
}
.nav-icon--question.active-icon {
  background-color: #0FBE43;
}
.nav-icon--commonExpressions.active-icon {
  background-color: #0FBE43;
}


/* для скрыто seo ссылки */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.item-container.anchor-highlight,
.anchor-highlight {
  animation: highlightFade 6s ease-in-out;
}

.item-container {
  position: relative;
  overflow: hidden;
}

.item-container.anchor-highlight::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  animation: highlightFade 6s ease-in-out;
}

@keyframes highlightFade {
  0% { background-color: rgba(10, 132, 255, 0.4); }
  100% { background-color: transparent; }
}


.header-actions {
  position: relative; /* Важно для позиционирования выпадающего меню */
  overflow: visible; /* Только здесь! */
  z-index: 1000
}
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.dropdown-toggle .icon {
  font-size: 28px; /* Чуть больше для лучшего попадания */
  color: #8e8e93;
  transition: transform 0.3s ease; /* Анимация поворота стрелки */
}
.dropdown-toggle.is-open .icon {
  transform: rotate(180deg); /* Поворачиваем стрелку при открытии */
}
.dropdown-menu {
  position: absolute;
  overflow: visible !important;
  top: calc(100% + 5px); /* Располагаем под кнопкой с небольшим отступом */
  left: -8px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Скрываем меню по умолчанию */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.dropdown-menu.is-open {
  /* Показываем меню при наличии класса .is-open */
  opacity: 1;
  visibility: visible !important;
  z-index: 1000;
  transform: translateY(0);
}
.dropdown-menu .icon {
  font-size: 26px; /* Как ты и просил */
  color: #3c3c43;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.dropdown-menu .icon:hover {
  background-color: #f0f2f5;
}
/* Стили для иконок Google */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.header.header--menu-open {
  overflow: visible;
}

.header.header--expanded {
  overflow: hidden !important; /* при развороте меню всегда скрыто */
}

.header__container.header--menu-open {
  overflow: visible !important;
}


.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.qr-modal.is-open {
  display: flex;
  background-color: rgba(0, 0, 0, 0.4);
}

.qr-modal__overlay {
  position: absolute;
  inset: 0;
}

.qr-modal__content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 12px;
  z-index: 10;
  max-width: 90vw;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-align: center;
}

.qr-modal__close {
  position: absolute;
  top: -1px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 0px;
  cursor: pointer;
}
.qr-modal__download {
  margin-top: 15px;
  padding: 8px 16px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qr-modal__download:hover {
  background-color: #0A84FF;
}

.menu-container-in {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.menu-header {
  background: linear-gradient(135deg, #007aff 0%, #00bfdd 100%);
  color: white;
  padding: 20px 16px;
  text-align: center;
}

.menu-title {
  font-size: 1.6rem;         /* немного больше */
  font-weight: 500;          /* было 600, стало 500 */
  margin: 0;
  letter-spacing: -0.02em;
}

.menu-subtitle {
  font-size: 1.05rem;        /* чуть крупнее */
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 400;          /* стандартная */
}

.menu-list {
  padding: 8px 16px;
}

.menu-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;           /* чуть больше высота */
  border-bottom: 1px solid #f0f0f5;
  font-size: 1.18rem;        /* было 1.05rem */
  font-weight: 400;          /* было 500, стало 400 */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.menu-list-item:last-child {
  border-bottom: none;
}

.menu-list-item:hover {
  background: #f3f8fc;
  padding-left: 10px;        /* чуть больше отступ */
  border-radius: 8px;
}

.menu-list-item:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ff9500;
  border-radius: 0 2px 2px 0;
}

.menu-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: 1;
  font-weight: 400;
}

.menu-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 1.35em;         /* чуть крупнее */
  color: #007aff;
  margin-left: 14px;         /* чуть больше отступ */
  transition: transform 0.2s ease, color 0.2s;
}

.menu-list-item:hover .menu-icon {
  transform: translateX(6px);
  color: #ff9500;
}

.cities-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 16px 18px;
  font-size: 1.15rem;
  font-weight: 400;
  color: #007aff;
  cursor: pointer;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: #f8fbff;
  border: 1px solid #e3f2fd;
}

.cities-link-row:hover {
  background: #e3f2fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.10);
}

.cities-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 1.3em;
  color: #007aff;
}

.main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 18px;
  gap: 14px;
}

.main-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: linear-gradient(135deg, #007aff 0%, #00bfdd 100%);
  color: #fff;
  font-size: 1.13rem;
  font-weight: 400;            /* было 600 */
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,122,255,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  outline: none;
  flex: 1;
  gap: 8px;
}

.main-action-btn .material-symbols-outlined {
  font-size: 1.23em;
}

.main-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.25);
}

.main-action-btn:active {
  transform: translateY(0);
}

.home-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 1.7em;
  color: #007aff;
  background: #eaf6ff;
  border-radius: 50%;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,122,255,0.14);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-icon:hover {
  background: #007aff;
  color: white;
  transform: scale(1.11);
}

.menu-footer {
  border-top: 1px solid #eee;
  background: #fcfcfd;
  padding: 18px 8px 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  text-decoration: none;
  color: #888;
  font-size: 0.82rem;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
  font-weight: 400;           /* было 500 */
  border-radius: 8px;
  gap: 5px;
}

.footer-btn:hover {
  color: #ff9500;
  background: #fff7ed;
  transform: translateY(-2px);
}

.footer-icon {
  font-family: 'Material Symbols Outlined';
  font-size: 1.5em;
  transition: transform 0.2s ease, color 0.2s;
  color: #007aff;
}

.footer-btn:hover .footer-icon {
  transform: scale(1.12);
  color: #ff9500;
}

.footer-btn.tg {
  color: #00bfdd;
  font-weight: 400;
}

.footer-btn.tg .footer-icon {
  color: #00bfdd;
}

.footer-btn.tg:hover {
  color: #007aff;
  background: #eaf6ff;
}

@media (max-width: 480px) {
  body {
      padding: 16px 12px;
  }
  
  .menu-title {
      font-size: 1.3rem;
  }
  
  .menu-list-item {
      padding: 16px 0;
      font-size: 1.08rem;
  }
  
  .main-action-btn {
      padding: 12px 14px;
      font-size: 1rem;
  }
  
  .footer-btn {
      font-size: 0.73rem;
      padding: 8px 2px;
  }
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-container {
  animation: fadeIn 0.4s ease-out;
}

.menu-list-item {
  animation: fadeIn 0.3s ease-out;
  animation-fill-mode: backwards;
}

.menu-list-item,
.menu-list-item * {
  color: inherit !important;
  text-decoration: none !important;
}

.menu-list-item:nth-child(1) { animation-delay: 0.1s; }
.menu-list-item:nth-child(2) { animation-delay: 0.2s; }
.menu-list-item:nth-child(3) { animation-delay: 0.3s; }

/* === СТИЛЬ ДЛЯ ИКОНКИ БРЕНДА НА КАРТОЧКЕ МЕРОПРИЯТИЯ === */
.brand-badge {
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  z-index: 3;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  object-fit: contain;
  border: 1px solid #e0e0e0;
}

/* Для popup увеличим размер */
.popup .brand-badge {
  width: 40px;
  height: 40px;
  top: 10px;
  right: 10px;
}

/* Для контейнера фото мероприятия, чтобы бренд не перекрывал фото */
.event-photo-brand-container {
  position: relative;
  display: inline-block;
}

/* Для карточки мероприятия — фото слева, бренд справа сверху */
.section__item--card .event-photo-brand-container {
  margin-right: 12px;
}

.event-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 0px;
}
.event-brand {
  box-sizing: border-box;
  padding: 2px 12px;
  height: 21px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-brand:hover {
  /* background: #FFC300;
  border-color: #FFD700; */
}
.event-brand.active {
  /* background: #FFB300; */
  border-color: #FFD700;
  box-shadow: inset 0 0 0 2px #FFD700;
}
.event-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 0px;
}
/* Зеленая тема для фильтров цены */
.event-prices .event-brand {
  background: #0FBE43;
  border-color: #0FBE43;
}
.event-prices .event-brand:hover {
  background: #0CB33F;
  border-color: #0CB33F;
}
.event-prices .event-brand.active {
  background: #0AAE3A;
  border-color: #0AAE3A;
  box-shadow: inset 0 0 0 2px #0AAE3A;
}
.event-brand-text {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 16px;
  letter-spacing: -0.5px;
  color: black;
  white-space: nowrap;
}
.userevent-filters-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s;
  margin-bottom: 12px;
}
.userevent-filters-wrapper.filters-visible {
  max-height: 250px;
  opacity: 1;
}
.filter-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: filter 0.2s;
}
.filter-toggle-btn:hover img {
  filter: brightness(0.7) sepia(1) hue-rotate(180deg);
}

.weekday-filters {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.weekday-filter-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s, background-color 0.3s, border-radius 0.3s;
    border-radius: 15%; /* Make the button circular */
}

.weekday-filter-btn:hover {
    color: #333;
}

.weekday-filter-btn.active {
    background-color: rgba(10,132,255,1);
    color: #ffffff;
    border-radius: 15%; /* Ensure the active button remains circular */
}

.userevent-image {
  width: 90px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  align-self: stretch;
  overflow-clip-margin: content-box;
  overflow: clip;
}
.badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  /* pointer-events: none; */
}
.badge {
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.actions-event {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.actions-icon-event {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
}

.business-event {
  /* background-color: rgba(10,132,255,0.15) !important; */
  background-color:rgba(255,133,11,0.15) !important;
  /* background-color: rgba(15,190,67,0.15) !important; */
}

.actions-icon-event svg {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
  transition: fill 0.2s, stroke 0.2s;
  cursor: pointer;
}
.actions-icon-event.liked svg {
  fill: #009dff;
  stroke: #009dff;
}
/* Голубой контур для активной иконки категории */
.icon-item.specialist-icon.active-border {
  box-shadow: inset 0 0 0 20px #009dff;
  border-radius: 50%;
}


/* Яркая подсветка для прокрученного элемента (якоря) */
.anchor-highlight {
  animation: anchorHighlightAnim 20s;
  background: linear-gradient(90deg, #009dff 0%, #e6f6ff 100%);
  box-shadow: 0 0 0 3px #009dff;
  transition: background 10.5s, box-shadow 10.5s;
}

@keyframes anchorHighlightAnim {
  0% { background: #009dff; box-shadow: 0 0 0 6px #009dff; }
  80% { background: #e6f6ff; box-shadow: 0 0 0 0 #009dff; }
  100% { background: none; box-shadow: none; }
}

/* --- Group switch lines --- */
.group-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px; /* расстояния между сегментами */
  margin-top: 6px;
  margin-bottom: 18px;
  width: 100%;
  pointer-events: auto;
}

/* каждая линия — растянутая pill-панель */
.group-line {
  height: 4px;           /* тонкая полоса */
  min-width: 48px;       /* ширина сегмента */
  flex: 1 1 90px;        /* адаптивность: делим пространство */
  border-radius: 2px;
  background-color: rgba(221,216,216,0.4); /* неактивная: #DDD8D866 */
  border: 0;
  padding: 0;
  transition: background-color 160ms ease, box-shadow 160ms ease;
  box-shadow: inset 0 0 0 1px rgba(221,216,216,0.4);
}

/* соединённый эффект: чтобы линии выглядели связанными, обернём в контейнер и уберём gap для больших экранов */
.group-switch .group-line + .group-line {
  margin-left: 0;
}

/* Активный сегмент */
.group-line.active {
  background-color: rgba(146,146,146,0.5); /* #92929280 */
  box-shadow: 0 0 6px rgba(146,146,146,0.12);
}

/* Скрытие иконок вне активной группы */
.nav-icon.hidden-by-group {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
}

/* Показ иконок активной группы */
.nav-icon.visible-by-group {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity .18s ease, transform .18s ease;
}

/* Responsive tweaks: сохраняем прежнее поведение скролла контейнера */
@media (max-width: 767px) {
  .group-switch { width: calc(100% - 40px); margin-left: 20px; margin-right: 20px; margin-top: 24px;}
  .group-line { min-width: 64px; }
}

/* Optional: анимация клика */
.group-line:active { transform: translateY(1px); }

/* --- FLEX-иконки города: равномерное распределение и скрытие через display:none --- */
.city-icons-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.city-nav-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  max-width: 84px;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform .16s ease;
}
.city-nav-icon img, .city-nav-icon {
  margin: 0 auto;
  display: block;
}
.city-nav-icon.hidden-by-group {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}
.city-nav-icon.visible-by-group {
  display: inline-flex !important;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.city-nav-icon:hover { transform: translateY(-2px); }



/* --- Group switch labels --- */
.group-labels {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 8px auto;
  gap: 0;
  position: relative;
}
.group-label {
  flex: 1 1 0;
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 2px;
  letter-spacing: 0.01em;
  user-select: none;
  font-weight: 500;
  opacity: 0.7;
}
.flicker-label {
  animation: fadeInOut 2s linear 0s 2;
}

/* --- Плашка "ссылка скопирована" --- */
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #009dff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.copy-toast.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}



/* --- Группы над иконками --- */
.group-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.group-label {
  flex: 1;
  text-align: center;
  padding: 0px 0 6px 0;
  border-radius: 16px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: #222;
  outline: none;
}
.group-label.active,
.group-label[aria-selected="true"] {
  color: #009dff;
}
.group-label.flicker-label {
  animation: flickerLabel 1.2s linear 1;
}
@keyframes flickerLabel {
  0%,100% { opacity: 1; }
  10%,30%,50%,70%,90% { opacity: 0.3; }
  20%,40%,60%,80% { opacity: 1; }
}
.group-switch {
  display: none !important;
}

.section--choose .section__title {
  text-align: center; /* Заголовок по центру */
}

.section--choose .section__text--expanded {
  text-align: center; /* Текст по центру */
}

.section--choose .section__item,
.section--choose .section__item--text {
  background-color: transparent !important; /* Убираем белый фон */
}
.main-content-center {
  min-height: 50vh;   /* занимаем половину высоты экрана */
  margin-top: 80px;
  margin-bottom: 30px;
}

.choose-label {
  font-size: 18px;
  line-height: 20px; /* 111% */
  text-align: center;
  letter-spacing: -0.5px;
  color: #242424;
}

.choose-detail {
  font-size: 13px;
  line-height: 20px; /* 111% */
  text-align: right;
  letter-spacing: -0.5px;
  color: #242424;
}