.landing-h,
.landing-h-text {
  font-family: "Verdana";
  font-weight: 700;
  color: rgba(38, 37, 37, 1);
  font-size: clamp(1.2rem, 2vw, 2.5rem);
}
.landing-h-text {
  text-align: center;
}
/* Бейджи тарифов на карточках залов */
.venue-card-wrapper,
.venue-card {
  position: relative;
}

.venue-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.venue-badge--standard {
  background-color: rgba(0, 5, 110, 1); /* Партнёр */
}

.venue-badge--premium {
  background-color: rgba(0, 5, 110, 1); /* Рекомендуем */
}

/* Бейджи пакетов на карточках мероприятий */
.event-card-wrapper {
  position: relative;
}

.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-badge--partner {
  background-color: rgba(0, 5, 110, 1); /* ПАРТНЁР */
}

.event-badge--recommended {
  background-color: rgba(0, 5, 110, 1); /* РЕКОМЕНДУЕМ */
}

/* Контакты площадки на странице детали */
.venue-contacts {
  font-size: 0.9rem;
  color: #333;
}

/* Кнопка "Показать контакты" для тарифа Standard */
.contacts-toggle-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid rgba(0, 5, 110, 1);
  border-radius: 20px;
  background: transparent;
  color: rgba(0, 5, 110, 1);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.contacts-toggle-btn:hover {
  background: rgba(0, 5, 110, 1);
  color: #fff;
}

.venue-contacts-hidden {
  display: none;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #333;
}

/* Убираем стрелки у поля количества участников */
.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spinners {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Фильтры лендинга — изолированные стили */
.landing-block .filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.landing-block .filter-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.landing-block .lndg-filter-col-category {
  flex: 0 0 25%;
  max-width: 25%;
}

.landing-block .lndg-filter-col-date {
  flex: 0 0 20%;
  max-width: 20%;
}

.landing-block .lndg-filter-col-title {
  flex: 0 0 30%;
  max-width: 30%;
}

.landing-block .lndg-filter-col-button {
  flex: 0 0 15%;
  max-width: 15%;
  display: flex;
  align-items: flex-end;
}

.filter-col {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  padding-right: 10px;
}

.landing-block > .row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.landing-block > .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* Фильтры-колонки */
.filter-col {
  display: flex;
  flex-direction: column;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 23.14px;
  border-top-right-radius: 23.14px;
}
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-spacer {
  flex-grow: 1;
}

.card-body .buy-button {
  margin-top: auto;
}

.btn-primary {
  margin-top: auto;
}

.btn-secondary {
  width: 100%;
  padding: 10px 20px;
  font-size: 1.25rem;
}

.filters-landing {
  background: #00056e;
  padding: clamp(1rem, 3vw, 3rem);
  border-radius: 20px;
  position: relative;
  box-shadow: 1.93px 1.93px 9.64px 0px rgba(0, 0, 0, 0.5);
}

.landing-title {
  width: 65%;
  font-family: "Verdana";
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(1.3rem, 3.5vw, 4.5rem);
}

.landing-text {
  font-family: "Verdana";
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(0.8rem, 1vw, 1rem);
  margin-top: 20px;
  margin-bottom: 2rem;
}

.filter-label {
  color: #9a9a9a;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.75rem, 1vw, 1rem);
  white-space: nowrap;
  margin-bottom: 5px;
}

.filter-button-container-landing {
  width: 70%;
  display: flex;
  align-items: flex-end;
  margin-left: auto;
  height: 100%;
}

.filter-button {
  background: #ff8348;
  border: none;
  height: 36px;
  border-radius: 20px;
  color: #ffffff;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 30px 10px 30px;
}

/* Input with button styles */
.input-with-button {
  position: relative;
  width: 100%;
}

.filter-input {
  border-radius: 20px;
  border: none;
  outline: none;
  box-shadow: none;
}

.filter-input:hover,
.filter-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.input-button {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 49px;
  height: 37px;
  background: #ff8348;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.triangle-down {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid white;
  margin-top: 2px;
  display: none;
}

/* Стили для формы фильтров */
.filters-form {
  display: contents;
}

.events-carousel-wrapper {
  width: 100%;
  height: 100%;
  box-shadow: 1.93px 1.93px 9.64px 0px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

#activeEventsCarousel {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
}

.carousel-item img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 20px;
  object-fit: cover;
}

/* Лого в пустом слайде — исключение из правила выше */
.carousel-item .carousel-empty-slide img {
  object-fit: contain;
  border-radius: 0;
}

/* Пустой слайд карусели (когда нет мероприятий) */
.carousel-empty-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.carousel-empty-logo {
  opacity: 0.85;
}

.carousel-empty-text {
  font-family: "Verdana", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1rem);
  color: #666;
  margin: 0;
}

.active-event-info {
  font-family: "Verdana";
  font-weight: 400;
  font-size: clamp(0.7rem, 1vw, 1rem);
  background: #ff8348;
  border-radius: 19.28px;
  padding: 7px 10px 7px 10px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 100%;
  display: block;
}
.carousel-caption {
  padding-bottom: 0;
  bottom: 10px;
}

/* Мобильные: показываем caption */
.carousel-caption .active-event-info {
  background: rgba(255, 131, 72, 0.92) !important;
  backdrop-filter: blur(4px);
}

.active-event-info a {
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.7rem, 1vw, 1rem);
}

.card {
  border-radius: 23.14px;
  box-shadow: 1.93px 1.93px 9.64px 0px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-title {
  color: #000000;
  font-family: "Verdana";
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 1rem);
}

.icon-calendar {
  margin-bottom: 3px;
  width: 18px;
  height: 18px;
}
.card-date {
  margin-left: 10px;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: #000000;
  font-family: "Verdana";
  font-weight: 700;
}

.card-label {
  color: #777a8d;
  font-family: "Verdana";
  font-weight: 400;
  font-size: 0.8rem;
  margin: 0;
  margin-top: 2px;
}

.block-text {
  margin-top: -20px;
}
.arrow-card {
  width: 15px;
  height: 15px;
}

.card-verified {
  color: rgba(119, 122, 141, 1);
  font-family: "Verdana";
  font-weight: 400;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  margin-left: 2px;
}
.badge {
  color: #070707;
  border-radius: 20px;
  font-family: "Verdana";
  font-weight: 400;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  margin-left: -5px;
  padding: 3px 8px;
  display: inline-block;
}
.buy-button,
.refund-button,
.btn-entry-control {
  background: #ff8348;
  text-align: center;
  color: #ffffff;
  border-radius: 20px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  width: 100%;
  display: block;
  margin-top: auto;
  border: none;
}

.button-others {
  border: solid 3px rgba(2, 54, 156, 1);
  display: block;
  width: 100%;
  padding: 12px 0;
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
  text-align: center;
  border-radius: 25px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.7rem, 1vw, 1rem);
  box-sizing: border-box;
}

.stats-col {
  margin-bottom: 10px !important;
}
.stats-block {
  background: rgba(0, 5, 110, 1);
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.stats-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
}

.stats-number {
  color: #ff8348;
  font-family: "Verdana";
  font-weight: 700;
  font-size: 6rem;
  margin-right: 30px;
  margin-left: 20px;
}

.stats-content {
  flex: 1;
}

.stats-title {
  color: white;
  font-family: "Verdana";
  font-weight: 700;
  font-size: clamp(0.9rem, 1vw, 1.8rem);
}

.stats-text {
  color: white;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.7rem, 1vw, 1rem);
  line-height: 1.3;
  margin-bottom: 0;
}

.area-text {
  width: 60%;
  font-family: "Montserrat";
  font-weight: 500;
  color: rgba(10, 10, 10, 1);
  font-size: clamp(0.7rem, 1vw, 1rem);
  line-height: 1.3;
}

.venue-adress {
  font-family: "Montserrat";
  font-weight: 500;
  color: rgba(119, 122, 141, 1);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  margin-left: 5px;
}
.card-label-venue {
  color: rgba(119, 122, 141, 1);
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  line-height: 1.3;
}
.card-price-venue {
  color: rgba(7, 7, 7, 1);
  font-family: "Verdana";
  font-weight: 700;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  margin-top: auto;
  line-height: 1;
}

.venue-col {
  margin-bottom: 0.5rem !important;
}

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

.two-button {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.find-button {
  background: rgba(255, 131, 72, 1);
  border: none;
  border-radius: 19.28px;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: clamp(0.7rem, 1vw, 1rem);
  padding: 7px 50px 7px 50px;
  color: white;
  white-space: nowrap;
}
@media (max-width: 1299px) {
  .landing-block > .row.d-none.d-900-flex.d-1300-none .col-4 {
    padding: 0 5px !important;
    box-sizing: border-box;
  }
  .venue-col {
    padding: 0 5px;
  }
  /* Планшетные фильтры — отступы */
  .landing-block .filter-col {
    padding-left: 5px;
    padding-right: 5px;
  }
  .landing-block .lndg-filter-col-price {
    padding-left: 15px;
    padding-right: 10px;
  }
}

/* Скрывать мобильные карточки на экранах >= 900px */
@media (min-width: 900px) {
  .d-900-none {
    display: none !important;
  }
  .d-900-flex {
    display: flex !important;
  }
}

/* Скрывать планшетные карточки на экранах >= 1300px */
@media (min-width: 1300px) {
  .d-1300-none {
    display: none !important;
  }
  .d-1300-flex {
    display: flex !important;
  }
}
@media (max-width: 1300px) {
  .landing-title {
    width: 100%;
  }
  .filter-label,
  .filter-col-price {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 5px !important;
  }
  .filter-button-container-landing {
    margin-left: 0px;
  }
}
/* МОБИЛЬНАЯ ВЕРСИЯ  */
@media (max-width: 900px) {
  .find-button {
    padding: 7px 15px 7px 15px;
  }
  .two-button {
    gap: 5px;
  }
  .landing-text {
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 1.2;
  }
  .filters-landing {
    border-radius: 15px;
    margin-right: 0px;
  }
  .landing-block > .row {
    flex-direction: column;
  }

  .landing-block > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
  }

  /* Фильтры — 100% на мобильной */
  .landing-block .lndg-filter-col-category,
  .landing-block .lndg-filter-col-date,
  .landing-block .lndg-filter-col-title,
  .landing-block .lndg-filter-col-button {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .filters-landing {
    border-radius: 15px;
  }
  .landing-block > .row {
    flex-direction: column;
  }

  .landing-block > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
  }
  /* Показываем карусель на мобильной версии, на 100% ширины */
  .events-carousel-wrapper {
    display: block;
    width: 100% !important;
    height: 400px;
    order: -1;
  }

  .landing-block > .row {
    display: flex;
    flex-wrap: wrap;
  }

  .landing-block > .row > .col-8 {
    order: 1;
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .landing-block > .row > .col-4 {
    order: -1;
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .arrow-right {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid rgba(38, 37, 37, 1);
    margin-left: 5px;
  }

  .landing-block .lndg-filter-col-button {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .landing-block .filter-item {
    width: 100%;
  }

  .filter-input {
    width: 100%;
    border-radius: 15px;
    margin-top: 5px;
    padding: 10px 40px 10px 12px;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
  }

  .input-button {
    position: absolute;
    right: 0px;
    top: 55%;
    transform: translateY(-50%);
    width: 44px;
    height: 42px;
    background: #ff8348;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .input-with-button {
    position: relative;
    width: 100%;
  }

  /* Кнопка НАЙТИ */
  .filter-button-container-landing {
    display: flex;
    margin-left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .filter-button {
    width: 100%;
    background: #ff8348;
    border: none;
    height: 100%;
    border-radius: 10px;
    color: #ffffff;
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 0;
  }

  /* Карточки событий и площадок - 2 в ряд на мобильной */
  .landing-block > .row.d-900-none,
  .landing-block > .row.d-none.d-900-flex.d-1300-none,
  .landing-block > .row.d-none.d-1300-flex {
    flex-direction: row !important;
  }

  .landing-block > .row.d-900-none .col-6,
  .landing-block > .row.d-none.d-900-flex.d-1300-none .col-4,
  .landing-block > .row.d-none.d-1300-flex .col-md-3 {
    width: 50% !important;
    max-width: 50% !important;
    padding: 0 5px;
    box-sizing: border-box;
  }
  .landing-block > .row {
    display: flex;
    flex-wrap: wrap;
  }
  .landing-block > .row > [class*="col-"] {
    margin-bottom: 10px;
  }

  /* Карточки в списках — 2 в строке на мобильной */
  .landing-block > .row.row-cards-list {
    flex-direction: row !important;
  }

  .landing-block > .row.row-cards-list > .event-list-col,
  .landing-block > .row.row-cards-list > .venue-list-col {
    width: 50% !important;
    max-width: 50% !important;
    padding: 0 5px;
    box-sizing: border-box;
  }

  .card {
    border-radius: 15px;
  }

  .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
  }

  .card-label {
    font-size: 0.7rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  /* Стили для блока статистики на мобильной */
  .stats-block {
    border-radius: 15px;
    padding: 10px;
  }

  .stats-number {
    font-size: 3rem;
    margin-right: 15px;
    margin-left: 10px;
  }

  .stats-title {
    margin-bottom: 3px;
  }

  .area-text {
    width: 100%;
  }

  .button-others {
    padding: 7px 0;
  }

  /* Стили для dropdown на мобильной */
  .dropdown-menu-custom {
    max-height: 200px;
  }

  .filter-reset-btn {
    padding: 6px 15px;
  }
}

@media (max-width: 600px) {
  .card-body {
    padding: 10px;
  }
  .block-calendar {
    margin-bottom: 5px;
    padding: 0;
    line-height: 1;
  }
  .filter-check input[type="checkbox"] + span {
    margin: 0 auto;
  }
}

/* ===================== */
/* ПЛЕЙСХОЛДЕРЫ ПУСТЫХ СОСТОЯНИЙ */
/* ===================== */
.empty-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 600px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  border-radius: 16px;
  border: 2px dashed rgba(102, 126, 234, 0.3);
}

.empty-placeholder-icon {
  margin-bottom: 24px;
  color: rgba(102, 126, 234, 0.5);
}

.empty-placeholder-icon svg {
  opacity: 0.6;
}

.empty-placeholder-title {
  font-family: "Verdana", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: rgba(38, 37, 37, 1);
  margin-bottom: 16px;
}

.empty-placeholder-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 12px;
  max-width: 480px;
}

.empty-placeholder-hint {
  font-size: 0.9rem;
  color: rgba(102, 126, 234, 0.8);
  font-style: italic;
  margin-top: 8px;
}

/* Вариация "ничего не найдено по фильтрам" */
.empty-placeholder--notfound {
  background: linear-gradient(135deg, #fdf6ec 0%, #f9e8d8 100%);
  border-color: rgba(230, 145, 56, 0.4);
}

.empty-placeholder--notfound .empty-placeholder-icon {
  color: rgba(230, 145, 56, 0.6);
}

.empty-placeholder--notfound .empty-placeholder-text {
  color: #7a5c3a;
}

.empty-placeholder-button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;
  background: rgba(230, 145, 56, 1);
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.empty-placeholder-button:hover {
  background: rgba(200, 120, 40, 1);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .empty-placeholder {
    padding: 40px 16px;
  }

  .empty-placeholder-title {
    font-size: 1.25rem;
  }

  .empty-placeholder-text {
    font-size: 0.95rem;
  }

  .empty-placeholder-icon {
    margin-bottom: 16px;
  }

  .empty-placeholder-icon svg {
    width: 60px;
    height: 60px;
  }
}
