:root {
  color-scheme: dark;
  --bg: #080b0f;
  --surface: #11161d;
  --surface-raised: #171d25;
  --surface-soft: #0d1218;
  --border: #29313b;
  --border-strong: #3a4654;
  --text: #f4f6f8;
  --muted: #99a4b1;
  --muted-strong: #c2c8cf;
  --accent: #64a9f3;
  --accent-strong: #4b8ed5;
  --accent-ink: #06111e;
  --danger: #ff8d91;
  --warning: #f1c776;
  --success: #78c8a0;
  --radius: 8px;
  --shadow: 0 22px 70px rgb(0 0 0 / 0.34);
  --search-panel-bg: rgb(3 7 10 / 0.24);
  --search-surface: rgb(5 12 18 / 0.38);
  --search-surface-hover: rgb(8 18 27 / 0.52);
  --search-border: rgb(126 165 198 / 0.38);
  --search-border-hover: rgb(142 192 231 / 0.62);
  --search-radius: 24px;
  --control-radius: 11px;
  --control-height: 62px;
  --motion-fast: 180ms ease;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

main {
  background-image:
    linear-gradient(180deg, rgba(3, 7, 10, 0.52), rgba(3, 7, 10, 0.46) 42%, rgba(3, 7, 10, 0.62)),
    url("/images/fon3232.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 5px max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: #070a0e;
}

.brand {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 7px;
}

.site-nav .fw-header-login {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.site-nav .fw-header-login .ui-icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.page-intro {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  background: transparent;
}

.page-intro::before {
  content: none;
}

.page-intro__inner {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  justify-items: center;
  margin: 0 auto;
  padding: 44px 0 78px;
  text-align: center;
}

.eyebrow,
.results-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-intro h1,
.page-intro__title {
  max-width: 790px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-intro__inner > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.6;
}

.results-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.search-workspace {
  position: relative;
  z-index: 5;
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
  margin-top: -54px;
}

.search-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(188 220 240 / 0.34);
  border-radius: var(--search-radius);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.055), transparent 30%),
    var(--search-panel-bg);
  box-shadow:
    0 24px 64px rgb(0 8 16 / 0.3),
    inset 0 1px 0 rgb(255 255 255 / 0.09),
    inset 0 0 0 1px rgb(125 180 215 / 0.025),
    0 0 32px rgb(63 143 221 / 0.065);
  -webkit-backdrop-filter: blur(14px) saturate(108%);
  backdrop-filter: blur(14px) saturate(108%);
}

.search-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 27px 34px 0;
}

.budget-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(112 178 241 / 0.46);
  background: rgb(14 42 69 / 0.62);
  color: var(--accent);
  box-shadow: inset 0 0 18px rgb(76 156 232 / 0.08);
}

.search-panel__heading h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  padding: 0 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color var(--motion-fast), background-color var(--motion-fast);
}

.back-link .ui-icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.back-link:hover {
  background: rgb(100 169 243 / 0.08);
  color: var(--text);
}

.form-alert {
  margin: 20px 34px 0;
  padding: 12px 14px;
  border: 1px solid rgb(255 141 145 / 0.38);
  border-radius: 9px;
  background: rgb(255 141 145 / 0.09);
  color: #ffd5d7;
  font-size: 14px;
  line-height: 1.45;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 34px 20px;
}

.travel-grid {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.travel-grid--primary {
  grid-template-columns:
    minmax(170px, 1fr)
    minmax(170px, 1fr)
    minmax(420px, 2.15fr)
    minmax(190px, 1.1fr);
}

.travel-grid--details {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.field {
  min-width: 0;
}

.field > label,
.field > legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.rating-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.control-shell {
  position: relative;
  display: flex;
  min-height: var(--control-height);
  align-items: center;
  border: 1px solid var(--search-border);
  border-radius: var(--control-radius);
  background: var(--search-surface);
  color: var(--text);
  transition:
    border-color var(--motion-fast),
    background-color var(--motion-fast),
    box-shadow var(--motion-fast);
}

.control-shell:hover {
  border-color: var(--search-border-hover);
  background: var(--search-surface-hover);
}

.control-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(100 169 243 / 0.15);
}

.control-icon {
  position: absolute;
  left: 17px;
  z-index: 1;
  width: 23px;
  height: 23px;
  color: var(--accent);
  pointer-events: none;
}

.control-chevron {
  position: absolute;
  right: 15px;
  z-index: 1;
  width: 19px;
  height: 19px;
  color: var(--muted-strong);
  pointer-events: none;
}

.control-shell input,
.control-shell select {
  width: 100%;
  min-width: 0;
  min-height: calc(var(--control-height) - 2px);
  border: 0;
  outline: 0;
  appearance: none;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  padding: 0 44px 0 54px;
  font-size: 16px;
}

.control-shell select {
  cursor: pointer;
}

.control-shell--date input {
  padding-right: 54px;
  color-scheme: dark;
  font-variant-numeric: tabular-nums;
}

.control-shell input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.picker-trigger {
  position: absolute;
  right: 9px;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: rgb(255 255 255 / 0.025);
  color: var(--muted-strong);
  cursor: pointer;
  transition: color var(--motion-fast), background-color var(--motion-fast);
}

.picker-trigger:hover {
  background: rgb(100 169 243 / 0.09);
  color: var(--accent);
}

.control-shell--date input::-webkit-calendar-picker-indicator {
  opacity: 0;
  pointer-events: none;
}

.flyway-calendar {
  position: fixed;
  z-index: 1000;
  padding: 16px;
  border: 1px solid rgb(105 174 248 / 0.42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(20 29 39 / 0.98), rgb(8 13 19 / 0.99));
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.55), inset 0 1px rgb(255 255 255 / 0.05);
  color: #f4f7fb;
  font-family: "Manrope", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(-6px) scale(0.985);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.flyway-calendar.is-open { opacity: 1; transform: none; }
.flyway-calendar[hidden] { display: none; }
.flyway-calendar__head { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; }
.flyway-calendar__month { text-align: center; font-size: 14px; letter-spacing: 0.02em; text-transform: capitalize; }
.flyway-calendar__nav { width: 38px; height: 38px; border: 1px solid rgb(125 157 191 / 0.22); border-radius: 10px; background: rgb(255 255 255 / 0.035); color: #75b9ff; cursor: pointer; font-size: 25px; line-height: 1; }
.flyway-calendar__nav:hover { border-color: rgb(105 174 248 / 0.65); background: rgb(105 174 248 / 0.1); }
.flyway-calendar__week, .flyway-calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.flyway-calendar__week { margin: 15px 0 7px; color: #778493; font-size: 10px; font-weight: 800; text-align: center; text-transform: uppercase; }
.flyway-calendar__days button, .flyway-calendar__blank { aspect-ratio: 1; }
.flyway-calendar__days button { border: 1px solid transparent; border-radius: 9px; background: transparent; color: #dce4ed; cursor: pointer; font-size: 12px; font-weight: 700; }
.flyway-calendar__days button:hover:not(:disabled) { border-color: rgb(105 174 248 / 0.42); background: rgb(105 174 248 / 0.12); color: #fff; }
.flyway-calendar__days button.is-today { border-color: rgb(105 174 248 / 0.35); color: #77bbff; }
.flyway-calendar__days button.is-selected { border-color: rgb(107 180 255 / 0.72); background: rgb(107 180 255 / 0.07); color: #8bc8ff; box-shadow: none; }
.flyway-calendar__days button:disabled { color: #46515d; cursor: not-allowed; }
.flyway-calendar__footer { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgb(125 157 191 / 0.16); }
.flyway-calendar__footer button { border: 0; background: transparent; color: #78baff; cursor: pointer; font-size: 11px; font-weight: 700; }
.flyway-calendar__footer button:last-child { color: #84909e; }

@media (max-width: 620px) {
  .flyway-calendar { padding: 14px; border-radius: 14px; }
}

.control-shell:has(> select:disabled),
.control-shell:has(> input:disabled) {
  cursor: not-allowed;
  opacity: 0.52;
}

.control-shell select:disabled,
.control-shell input:disabled {
  cursor: not-allowed;
}

.control-shell.has-custom-select > select.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  pointer-events: none;
  white-space: nowrap;
}

.custom-select__trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: calc(var(--control-height) - 2px);
  align-items: center;
  border: 0;
  border-radius: inherit;
  outline: 0;
  padding: 0 44px 0 54px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.custom-select__trigger:focus-visible {
  outline: 0;
}

.custom-select__trigger:disabled {
  cursor: not-allowed;
}

.custom-select__value {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__value.is-placeholder {
  color: #727e8b;
}

.has-custom-select .control-chevron {
  transition: color var(--motion-fast), transform var(--motion-fast);
}

.has-custom-select.is-dropdown-open {
  border-color: var(--accent);
  background: var(--search-surface-hover);
  box-shadow: 0 0 0 3px rgb(100 169 243 / 0.15);
}

.has-custom-select.is-dropdown-open .control-chevron {
  color: var(--accent);
  transform: rotate(180deg);
}

.custom-select__menu {
  --dropdown-max-height: 320px;
  position: fixed;
  z-index: 80;
  overflow: hidden;
  border: 1px solid rgb(101 145 188 / 0.58);
  border-radius: 12px;
  padding: 6px;
  background:
    linear-gradient(180deg, rgb(15 31 49 / 0.98), rgb(7 18 30 / 0.99));
  box-shadow:
    0 22px 52px rgb(0 8 20 / 0.58),
    0 0 0 1px rgb(100 169 243 / 0.05),
    inset 0 1px 0 rgb(255 255 255 / 0.055);
  backdrop-filter: blur(18px) saturate(115%);
  transform-origin: top center;
  animation: custom-select-in 150ms ease-out;
}

.custom-select__menu[hidden] {
  display: none;
}

.custom-select__menu.opens-upward {
  transform-origin: bottom center;
  animation-name: custom-select-in-up;
}

.custom-select__list {
  max-height: var(--dropdown-max-height);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-color: rgb(87 150 216 / 0.82) rgb(255 255 255 / 0.035);
  scrollbar-width: thin;
}

.custom-select__list::-webkit-scrollbar {
  width: 7px;
}

.custom-select__list::-webkit-scrollbar-track {
  border-radius: 7px;
  background: rgb(255 255 255 / 0.035);
}

.custom-select__list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 7px;
  background: rgb(87 150 216 / 0.82);
  background-clip: padding-box;
}

.custom-select__list::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  background-clip: padding-box;
}

.custom-select__group {
  margin: 8px 6px 4px;
  border-top: 1px solid rgb(100 169 243 / 0.12);
  padding: 10px 8px 4px;
  color: rgb(134 188 244 / 0.82);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.custom-select__group:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 5px;
}

.custom-select__option {
  position: relative;
  display: grid;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 9px 11px 9px 13px;
  color: #d8dee5;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  transition: background-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast);
}

.custom-select__option + .custom-select__option {
  margin-top: 2px;
}

.custom-select__option:hover,
.custom-select__option.is-active {
  background: rgb(100 169 243 / 0.11);
  color: #fff;
}

.custom-select__option.is-active {
  box-shadow: inset 2px 0 0 rgb(100 169 243 / 0.82);
}

.custom-select__option[aria-selected="true"] {
  background: rgb(75 142 213 / 0.19);
  color: #fff;
  font-weight: 650;
}

.custom-select__option[aria-selected="true"].is-active {
  background: rgb(75 142 213 / 0.25);
}

.custom-select__option[aria-disabled="true"] {
  color: #637080;
  cursor: not-allowed;
  opacity: 0.56;
}

.custom-select__option[aria-disabled="true"]:hover,
.custom-select__option[aria-disabled="true"].is-active {
  background: transparent;
  box-shadow: none;
}

.custom-select__option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__check {
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  text-align: center;
  transform: translateY(-1px);
}

.custom-select__option[aria-selected="true"] .custom-select__check {
  opacity: 1;
}

@keyframes custom-select-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes custom-select-in-up {
  from { opacity: 0; transform: translateY(4px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.control-shell input::placeholder,
.budget-input input::placeholder {
  color: #727e8b;
}

.budget-field {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: minmax(220px, 0.72fr) minmax(430px, 1.45fr) minmax(290px, 0.83fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--search-border);
  border-radius: 15px;
  padding: 18px 20px;
  background: rgb(4 10 15 / 0.3);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.045);
}

.budget-field__intro {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.budget-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.budget-icon .ui-icon {
  width: 25px;
  height: 25px;
}

.budget-field__intro h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.budget-field__intro p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.budget-field__controls {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.budget-input {
  position: relative;
  min-height: 56px;
  border: 1px solid var(--search-border);
  border-radius: var(--control-radius);
  background: var(--search-surface);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background-color var(--motion-fast);
}

.budget-input:hover {
  border-color: var(--search-border-hover);
  background: var(--search-surface-hover);
}

.budget-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(100 169 243 / 0.15);
}

.budget-input input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  padding: 0 58px 0 14px;
  font-size: 15px;
  padding-right: 58px;
  font-variant-numeric: tabular-nums;
}

.budget-input > span {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
  transform: translateY(-50%);
}

.budget-separator {
  align-self: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.field-error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.35;
}

.field-hint {
  display: block;
  margin: 7px 0 0 12px;
  color: #778390;
  font-size: 11px;
}

.rating-options {
  display: grid;
  min-height: var(--control-height);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.rating-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: var(--control-height);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--search-border);
  border-radius: 10px;
  background: var(--search-surface);
  color: var(--muted-strong);
  cursor: pointer;
  transition: border-color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.rating-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.rating-option:hover {
  border-color: var(--search-border-hover);
  background: var(--search-surface-hover);
  transform: translateY(-1px);
}

.rating-option:has(input:checked) {
  border-color: #5ba8f4;
  background: linear-gradient(180deg, rgb(42 104 168 / 0.38), rgb(23 63 105 / 0.3));
  color: #e5f2ff;
  box-shadow: inset 0 0 18px rgb(79 160 238 / 0.12), 0 0 16px rgb(52 133 211 / 0.1);
}

.rating-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.rating-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d4a59;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.rating-star.is-filled {
  color: #d9e2ec;
}

.rating-option:has(input:checked) .rating-star.is-filled {
  color: #eef7ff;
  text-shadow: 0 0 8px rgb(100 169 243 / 0.34);
}

.rating-name {
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.child-ages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--search-border);
  border-radius: 14px;
  padding: 18px;
  background: rgb(4 10 15 / 0.28);
}

.child-ages[hidden] {
  display: none;
}

.submit-cell {
  display: flex;
  align-items: center;
}

.primary-button,
.secondary-button,
.offer-link,
.retry-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.primary-button {
  width: 100%;
  min-height: 72px;
  overflow: hidden;
  border: 1px solid rgb(128 194 255 / 0.72);
  border-radius: 13px;
  background: linear-gradient(135deg, #58a8f2 0%, #327dd5 55%, #245fbd 100%);
  color: #f8fbff;
  box-shadow: 0 12px 28px rgb(25 98 181 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.24);
  font-size: 18px;
  transition: filter var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
}

.button-label,
.button-loading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.button-label[hidden],
.button-loading[hidden] {
  display: none;
}

.button-search-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 50%;
  padding: 5px;
}

.button-arrow {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  transition: transform var(--motion-fast);
}

.button-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: search-spin 0.8s linear infinite;
}

@keyframes search-spin {
  to { transform: rotate(360deg); }
}

.primary-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 15px 34px rgb(25 98 181 / 0.38), inset 0 1px 0 rgb(255 255 255 / 0.28);
  transform: translateY(-1px);
}

.primary-button:hover .button-arrow {
  transform: translateX(3px);
}

.primary-button:active,
.secondary-button:active,
.offer-link:active,
.retry-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.48);
  opacity: 0.62;
  transform: none;
}

.additional-filters {
  margin: 0 34px 20px;
  overflow: hidden;
  border: 1px solid var(--search-border);
  border-radius: 13px;
  background: rgb(4 10 15 / 0.3);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.035);
}

.additional-filters summary {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  transition: color var(--motion-fast), background-color var(--motion-fast);
}

.additional-filters summary::-webkit-details-marker {
  display: none;
}

.additional-filters summary:hover {
  background: rgb(100 169 243 / 0.05);
  color: var(--text);
}

.additional-filters summary > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.additional-filters summary > span .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.summary-chevron {
  width: 19px;
  height: 19px;
  transition: transform var(--motion-fast);
}

.additional-filters[open] .summary-chevron {
  transform: rotate(180deg);
}

.additional-filters__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid rgb(84 108 133 / 0.34);
  padding: 16px 20px 20px;
  animation: filters-reveal 180ms ease both;
}

@keyframes filters-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.switch-field {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(75 96 118 / 0.42);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color var(--motion-fast), background-color var(--motion-fast);
}

.switch-field:hover {
  border-color: var(--search-border-hover);
  background: rgb(100 169 243 / 0.035);
}

.switch-field input {
  position: absolute;
  opacity: 0;
}

.switch-control {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #0b1016;
}

.switch-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: left 160ms ease, background-color 160ms ease;
}

.switch-field input:checked + .switch-control {
  border-color: var(--accent);
  background: rgb(100 169 243 / 0.16);
}

.switch-field input:checked + .switch-control::after {
  left: 19px;
  background: var(--accent);
}

.switch-field input:focus-visible + .switch-control {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.switch-field strong,
.switch-field small {
  display: block;
}

.switch-field strong {
  color: var(--text);
  font-size: 12px;
}

.switch-field small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.results-section {
  padding: 62px 0 100px;
}

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

.results-heading h1,
.results-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
}

.results-description {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.55;
}

.results-sort {
  display: grid;
  min-width: 290px;
  gap: 8px;
}

.results-sort > label {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.results-sort__control {
  --control-height: 52px;
  border-color: rgb(91 132 174 / 0.62);
  background: rgb(5 13 22 / 0.76);
  box-shadow: 0 12px 32px rgb(0 6 16 / 0.24);
  backdrop-filter: blur(14px);
}

.results-sort__control .custom-select__value {
  font-size: 14px;
  font-weight: 650;
}

.stale-warning {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-left: 3px solid var(--warning);
  border-radius: 4px;
  background: rgb(241 199 118 / 0.08);
  color: #f8dfad;
  font-size: 13px;
}

.results-content {
  display: grid;
  gap: 18px;
}

.state-panel {
  display: grid;
  min-height: 230px;
  place-content: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 40px 24px;
  text-align: center;
}

.state-panel strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
}

.state-panel p {
  max-width: 600px;
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.55;
}

.retry-button {
  justify-self: center;
  min-height: 44px;
  margin-top: 20px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text);
  padding: 0 18px;
}

.hotel-card {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) minmax(200px, 230px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgb(188 220 240 / 0.26);
  border-radius: var(--radius);
  padding: 16px;
  background: rgb(3 7 10 / 0.18);
  box-shadow:
    0 18px 46px rgb(0 8 16 / 0.28),
    inset 0 1px 0 rgb(255 255 255 / 0.075),
    inset 0 0 0 1px rgb(125 180 215 / 0.02);
  -webkit-backdrop-filter: blur(12px) saturate(108%);
  backdrop-filter: blur(12px) saturate(108%);
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.hotel-card:hover {
  border-color: rgb(154 211 247 / 0.52);
  background: rgb(4 10 15 / 0.24);
  box-shadow:
    0 24px 54px rgb(0 8 16 / 0.4),
    0 0 28px rgb(80 157 224 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.11);
  transform: translateY(-3px);
}

.hotel-card:focus-within {
  border-color: rgb(154 211 247 / 0.48);
}

.hotel-media {
  position: relative;
  width: 100%;
  min-height: 0;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgb(121 156 192 / 0.18);
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  background: rgb(8 10 12 / 0.72);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}

.hotel-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: filter 220ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hotel-card:hover .hotel-media img {
  filter: saturate(1.035) contrast(1.015);
  transform: scale(1.018);
}

.hotel-media__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  place-content: center;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.hotel-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 14px 28px 10px;
  background: linear-gradient(180deg, rgb(2 6 9 / 0.05), rgb(2 6 9 / 0.16));
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #91bff0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.hotel-location__icon {
  width: 18px;
  height: 18px;
}

.hotel-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.hotel-title-row h3 {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  flex: 0 1 auto;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.08;
  text-wrap: balance;
}

.hotel-stars {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: #f2bd4a;
}

.hotel-star {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-width: 1.35;
}

.hotel-stars--empty {
  color: var(--warning);
  font-size: 12px;
  font-weight: 600;
}

.hotel-amenities {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 20px;
  border-bottom: 1px solid rgb(121 156 192 / 0.18);
  padding-bottom: 18px;
}

.hotel-amenity {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.35;
}

.hotel-amenity:not(:last-child) {
  margin-right: 14px;
  border-right: 1px solid rgb(121 156 192 / 0.2);
  padding-right: 14px;
}

.hotel-amenity__icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.primary-offer-strip {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 0 17px;
  border-bottom: 1px solid rgb(121 156 192 / 0.18);
}

.primary-offer-fact {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  padding-inline: 12px;
}

.primary-offer-fact:first-child {
  padding-left: 0;
}

.primary-offer-fact:not(:last-child) {
  border-right: 1px solid rgb(121 156 192 / 0.18);
}

.primary-offer-fact__icon {
  width: 21px;
  height: 21px;
  color: var(--accent);
}

.primary-offer-fact__text {
  display: block;
  min-width: 0;
}

.primary-offer-fact strong,
.primary-offer-fact small {
  display: block;
}

.primary-offer-fact strong {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-offer-fact small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.hotel-variants {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: #8fb6df;
  font-size: 12px;
  font-weight: 600;
}

.hotel-variants__icon {
  width: 16px;
  height: 16px;
}

.primary-offer-empty {
  margin: 24px 0 0;
  border-top: 1px solid rgb(121 156 192 / 0.18);
  border-bottom: 1px solid rgb(121 156 192 / 0.18);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hotel-card__aside {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgb(121 156 192 / 0.18);
  padding: 12px 8px 12px 28px;
  background: rgb(2 6 9 / 0.1);
}

.hotel-price span,
.hotel-price strong,
.hotel-price small {
  display: block;
}

.hotel-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hotel-price strong {
  margin-top: 7px;
  color: var(--text);
  font-size: clamp(28px, 2.5vw, 38px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.hotel-price small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.offer-link {
  min-height: 52px;
  margin-top: 28px;
  gap: 10px;
  border: 1px solid rgb(128 194 255 / 0.52);
  background: rgb(31 102 175 / 0.28);
  color: #f8fbff;
  padding: 0 18px;
  box-shadow: 0 12px 28px rgb(8 62 121 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14px;
  white-space: nowrap;
}

.offer-link:hover {
  border-color: #a4d1ff;
  background: rgb(42 123 207 / 0.46);
  color: #fff;
  transform: translateY(-1px);
}

.offer-link:active {
  transform: translateY(1px);
}

.offer-link[aria-disabled="true"] {
  cursor: default;
  opacity: 0.52;
  pointer-events: none;
}

.hotel-card__cta-icon {
  width: 18px;
  height: 18px;
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.pagination-bar[hidden] {
  display: none;
}

.pagination-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0d1218;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.pagination-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgb(100 169 243 / 0.1);
  color: #dcecff;
}

.pagination-button:active:not(:disabled) {
  transform: translateY(1px);
}

.pagination-button.is-active {
  border-color: var(--accent);
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.pagination-button:disabled:not(.is-active) {
  cursor: default;
  opacity: 0.34;
}

.pagination-ellipsis {
  display: inline-grid;
  width: 28px;
  height: 42px;
  place-items: center;
  color: var(--muted);
}

.secondary-button {
  min-width: 190px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  color: var(--text);
  padding: 0 22px;
}

.secondary-button:hover {
  border-color: var(--accent);
}

.skeleton-card {
  display: grid;
  grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
  min-height: 0;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgb(188 220 240 / 0.2);
  border-radius: var(--radius);
  background: rgb(3 7 10 / 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.skeleton-media,
.skeleton-line {
  background: rgb(111 143 171 / 0.12);
  animation: skeleton-pulse 1.1s ease-in-out infinite alternate;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.skeleton-body {
  padding: 28px;
}

.skeleton-line {
  width: 75%;
  height: 18px;
  margin-bottom: 18px;
  border-radius: 3px;
}

.skeleton-line--short { width: 35%; }
.skeleton-line--wide { width: 92%; }

@keyframes skeleton-pulse {
  from { opacity: 0.45; }
  to { opacity: 0.92; }
}

.site-footer {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  width: min(1320px, calc(100% - 48px));
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted-strong);
  text-underline-offset: 4px;
}

@media (max-width: 1280px) {
  .search-workspace {
    width: min(100% - 36px, 1480px);
  }

  .search-panel__heading {
    padding-inline: 28px;
  }

  .form-grid {
    padding-inline: 28px;
  }

  .travel-grid--primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rating-field {
    grid-column: span 2;
  }

  .travel-grid--details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .budget-field {
    grid-template-columns: minmax(210px, 0.7fr) minmax(430px, 1.3fr);
  }

  .budget-field .submit-cell {
    grid-column: 1 / -1;
  }

  .additional-filters {
    margin-inline: 28px;
  }
}

@media (max-width: 1100px) {
  .travel-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating-field,
  .travel-grid--primary > .field:last-child {
    grid-column: 1 / -1;
  }

  .budget-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .budget-field__intro {
    max-width: 440px;
  }

  .additional-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotel-card,
  .skeleton-card {
    grid-template-columns: minmax(270px, 35%) minmax(0, 1fr);
  }

  .hotel-media {
    grid-row: 1 / span 2;
  }

  .hotel-body {
    padding: 10px 12px 10px 24px;
  }

  .hotel-card__aside {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid rgb(121 156 192 / 0.18);
    border-left: 0;
    padding: 18px 0 4px 24px;
  }

  .hotel-price strong {
    font-size: 30px;
  }

  .hotel-card__cta {
    width: min(240px, 48%);
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .primary-offer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .primary-offer-fact:nth-child(odd) {
    padding-left: 0;
  }

  .primary-offer-fact:nth-child(2) {
    border-right: 0;
  }

  .hotel-amenity {
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  .hotel-media {
    grid-row: 1;
    align-self: start;
  }

  .hotel-card__aside {
    grid-column: 1 / -1;
    padding: 18px 0 4px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand {
    width: 52px;
    height: 52px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav > a:not(.fw-header-login) {
    display: none;
  }

  .site-nav .fw-header-login {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 12px;
    font-weight: 700;
  }

  .page-intro {
    min-height: 188px;
  }

  .page-intro__inner,
  .search-workspace,
  .results-section,
  .site-footer {
    width: min(100% - 28px, 1320px);
  }

  .page-intro__inner {
    padding: 24px 0 66px;
  }

  .page-intro h1,
  .page-intro__title {
    font-size: clamp(38px, 11vw, 44px);
    line-height: 1.02;
  }

  .page-intro__inner > p:last-child {
    margin-top: 14px;
    font-size: 14px;
  }

  .search-workspace {
    margin-top: -50px;
  }

  .search-panel__heading {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 18px 0;
  }

  .search-panel__heading h2 {
    font-size: 23px;
  }

  .back-link {
    margin-left: auto;
    font-size: 13px;
  }

  .custom-select__option {
    min-height: 48px;
    padding-block: 11px;
    font-size: 15px;
  }

  .form-alert {
    margin-inline: 18px;
  }

  .form-grid {
    gap: 16px;
    padding: 20px 18px 18px;
  }

  .travel-grid--primary,
  .travel-grid--details,
  .additional-filters__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .rating-field,
  .travel-grid--primary > .field:last-child {
    grid-column: auto;
  }

  .rating-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .budget-field {
    gap: 18px;
    padding: 16px;
  }

  .budget-field__controls {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .child-ages {
    grid-template-columns: minmax(0, 1fr);
  }

  .primary-button {
    min-height: 64px;
    font-size: 17px;
  }

  .additional-filters {
    margin: 0 18px 18px;
  }

  .additional-filters__grid {
    padding: 14px;
  }

  .switch-field {
    min-height: 64px;
    padding: 10px 12px;
  }

  .results-section {
    padding: 48px 0 72px;
  }

  .results-heading {
    display: block;
  }

  .results-sort {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
  }

  .hotel-card,
  .skeleton-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .hotel-media,
  .hotel-media__fallback,
  .skeleton-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hotel-media {
    grid-row: auto;
  }

  .hotel-body {
    padding: 22px 4px 10px;
  }

  .hotel-title-row {
    display: block;
  }

  .hotel-stars {
    margin-top: 10px;
  }

  .hotel-amenities {
    margin-top: 18px;
  }

  .primary-offer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .primary-offer-fact:nth-child(odd) {
    padding-left: 0;
  }

  .primary-offer-fact:nth-child(2) {
    border-right: 0;
  }

  .hotel-card__aside {
    grid-column: 1;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgb(121 156 192 / 0.18);
    border-left: 0;
    padding: 22px 4px 4px;
  }

  .hotel-price strong {
    font-size: clamp(30px, 10vw, 40px);
  }

  .hotel-card__cta {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
  }

  .site-footer {
    grid-template-columns: 40px 1fr;
  }

  .site-footer img {
    width: 40px;
    height: 40px;
  }

  .site-footer a {
    display: none;
  }

  .pagination-bar {
    gap: 6px;
  }

  .pagination-button {
    width: 40px;
    height: 40px;
  }

  .pagination-ellipsis {
    width: 20px;
    height: 40px;
  }
}

@media (max-width: 410px) {
  .site-nav a:first-child {
    display: none;
  }

  .rating-option {
    min-height: 58px;
  }

  .budget-field__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .budget-separator {
    display: none;
  }

  .back-link {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  .hotel-card {
    padding: 11px;
  }

  .hotel-amenity {
    width: 100%;
  }

  .hotel-amenity:not(:last-child) {
    margin-right: 0;
    border-right: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.seo-breadcrumbs,
.seo-related-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:14px; color:#aeb8c6; font-size:13px; }
.seo-breadcrumbs a,
.seo-related-links a { color:#79bbff; text-decoration:none; }
.seo-breadcrumbs a:hover,
.seo-related-links a:hover { text-decoration:underline; }
.seo-related-links { margin-top:12px; margin-bottom:0; }

/* Compact desktop-like result cards on phones. */
@media (max-width: 760px) {
  .hotel-card,
  .skeleton-card {
    grid-template-columns: minmax(125px, 36%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 9px;
  }

  .hotel-media,
  .hotel-media__fallback,
  .skeleton-media {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 270px;
    aspect-ratio: auto;
  }

  .hotel-body {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    padding: 10px 12px 6px;
  }

  .hotel-location {
    gap: 5px;
    margin-bottom: 6px;
    font-size: 10px;
  }

  .hotel-location__icon {
    width: 14px;
    height: 14px;
  }

  .hotel-title-row {
    display: flex;
    gap: 6px 8px;
  }

  .hotel-title-row h3 {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.05;
  }

  .hotel-stars {
    margin-top: 0;
    gap: 1px;
  }

  .hotel-star {
    width: 13px;
    height: 13px;
  }

  .hotel-amenities {
    gap: 7px 0;
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .hotel-amenity,
  .hotel-amenity:not(:last-child) {
    width: auto;
    gap: 4px;
    margin-right: 7px;
    border-right: 0;
    padding-right: 0;
    font-size: 9px;
  }

  .hotel-amenity__icon {
    width: 14px;
    height: 14px;
  }

  .primary-offer-strip {
    gap: 8px 0;
    padding: 10px 0 9px;
  }

  .primary-offer-fact,
  .primary-offer-fact:nth-child(odd) {
    gap: 5px;
    padding-inline: 6px;
  }

  .primary-offer-fact:nth-child(odd) {
    padding-left: 0;
  }

  .primary-offer-fact__icon {
    width: 15px;
    height: 15px;
  }

  .primary-offer-fact strong {
    font-size: 9px;
  }

  .primary-offer-fact small {
    display: none;
  }

  .hotel-variants {
    gap: 5px;
    margin-top: 8px;
    font-size: 9px;
  }

  .hotel-card__aside {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgb(121 156 192 / 0.18);
    border-left: 0;
    padding: 9px 12px 10px;
  }

  .hotel-price span {
    display: none;
  }

  .hotel-price strong {
    margin-top: 0;
    font-size: clamp(20px, 5.5vw, 25px);
  }

  .hotel-price small {
    margin-top: 4px;
    font-size: 9px;
  }

  .hotel-card__cta {
    width: auto;
    min-width: 104px;
    min-height: 42px;
    margin-top: 0;
    padding-inline: 12px;
    font-size: 11px;
  }
}

@media (max-width: 410px) {
  .hotel-card,
  .skeleton-card {
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
    padding: 7px;
  }

  .hotel-body,
  .hotel-card__aside {
    padding-inline: 9px;
  }

  .hotel-card__cta {
    min-width: 42px;
    width: 42px;
    padding: 0;
    font-size: 0;
  }
}
