.mhs-hotel-page {
  background: #edf2f8;
  padding: 18px 0 28px;
}

.mhs-hotel-page-section {
  padding: 0;
}

.mhs-product-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  gap: 10px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cad9ec;
  box-shadow: 0 8px 22px rgba(11, 39, 86, 0.18);
  margin-top: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c2d1e3 rgba(255, 255, 255, 0.6);
  -webkit-overflow-scrolling: touch;
}

.mhs-product-tab {
  flex: 0 0 auto;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #16345d;
  font-size: 16px;
  font-weight: 700;
  padding: 0 20px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mhs-product-tab i {
  font-size: 15px;
  opacity: 0.9;
}

.mhs-product-tab.is-active {
  background: #ffd200;
  color: #111828;
  box-shadow: 0 8px 16px rgba(255, 210, 0, 0.35);
}

.mhs-product-tab.is-active i {
  opacity: 1;
}

.mhs-product-tab:not(.is-active):hover {
  background: #edf3ff;
  border-color: #c7d3e5;
}

.mhs-hotel-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.mhs-hotel-search-note {
  margin-top: 14px;
  border: 1px solid #d2dbe8;
  border-radius: 12px;
  background: #fff;
  color: #2a476a;
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
}

.mhs-hotel-alert {
  border: 1px solid #efb9b4;
  border-radius: 10px;
  background: #fff6f5;
  color: #832f26;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.mhs-hotel-form-bar {
  --mhs-hotel-field-height: 74px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2e6bc5 0%, #4cb6e7 100%);
  box-shadow: 0 14px 30px rgba(10, 32, 79, 0.2);
  padding: 12px;
}

.mhs-hotel-grid-v2 {
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.35fr) auto;
}

.mhs-hotel-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.mhs-hotel-field {
  position: relative;
  display: grid;
  gap: 4px;
}

.mhs-hotel-field-box {
  min-height: 110px;
}

.mhs-hotel-field label {
  margin: 0;
  color: #dde7f8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mhs-hotel-field input,
.mhs-hotel-field select {
  width: 100%;
  min-height: var(--mhs-hotel-field-height);
  border: 1px solid #b5c8e3;
  border-radius: 8px;
  background: #fff;
  color: #0f2745;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 12px 8px;
  outline: none;
}

.mhs-hotel-field .mhs-picker-btn {
  width: 100%;
  min-height: var(--mhs-hotel-field-height);
  border: 1px solid #b5c8e3;
  border-radius: 8px;
  background: #fff;
  color: #0f2745;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1px;
  text-align: left;
  padding: 10px 12px;
}

.mhs-picker-main {
  color: #0f2745;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.mhs-picker-sub {
  color: #38597f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.mhs-field-subline {
  color: #38597f;
  font-size: 13px;
  line-height: 1.2;
}

.mhs-hotel-field input:focus,
.mhs-hotel-field select:focus,
.mhs-hotel-field .mhs-picker-btn:focus {
  border-color: #1f6ff0;
  box-shadow: 0 0 0 3px rgba(31, 111, 240, 0.18);
}

.mhs-hotel-field-search input,
.mhs-hotel-field-date input {
  padding-right: 38px;
}

.mhs-hotel-field-search input {
  padding: 14px 42px 28px 14px;
}

.mhs-hotel-field-search .mhs-field-subline {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #5a7393;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.mhs-hotel-field-search i {
  bottom: 20px;
}

.mhs-hotel-field-picker .mhs-picker-btn {
  padding-right: 36px;
}

.mhs-hotel-field i {
  position: absolute;
  right: 12px;
  bottom: 16px;
  color: #98a8be;
  font-size: 17px;
  pointer-events: none;
}

.mhs-hotel-submit {
  min-height: var(--mhs-hotel-field-height);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 0 28px;
  cursor: pointer;
  white-space: nowrap;
}

.mhs-hotel-submit-v2 {
  min-width: 200px;
  border: 1px solid #d8b200;
  background: #ffd200;
  color: #111828;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.mhs-hotel-submit-v2:hover {
  background: #ffd200;
  color: #111828;
  filter: brightness(0.97);
}

.mhs-hotel-submit-v2:focus-visible {
  outline: 2px solid #111828;
  outline-offset: 2px;
}

.mhs-submit-row .mhs-search-btn {
  border: 1px solid #d8b200;
  border-radius: 10px;
  background: #ffd200;
  color: #111828;
  box-shadow: 0 8px 16px rgba(255, 210, 0, 0.35);
}

.mhs-submit-row .mhs-search-btn:hover {
  background: #ffd200;
  color: #111828;
  filter: brightness(0.97);
}

.mhs-date-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(860px, calc(100% - 4px));
  border: 1px solid #d5ddeb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(11, 36, 74, 0.2);
  padding: 14px;
  z-index: 30;
}

.mhs-date-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mhs-date-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d0d8e5;
  background: #fff;
  color: #3f526c;
}

.mhs-date-selects {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mhs-date-selects select {
  min-height: 38px;
  border: 1px solid #d0d8e5;
  border-radius: 8px;
  background: #fff;
  color: #2f3f57;
  font-size: 15px;
  font-weight: 600;
  padding: 0 10px;
}

.mhs-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mhs-cal-month {
  border: 1px solid #e2e7ef;
  border-radius: 12px;
  padding: 10px;
}

.mhs-cal-month-title {
  text-align: center;
  color: #1f3556;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mhs-cal-weekdays,
.mhs-cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.mhs-cal-weekdays span {
  text-align: center;
  color: #8c95a2;
  font-size: 14px;
  font-weight: 700;
}

.mhs-cal-day {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.mhs-cal-day:disabled {
  color: #c6ceda;
}

.mhs-cal-day.is-in-range {
  background: rgba(51, 147, 239, 0.15);
}

.mhs-cal-day.is-selected {
  background: #2d91f4;
  color: #fff;
}

.mhs-guest-panel {
  position: absolute;
  top: 0;
  right: auto;
  left: 0;
  width: min(380px, calc(100% - 4px));
  border: 1px solid #d6dfea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(12, 39, 80, 0.2);
  padding: 14px;
  z-index: 32;
  display: grid;
  gap: 10px;
}

.mhs-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mhs-guest-row strong {
  display: block;
  color: #1d2f4a;
  font-size: 16px;
}

.mhs-guest-row small {
  color: #6e7d93;
  font-size: 13px;
}

.mhs-counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d0d8e5;
  border-radius: 8px;
  overflow: hidden;
}

.mhs-counter button {
  width: 42px;
  height: 40px;
  border: 0;
  background: #eef2f8;
  color: #192a43;
  font-size: 20px;
  font-weight: 800;
}

.mhs-counter span {
  min-width: 46px;
  text-align: center;
  color: #121f34;
  font-size: 18px;
  font-weight: 700;
}

.mhs-guest-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.mhs-guest-add {
  min-height: 44px;
  border: 1px solid #66b539;
  border-radius: 999px;
  background: #fff;
  color: #3f9220;
  font-size: 17px;
  font-weight: 700;
  padding: 0 18px;
}

.mhs-guest-done {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b1e 0%, #ff8f00 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 0 24px;
}

.mhs-hotel-submit:not(.mhs-hotel-submit-v2):hover {
  background: rgba(255, 255, 255, 0.23);
}

.mhs-hotel-submit[disabled] {
  opacity: 0.75;
  cursor: progress;
}

.mhs-hotel-submit-v2[disabled] {
  background: #ffd200;
  border-color: #d8b200;
  color: #111828;
  opacity: 0.65;
}

.mhs-hotel-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  margin-top: 12px;
  align-items: start;
}

.mhs-hotel-sidebar {
  border: 1px solid #d4deec;
  border-radius: 14px;
  background: #f6f8fc;
  box-shadow: 0 8px 18px rgba(16, 44, 85, 0.08);
  padding: 14px;
  display: grid;
  gap: 14px;
}

.mhs-map-card {
  height: 158px;
  border-radius: 12px;
  border: 1px solid #ced8ea;
  background:
    radial-gradient(circle at 10% 20%, rgba(78, 199, 230, 0.36), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(68, 139, 225, 0.32), transparent 34%),
    linear-gradient(135deg, #a7d4f3 0%, #bcd9f5 100%);
  position: relative;
  overflow: hidden;
}

.mhs-map-card::before,
.mhs-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mhs-map-card::before {
  background-image:
    linear-gradient(transparent 94%, rgba(255, 255, 255, 0.4) 94%),
    linear-gradient(90deg, transparent 94%, rgba(255, 255, 255, 0.35) 94%);
  background-size: 32px 32px;
  opacity: 0.6;
}

.mhs-map-card::after {
  background:
    linear-gradient(104deg, transparent 35%, rgba(40, 126, 200, 0.55) 37%, rgba(40, 126, 200, 0.55) 40%, transparent 42%);
}

.mhs-map-action {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 700;
  background: #fff;
  color: #1e2e48;
  box-shadow: 0 7px 16px rgba(11, 33, 66, 0.2);
}

.mhs-map-action i {
  margin-right: 8px;
}

.mhs-sidebar-search {
  position: relative;
  display: block;
}

.mhs-sidebar-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd7e9;
  border-radius: 10px;
  background: #fff;
  color: #223859;
  font-size: 16px;
  padding: 0 12px 0 40px;
  outline: none;
}

.mhs-sidebar-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aabc2;
  font-size: 15px;
}

.mhs-sidebar-search input:focus {
  border-color: #1f6ff0;
  box-shadow: 0 0 0 3px rgba(31, 111, 240, 0.16);
}

.mhs-sidebar-section {
  border-top: 1px solid #d8dfeb;
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.mhs-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mhs-sidebar-title h3,
.mhs-sidebar-section h3 {
  margin: 0;
  color: #1c3253;
  font-size: 18px;
  font-weight: 800;
}

.mhs-reset-btn {
  border: 0;
  background: transparent;
  color: #2682ff;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
}

.mhs-filter-toggle {
  min-height: 56px;
  border: 1px solid #ced8ea;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
}

.mhs-filter-toggle strong {
  display: block;
  color: #1e2f4c;
  font-size: 16px;
  line-height: 1.2;
}

.mhs-filter-toggle small {
  display: block;
  color: #687b96;
  font-size: 14px;
}

.mhs-filter-toggle input {
  width: 34px;
  height: 20px;
}

.mhs-price-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d3150;
  font-size: 18px;
  font-weight: 600;
}

.mhs-price-option input {
  width: 20px;
  height: 20px;
}

.mhs-hotel-results-wrap {
  min-width: 0;
}

.mhs-hotel-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mhs-hotel-results-head h2 {
  margin: 0;
  color: #17385f;
  font-size: 21px;
  font-weight: 800;
}

.mhs-hotel-results-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

[data-hotel-results-count] {
  color: #32587f;
  font-size: 14px;
  font-weight: 700;
}

.mhs-hotel-results-link {
  color: #1e66de;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.mhs-hotel-results-link:hover {
  text-decoration: underline;
}

.mhs-hotel-status {
  min-height: 20px;
  color: #3b5d83;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mhs-hotel-status.is-error {
  color: #a93529;
}

.mhs-hotel-results {
  display: grid;
  gap: 14px;
}

.mhs-hotel-empty {
  border: 1px dashed #c8d4e7;
  border-radius: 10px;
  background: #f8fbff;
  color: #355071;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px;
}

.mhs-hotel-card {
  border: 1px solid #d2dbe8;
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 238px;
  overflow: hidden;
  min-width: 0;
}

.mhs-hotel-thumb {
  min-height: 246px;
  background: #ebf1fa;
}

.mhs-hotel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mhs-hotel-content {
  border-left: 1px solid #e3e8f0;
  border-right: 1px solid #e3e8f0;
  padding: 14px 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.mhs-hotel-title {
  margin: 0;
  color: #0f2745;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
}

.mhs-hotel-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2d90ff;
}

.mhs-hotel-stars i {
  font-size: 15px;
}

.mhs-hotel-meta {
  color: #2571d6;
  font-size: 17px;
  line-height: 1.32;
}

.mhs-hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mhs-hotel-tag {
  border: 1px solid #ced9ea;
  border-radius: 8px;
  background: #f7f9fe;
  color: #1e3558;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
}

.mhs-hotel-amenities {
  color: #223a5b;
  font-size: 17px;
  line-height: 1.4;
}

.mhs-hotel-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 8px;
  padding: 14px 14px 16px;
}

.mhs-rating-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mhs-rating-score {
  min-width: 38px;
  height: 34px;
  border-radius: 8px;
  background: #0ea45f;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mhs-rating-copy {
  text-align: left;
}

.mhs-rating-copy strong {
  display: block;
  color: #152c4b;
  font-size: 16px;
  line-height: 1.1;
}

.mhs-rating-copy span {
  color: #516888;
  font-size: 13px;
}

.mhs-price-flag {
  border-radius: 999px;
  background: linear-gradient(90deg, #7ecb39 0%, #42af27 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
}

.mhs-hotel-price {
  color: #071f3f;
  font-size: 41px;
  font-weight: 900;
  line-height: 1.1;
}

.mhs-hotel-tax {
  color: #627794;
  font-size: 13px;
}

.mhs-hotel-cta {
  min-height: 46px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #ff5b1e 0%, #ff8f00 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mhs-hotel-cta:hover {
  color: #fff;
  filter: brightness(1.06);
}

.mhs-hotel-card.is-hidden {
  display: none;
}

@media (max-width: 1399px) {
  .mhs-hotel-grid {
    grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 0.92fr)) auto;
  }

  .mhs-hotel-card {
    grid-template-columns: 280px minmax(0, 1fr) 212px;
  }
}

@media (max-width: 1199px) {
  .mhs-hotel-grid {
    grid-template-columns: minmax(0, 2fr) 1fr 1fr 0.75fr 0.75fr auto;
  }

  .mhs-hotel-grid-v2 {
    grid-template-columns: minmax(0, 2fr) 1fr 1fr 1.2fr auto;
  }

  .mhs-hotel-submit {
    font-size: 15px;
    padding: 0 22px;
  }

  .mhs-hotel-layout {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .mhs-hotel-card {
    grid-template-columns: 240px minmax(0, 1fr) 200px;
  }
}

@media (max-width: 991px) {
  .mhs-hotel-form-bar {
    --mhs-hotel-field-height: 64px;
  }

  .mhs-product-tabs {
    margin-top: 6px;
  }

  .mhs-hotel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mhs-hotel-grid-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .mhs-hotel-field-search {
    grid-column: 1 / -1;
  }

  .mhs-hotel-submit {
    grid-column: 1 / -1;
    min-height: var(--mhs-hotel-field-height);
    font-size: 16px;
  }

  .mhs-date-panel {
    width: calc(100% - 2px);
  }

  .mhs-date-grid {
    grid-template-columns: 1fr;
  }

  .mhs-guest-panel {
    width: min(420px, calc(100% - 2px));
  }

  .mhs-hotel-layout {
    grid-template-columns: 1fr;
  }

  .mhs-hotel-sidebar {
    order: 2;
  }

  .mhs-hotel-results-wrap {
    order: 1;
  }

  .mhs-hotel-card {
    grid-template-columns: 1fr;
  }

  .mhs-hotel-thumb {
    min-height: 210px;
  }

  .mhs-hotel-content {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #e3e8f0;
    border-bottom: 1px solid #e3e8f0;
    padding: 12px;
  }

  .mhs-hotel-side {
    justify-items: start;
    padding: 12px;
  }
}

@media (max-width: 575px) {
  .mhs-hotel-page {
    padding-top: 12px;
  }

  .mhs-hotel-form-bar {
    --mhs-hotel-field-height: 60px;
  }

  .mhs-product-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 5px;
    margin-top: 4px;
  }

  .mhs-product-tab {
    flex: 0 0 auto;
    min-height: 43px;
    font-size: 14px;
    padding: 0 13px;
    gap: 6px;
  }

  .mhs-product-tab i {
    font-size: 13px;
  }

  .mhs-hotel-form-bar {
    border-radius: 10px;
    padding: 10px;
  }

  .mhs-hotel-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mhs-hotel-grid-v2 {
    grid-template-columns: 1fr;
  }

  .mhs-hotel-field,
  .mhs-hotel-field-search,
  .mhs-hotel-field-date,
  .mhs-hotel-field-small {
    grid-column: auto;
  }

  .mhs-hotel-field input,
  .mhs-hotel-field select {
    font-size: 15px;
  }

  .mhs-hotel-field-search input {
    padding: 12px 40px 24px 12px;
  }

  .mhs-hotel-field-search .mhs-field-subline {
    left: 12px;
    bottom: 9px;
    font-size: 12px;
  }

  .mhs-hotel-submit {
    width: 100%;
    min-height: var(--mhs-hotel-field-height);
  }

  .mhs-date-panel {
    width: 100%;
    left: 0;
    border-radius: 14px;
    padding: 10px;
  }

  .mhs-date-head {
    gap: 8px;
  }

  .mhs-date-selects select {
    min-height: 34px;
    font-size: 13px;
  }

  .mhs-guest-panel {
    width: 100%;
    left: 0;
    border-radius: 14px;
  }

  .mhs-hotel-sidebar {
    border-radius: 16px;
    padding: 12px;
  }

  .mhs-map-card {
    height: 132px;
  }

  .mhs-map-action {
    min-height: 40px;
    font-size: 14px;
  }

  .mhs-hotel-results-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
