.ibh-home-search {
  --ibh-blue: #0A66FF;
  --ibh-blue-2: #0099FF;
  --ibh-blue-deep: #0066FF;
  --ibh-ink: #101828;
  --ibh-muted: #667085;
  --ibh-line: rgba(16, 24, 40, .08);
  position: relative;
  z-index: 4;
  padding: 24px !important;
  border: 1px solid rgba(0, 0, 0, .06) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
  animation: ibhSearchIn .55s ease both;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ibh-home-search:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 102, 255, .14) !important;
  box-shadow: 0 26px 70px rgba(10, 102, 255, .13) !important;
}
.box-section .ibh-site-search {
  margin-top: 24px;
}
.ibh-hotel-listing-hero {
  position: relative;
  height: 220px;
  min-height: 220px;
  padding: 0 !important;
  overflow: hidden;
  background-position: top center !important;
  background-size: cover !important;
}
.ibh-hotel-listing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 34, .12), rgba(7, 18, 34, .24));
  pointer-events: none;
}
.ibh-hotel-search-section {
  padding: 22px 0 0;
  margin: 0;
}
.ibh-hotel-search-section > .container,
.ibh-hotel-search-section + .section-box > .container,
.ibh-listing-content-section > .container {
  max-width: 1320px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.ibh-hotel-search-section .ibh-site-search {
  width: 100%;
  max-width: 1320px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}
.ibh-hotel-search-section + .section-box {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.ibh-listing-content-section {
  margin-top: 40px !important;
  padding-top: 0 !important;
}
.ibh-listing-content-section > .container {
  padding-top: 0 !important;
}
.ibh-hotel-search-section + .section-box > .container > .row:first-child,
.ibh-listing-content-section > .container > .row:first-child {
  margin-top: 0 !important;
}
@media (max-width: 991.98px) {
  .ibh-hotel-listing-hero {
    height: 180px;
    min-height: 180px;
  }
  .ibh-hotel-search-section {
    padding-top: 18px;
    padding-bottom: 0;
  }
  .ibh-listing-content-section {
    margin-top: 32px !important;
  }
}
@media (max-width: 767.98px) {
  .ibh-hotel-listing-hero {
    height: 150px;
    min-height: 150px;
  }
  .ibh-hotel-search-section {
    padding-top: 14px;
    padding-bottom: 0;
  }
  .ibh-listing-content-section {
    margin-top: 24px !important;
  }
}
.ibh-home-search .box-top-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ibh-home-search .left-top-search {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ibh-home-search .left-top-search::-webkit-scrollbar { display: none; }
.ibh-home-search .category-link {
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px !important;
  border: 1px solid rgba(16, 24, 40, .1);
  border-radius: 999px !important;
  background: #fff;
  color: var(--ibh-ink) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ibh-home-search .category-link:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 102, 255, .24);
  background: #F1F7FF;
  color: var(--ibh-blue) !important;
}
.ibh-home-search .category-link.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ibh-blue), var(--ibh-blue-2));
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(10, 102, 255, .28);
}
.ibh-tab-icon,
.ibh-help-icon,
.ibh-feature-icon,
.ibh-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ibh-tab-icon svg,
.ibh-help-icon svg,
.ibh-feature-icon svg,
.ibh-field-icon svg,
.sb-guest-kind svg {
  width: 18px;
  height: 18px;
}
.ibh-help-badge {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(10, 102, 255, .12);
  border-radius: 999px;
  background: #EEF6FF;
  color: #075EDB !important;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.ibh-help-badge:hover {
  transform: translateY(-2px);
  background: #E1F0FF;
  box-shadow: 0 14px 28px rgba(10, 102, 255, .14);
}
.ibh-premium-search-form { margin: 0; }
.ibh-home-search .box-bottom-search.sb-search-row {
  display: grid !important;
  grid-template-columns: minmax(230px, 1.35fr) minmax(180px, .85fr) minmax(180px, .85fr) minmax(200px, .95fr) minmax(154px, .72fr);
  gap: 20px !important;
  align-items: stretch !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ibh-home-search .box-bottom-search.sb-search-row.sb-mode-tour {
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(154px, 2fr) !important;
}
.ibh-home-search .item-search::before { display: none !important; }
.ibh-home-search .item-search {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.ibh-search-field {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px !important;
  border: 1px solid var(--ibh-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .035);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.ibh-search-field:hover,
.ibh-search-field:focus-within,
.ibh-search-field.is-focused {
  transform: translateY(-2px);
  border-color: rgba(10, 102, 255, .55);
  box-shadow: 0 16px 34px rgba(10, 102, 255, .12);
}
.ibh-field-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(180deg, #F1F7FF, #E7F2FF);
  color: var(--ibh-blue);
}
.ibh-field-body {
  min-width: 0;
  width: 100%;
}
.ibh-search-field label {
  display: block;
  margin: 0 0 5px !important;
  color: var(--ibh-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.1;
  text-transform: uppercase;
}
.ibh-search-field .sb-input,
.ibh-search-field .sb-guest-btn {
  width: 100%;
  min-height: 25px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ibh-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  font-family: inherit;
}
.ibh-search-field .sb-input::placeholder { color: #A0A8B5; font-weight: 700; }
.ibh-search-field .sb-input::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 4px;
  opacity: .65;
  cursor: pointer;
  transition: background .3s ease, opacity .3s ease;
}
.ibh-search-field .sb-input::-webkit-calendar-picker-indicator:hover {
  background: #EAF3FF;
  opacity: 1;
}
.sb-guest-wrap { position: relative; }
.sb-guest-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.ibh-guest-chevron {
  width: 17px;
  height: 17px;
  color: #7A8699;
  transition: transform .3s ease;
}
.sb-guest-btn[aria-expanded="true"] .ibh-guest-chevron { transform: rotate(180deg); }
.sb-guest-panel {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: -54px;
  z-index: 9999;
  min-width: 292px;
  padding: 16px;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 56px rgba(16, 24, 40, .16);
  animation: ibhPanelIn .22s ease both;
}
.sb-guest-panel.open { display: block; }
.sb-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}
.sb-guest-row + .sb-guest-row { border-top: 1px solid rgba(16, 24, 40, .07); }
.sb-guest-kind {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ibh-ink);
  font-size: 14px;
  font-weight: 800;
}
.sb-guest-kind svg { color: var(--ibh-blue); }
.sb-guest-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sb-guest-ctrl button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(10, 102, 255, .22);
  border-radius: 50%;
  background: #F3F8FF;
  color: var(--ibh-blue);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.sb-guest-ctrl button:hover {
  transform: translateY(-1px);
  background: #E4F1FF;
  box-shadow: 0 8px 18px rgba(10, 102, 255, .14);
}
.sb-count {
  min-width: 22px;
  color: var(--ibh-ink);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}
.sb-room-note {
  color: #7A8699;
  font-size: 13px;
  font-weight: 800;
}
.ibh-home-search .sb-search-submit {
  min-width: 154px !important;
  display: flex !important;
}
.ibh-search-submit-btn {
  width: 100%;
  height: 72px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0 !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--ibh-blue), var(--ibh-blue-deep)) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 38px rgba(10, 102, 255, .28);
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.ibh-search-submit-btn svg {
  width: 22px;
  height: 22px;
}
.ibh-search-submit-btn svg path { stroke: currentColor; }
.ibh-search-submit-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 24px 46px rgba(10, 102, 255, .36);
}
.ibh-search-submit-btn:active { transform: scale(.97); }
.ibh-search-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 24, 40, .07);
}
.ibh-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ibh-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EAF3FF;
  color: var(--ibh-blue);
}
.ibh-feature-copy strong {
  display: block;
  color: var(--ibh-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}
.ibh-feature-copy span {
  display: block;
  margin-top: 2px;
  color: #7A8699;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}
.ibh-date-picker {
  position: absolute;
  z-index: 99999;
  width: 320px;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(16, 24, 40, .18);
  padding: 14px;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  font-family: inherit;
  transition: opacity .3s ease, transform .3s ease;
}
.ibh-date-picker.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ibh-date-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ibh-date-month {
  color: var(--ibh-ink);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}
.ibh-date-nav {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 102, 255, .16);
  border-radius: 50%;
  background: #F3F8FF;
  color: var(--ibh-blue);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.ibh-date-nav:hover {
  transform: translateY(-1px);
  background: #E4F1FF;
  box-shadow: 0 8px 18px rgba(10, 102, 255, .13);
}
.ibh-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.ibh-date-dow {
  color: #7A8699;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  padding: 5px 0;
}
.ibh-date-day {
  min-width: 0;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ibh-ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}
.ibh-date-day:hover {
  transform: translateY(-1px);
  background: #EEF6FF;
  color: var(--ibh-blue);
}
.ibh-date-day.is-today {
  background: #EAF3FF;
  color: var(--ibh-blue);
}
.ibh-date-day.is-selected {
  background: linear-gradient(135deg, var(--ibh-blue), var(--ibh-blue-2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(10, 102, 255, .25);
}
.ibh-date-day.is-muted {
  color: #BAC1CE;
}
.ibh-date-day:disabled {
  color: #CDD3DD;
  cursor: not-allowed;
  transform: none;
  background: transparent;
  box-shadow: none;
}
.ibh-help-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 18, 34, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease;
}
.ibh-help-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ibh-help-modal {
  width: 520px;
  max-width: 90vw;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  padding: 24px;
  transform: scale(.94) translateY(12px);
  transition: transform .3s ease;
}
.ibh-help-modal-overlay.is-open .ibh-help-modal {
  transform: scale(1) translateY(0);
}
.ibh-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ibh-modal-title {
  margin: 0;
  color: var(--ibh-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.ibh-modal-subtitle {
  margin: 7px 0 0;
  color: var(--ibh-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
.ibh-modal-x {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 24, 40, .1);
  border-radius: 50%;
  background: #fff;
  color: var(--ibh-ink);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.ibh-modal-x:hover {
  transform: rotate(90deg);
  background: #F3F8FF;
}
.ibh-help-form {
  display: grid;
  gap: 14px;
}
.ibh-modal-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ibh-ink);
  font-size: 12px;
  font-weight: 900;
}
.ibh-modal-control {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(16, 24, 40, .1);
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.ibh-modal-field:focus-within .ibh-modal-control {
  border-color: rgba(10, 102, 255, .58);
  box-shadow: 0 12px 28px rgba(10, 102, 255, .12);
}
.ibh-modal-control svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--ibh-blue);
}
.ibh-modal-control input,
.ibh-modal-control textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ibh-ink);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
}
.ibh-modal-control textarea {
  min-height: 104px;
  resize: vertical;
  padding: 17px 0;
}
.ibh-modal-control.is-message {
  height: auto;
  align-items: flex-start;
}
.ibh-modal-error {
  min-height: 16px;
  margin-top: 5px;
  color: #D92D20;
  font-size: 12px;
  font-weight: 700;
}
.ibh-modal-status {
  display: none;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 800;
}
.ibh-modal-status.is-success {
  display: block;
  background: #EAF8F0;
  color: #157347;
}
.ibh-modal-status.is-error {
  display: block;
  background: #FFF1F1;
  color: #C92A2A;
}
.ibh-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
.ibh-modal-primary,
.ibh-modal-secondary {
  flex: 1 1 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.ibh-modal-primary {
  border: 0;
  background: linear-gradient(135deg, #0A66FF, #006DFF);
  color: #fff;
  box-shadow: 0 16px 32px rgba(10, 102, 255, .24);
}
.ibh-modal-primary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.ibh-modal-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 40px rgba(10, 102, 255, .32);
}
.ibh-modal-primary:disabled {
  cursor: not-allowed;
  opacity: .72;
  transform: none;
  filter: none;
}
.ibh-modal-secondary {
  border: 1px solid rgba(16, 24, 40, .12);
  background: #fff;
  color: var(--ibh-ink);
}
.ibh-modal-secondary:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
}
body.ibh-modal-locked { overflow: hidden; }
@keyframes ibhSearchIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ibhPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1199.98px) {
  .ibh-home-search .box-bottom-search.sb-search-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ibh-home-search .box-bottom-search.sb-search-row.sb-mode-tour {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(154px, 2fr) !important;
  }
  .ibh-home-search .sb-mode-hotel .sb-search-submit { grid-column: 1 / -1; }
  .ibh-search-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) and (min-width: 768px) {
  .ibh-home-search .box-bottom-search.sb-search-row.sb-mode-tour {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ibh-home-search .sb-mode-tour .ibh-search-field-location {
    grid-column: 1 / -1;
  }
  .ibh-home-search .sb-mode-tour .sb-search-submit {
    grid-column: auto;
  }
  .ibh-help-modal {
    width: 90vw;
  }
}
@media (max-width: 767.98px) {
  .ibh-home-search {
    padding: 18px !important;
    border-radius: 22px !important;
  }
  .ibh-home-search .box-top-search {
    align-items: flex-start;
    flex-direction: column;
  }
  .ibh-home-search .left-top-search {
    width: 100%;
    padding-bottom: 2px;
  }
  .ibh-home-search .category-link {
    min-height: 46px;
    padding: 0 18px !important;
  }
  .ibh-help-badge { min-height: 42px; }
  .ibh-home-search .box-bottom-search.sb-search-row,
  .ibh-home-search .box-bottom-search.sb-search-row.sb-mode-tour {
    grid-template-columns: 1fr !important;
  }
  .ibh-search-field,
  .ibh-search-submit-btn {
    height: 72px;
  }
  .sb-guest-panel {
    left: 0;
    right: 0;
    min-width: 100%;
  }
  .ibh-search-features {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .ibh-date-picker {
    width: calc(100% - 32px);
    padding: 12px;
  }
  .ibh-date-grid { gap: 4px; }
  .ibh-date-day { height: 34px; }
  .ibh-help-modal-overlay { padding: 16px; }
  .ibh-help-modal {
    width: 95vw;
    max-width: 95vw;
    padding: 20px;
    border-radius: 22px;
  }
  .ibh-modal-title { font-size: 21px; }
  .ibh-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ibh-modal-primary,
  .ibh-modal-secondary {
    width: 100%;
    flex-basis: auto;
  }
}
