body:has(.fare-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fare-page.has-hero {
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.22), rgba(246, 241, 232, 0.38)),
    var(--hero) center / cover no-repeat;
}

.fare-page {
  flex: 1 0 auto;
  --ink: #1c1915;
  --muted: #6d645b;
  --paper: #f6f1e8;
  --card: #fffdf8;
  --line: #e4dacb;
  --coral: #d4532b;
  --coral-dark: #b3401e;
  --navy: #1e3a4c;
  --shadow: 0 18px 50px rgba(60, 40, 20, 0.08);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 380;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

body:has(#search-form) main {
  max-width: 1200px;
}

body:has(#hotel-form) main {
  max-width: 1400px;
}

body:has(#transfer-form) main {
  max-width: 1360px;
}

body:has(#hotel-form):has(#results:not([hidden])) .page-title { display: none; }
body:has(#hotel-form):has(#results:not([hidden])) .fare-page.has-hero {
  background: #f4f6fb;
}
body:has(#hotel-form):has(#results:not([hidden])) main {
  max-width: 1280px;
  padding-top: 18px;
  padding-left: 16px;
  padding-right: 16px;
}
body:has(#hotel-form):has(#results:not([hidden])) .stay-wrap {
  width: 100%;
}

body:has(#hotel-form) .fare-page {
  --trip-sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--trip-sans);
  font-weight: 400;
}
body:has(#hotel-form) .stay-bar,
body:has(#hotel-form) .stay-pop,
body:has(#hotel-form) .hotel-results,
body:has(#hotel-form) .stay-search,
body:has(#hotel-form) .stay-date,
body:has(#hotel-form) .stay-guests {
  font-family: var(--trip-sans);
}
body:has(#hotel-form) .stay-wrap {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
body:has(#hotel-form) .stay-form { width: 100%; }
body:has(#hotel-form) .page-title {
  margin: 0 0 8px;
  font-family: var(--trip-sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #0f294d;
  -webkit-text-stroke: 0;
  paint-order: normal;
}
body:has(#hotel-form) .stay-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(260px, 1.35fr) minmax(210px, 1.1fr) auto;
  align-items: center;
  min-height: 48px;
  height: 48px;
  padding: 4px;
  border-width: 1.5px;
  border-radius: 10px;
}
body:has(#hotel-form) .stay-part { padding: 0 12px; gap: 8px; min-height: 0; }
body:has(#hotel-form) .stay-part svg { width: 18px; height: 18px; color: #223c61; }
body:has(#hotel-form) .stay-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
body:has(#hotel-form) .stay-field {
  flex-direction: row;
  align-items: center;
}
body:has(#hotel-form) .stay-star { display: none; }
body:has(#hotel-form) .stay-dates {
  flex-direction: row;
  align-items: center;
  height: 100%;
}
body:has(#hotel-form) .stay-when {
  min-height: 0;
  height: 100%;
  padding: 0 12px;
}
body:has(#hotel-form) .fare-page .stay-bar .stay-where #city,
body:has(#hotel-form) .fare-page .stay-bar .stay-where #city:focus,
body:has(#hotel-form) .fare-page .stay-bar input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
body:has(#hotel-form) .fare-page .stay-bar input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):focus {
  height: 22px;
  font-size: 14px;
  font-weight: 600;
}
body:has(#hotel-form) .stay-date,
body:has(#hotel-form) .stay-guests,
body:has(#hotel-form) .stay-dash {
  font-size: 14px;
  font-weight: 600;
}
body:has(#hotel-form) .stay-nights {
  margin-left: 8px;
  font-size: 12px;
  padding: 2px 8px;
}
body:has(#hotel-form) .stay-search {
  height: 40px;
  margin: 0 2px 0 6px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
body:has(#hotel-form) .stay-search svg { width: 14px; height: 14px; }
body:has(#hotel-form) .stay-clear { width: 18px; height: 18px; font-size: 13px; }

body:has(#room:not([hidden])) .stay-wrap { display: none; }
body:has(#room:not([hidden])) .fare-page.has-hero { background: #fff; }
body:has(#room:not([hidden])) main {
  max-width: 1200px;
  padding-top: 12px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 48px;
  background: #fff;
}

.wl-frame {
  display: block;
  width: 100%;
  height: min(860px, calc(100vh - 190px));
  min-height: 640px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.page-title {
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: 0;
  color: #1c1915;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.options {
  display: grid;
  grid-template-columns: auto 110px 170px 190px;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 640;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--coral);
}

.trip-type {
  display: flex;
  height: 52px;
  padding: 4px;
  gap: 4px;
  background: #f3ebe1;
  border-radius: 14px;
}

.trip-type label {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 640;
  color: var(--navy);
}

.trip-type input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.trip-type label:has(input:checked) {
  background: white;
  box-shadow: 0 1px 4px rgba(60, 40, 20, 0.12);
}

.trip-type label:has(input:focus-visible) {
  outline: 2px solid #f0b089;
}

.fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr 160px auto;
  gap: 12px;
  align-items: end;
}

.fields.round {
  grid-template-columns: 1fr auto 1fr 160px 160px auto;
}

#return-field[hidden] { display: none; }

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 640;
}

.fare-page input:not([type="radio"]):not([type="checkbox"]),
.fare-page select,
.fare-page .field input:not([type="radio"]):not([type="checkbox"]),
.fare-page .field select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.fare-page .trip-type input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  background: transparent;
}

.fare-page .field label.check input,
.fare-page .check input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--coral);
}

.fare-page select,
.fare-page .field select {
  appearance: none;
  padding-right: 36px;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #6d645b 50%), linear-gradient(135deg, #6d645b 50%, transparent 50%);
  background-position: calc(100% - 18px) 23px, calc(100% - 12px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus, select:focus {
  outline: 2px solid #f0b089;
  border-color: var(--coral);
}

.swap, .go {
  height: 52px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  cursor: pointer;
}

.swap {
  width: 52px;
  background: #f3ebe1;
  color: var(--navy);
  font-size: 1.2rem;
}

.swap:hover { background: #eadfcf; }

.go {
  padding: 0 22px;
  background: var(--coral);
  color: white;
  font-weight: 640;
}

.go:hover { background: var(--coral-dark); }
.go:disabled { opacity: 0.65; cursor: progress; }

#search-form.fly-search {
  padding: 14px 16px 16px;
  border: 1px solid #d5deeb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(32, 48, 80, 0.1);
  overflow: visible;
}

#search-form.fly-search .fly-opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  margin: 0 0 10px 4px;
  color: #1b2437;
  font-size: 14px;
  font-weight: 500;
}

#search-form.fly-search .fly-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#search-form.fly-search .fly-opt input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f6bff;
}

#search-form.fly-search .fly-opts-split {
  width: 1px;
  height: 12px;
  margin: 0 2px;
  background: #cfd6e3;
}

#search-form.fly-search .fields,
#search-form.fly-search .fields.round {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

#search-form.fly-search .fly-route {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  flex: 1.7 1 380px;
  min-width: 280px;
  height: 56px;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}

#search-form.fly-search .fly-place {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 6px 16px 6px 14px;
  background: #fff;
  overflow: visible;
}

#search-form.fly-search .fly-place:focus-within,
#search-form.fly-search .fly-place.is-on {
  z-index: 5;
  background: #eef4ff;
}

#search-form.fly-search .fly-place:first-child {
  grid-column: 1;
  padding-right: 28px;
  border-radius: 9px 0 0 9px;
}

#search-form.fly-search .fly-place:last-child {
  grid-column: 2;
  padding-left: 28px;
  border-radius: 0 9px 9px 0;
}

#search-form.fly-search .fly-place span { display: none; }

#search-form.fly-search .fly-place input {
  height: 22px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #1b2437;
}

#search-form.fly-search .fly-place input:focus {
  outline: none;
  border: 0;
}

#search-form.fly-search .fly-sub {
  display: block;
  color: #8b95a8;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#search-form.fly-search .fly-sub:empty { display: none; }

#search-form.fly-search .swap {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid #d5deeb;
  border-radius: 50%;
  background: #fff;
  color: #2f6bff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(20, 40, 80, 0.06);
  transform: translate(-50%, -50%);
}

#search-form.fly-search .swap:hover { background: #f5f8ff; }

#search-form.fly-search .fly-dates {
  display: flex;
  flex: 0 1 160px;
  min-width: 148px;
  height: 56px;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}

#search-form.fly-search .fields.round .fly-dates {
  flex-basis: 220px;
  min-width: 200px;
}

#search-form.fly-search .fly-date {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0;
  justify-content: center;
  padding: 0 14px;
}

#search-form.fly-search .fly-date + .fly-date {
  border-left: 1px solid #edf1f6;
}

#search-form.fly-search .fly-date-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1b2437;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

#search-form.fly-search .fly-date input.fly-native {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

#search-form.fly-search .fly-date input.fly-native:focus {
  outline: none;
  border: 0;
}

#search-form.fly-search .fly-who {
  position: relative;
  flex: 0 1 230px;
  min-width: 210px;
  height: 56px;
}

#search-form.fly-search .fly-who-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  padding: 0 12px 0 14px;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  background: #fff;
  color: #1b2437;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

#search-form.fly-search .fly-who-btn[aria-expanded="true"],
#search-form.fly-search .fly-who-btn:focus {
  outline: none;
  border-color: #2f6bff;
}

#search-form.fly-search .fly-who-ico {
  color: #6b7385;
  display: inline-flex;
}

#search-form.fly-search .fly-who-btn span#who-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#search-form.fly-search .fly-who-caret {
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-right: 2px solid #8a93a6;
  border-bottom: 2px solid #8a93a6;
  transform: rotate(45deg) translate(-1px, -3px);
}

#search-form.fly-search .fly-who-pop {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  padding: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

#search-form.fly-search .fly-who-pop[hidden] { display: none; }

#search-form.fly-search .fly-who-pop label {
  display: grid;
  gap: 6px;
  color: #5c6578;
  font-size: 0.82rem;
  font-weight: 650;
}

#search-form.fly-search .go {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 112px;
  height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  background: #2f6bff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

#search-form.fly-search .go:hover { background: #1d56e8; }

#search-form.fly-search .form-error {
  margin: 10px 4px 0;
}

#search-form.fly-search #return-field[hidden] {
  display: none !important;
}

body:has(#fly-view:not([hidden])) {
  overflow: hidden;
  height: 100vh;
}

body:has(#fly-view:not([hidden])) .site-header {
  position: relative;
  top: auto;
  flex: 0 0 auto;
  z-index: 50;
  background: #f4efe6;
}

body:has(#fly-view:not([hidden])) .page-title,
body:has(#fly-view:not([hidden])) .site-footer,
body:has(#fly-view:not([hidden])) .amw-footer,
body:has(#fly-view:not([hidden])) #search-form { display: none; }

body:has(#fly-view:not([hidden])) .fare-page,
body:has(#fly-view:not([hidden])) .fare-page.has-hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

body:has(#fly-view:not([hidden])) main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.fly-view {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  background: #fff;
}

.fly-view[hidden] { display: none; }

.fly-view-bar {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  min-height: 48px;
  margin: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.fly-meta {
  margin: 0;
  color: #1c1915;
  font-weight: 650;
}

.fly-meta-logo {
  height: 16px;
  width: auto;
  flex: none;
  display: block;
}

.fly-back {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #1b2437;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.fly-back:hover { background: #f5f8ff; }

.fly-clip {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.fly-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin-top: 0;
  border: 0;
  background: #fff;
}

.fly-frame.is-trip {
  height: calc(100% + 128px);
  min-height: calc(100% + 128px);
  margin-top: -128px;
}

.fly-wait {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: #f4f6fb;
  color: #1c1915;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
  pointer-events: none;
}

.fly-wait[hidden] {
  display: none;
  pointer-events: none;
}

.card:has(.suggest) { overflow: visible; }
.suggest {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 380px;
  overflow: auto;
}
.stay-where .suggest {
  min-width: 100%;
  width: max(100%, 340px);
  max-width: min(440px, 92vw);
}

.suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}

.suggest button:hover,
.suggest button.active {
  background: #f8efe6;
}

.suggest strong { display: block; font-size: 13px; font-weight: 650; color: #0f294d; }
.suggest small { display: block; margin-top: 1px; color: #8592a6; font-size: 11px; font-weight: 400; }

.form-error {
  margin: 12px 4px 0;
  color: var(--coral-dark);
}

.lookup-popup[hidden] { display: none; }

.lookup-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(22, 28, 45, 0.46);
}

.lookup-card {
  position: relative;
  width: min(640px, 100%);
  padding: 54px 36px 36px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 28, 50, 0.18);
  text-align: center;
}

.lookup-card .offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.lookup h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1c1915;
}

#lookup-meta, #search-meta, .status-message { margin: 8px 0 0; }

#lookup-meta,
#search-meta {
  color: #8a8178;
  font-size: 1.02rem;
}

.lookup-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 22px;
}

.lookup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: lookup-dot 1s ease-in-out infinite;
}

.lookup-dots span:first-child { background: #f0a202; }
.lookup-dots span:last-child { background: #2bb8b3; animation-delay: 0.18s; }

.lookup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #2c2c2c;
  font-size: 1.05rem;
}
.lookup-warn {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff4d6;
  color: #8a4b00;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.lookup-marks { display: flex; align-items: center; }

.lookup-marks .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(28, 25, 21, 0.06);
}

.lookup-marks .mark-red { margin-left: -8px; background: #c8102e; }
.lookup-marks .mark-blue { background: #1d4e89; }

.lookup-bar {
  height: 4px;
  margin: 26px auto 0;
  max-width: 560px;
  background: #e7e9ef;
  border-radius: 999px;
  overflow: hidden;
}

.lookup-bar span {
  display: block;
  height: 100%;
  width: 38%;
  background: #2f6fed;
  border-radius: inherit;
  animation: lookup-bar 1.35s ease-in-out infinite;
}

@keyframes lookup-dot {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes lookup-bar {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(340%); }
}

.results { margin-top: 26px; }

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.fare-page.has-hero .results-head {
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 253, 248, 0.94);
  border-radius: 12px;
}

.results-head h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.results-head p { margin: 4px 0 0; color: var(--muted); }

.results-head .results-count {
  margin: 8px 0 2px;
  color: #1c1915;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.trip-link {
  color: var(--coral-dark);
  font-weight: 640;
  text-decoration: none;
  white-space: nowrap;
}

.trip-link:hover { text-decoration: underline; }

.fare-list {
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 8px;
  overflow: visible;
}

.fare {
  position: relative;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #eef2f6;
}

.fare:last-child { border-bottom: 0; }
.fare:hover { background: #f8fbff; }

.fare-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.fare-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #17a2a2;
  border-radius: 4px;
  color: #0e8f8f;
  font-size: 12px;
  font-weight: 640;
}

.fare-main {
  display: grid;
  grid-template-columns: 210px minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.fare-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fare-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: none;
}

.fare-name {
  font-weight: 500;
  line-height: 1.2;
}

.fare-no {
  color: #8b93a7;
  font-size: 12px;
  margin-top: 2px;
}

.fare-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fare-point { min-width: 72px; }
.fare-point.arrive { text-align: left; }

.fare-clock {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.fare-code {
  margin-top: 2px;
  color: #8b93a7;
  font-size: 13px;
}

.next-day {
  color: #2f6bff;
  font-size: 12px;
  font-weight: 640;
  margin-left: 2px;
}

.fare-path {
  position: relative;
  flex: 1;
  min-width: 88px;
  max-width: 180px;
  text-align: center;
  cursor: pointer;
  outline: none;
}

.fare-path:hover,
.fare-path:focus-within,
.fare-path.is-open { z-index: 8; }

.flight-pop {
  display: none;
  position: absolute;
  z-index: 12;
  top: calc(100% + 8px);
  left: 50%;
  width: min(460px, calc(100vw - 48px));
  padding: 16px 18px 12px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(28, 39, 64, 0.18);
  text-align: left;
  color: #1c2433;
  cursor: default;
}

.fare-path:hover .flight-pop,
.fare-path:focus-within .flight-pop,
.fare-path.is-open .flight-pop { display: block; }

.pop-stop, .pop-flight {
  display: grid;
  grid-template-columns: 84px 1fr;
  column-gap: 12px;
  align-items: start;
}

.pop-clock {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.pop-date {
  color: #8b93a7;
  font-size: 12px;
  font-weight: 500;
}

.pop-place {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.pop-flight {
  margin: 6px 0;
  color: #5c6578;
  font-size: 14px;
}

.pop-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  justify-self: end;
}

.pop-flight-name { color: #1c2433; }

.pop-meta { margin-top: 2px; }

.pop-transfer {
  margin: 4px 0 12px 96px;
  padding: 8px 12px;
  border: 1px solid #e6eaf2;
  border-radius: 8px;
  color: #3a4254;
  font-size: 14px;
}

.fare-dur, .fare-stop {
  color: #8b93a7;
  font-size: 12px;
  line-height: 1.2;
}

.fare-line {
  position: relative;
  height: 1px;
  margin: 5px 8px;
  background: #d5dbe6;
}

.fare-line::before,
.fare-line::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5ccd8;
}

.fare-line::before { left: -4px; }
.fare-line::after { right: -4px; }

.fare-price { text-align: right; }

.fare-total {
  color: #2346d4;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fare-tax {
  margin-top: 2px;
  color: #8b93a7;
  font-size: 12px;
}

.select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 104px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #2f6bff;
  color: #fff;
  font: inherit;
  font-weight: 640;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.select:hover { background: #1d56e8; }

body:has(.fare-results:not([hidden])) main {
  max-width: 1280px;
  padding-left: 16px;
  padding-right: 16px;
}

body:has(.fare-results:not([hidden])) .page-title {
  display: none;
}

body:has(.fare-results:not([hidden])) #search-form:not(.is-open) {
  display: none;
}

.fare-results {
  margin-top: 8px;
  scroll-margin-top: 108px;
}

.date-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  overflow: hidden;
}

.date-shift {
  flex: none;
  width: 44px;
  border: 0;
  background: #fff;
  color: #5b6578;
  font-size: 22px;
  cursor: pointer;
}

.date-shift:hover { background: #f5f7fb; }
.date-shift:disabled { opacity: 0.35; cursor: default; }

.date-strip-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  flex: 1;
  min-width: 0;
}

.date-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 68px;
  padding: 8px 6px;
  border: 0;
  border-right: 1px solid #eef2f6;
  background: #fff;
  color: #5b6578;
  cursor: pointer;
}

.date-day:last-child { border-right: 0; }
.date-day:hover { background: #f7f9fc; }

.date-day.is-on {
  color: #121722;
  box-shadow: inset 0 -3px 0 #121722;
}

.date-day strong {
  font-size: 13px;
  font-weight: 700;
}

.date-day span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fare-board {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.fare-filters {
  padding: 16px 16px 20px;
  border-radius: 12px;
  background: #f4f6fb;
}

.fare-filters h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #121722;
}

.fare-count {
  margin: 4px 0 16px;
  color: #7a8496;
  font-size: 13px;
}

.fare-filters h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #121722;
}

.fare-air-actions {
  display: flex;
  gap: 10px;
  margin: -4px 0 10px;
  font-size: 12px;
}

.fare-air-actions button {
  border: 0;
  padding: 0;
  background: none;
  color: #2f6bff;
  font: inherit;
  font-weight: 640;
  cursor: pointer;
}

.fare-stop-opt,
.fare-air {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fare-stop-opt small,
.fare-air small {
  margin-left: auto;
  color: #5b6578;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.fare-stop-opt input,
.fare-air input {
  flex: none;
}

.fare-air img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.fare-air span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fare-panel {
  min-width: 0;
}

.fare-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 14px 20px;
  border-radius: 10px 10px 0 0;
  background:
    linear-gradient(90deg, rgba(10, 28, 52, 0.92), rgba(18, 48, 82, 0.72)),
    #123056;
  color: #fff;
}

.fare-edit {
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 640;
  cursor: pointer;
  white-space: nowrap;
}

.fare-banner h2 {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fare-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #e6ebf2;
  border-top: 0;
}

.fare-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 64px;
  padding: 10px 16px;
  border: 0;
  border-right: 1px solid #eef2f6;
  background: #fff;
  color: #7a8496;
  cursor: pointer;
}

.fare-tab:last-child { border-right: 0; }

.fare-tab strong {
  color: #121722;
  font-size: 14px;
  font-weight: 800;
}

.fare-tab.is-on {
  color: #121722;
  box-shadow: inset 0 -3px 0 #121722;
}

.fare-results .fare-list {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.fare-results .fare {
  padding: 14px 18px 16px;
}

.fare-results .fare-main {
  grid-template-columns: 168px minmax(240px, 1fr) auto auto;
  gap: 12px 16px;
}

.fare-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #1aa07a;
  font-size: 12px;
  font-weight: 700;
}

.fare-note svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.fare-results .fare-name {
  font-weight: 700;
}

.fare-op {
  margin-top: 2px;
  color: #8b93a7;
  font-size: 12px;
}

.fare-results .fare-clock {
  font-size: 26px;
  font-weight: 800;
}

.fare-results .fare-total {
  color: #121722;
  font-size: 22px;
  font-weight: 800;
}

.fare-was {
  margin-top: 2px;
  color: #9aa3b5;
  font-size: 12px;
  text-decoration: line-through;
}

.fare-empty {
  padding: 28px 18px;
  color: #7a8496;
  text-align: center;
}

@media (max-width: 980px) {
  .fare-board { grid-template-columns: 1fr; }
  .date-strip-days { min-width: 640px; }
  .date-strip { overflow-x: auto; }
}

.hotel-session {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

body:has(#room:not([hidden])) .page-title,
body:has(#room:not([hidden])) .site-footer { display: none; }

body:has(#room:not([hidden])) main {
  padding-top: 12px;
  padding-bottom: 48px;
}

.room-view { margin-top: 8px; scroll-margin-top: 108px; }
.room-view[hidden] { display: none; }
.room-view.is-rooms {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 132px);
}
.room-view.is-rooms .room-bar { display: none; }
.room-view.is-rooms .room-clip { display: none !important; }
.room-view.is-detail {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 88px);
}
.room-view.is-detail .hotel-hero,
.room-view.is-detail #room-heading,
.room-view.is-detail #room-body,
.room-view.is-detail #room-detail,
.room-view.is-detail #room-more,
.room-view.is-detail #room-tabs { display: none !important; }
.room-view.is-detail .room-bar { display: flex; }
.room-view.is-detail .room-clip {
  display: block;
  overflow: hidden !important;
  height: calc(100vh - 148px);
  min-height: 640px;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}
.room-view.is-detail .room-frame {
  margin-top: -176px !important;
  height: calc(100% + 176px) !important;
  min-height: calc(100% + 176px) !important;
  width: 100%;
}
.room-view.is-detail.is-book .room-frame {
  margin-top: -64px !important;
  height: calc(100% + 64px) !important;
  min-height: calc(100% + 64px) !important;
}
.room-view.is-detail .room-mask,
.room-view.is-book .room-mask {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 10px;
  pointer-events: none;
  background: #fff;
}
@media (max-width: 900px) {
  .room-view.is-detail .room-frame {
    margin-top: -248px !important;
    height: calc(100% + 248px) !important;
    min-height: calc(100% + 248px) !important;
  }
  .room-view.is-detail.is-book .room-frame {
    margin-top: -64px !important;
    height: calc(100% + 64px) !important;
    min-height: calc(100% + 64px) !important;
  }
}
body:has(.room-view.is-detail) .hotel-results,
body:has(.room-view.is-detail) .site-footer { display: none !important; }
body:has(.room-view.is-detail) .fare-page,
body:has(.room-view.is-book) .fare-page { padding: 0; }
body:has(.room-view.is-detail) main,
body:has(.room-view.is-book) main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}
body:has(.room-view.is-detail) .room-view,
body:has(.room-view.is-book) .room-view {
  margin-top: 0;
  min-height: calc(100vh - 88px);
}
.room-view.is-detail .room-bar {
  margin: 0;
  padding: 8px 16px;
  border-radius: 0;
  box-shadow: none;
}
.room-view.is-rooms #room-heading,
.room-view.is-rooms #room-body,
.room-view.is-rooms #room-detail,
.room-view.is-rooms #room-more { display: block; }
.room-view.is-rooms #room-tabs { display: flex; }
.room-view.is-rooms #room-heading[hidden],
.room-view.is-rooms #room-body[hidden],
.room-view.is-rooms #room-detail[hidden],
.room-view.is-rooms #room-more[hidden],
.room-view.is-rooms #room-tabs[hidden] { display: none; }

.room-clip {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
  height: calc(100vh - 148px);
  min-height: 560px;
  margin-top: 4px;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.room-frame {
  display: block;
  width: 100%;
  height: 2800px;
  min-height: 2800px;
  margin-top: -168px;
  border: 0;
  background: #fff;
}

@media (max-width: 900px) {
  .room-frame {
    height: 2800px;
    min-height: 2800px;
    margin-top: -260px;
  }
}

.room-clip.is-pay {
  overflow: auto;
  height: calc(100vh - 56px);
  min-height: 640px;
  border-radius: 12px;
}

.room-clip.is-pay .room-frame {
  height: 100%;
  min-height: 100%;
  margin-top: 0;
}

.room-clip.is-pay .room-mask {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 56px;
  pointer-events: none;
  background: #f4f6fb;
}

body:has(.room-clip.is-pay) .room-view.is-rooms { min-height: calc(100vh - 132px); }
body:has(.room-clip.is-pay) main {
  max-width: 1520px;
  padding-top: 8px;
  padding-bottom: 0;
}

.room-mask {
  display: none;
}

.room-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.room-view.is-rooms .room-bar > div {
  display: flex;
  min-width: 0;
}

.room-view.is-rooms .room-bar h2 {
  display: block;
}

.room-bar h2 {
  margin: 0;
  font-size: 1.15rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

.room-bar p {
  margin: 0;
  color: #1c1915;
  font-weight: 650;
  text-align: left;
}

.room-back {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-weight: 640;
  cursor: pointer;
}

.stay-room {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-top: 16px;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  overflow: hidden;
}

.room-side { padding: 12px 14px 16px; }

.room-photos { position: relative; }
.room-shot {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3ebe1;
}
.room-arrow, .room-nudge {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #1c1915;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(28, 25, 21, 0.16);
  cursor: pointer;
}
.room-arrow-prev { top: 60px; left: 8px; }
.room-arrow-next { top: 60px; right: 8px; }
.room-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(28, 25, 21, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}
.room-count .room-ico { color: #fff; margin: 0; }
.room-count .room-ico svg { width: 12px; height: 12px; }

.stay-room h3 { margin: 12px 0 0; font-size: 1.05rem; font-weight: 700; }

.room-facts, .room-lines, .room-pack ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.room-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  margin-top: 12px;
}
.room-facts li, .room-lines li, .room-pack li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #455873;
  font-size: 0.82rem;
  line-height: 1.35;
}
.room-ico { display: inline-flex; flex: 0 0 auto; margin-top: 1px; color: #5b6b82; }
.room-ico svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.room-more {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #1c1915;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.room-detail { display: grid; gap: 10px; margin-top: 12px; }
.room-detail[hidden] { display: none; }
.room-detail b { display: block; margin-bottom: 2px; }
.room-detail ul { margin: 0; padding-left: 16px; color: #3a3a3a; line-height: 1.45; }

.room-rates-wrap { position: relative; min-width: 0; border-left: 1px solid #e6e8ee; }
.room-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  overflow: visible;
  height: auto;
}
.room-nudge { display: none; }

.room-offer {
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 14px;
  border-left: 1px solid #eef1f6;
}
.room-offer:first-child { border-left: 0; }
.room-offer.is-best { background: #e9f7f6; }
.room-offer h4 { margin: 0; font-size: 0.98rem; line-height: 1.35; color: #1c1915; }
.room-offer.is-best h4 { color: #139aa3; font-weight: 700; }
.room-lines { display: grid; gap: 8px; }
.room-lines .is-free { color: #0c7b6b; }
.room-lines .is-free .room-ico { color: #0c7b6b; }
.room-lines .is-confirm { color: #05939f; }
.room-lines .is-confirm .room-ico { color: #05939f; }
.room-pack { margin-top: 2px; }
.room-pack b { display: block; margin-bottom: 6px; color: #1c1915; font-size: 0.88rem; }
.room-pack ul { display: grid; gap: 6px; }
.room-pack li { color: #0c7b6b; }
.room-pack li .room-ico { color: #0c7b6b; }
.room-foot { display: grid; gap: 4px; margin-top: auto; text-align: right; }
.room-deal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  color: #e31c5f;
  font-size: 0.8rem;
  font-weight: 650;
}
.room-off {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fde8ef;
  color: #e31c5f;
  font-weight: 700;
}
.room-now {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}
.room-now strong { color: #2f6bff; font-size: 1.28rem; font-weight: 800; }
.room-now s { color: #8b909a; font-size: 0.82rem; }
.room-total { margin: 0; color: #6b7280; font-size: 0.75rem; line-height: 1.35; }
.room-total b { color: #1c1915; font-size: 0.82rem; font-weight: 700; }
.room-offer .select { width: 100%; height: 42px; margin-top: 8px; border-radius: 8px; }
.room-offer .select:disabled { background: #c5cad3; cursor: not-allowed; }
.room-empty { margin: 24px 16px; color: #6b7280; font-size: 0.92rem; }

.hotel-fields {
  display: grid;
  grid-template-columns: 1.5fr 150px 150px 88px 88px auto;
  gap: 12px;
  align-items: end;
}

.stay-form { margin: 0; }

.stay-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(250px, 1.65fr) minmax(190px, 1.15fr) auto;
  align-items: center;
  min-height: 78px;
  background: #fff;
  border: 2px solid #2f6bff;
  border-radius: 12px;
  padding: 8px;
  color: #1c1915;
}

.stay-part {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  color: #2a2a2a;
}

.stay-part + .stay-part { border-left: 1px solid #e4e7ee; }

.stay-part svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.stay-dates {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid #e4e7ee;
}
.stay-where { min-width: 0; }
.stay-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}
.stay-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b909a;
  line-height: 1.1;
}
.fare-page .stay-bar .stay-where #city,
.fare-page .stay-bar .stay-where #city:focus {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 32px;
  color: #1c1915;
  -webkit-text-fill-color: #1c1915;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
}
.stay-when { min-width: 0; gap: 6px; padding: 0 8px; min-height: 48px; }
.stay-who { min-width: 0; border-left: 1px solid #e4e7ee; }
.stay-dates .stay-when,
.stay-dates .stay-star { border-left: 0; }
.stay-star {
  border-top: 1px solid #e4e7ee;
  min-height: 42px;
  padding: 4px 8px;
}

.stay-star-pop { width: 190px; padding: 6px; }
.stay-star-pop button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1c1915;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.stay-star-pop button:hover,
.stay-star-pop button.is-current { background: #eef3ff; color: #1a3fb5; }

.fare-page .stay-bar input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
.fare-page .stay-bar input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):focus {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  font-size: 20px;
  font-weight: 650;
  color: #1c1915;
}

.fare-page .stay-bar input.stay-native:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.stay-clear {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid #c5c8d0;
  border-radius: 50%;
  background: #fff;
  color: #8b909a;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.stay-date,
.stay-guests,
.stay-dash {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  color: #1c1915;
  white-space: nowrap;
}

.stay-date,
.stay-guests { cursor: pointer; }

.stay-date,
.stay-dash { font-size: 18px; }

.stay-dash { color: #1c1915; }

.stay-nights {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef1f6;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.stay-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  height: 48px;
  margin: 2px 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #2f6bff;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.stay-search svg { width: 18px; height: 18px; }
.stay-search:hover { background: #1d5af5; }
.stay-search:disabled { opacity: 0.65; cursor: progress; }

.stay-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  padding: 10px 16px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(28, 25, 21, 0.12);
}

.stay-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.stay-step span { font-weight: 650; }

.stay-step div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stay-step button {
  width: 28px;
  height: 28px;
  border: 1px solid #c5c8d0;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.stay-step strong {
  min-width: 16px;
  text-align: center;
  font-weight: 700;
}

.car-fields {
  display: grid;
  grid-template-columns: 1.4fr 138px 108px 138px 108px 88px auto;
  gap: 12px;
  align-items: end;
}

.mode-row { display: flex; gap: 8px; margin-bottom: 14px; }
.mode-row button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 640;
  cursor: pointer;
}
.mode-row button.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.transfer-fields {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 140px 110px 88px auto;
  gap: 12px;
  align-items: end;
}

#transfer-form.tf-search {
  width: 100%;
  margin: 0 auto;
  padding: 16px 18px 18px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 41, 77, 0.16);
}

#transfer-form.tf-search .tf-tabs {
  display: flex;
  gap: 22px;
  margin: 0 4px 14px;
}

#transfer-form.tf-search .tf-tabs button {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7385;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

#transfer-form.tf-search .tf-tabs button.is-on {
  color: #1b2437;
  border-bottom-color: #3264ff;
}

#transfer-form.tf-search .tf-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}

#transfer-form.tf-search .tf-cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  background: #fff;
}

#transfer-form.tf-search .tf-from,
#transfer-form.tf-search .tf-to {
  flex: 1 1 220px;
}

#transfer-form.tf-search .tf-airport-btn {
  width: auto;
  min-height: 56px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

#transfer-form.tf-search .tf-from-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

#transfer-form.tf-search .tf-from-copy strong {
  overflow: hidden;
  color: #8a93a6;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#transfer-form.tf-search .tf-from-copy.is-set strong {
  color: #1b2437;
  font-weight: 700;
}

#transfer-form.tf-search .tf-from-copy small {
  overflow: hidden;
  color: #6b7385;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#transfer-form.tf-search:not(.is-drop) .tf-airport-input,
#transfer-form.tf-search:not(.is-drop) .tf-when,
#transfer-form.tf-search:not(.is-drop) .tf-time {
  display: none;
}

#transfer-form.tf-search.is-drop .tf-airport-btn {
  display: none;
}

#transfer-form.tf-search .tf-when {
  flex: 0 0 158px;
  min-width: 158px;
}

#transfer-form.tf-search .tf-time {
  flex: 0 0 118px;
  min-width: 118px;
}

#transfer-form.tf-search .tf-who {
  flex: 0 0 180px;
  min-width: 168px;
  padding: 0;
  overflow: visible;
}

#transfer-form.tf-search .tf-who-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #1b2437;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#transfer-form.tf-search .tf-who-btn span {
  flex: 1;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
}

#transfer-form.tf-search .tf-chev {
  flex: none;
  color: #6b7385;
}

#transfer-form.tf-search .tf-who-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 41, 77, 0.14);
}

#transfer-form.tf-search .tf-who-menu button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1b2437;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

#transfer-form.tf-search .tf-who-menu button:hover {
  background: #f4f7ff;
}

#transfer-form.tf-search .tf-ico {
  flex: none;
  color: #6b7385;
}

#transfer-form.tf-search .tf-arrow {
  flex: none;
  align-self: center;
  color: #6b7385;
  font-size: 16px;
}

#transfer-form.tf-search.is-drop .tf-to { order: 1; }
#transfer-form.tf-search.is-drop .tf-arrow { order: 2; }
#transfer-form.tf-search.is-drop .tf-airport-input { order: 3; }
#transfer-form.tf-search.is-drop .tf-when { order: 4; }
#transfer-form.tf-search.is-drop .tf-time { order: 5; }
#transfer-form.tf-search.is-drop .tf-who { order: 6; }
#transfer-form.tf-search.is-drop .tf-go { order: 7; }

.fare-page #transfer-form.tf-search input[type="hidden"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.fare-page #transfer-form.tf-search input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  width: auto;
  min-width: 0;
  flex: 1;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #1b2437;
}

.fare-page #transfer-form.tf-search input:focus {
  outline: none;
  border: 0;
}

.fare-page #transfer-form.tf-search input::placeholder {
  font-weight: 400;
  color: #8a93a6;
}

.fare-page #transfer-form.tf-search .tf-when input[type="date"],
.fare-page #transfer-form.tf-search .tf-time input[type="time"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  font-weight: 600;
}

.fare-page #transfer-form.tf-search input[type="date"]::-webkit-calendar-picker-indicator,
.fare-page #transfer-form.tf-search input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.35;
}

#transfer-form.tf-search .tf-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 108px;
  height: auto;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #3264ff;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

#transfer-form.tf-search .tf-go:hover { background: #1d56e8; }

#transfer-form.tf-search .form-error {
  margin: 10px 4px 0;
}

.tf-modal[hidden] { display: none !important; }
.tf-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 24px;
  overflow: auto;
  background: rgba(15, 23, 42, 0.28);
}
.tf-modal-card {
  width: min(920px, 100%);
  margin-top: 12px;
  overflow: visible;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 41, 77, 0.22);
}
.tf-modal-head {
  position: relative;
  padding: 28px 56px 22px 28px;
  background: #3264ff;
  color: #fff;
}
.tf-modal-head h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}
.tf-modal-perks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-modal-perks li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.45;
  color: #eaf1ff;
}
.tf-modal-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 8px;
  border-left: 2px solid #7dffb0;
  border-bottom: 2px solid #7dffb0;
  transform: rotate(-45deg);
}
.tf-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.tf-modal-body {
  position: relative;
  overflow: visible;
  padding: 16px 24px 22px;
}
.tf-modal-note {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #5b6475;
  font-size: 13px;
  line-height: 1.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%235b6475' stroke-width='2'/%3E%3Cpath d='M12 10v6M12 7h.01' stroke='%235b6475' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 0 2px no-repeat;
}
.tf-modal-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
}
.tf-modal-tabs button {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7385;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.tf-modal-tabs button.is-on {
  color: #1b2437;
  border-bottom-color: #1b2437;
}
.tf-modal-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #d5deeb;
  border-radius: 4px;
  overflow: hidden;
}
.tf-modal-row[hidden],
.tf-modal-land[hidden] {
  display: none !important;
}
.tf-modal-row.tf-modal-airports {
  overflow: visible;
}
.fare-page .tf-modal-row input,
.tf-modal-row input {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid #e6edf5;
  border-radius: 0;
  background: #fff;
  color: #1b2437;
  font: 15px/1 Arial, Helvetica, sans-serif;
}
.tf-modal-row input:focus { outline: none; }
.tf-modal-search {
  flex: none;
  width: 56px;
  border: 0;
  background: #3264ff;
  color: #fff;
  cursor: pointer;
}
.tf-modal-search:hover { background: #1d56e8; }
.tf-modal-land .tf-modal-air {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
  z-index: 2;
}
.tf-modal-land .tf-modal-air:focus-within {
  z-index: 5;
}
.tf-modal-land .tf-modal-air input { width: 100%; }
.tf-modal-land .suggest {
  z-index: 90;
  min-width: 100%;
  width: max(100%, 280px);
  max-height: 280px;
}
.tf-modal-land .suggest[hidden] {
  display: none !important;
}
.tf-modal-msg {
  margin: 12px 0 0;
  color: #b3401e;
  font-size: 13px;
}
.tf-flights {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tf-flights button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid #d5deeb;
  border-radius: 8px;
  background: #fff;
  color: #1b2437;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tf-flights button:hover { border-color: #3264ff; background: #f5f8ff; }
.tf-flights strong { font-size: 15px; }
.tf-flights small { color: #6b7385; font-size: 12px; }

@media (max-width: 1180px) {
  #transfer-form.tf-search .tf-bar {
    flex-wrap: wrap;
  }
  #transfer-form.tf-search .tf-from,
  #transfer-form.tf-search .tf-to,
  #transfer-form.tf-search .tf-when,
  #transfer-form.tf-search .tf-time,
  #transfer-form.tf-search .tf-who,
  #transfer-form.tf-search .tf-go {
    flex: 1 1 100%;
    min-width: 0;
    order: 0;
  }
  #transfer-form.tf-search .tf-arrow { display: none; }
  .tf-modal-row,
  .tf-modal-airports {
    flex-wrap: wrap;
  }
  .tf-modal-search { width: 100%; height: 44px; }
}

.hotel-results[hidden] { display: none !important; }
.hotel-results {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 16px;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #223c61;
}
.hotel-side {
  position: sticky;
  top: 96px;
}
.hotel-map {
  display: grid;
  place-items: center;
  height: 118px;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.35)),
    radial-gradient(circle at 30% 40%, #b7e0c2 0 18%, transparent 19%),
    radial-gradient(circle at 70% 60%, #9fd0b5 0 14%, transparent 15%),
    linear-gradient(135deg, #cfe8d6, #d7e6f4 55%, #e7f0d8);
}
.hotel-map span {
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff;
  color: #1a3fb5;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(20, 28, 50, 0.12);
}
.hotel-filters {
  display: grid;
  gap: 8px;
  padding: 4px 2px 8px;
}
.hotel-filter-title {
  margin: 10px 0 2px;
  color: #0f294d;
  font-size: 14px;
  font-weight: 700;
}
.hotel-filter-title:first-child { margin-top: 0; }
.hotel-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #223c61;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.hotel-filter input { width: 14px; height: 14px; accent-color: #2f6bff; }
.hotel-board { min-width: 0; }
.hotel-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.hotel-results .results-count {
  margin: 0;
  color: #0f294d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}
.hotel-sort {
  display: flex;
  align-items: center;
}
.hotel-sort select {
  height: 32px;
  padding: 0 26px 0 10px;
  border: 1px solid #d5dbe6;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231c1915' d='M2 4h8L6 9z'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: #0f294d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
}

.hotel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-card {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 16px;
  align-items: stretch;
  padding: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(20, 28, 50, 0.04);
}

.hotel-shots {
  display: flex;
  flex-direction: column;
  background: #f3ebe1;
}

.hotel-card .hotel-photo {
  width: 220px;
  height: 168px;
  min-height: 168px;
  object-fit: cover;
  border-radius: 10px;
  background: #eef2f7;
}
.hotel-results .hotel-thumbs { display: none; }
.hotel-results .hotel-shots { background: transparent; }

.hotel-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 2px;
}

.hotel-thumbs img {
  width: 100%;
  height: 48px;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
}

.hotel-info { padding: 2px 0; min-width: 0; }

.hotel-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin-bottom: 4px;
}

.hotel-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: #0f294d;
}

.hotel-stars {
  color: #f5a300;
  font-size: 12px;
  letter-spacing: 1px;
}

.hotel-card p {
  margin: 0;
  color: var(--muted);
}

.hotel-where,
.hotel-highlights {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #455873;
  font-size: 12px;
  line-height: 18px;
}

.hotel-where { align-items: flex-start; }
.hotel-where .hotel-icon { margin-top: 2px; }
.hotel-where-text { min-width: 0; }
.hotel-where a { color: #1a3fb5; font-weight: 600; text-decoration: underline; }

.hotel-card .hotel-highlights { color: #455873; align-items: flex-start; }
.hotel-highlights span:last-child {
  min-width: 0;
  white-space: normal;
}

.hotel-en {
  display: block;
  margin: 0 0 4px;
  color: #8592a6;
  font-size: 12px;
}

.hotel-sentence {
  margin-top: 4px;
  color: #455873;
  font-size: 12px;
  line-height: 18px;
}

.hotel-subscores {
  margin: 0;
  color: #8592a6;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.hotel-card .hotel-promo { color: #c45500; font-size: 12px; }
.hotel-card .hotel-activity { color: #8592a6; font-size: 12px; }

.hotel-icon { display: inline-flex; flex: 0 0 auto; }
.hotel-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hotel-thumb {
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #f5a300;
  color: #fff;
}
.hotel-thumb svg { width: 10px; height: 10px; fill: #fff; stroke: #fff; stroke-width: 1; }

.hotel-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.hotel-tags span {
  padding: 1px 6px;
  border-radius: 4px;
  background: #eef1f6;
  color: #223c61;
  font-size: 12px;
}

.hotel-room-name { display: flex; align-items: center; gap: 4px; }
.hotel-guest { color: #8592a6; }
.hotel-guest svg { width: 12px; height: 12px; }

.hotel-total { color: #0f294d; font-size: 14px; font-weight: 700; }

.hotel-room {
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid #e4e7ee;
  display: grid;
  gap: 2px;
  font-size: 12px;
}

.hotel-room strong { color: #0f294d; font-size: 14px; font-weight: 700; }
.hotel-card .hotel-perk { color: #00a698; font-size: 12px; }

.hotel-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 2px 0;
  text-align: right;
}

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

.hotel-rating b { display: block; color: #1a3fb5; font-size: 14px; font-weight: 700; }
.hotel-rating small { color: #8592a6; font-size: 12px; }

.hotel-score {
  min-width: 32px;
  padding: 4px 6px;
  border-radius: 6px 6px 6px 0;
  background: #1a3fb5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

.hotel-money {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.hotel-money s { color: #8592a6; font-size: 12px; }

.hotel-price strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #287dfa;
}

.hotel-price p {
  max-width: 230px;
  font-size: 12px;
  line-height: 16px;
  color: #8592a6;
}

.hotel-price .select {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #2f6bff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.hotel-price .select:hover { background: #1d5af5; }

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pager button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #c9d3ea;
  border-radius: 8px;
  background: #fff;
  color: #1c1915;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.pager button:hover:not(:disabled) { border-color: #2f6bff; color: #2f6bff; }
.pager button.is-current { border-color: #2f6bff; background: #2f6bff; color: #fff; }
.pager button:disabled { opacity: 0.45; cursor: default; }
.pager-gap { align-self: center; padding: 0 2px; color: #6d645b; font-weight: 700; }
.pager-wait { padding: 28px 0; text-align: center; color: #1c1915; font-weight: 650; }

@media (max-width: 900px) {
  .options { grid-template-columns: 1fr 1fr; }
  .options .field:first-child,
  .check-field { grid-column: 1 / -1; }
  .fields, .hotel-fields, .car-fields, .transfer-fields { grid-template-columns: 1fr 1fr; }
  .stay-bar { display: flex; flex-direction: column; align-items: stretch; padding: 8px; }
  body:has(#hotel-form) .stay-bar { height: auto; min-height: 0; }
  .stay-part { min-height: 48px; }
  .stay-part + .stay-part { border-left: 0; border-top: 1px solid #e4e7ee; }
  .stay-dates,
  .stay-who { border-left: 0; border-top: 1px solid #e4e7ee; }
  .stay-search { height: 40px; margin: 8px 0 0; align-self: stretch; }
  .hotel-fields .field:first-child,
  .hotel-fields .go,
  .car-fields .field:first-child,
  .car-fields .go,
  .transfer-fields .field,
  .transfer-fields .go { grid-column: 1 / -1; }
  .hotel-results { grid-template-columns: 1fr; }
  .hotel-side { position: static; }
  .hotel-card { grid-template-columns: 1fr; gap: 0; }
  .hotel-card .hotel-photo,
  .hotel-card img { width: 100%; height: 190px; min-height: 0; }
  .hotel-thumbs img { height: 56px; }
  .hotel-subscores { text-align: left; }
  .hotel-info { padding: 14px 16px 0; }
  .hotel-price { align-items: flex-start; text-align: left; padding: 14px 16px 16px; }
  .hotel-money { align-items: flex-start; }
  .stay-room { grid-template-columns: 1fr; }
  .room-rates-wrap { border-left: 0; border-top: 1px solid #e6e8ee; }
  .room-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-shot { height: 200px; }
  .swap { display: none; }
  #search-form.fly-search .swap { display: inline-flex; }
  #search-form.fly-search .fields,
  #search-form.fly-search .fields.round {
    flex-wrap: wrap;
  }
  #search-form.fly-search .fly-route,
  #search-form.fly-search .fly-dates,
  #search-form.fly-search .fly-who,
  #search-form.fly-search .go {
    flex: 1 1 100%;
  }
  #search-form.fly-search .go { min-height: 48px; height: 48px; }
  .date-field, .go { grid-column: 1 / -1; }
  .results-head { flex-direction: column; align-items: start; }
  .top { align-items: start; }

  .fare { padding: 14px; }
  .fare-main {
    grid-template-columns: 1fr auto;
    gap: 12px 10px;
  }
  .fare-airline,
  .fare-schedule { grid-column: 1 / -1; }
  .fare-clock { font-size: 20px; }
  .fare-total { font-size: 18px; }
  .select { min-width: 92px; height: 36px; }
  .offer-grid { grid-template-columns: 1fr; }
}

.offer[hidden] { display: none; }

.offer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(22, 28, 45, 0.46);
  overflow: auto;
}

.offer-card {
  width: min(1080px, 100%);
  margin-top: 12px;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 28, 50, 0.18);
}

.offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.offer-head h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 560;
}

.offer-head p {
  margin: 6px 0 0;
  color: #5c6578;
}

.offer-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f5f8;
  color: #243049;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.offer-status { color: #5c6578; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.offer-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  background: #fff;
}

.offer-option.is-chosen {
  border-color: #2f6bff;
  box-shadow: inset 0 0 0 1px #2f6bff;
}

.offer-price {
  color: #2346d4;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offer-cabin, .offer-seats {
  color: #8b93a7;
  font-size: 13px;
}

.offer-badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 4px;
  background: #0e8f8f;
  color: #fff;
  font-size: 12px;
  font-weight: 640;
}

.offer-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-lines li {
  font-size: 14px;
  line-height: 1.35;
}

.offer-lines .ADVANTAGE { color: #0b7a62; }
.offer-lines .DISADVANTAGE, .offer-lines .LIMIT { color: #6d7588; }
.offer-lines .NEUTRAL { color: #243049; }

.offer-option .select { margin-top: auto; }

.offer-picked {
  margin: 0 0 12px;
  color: #0b7a62;
  font-weight: 640;
}

.checkout { margin-top: 22px; scroll-margin-top: 108px; }
.checkout[hidden] { display: none; }

.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.checkout-head h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 560;
}

.checkout-head p, .checkout-note {
  margin: 6px 0 0;
  color: var(--muted);
}

.checkout-back {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 640;
  cursor: pointer;
}

.checkout h3 {
  margin: 22px 0 12px;
  font-size: 1.05rem;
}

.passenger-block {
  margin-top: 8px;
  padding-top: 8px;
}

.passenger-block + .passenger-block {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

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

.checkout-grid .wide { grid-column: 1 / -1; }

.no-surname {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 500;
}

.no-surname input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--coral);
}

.phone-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
}

.pay-total {
  margin: 0 0 12px;
  color: #2346d4;
  font-size: 1.35rem;
  font-weight: 700;
}

.checkout-error {
  margin: 12px 0 0;
  color: #9d2c1a;
  font-weight: 640;
}

.checkout .go { margin-top: 16px; }

.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.book-help { margin: 12px 0 0; color: #3a3a3a; }

.guest-tools { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.guest-tools button {
  border: 0;
  background: none;
  padding: 0;
  color: #2f6bff;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}
.guest-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.guest-names:first-child { margin-top: 0; }
.line-field { position: relative; display: block; }
.line-field > span {
  position: absolute;
  top: -0.55em;
  left: 12px;
  z-index: 1;
  padding: 0 4px;
  background: #fffdf8;
  color: #5c6570;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.line-field:focus-within > span { color: #2f6bff; }
.fare-page .line-field input:not([type="radio"]):not([type="checkbox"]),
.fare-page .line-field select {
  height: 56px;
  border-radius: 8px;
  border-color: #d7dbe3;
}
.fare-page .line-field input:focus,
.fare-page .line-field select:focus {
  outline: none;
  border-color: #2f6bff;
}
.phone-box {
  display: flex;
  align-items: center;
  height: 56px;
  border: 1px solid #d7dbe3;
  border-radius: 8px;
  background: #fff;
}
.line-field:focus-within .phone-box { border-color: #2f6bff; }
.fare-page .phone-box select,
.fare-page .phone-box input:not([type="radio"]):not([type="checkbox"]) {
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
}
.fare-page .phone-box select { width: 96px; padding-right: 8px; }
.fare-page .phone-box input:focus,
.fare-page .phone-box select:focus { border-color: transparent; outline: none; }

.book-requests { display: grid; gap: 8px; margin: 12px 0; }
.book-requests label, .pay-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.book-requests input, .pay-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #2f6bff;
}

.book-section textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.pay-methods { display: grid; gap: 4px; }
.pay-ask {
  margin: 0 0 6px;
  color: #17315c;
  font-size: 1.35rem;
  font-weight: 750;
}
.pay-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 650;
}
.pay-row input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #c5cad3;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.pay-row input:checked { border-color: #2f6bff; background: #2f6bff; }
.pay-row input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}
.pay-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-brands .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 38px;
  padding: 0 6px;
  border: 1px solid #e6e8ee;
  border-radius: 4px;
  background: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}
.pay-brands .brand.visa { color: #1a1f71; }
.pay-brands .brand.jcb { color: #0b3d91; }
.pay-brands .brand.up { color: #e21836; font-size: 8px; }
.pay-brands .brand.amex { color: #2e77bc; }
.pay-brands .brand.disc { color: #f76b1c; font-size: 8px; }
.pay-brands .brand.va { color: #1a3fb5; }
.pay-brands .brand.ovo { color: #4c2a86; }
.pay-brands .brand.qris { color: #1c1915; }
.pay-brands .brand.gpay { color: #3c4043; }
.pay-brands .brand.dana { color: #108ee9; }
.pay-brands .brand.mc b { width: 12px; height: 12px; border-radius: 50%; }
.pay-brands .brand.mc b:first-child { background: #eb001b; }
.pay-brands .brand.mc b:last-child { background: #f79e1b; margin-left: -5px; }
.pay-brands .brand.wave { min-width: 28px; color: #3a3a3a; }
.pay-brands .brand.wave svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.site-footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.pay-next { margin: 0 0 4px 32px; color: #3a3a3a; }
.pay-choice {
  padding: 12px;
  border: 1px solid #e4e7ee;
  border-radius: 12px;
  cursor: pointer;
}
.pay-choice:has(input:checked) { border-color: #2f6bff; background: #f5f8ff; }
.pay-choice b, .pay-choice small { display: block; }
.pay-choice small { color: #5c564e; font-weight: 500; }
.pay-panel { padding: 4px 4px 8px 30px; }
.pay-panel[hidden] { display: none; }
.pay-panel p { margin: 0; color: #3a3a3a; }
.pay-timer {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e8;
  color: #8a4b08;
  font-weight: 650;
}
.pay-timer b { font-variant-numeric: tabular-nums; }
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bank-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 650;
}
.bank-tile:has(input:checked) { border-color: #2f6bff; background: #f5f8ff; }
.bank-tile input { width: 16px; height: 16px; margin: 0; accent-color: #2f6bff; }
.pay-hint { margin: 8px 0 0; color: #3a3a3a; font-size: 0.9rem; }
.pay-result { display: grid; gap: 8px; }
.pay-result h3 { margin: 0; }
.pay-box {
  padding: 12px;
  border: 1px dashed #d7dbe3;
  border-radius: 10px;
  background: #fff;
}
.pay-box b { display: block; margin-top: 4px; font-size: 1.05rem; }

.book-summary {
  position: sticky;
  top: 88px;
  padding: 16px;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  background: #fff;
}
.book-summary h3 { margin: 14px 0 8px; }
.sum-hotel { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: start; }
.book-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.book-hotel { display: block; margin: 0; font-size: 1rem; line-height: 1.3; }
.book-hotel .hotel-stars { color: #f5a300; letter-spacing: 1px; }
.sum-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 0.82rem; }
.sum-score span {
  padding: 2px 6px;
  border-radius: 6px 6px 6px 0;
  background: #1a3fb5;
  color: #fff;
  font-weight: 700;
}
.sum-room { margin-top: 14px; }
.sum-facts, .sum-pack, .sum-cancel, .sum-clock { margin: 6px 0 0; color: #3a3a3a; font-size: 0.86rem; line-height: 1.4; }
.sum-when { margin: 12px 0 0; font-weight: 750; }
.sum-detail {
  border: 0;
  background: none;
  padding: 0;
  color: #2f6bff;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}
.sum-more { margin: 4px 0 0; padding-left: 18px; color: #3a3a3a; font-size: 0.84rem; }
.sum-more[hidden] { display: none; }
.sum-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sum-picks span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d645b' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center no-repeat;
}
.sum-price-title { margin-bottom: 4px; }
.sum-tax { margin: 2px 0 0 12px; color: #6d645b; font-size: 0.82rem; }
.sum-match { margin: 8px 0 0; color: #0c7b6b; font-weight: 650; font-size: 0.9rem; }
.book-summary .is-free { color: #0c7b6b; }
.book-room { font-weight: 700; }
.book-price { margin: 14px 0 0; }
.book-price div { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.book-price dt { color: #3a3a3a; font-weight: 500; }
.book-price dd { margin: 0; text-align: right; }
.book-price s { color: #8b909a; }
.book-grand { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e6e8ee; }
.book-grand dt, .book-grand dd { font-weight: 750; color: #1c1915; }
.book-grand dd { font-size: 1.25rem; }
.book-summary .go { width: 100%; margin-top: 14px; }
.book-lock { color: #5c564e; font-size: 0.82rem; }

.receipt {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.receipt h3 { margin: 8px 0 0; }

.receipt li { margin: 4px 0; }

@media (max-width: 700px) {
  .checkout-grid, .phone-row, .book, .guest-names { grid-template-columns: 1fr; }
  .checkout-head { flex-direction: column; }
  .book-summary { position: static; }
}

.hotel-hero {
  flex: 0 0 auto;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f294d;
  margin-bottom: 8px;
  overflow: visible;
  background: #fff;
}
.hd-crumb {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #455873;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.hd-crumb:hover { color: #1a3fb5; }
.hd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.hd-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f294d;
}
.hd-copy {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: #8592a6;
  cursor: pointer;
}
.hd-copy svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.hd-rank { color: #1a3fb5; font-size: 14px; font-weight: 600; }
.hd-tools { display: flex; gap: 18px; flex: 0 0 auto; padding-top: 4px; }
.hd-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #0f294d;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hd-tool svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.hd-tool.is-on { color: #e23d3d; }
.hd-tool.is-on svg { fill: #e23d3d; }
.hd-addr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
  color: #455873;
  font-size: 14px;
}
.hd-addr svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.hd-addr a { color: #1a3fb5; font-weight: 600; text-decoration: none; }
.hd-addr a:hover { text-decoration: underline; }
.hd-shots {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 6px;
  height: 228px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.hd-shots-main {
  display: block;
  width: 100%;
  height: 228px;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
  background: #eef2f7;
  cursor: pointer;
}
.hd-shots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
  height: 228px;
}
.hd-shots-grid > div {
  overflow: hidden;
  min-height: 0;
}
.hd-shots-grid > div,
.hd-shots-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #eef2f7;
  cursor: pointer;
}
.hd-shots-grid > div:nth-child(2) img { border-top-right-radius: 8px; }
.hd-shots-grid > div:nth-child(4) img,
.hd-shots-more img { border-bottom-right-radius: 8px; }
.hd-shots-more { position: relative; }
.hd-shots-more span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 41, 77, 0.42);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-bottom-right-radius: 8px;
}
.hd-feats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 16px 24px;
  align-items: start;
  margin-top: 14px;
  padding: 12px 0 16px;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
}
.hd-feat-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hd-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  max-width: 110px;
  color: #223c61;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  cursor: default;
}
.hd-feat span { display: block; }
.hd-feat svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hd-deal {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  padding: 4px 0 0;
  background: #fff;
  text-align: right;
}
.hd-deal-copy { min-width: 0; }
.hd-deal-label {
  margin: 0;
  color: #00a698;
  font-size: 14px;
  font-weight: 700;
}
.hd-deal strong {
  display: block;
  color: #287dfa;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}
.hd-deal p {
  margin: 4px 0 0;
  max-width: 230px;
  color: #8592a6;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.hd-deal-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f7;
}
.hd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  background: rgba(15, 25, 45, 0.88);
}
.hd-lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}
.hd-light-close,
.hd-light-nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0f294d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hd-light-close { position: absolute; top: 16px; right: 16px; font-size: 26px; }

@media (max-width: 900px) {
  .hd-shots { grid-template-columns: 1fr; height: auto; }
  .hd-shots-main { height: 180px; border-radius: 8px; }
  .hd-shots-grid { height: 150px; }
  .hd-feats { grid-template-columns: 1fr; }
  .hd-deal { justify-content: flex-start; text-align: left; }
  .hd-title { font-size: 20px; }
}

/* Hotel detail view */
.hotel-card h3[role="link"] { cursor: pointer; }
.hotel-card h3[role="link"]:hover { color: #2f6bff; text-decoration: underline; }
.hotel-card img.hotel-photo { cursor: pointer; }

.hd-gallery {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.hd-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  background: #f3ebe1;
}
.hd-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.hd-thumbs img {
  flex: 0 0 auto;
  width: 112px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #f3ebe1;
  cursor: pointer;
  opacity: 0.8;
}
.hd-thumbs img.on { border-color: #2f6bff; opacity: 1; }

.hd-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}
.hd-about, .hd-score, .hd-section, .hd-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.hd-about { padding: 18px 20px; }
.hd-about p { margin: 0; }
.hd-starline { display: flex; align-items: center; gap: 10px; }
.hotel-tags-pill {
  padding: 3px 10px;
  border-radius: 6px;
  background: #eef1f6;
  color: #1c1915;
  font-size: 0.85rem;
}
.hd-where { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px !important; color: #1c1915; }
.hd-where a { color: #1c1915; font-weight: 650; text-decoration: underline; }
.hd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hd-chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1a3fb5;
  font-size: 0.88rem;
}
.hd-desc { margin-top: 12px !important; color: #3a3a3a; line-height: 1.55; }

.hd-score { padding: 16px 18px; }
.hd-score-top { display: flex; align-items: center; gap: 12px; }
.hd-score-top b { display: block; color: #1a3fb5; font-size: 1.1rem; }
.hd-score-top small { color: var(--muted); }
.hd-recommend { margin: 10px 0 0; color: #0c7b6b; font-weight: 650; }
.hd-bar { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.9rem; }
.hd-bar i { display: block; height: 6px; border-radius: 6px; background: #e4e7ee; overflow: hidden; }
.hd-bar i b { display: block; height: 100%; background: #2f6bff; }
.hd-bar em { font-style: normal; font-weight: 700; text-align: right; }

.hd-tabs {
  position: sticky;
  top: 70px;
  z-index: 5;
  display: flex;
  gap: 6px;
  margin-top: 18px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hd-tabs[hidden] { display: none; }
.hd-tabs button {
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.hd-tabs button:hover { background: #eef3ff; color: #1a3fb5; }

.hd-heading { margin: 22px 0 6px; font-size: 1.05rem; scroll-margin-top: 130px; }
.hd-section { margin-top: 18px; padding: 4px 20px 18px; scroll-margin-top: 130px; }
.hd-section .hd-heading { margin-top: 14px; }
.hd-popular { margin-top: 4px; }
.hd-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 24px;
  margin-top: 16px;
}
.hd-group h4, .hd-policy h4 { margin: 0 0 6px; font-size: 0.98rem; }
.hd-group ul { margin: 0; padding-left: 18px; color: #3a3a3a; line-height: 1.6; }
.hd-nearby { margin: 10px 0 0; padding: 0; list-style: none; }
.hd-nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.hd-nearby b { white-space: nowrap; }
.hd-policies { display: grid; gap: 14px; margin-top: 8px; }
.hd-policy p { margin: 2px 0 0; color: #3a3a3a; line-height: 1.5; }
.hd-review { margin-top: 12px; padding: 14px 16px; background: #fcfcfd; }
.hd-review p { margin: 10px 0 0; line-height: 1.55; color: #3a3a3a; }
.hd-review-head { display: flex; align-items: center; gap: 12px; }
.hd-review-head b { display: block; }
.hd-review-head small { color: var(--muted); }

@media (max-width: 900px) {
  .hd-main { height: 260px; }
  .hd-overview { grid-template-columns: 1fr; }
  .hd-tabs { overflow-x: auto; top: 56px; }
}

body:has(.transfer-clip) {
  overflow: auto;
  height: auto;
}

body:has(.transfer-clip) .fare-page,
body:has(.transfer-clip) .fare-page.has-hero {
  flex: 1 0 auto;
  min-height: 0;
  display: block;
  background: #f4f6fb;
}

body:has(.transfer-clip) main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

body:has(.transfer-clip) .page-title,
body:has(.transfer-clip) #transfer-form {
  display: none;
}

body:has(.transfer-clip) #results {
  display: block;
  margin: 0;
}

body:has(.transfer-clip) .results-head {
  display: none;
}

body:has(.transfer-clip) #rows.hotel-list {
  display: block;
  width: 100%;
}

.transfer-clip {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 2800px;
  margin: 0;
  border-radius: 0;
  background: #f4f6fb;
  box-shadow: none;
}

.transfer-clip::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  pointer-events: none;
  background: #f4f6fb;
}

.transfer-frame {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 2864px;
  min-height: 2864px;
  margin: -64px 0 0;
  border: 0;
  background: #fff;
}

.amw-header {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  background: #f4efe6;
  border-bottom: 1px solid #ddcfc0;
  font-family: Arial, Helvetica, sans-serif;
}
.amw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.amw-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.amw-brand span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.amw-brand strong {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 0.9;
  color: #020287;
}
.amw-brand small {
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  color: #ff1212;
}
.amw-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.amw-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #1c1915;
  text-decoration: none;
}
.amw-nav a:hover { background: #ebe3d4; }
.amw-nav .amw-wa { margin-left: 6px; background: #c24b2a; color: #fff; }
.amw-nav .amw-wa:hover { background: #8e3016; }
.amw-toggle {
  display: none;
  padding: 8px 14px;
  border: 1px solid #ddcfc0;
  border-radius: 999px;
  background: #fffaf3;
  font: inherit;
  cursor: pointer;
}
.amw-footer {
  margin-top: auto;
  padding: 18px 22px 14px;
  background: #102e29;
  color: #f4ecdf;
  font-family: Arial, Helvetica, sans-serif;
}
.amw-footer-bar {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px 20px;
  align-items: start;
}
.amw-footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.amw-footer .brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.amw-footer .brand strong { display: block; font-size: 1.15rem; color: #fff; }
.amw-footer .brand small { display: block; margin-top: 2px; color: #d7c9b4; font-size: 12px; }
.amw-footer .eyebrow {
  margin: 0 0 6px;
  color: #c9b59a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.amw-footer .hours { margin: 0; color: #f4ecdf; font-size: 13px; line-height: 1.5; }
.amw-footer .socials { display: flex; gap: 8px; margin: 0 0 8px; }
.amw-footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f4ecdf;
}
.amw-footer .socials svg { width: 16px; height: 16px; }
.amw-footer .links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; }
.amw-footer .links a { color: #f4ecdf; text-decoration: none; font-size: 13px; }
@media (max-width: 800px) {
  .amw-toggle { display: inline-flex; }
  .amw-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fffaf3;
    border: 1px solid #ddcfc0;
    border-radius: 16px;
  }
  .amw-nav.is-open { display: flex; }
  .amw-footer-bar { grid-template-columns: 1fr; }
}
