.bh-catalog {
  background: #fff;
  color: #071538;
}

.catalog-main {
  min-height: 70vh;
}

.catalog-hero {
  background: #07479c;
  color: #fff;
  min-height: 320px;
  padding: 0;
}

.bh-catalog .bh-header {
  border-bottom: 0;
}

.bh-catalog .bh-services a.active {
  color: #fff;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 -3px 0 #ffc400;
}

.bh-catalog .bh-services a:hover:not(.active) {
  background: rgba(255,255,255,.09);
  box-shadow: none;
}

.catalog-hero .bh-shell {
  position: relative;
  height: 320px;
}

.catalog-hero-copy {
  padding-top: 82px;
}

.catalog-hero-copy h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.13;
}

.catalog-hero-copy p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 20px;
}

.catalog-travel-copy {
  padding-top: 54px;
}

.catalog-travel-copy h1 {
  display: grid;
  font-size: clamp(38px, 4vw, 52px);
}

.catalog-travel-copy h1 span:first-child {
  color: #ffd33f;
}

.module-search {
  position: absolute;
  bottom: -31px;
  left: 0;
  z-index: 4;
  display: grid;
  width: min(900px, 100%);
  min-height: 72px;
  overflow: visible;
  border: 4px solid #ffc400;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 24, 63, .18);
}

.module-search > label {
  background: #fff;
}

.module-search > label:first-child {
  border-radius: 2px 0 0 2px;
}

.module-search-stay,
.module-search-tour {
  grid-template-columns: 1fr 1.3fr 1.5fr 165px;
}

.module-search-flight {
  width: min(1070px, 100%);
  grid-template-columns: 1fr 1fr .92fr .92fr 1.12fr 155px;
  border: 0;
}

.module-search label {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 3px;
  padding: 9px 28px;
  border-right: 1px solid #d8dce5;
  color: #071538;
}

.module-search:not(.module-search-flight) label:first-child,
.module-search:not(.module-search-flight) label:nth-child(2),
.module-search:not(.module-search-flight) label:nth-child(3) {
  border-right: 4px solid #ffc400;
}

.module-search label strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-search label span,
.module-search input {
  overflow: hidden;
  color: #768198;
  font: 14px/1.4 Jost, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-search select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #768198;
  background: transparent;
  font: 14px/1.4 Jost, sans-serif;
}

.module-search .bh-search-popup {
  top: 78px;
}

.module-search .bh-date-popup {
  left: 0;
}

.module-search .bh-guest-popup {
  right: 0;
}

.module-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.module-search > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  background: #0879bd;
  color: #fff;
  font: 600 17px/1 Jost, sans-serif;
  cursor: pointer;
}

.catalog-travel-copy + .module-search > button {
  margin: 10px;
  border-radius: 4px;
  background: #ffd33f;
  color: #071538;
}

.catalog-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #ffc629;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.catalog-hero h1 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.catalog-hero p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

.catalog-search {
  display: flex;
  align-items: center;
  width: min(430px, 100%);
  min-height: 58px;
  padding-left: 20px;
  overflow: hidden;
  border: 3px solid #ffc400;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 27, 74, .22);
}

.catalog-search > span {
  color: #315272;
  font-size: 18px;
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: #071538;
  font: inherit;
}

.catalog-search button {
  align-self: stretch;
  padding: 0 26px;
  border: 0;
  background: #0879bd;
  color: #fff;
  font: 600 15px/1 Jost, sans-serif;
  cursor: pointer;
}

.catalog-section {
  padding-top: 62px;
  padding-bottom: 90px;
}

.catalog-benefits {
  background: #fff;
}

.catalog-benefits .bh-section {
  padding-top: 112px;
  padding-bottom: 82px;
}

.catalog-section-heading {
  margin-bottom: 52px;
  text-align: center;
}

.catalog-section-heading h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.catalog-section-heading p {
  margin: 0;
  color: #77839a;
}

.catalog-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.catalog-benefit-grid img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.catalog-benefit-grid h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.catalog-benefit-grid p {
  max-width: 300px;
  margin: auto;
  color: #78849a;
  font-size: 14px;
  line-height: 1.7;
}

.catalog-faq {
  background: #fafafa;
}

.catalog-faq .bh-section {
  width: min(850px, calc(100% - 40px));
  padding-top: 82px;
  padding-bottom: 90px;
}

.catalog-faq-list {
  display: grid;
  gap: 18px;
}

.catalog-faq-list article {
  overflow: hidden;
  border: 1px solid #d7dbe3;
  border-radius: 4px;
  background: #fff;
}

.catalog-faq-question {
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border: 0;
  background: #fff;
  color: #071538;
  font: 600 15px/1.4 Jost, sans-serif;
  text-align: left;
  cursor: pointer;
}

.catalog-faq-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #f5f6f8;
  color: #07377b;
  font-size: 28px;
  font-weight: 400;
}

.catalog-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 82px;
  color: #707d94;
  line-height: 1.7;
  transition: max-height .25s ease, padding .25s ease;
}

.catalog-faq-list article.open .catalog-faq-answer {
  max-height: 150px;
  padding-top: 0;
  padding-bottom: 22px;
}

.bh-catalog .catalog-section {
  width: min(1300px, calc(100% - 64px));
  margin: 0 auto;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.catalog-toolbar h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.catalog-toolbar span {
  color: #69758d;
}

.catalog-toolbar select {
  min-width: 195px;
  height: 50px;
  padding: 0 38px 0 16px;
  border: 1px solid #d8dce5;
  border-radius: 5px;
  background: #fff;
  color: #071538;
  font: 500 14px/1 Jost, sans-serif;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
}

.catalog-card {
  min-width: 0;
}

.catalog-image {
  position: relative;
  display: block;
  height: 265px;
  overflow: hidden;
  border-radius: 5px;
  background: #eef1f5;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.035);
}

.catalog-image button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #071538;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(5, 26, 61, .14);
}

.catalog-image button.saved {
  background: #2855d9;
  color: #fff;
}

.catalog-card-body {
  padding-top: 15px;
}

.catalog-type {
  color: #315bdd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 5px 0 5px;
  overflow: hidden;
  color: #071538;
  font-size: 18px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card p {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 14px;
  overflow: hidden;
  color: #737f96;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-size: 13px;
}

.catalog-rating > span:first-child {
  padding: 6px 7px;
  border-radius: 4px;
  background: #315bdd;
  color: #fff;
  font-weight: 700;
}

.catalog-rating strong {
  font-weight: 500;
}

.catalog-verified {
  margin-left: auto;
  color: #8a93a5;
  font-size: 11px;
}

.catalog-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 15px;
  font-size: 13px;
}

.catalog-price strong {
  color: #2855d9;
  font-size: 17px;
}

.catalog-price span:last-child {
  color: #7b8496;
}

.catalog-card-body > a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #315bdd;
  border-radius: 4px;
  color: #2855d9;
  font-weight: 600;
  text-align: center;
  transition: .2s ease;
}

.catalog-card-body > a:hover {
  background: #2855d9;
  color: #fff;
}

.catalog-empty {
  padding: 70px 24px;
  border: 1px dashed #cbd2df;
  border-radius: 8px;
  background: #fafbfc;
  text-align: center;
}

.catalog-empty > span {
  color: #315bdd;
  font-size: 32px;
}

.catalog-empty h2 {
  margin: 14px 0 5px;
}

.catalog-empty p {
  margin: 0 0 20px;
  color: #737f96;
}

.catalog-empty a {
  color: #2855d9;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-search-flight { grid-template-columns: 1fr 1fr 1fr; bottom: -104px; }
  .module-search-flight > button { min-height: 64px; }
  .catalog-travel-copy + .module-search-flight > button { margin: 0; border-radius: 0; }
  .catalog-hero:has(.module-search-flight) + .catalog-benefits .bh-section { padding-top: 180px; }
}

@media (max-width: 820px) {
  .catalog-hero { min-height: 470px; padding: 0; }
  .catalog-hero .bh-shell { height: 470px; }
  .catalog-hero-copy, .catalog-travel-copy { padding-top: 48px; }
  .catalog-hero-copy p { font-size: 17px; }
  .module-search,
  .module-search-stay,
  .module-search-tour,
  .module-search-flight {
    bottom: 22px;
    grid-template-columns: 1fr 1fr;
    border-width: 3px;
  }
  .module-search label { min-height: 62px; padding: 8px 16px; border-bottom: 1px solid #d8dce5; }
  .module-search:not(.module-search-flight) label:first-child,
  .module-search:not(.module-search-flight) label:nth-child(2),
  .module-search:not(.module-search-flight) label:nth-child(3) { border-right: 1px solid #d8dce5; }
  .module-search > button { min-height: 58px; }
  .catalog-travel-copy + .module-search > button { margin: 0; border-radius: 0; }
  .catalog-benefits .bh-section { padding-top: 70px; }
  .catalog-search { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-catalog .catalog-section { width: min(100% - 40px, 1300px); }
  .catalog-benefit-grid { gap: 30px; }
}

@media (max-width: 560px) {
  .catalog-hero { min-height: 560px; }
  .catalog-hero .bh-shell { height: 560px; }
  .catalog-hero-copy h1 { font-size: 34px; }
  .module-search,
  .module-search-stay,
  .module-search-tour,
  .module-search-flight { grid-template-columns: 1fr; }
  .module-search label { min-height: 58px; border-right: 0 !important; }
  .catalog-section { padding-top: 42px; padding-bottom: 60px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar select { width: 100%; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-image { height: 290px; }
  .catalog-search button { padding: 0 17px; }
  .catalog-verified { display: none; }
  .bh-catalog .catalog-section { width: calc(100% - 28px); }
  .catalog-benefits .bh-section, .catalog-faq .bh-section { padding-top: 55px; padding-bottom: 60px; }
  .catalog-section-heading { margin-bottom: 35px; }
  .catalog-benefit-grid { grid-template-columns: 1fr; gap: 42px; }
  .catalog-faq-question { min-height: 70px; padding-inline: 14px; }
  .catalog-faq-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 24px; }
  .catalog-faq-answer { padding-inline: 70px 18px; }
}
