.catalog-card-title {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: 0;
}

.catalog-card-departures .btn-day.is-unavailable {
  border-color: #d6d9da;
  background: #f4f5f5;
  color: #a0a5a7;
  font-weight: 500;
}

.catalog-card-meta-separator {
  margin-inline: .25em;
}

.catalog-filter-group {
  min-width: 0;
  margin-inline: 0;
  border: 0;
}

.catalog-filter-group legend {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
}

.form-icon-filter {
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: 0;
}

.catalog-active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
}

.catalog-active-filters[hidden] {
  display: none;
}

.catalog-filter-count[hidden] {
  display: none !important;
}

.catalog-active-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-active-filter {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid #c9ced1;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0;
}

.catalog-active-filter i {
  margin-left: 7px;
  color: #777;
}

.catalog-clear-filters {
  margin-left: auto;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #465f69;
  text-decoration: underline;
  white-space: nowrap;
}

.catalog-empty-state {
  padding: 55px 20px;
  background: #fff;
  text-align: center;
}

.catalog-empty-state > i {
  margin-bottom: 12px;
  color: #6b7f87;
  font-size: 30px;
}

.catalog-empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.catalog-empty-state p {
  margin: 0 auto 18px;
  max-width: 430px;
}

@media (max-width: 767px) {
  body.catalog-filter-open {
    overflow: hidden;
  }

  .catalog-page {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .catalog-page .container-p-75 {
    padding-right: 14px;
    padding-left: 14px;
  }

  .catalog-page .heading-underline {
    margin-bottom: 14px;
  }

  .catalog-page .heading-underline h3 {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
  }

  .catalog-page .catalog-sidebar,
  .catalog-page .col-sm-8 {
    padding-right: 0;
    padding-left: 0;
  }

  .catalog-few-results .catalog-sidebar,
  .catalog-few-results #catalog-sort-controls,
  .catalog-few-results .catalog-active-filters {
    display: none !important;
  }

  .catalog-page #container-sm-fix-top {
    margin-bottom: 12px;
  }

  .catalog-page #container-sm-fix-top.container-fixed {
    padding: 8px 12px;
  }

  .catalog-page .search-container {
    display: block;
    position: relative;
  }

  .catalog-page .search-container input {
    min-height: 46px;
    padding-right: 104px;
    border-color: #cfd3d5;
    background: #fff;
  }

  .catalog-page .form-icon-filter {
    min-width: 82px;
    min-height: 42px;
    padding: 0 8px;
    color: #36535f;
    text-align: right;
  }

  .catalog-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 3px;
    padding: 0 5px;
    border-radius: 10px;
    background: #36535f;
    color: #fff;
    font-size: 11px;
  }

  #BoxTour {
    top: 0;
    bottom: auto;
    height: 100dvh;
    padding-bottom: 84px;
    overscroll-behavior: contain;
  }

  #BoxTour .sm-menu-footer {
    position: sticky;
    top: 0;
  }

  #BoxTour .sm-menu-item {
    min-height: 52px;
  }

  #BoxTour .sm-menu-close {
    width: 54px;
    border: 0;
    border-left: 1px solid #ede7e1;
    background: #fff;
    color: #333;
    font-size: 20px;
  }

  #BoxTour .catalog-filter-group {
    border-bottom: 1px solid #e4e4e4;
  }

  #BoxTour .catalog-filter-group legend {
    margin-bottom: 8px;
    font-size: 14px;
  }

  #BoxTour .checkbox-custom label,
  #BoxTour .radio label {
    min-height: 34px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #BoxTour > .p-20:last-of-type {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 10px 14px 12px;
    border-top: 1px solid #ddd;
    background: #fff;
  }

  #submit-catalog {
    min-height: 46px;
    margin: 0;
  }

  #filter-show,
  #filter-hide {
    min-height: 38px;
    padding-top: 9px;
  }

  .catalog-active-filters {
    align-items: flex-start;
    margin: 0 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-active-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-active-filters-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .catalog-active-filter-list {
    flex-wrap: nowrap;
  }

  .catalog-active-filter {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .catalog-clear-filters {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 2px;
  }

  #catalog-sort-controls .mb-20 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
    margin-bottom: 10px;
  }

  #catalog-sort-controls #btn-catalog-catalog_view {
    display: none;
  }

  #catalog-sort-controls .btn-group,
  #catalog-sort-controls .right {
    float: none;
  }

  #catalog-sort-controls .mb-20 > .btn-group {
    order: 1;
  }

  #catalog-sort-controls .mb-20 > .right:not(.btn-group) {
    order: 2;
  }

  #catalog-sort-controls .btn {
    min-height: 40px;
  }

  .catalog-page #result > .columns {
    column-count: 1;
    column-gap: 0;
  }

  .catalog-page #result {
    padding-inline: 14px;
  }

  .catalog-page .catalog-vertical {
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  }

  .catalog-page .catalog-vertical > a:first-child {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ddd;
  }

  .catalog-page .catalog-vertical > a:first-child > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .catalog-page .box-vertical {
    margin: 0;
    padding: 15px 16px 17px;
  }

  .catalog-page .catalog-card-title {
    display: -webkit-box;
    height: auto;
    max-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 17px;
    line-height: 24px;
  }

  .catalog-page .container-v-overview {
    height: auto;
    min-height: 46px;
    margin: 0 0 11px;
  }

  .catalog-page .container-v-mark {
    width: calc(100% - 104px);
  }

  .catalog-page .container-v-price {
    width: 104px;
  }

  .catalog-page .container-v-price b {
    margin-top: 2px;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .catalog-page .catalog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 7px;
    row-gap: 3px;
    height: auto;
    min-height: 18px;
    margin-bottom: 7px;
    line-height: 19px;
    white-space: normal;
  }

  .catalog-page .catalog-card-meta-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .catalog-page .catalog-card-meta-item i {
    margin-right: 4px;
  }

  .catalog-page .catalog-card-meta-separator {
    margin-inline: 0;
    color: #aaa;
  }

  .catalog-page .catalog-card-departures {
    min-height: 22px;
  }

  .catalog-page .catalog-card-departures > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    margin-top: 0;
  }

  .catalog-page .catalog-card-departures .btn-day {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 22px;
    height: 19px;
    margin-right: 0;
    line-height: 17px;
  }

  .catalog-page .catalog-card-description {
    display: -webkit-box;
    height: 40px;
    margin-bottom: 11px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 20px;
  }

  .catalog-page .catalog-card-highlights,
  .catalog-page .catalog-card-context {
    display: none;
  }

  .catalog-page .catalog-card-context.catalog-card-has-start {
    display: flex;
    height: auto;
    min-height: 18px;
    margin: 2px 0 0;
    white-space: normal;
  }

  .catalog-page .catalog-card-taxonomy {
    display: none;
  }

  .catalog-page .catalog-card-start {
    display: block;
  }

  .catalog-page .box-vertical table {
    margin-top: 5px;
  }

  .catalog-page .box-vertical .button {
    min-height: 42px;
    line-height: 28px;
  }

  .catalog-empty-state {
    padding: 38px 18px;
  }

  .catalog-empty-state .button {
    width: 100%;
    min-height: 44px;
  }

  .catalog-page.is-loading #result {
    min-height: 280px;
    opacity: .55;
    pointer-events: none;
  }

  .catalog-page .pagination {
    display: flex;
    float: none !important;
    justify-content: center;
    width: 100%;
  }

  .catalog-page .pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #BoxTour {
    transition: none;
  }
}
