.vbh-guest-capacity-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #b42318;
  border-radius: 8px;
  background: #fff1f0;
  color: #8a1c13;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.vbh-pet-policy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #24312d;
  font-size: 15px;
}

.vbh-pet-policy span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #edf5f1;
  color: #176a4c;
  font-weight: 800;
}

.vbh-public-booking__intro h2 {
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  word-spacing: 0.14em !important;
  white-space: normal !important;
}

.vbh-public-booking form.vbh-search > .vbh-pet-policy {
  grid-column: 1 / 3;
  align-self: center;
  margin: 0;
}

.vbh-public-booking[data-vbh-layout="below-description"] form.vbh-search > button.vbh-button[type="submit"] {
  grid-column: 3 / -1;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 24px;
  line-height: 1.2;
  letter-spacing: normal;
  white-space: nowrap;
}

.vbh-home-search {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 56px;
  padding: 26px;
  border: 1px solid rgba(17, 74, 62, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(25, 53, 47, 0.14);
}

.vbh-home-search__inner > h2 {
  margin: 4px 0 18px;
  color: #173f36;
  font-size: clamp(24px, 2.4vw, 34px);
}

.vbh-home-search__form {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(4, minmax(112px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.vbh-home-search__form label,
.vbh-children-field {
  display: grid;
  gap: 6px;
  color: #263b35;
  font-size: 14px;
  font-weight: 700;
}

.vbh-home-search__form input,
.vbh-home-search__form select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #bccbc6;
  border-radius: 8px;
  background: #fff;
  color: #172621;
}

.vbh-home-search__form .vbh-date-field {
  gap: 6px;
  color: #263b35;
  font-size: 14px;
  font-weight: 700;
}

.vbh-home-search__form .vbh-date-trigger {
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.vbh-home-search__form .vbh-button {
  min-height: 46px;
  border-color: #087f8c;
  background: #087f8c;
  color: #fff !important;
  white-space: nowrap;
}

.vbh-home-search__form .vbh-button:hover,
.vbh-home-search__form .vbh-button:focus {
  border-color: #05616b;
  background: #05616b;
  color: #fff !important;
}

.vbh-home-search .vbh-calendar,
.vbh-home-search .vbh-stay-rule {
  margin-top: 18px !important;
}

@media (max-width: 1024px) {
  .vbh-public-booking[data-vbh-layout="below-description"] form.vbh-search > .vbh-pet-policy,
  .vbh-public-booking[data-vbh-layout="below-description"] form.vbh-search > button.vbh-button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .vbh-home-search {
    margin-top: 28px;
  }

  .vbh-home-search__form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vbh-home-search__form .vbh-button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .vbh-home-search {
    width: min(100% - 24px, 560px);
    margin: 22px auto 36px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .vbh-home-search__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vbh-home-search__form label:first-of-type,
  .vbh-home-search__form .vbh-button,
  .vbh-home-search__form .vbh-guest-capacity-message,
  .vbh-home-search__form + .vbh-pet-policy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .vbh-home-search__form {
    grid-template-columns: 1fr;
  }

  .vbh-home-search__form > * {
    grid-column: 1 / -1;
  }
}
