/* ============================================================
   OTHER REST — design system
   Hotel booking demo · Algarve Winter Villas Limited
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0057e7;
  --blue-hover: #0049c4;
  --blue-active: #003d9e;
  --blue-ink: #003b95;
  --blue-tint: #e8f0fd;
  --ink: #1d2233;
  --ink-2: #40465c;
  --muted: #6a7186;
  --faint: #9aa1b3;
  --bg: #f4f5f9;
  --card: #ffffff;
  --line: #e5e7f0;
  --line-soft: #eef0f6;
  --green: #008009;
  --green-soft: #e7f4e8;
  --gold: #ffbb00;
  --red: #d9363e;
  --red-soft: #fdecec;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(20, 26, 44, .07);
  --shadow: 0 4px 16px rgba(20, 26, 44, .08);
  --shadow-lg: 0 12px 40px rgba(20, 26, 44, .16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .35em; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 15px var(--font);
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-tint); border-color: #c8d9fa; text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-primary:active { background: var(--blue-active); }

.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }

.btn-quiet { border: none; padding: 8px 12px; color: var(--ink-2); }
.btn-quiet:hover { background: var(--line-soft); color: var(--ink); }

.btn-danger { color: var(--red); }
.btn-danger:hover { background: var(--red-soft); border-color: #f3c6c9; }

.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue-ink);
  color: #fff;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #fff;
  margin-right: 8px;
}
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.brand-tag { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #9dbdf7; font-weight: 500; margin-top: 2px; }

.header-search {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
}
.header-search .searchbar { box-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.currency-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font: 600 13.5px var(--font);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}
.currency-select:hover { border-color: rgba(255,255,255,.55); }
.currency-select select {
  background: transparent;
  border: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.currency-select select option { color: var(--ink); }

body.home .header-search { display: none; }

.signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: var(--blue-ink);
  border: none;
  border-radius: var(--radius-sm);
  font: 700 14px var(--font);
  padding: 9px 16px;
  cursor: pointer;
}
.signin-btn:hover { background: #dbe8ff; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font: 600 13.5px var(--font);
  cursor: pointer;
}
.user-chip:hover { background: rgba(255,255,255,.2); }
.user-chip .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

/* dropdown menu */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  min-width: 210px;
  padding: 6px;
  display: none;
  z-index: 60;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font: 500 14px var(--font);
  background: none;
  border: none;
  cursor: pointer;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--line-soft); color: var(--ink); text-decoration: none; }
.dropdown-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- search bar ---------- */

.searchbar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: visible;
}
.searchbar .sb-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  min-width: 0;
}
.searchbar .sb-field:hover { background: #f8f9fc; }
.searchbar .sb-field.dest { flex: 1.6; }
.searchbar .sb-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 1px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.searchbar .sb-value { font: 500 14.5px var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar .sb-value.is-empty { color: var(--faint); }
.searchbar .sb-field input {
  border: none;
  outline: none;
  font: 500 14.5px var(--font);
  color: var(--ink);
  background: transparent;
  width: 100%;
  padding: 0;
}
.searchbar .sb-submit { padding: 8px; display: flex; }
.searchbar .sb-submit .btn-primary { border-radius: 9px; height: 100%; }

/* autocomplete */
.ac {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  z-index: 70;
  display: none;
  overflow: hidden;
}
.ac.open { display: block; }
.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
}
.ac-item:hover, .ac-item.active { background: var(--blue-tint); }
.ac-item .icon { color: var(--blue); }
.ac-city { font-weight: 600; }
.ac-sub { font-size: 12.5px; color: var(--muted); }
.ac-note { padding: 10px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); background: #fafbfd; }

/* guests popover */
.gp {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 290px;
  z-index: 70;
  display: none;
  padding: 6px 16px;
}
.gp.open { display: block; }
.gp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.gp-row:last-child { border-bottom: none; }
.gp-row-label { font-weight: 600; }
.gp-row-sub { font-size: 12.5px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stepper button:hover { background: var(--blue-tint); }
.stepper button[disabled] { border-color: var(--line); color: var(--faint); cursor: not-allowed; background: #fafbfd; }
.stepper .count { min-width: 14px; text-align: center; font-weight: 700; font-size: 16px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: #0c1633;
  color: #fff;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,40,.55) 0%, rgba(10,18,40,.82) 70%, #0c1633 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 640px;
  margin-bottom: 10px;
}
.hero .hero-sub {
  font-size: 17px;
  color: #c3cfe8;
  margin-bottom: 34px;
  max-width: 560px;
}
.hero .searchbar { max-width: 940px; }

/* ---------- section shells ---------- */

.section { padding: 44px 0 8px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; }
.section-head .see-all { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.section-sub { color: var(--muted); margin: -12px 0 18px; }

/* ---------- destination tiles ---------- */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.dest-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  color: #fff;
}
.dest-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-tile:hover img { transform: scale(1.06); }
.dest-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,26,0) 34%, rgba(8,12,26,.78) 100%);
}
.dest-tile .dest-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
}
.dest-tile .dest-city { font-weight: 700; font-size: 16.5px; }
.dest-tile .dest-count { font-size: 12.5px; color: #cdd6e8; }

/* ---------- horizontal card rows ---------- */

.hrow { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 16px; margin: 0 -4px; scroll-snap-type: x mandatory; }
.hrow::-webkit-scrollbar { height: 8px; }
.hrow::-webkit-scrollbar-thumb { background: #cdd2e0; border-radius: 4px; }
.hcard {
  flex: 0 0 272px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.hcard:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.hcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hcard-img img { width: 100%; height: 100%; object-fit: cover; }
.hcard-price {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(12, 18, 34, .82);
  color: #fff;
  border-radius: 7px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(4px);
}
.hcard-body { padding: 12px 14px 14px; }
.hcard-body h3 { margin: 0 0 4px; font-size: 15.5px; }
.hcard-loc { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.hcard-rating { margin-top: 8px; display: flex; align-items: center; gap: 8px; }

/* ---------- rating badges ---------- */

.rbadge { display: inline-flex; align-items: center; gap: 8px; }
.rbadge .score {
  background: var(--blue-ink);
  color: #fff;
  border-radius: 7px 7px 7px 1px;
  font-weight: 800;
  font-size: 14px;
  padding: 5px 8px;
  min-width: 34px;
  text-align: center;
}
.rbadge.excellent .score { background: var(--green); }
.rbadge .word { font-weight: 700; font-size: 13.5px; color: var(--ink); line-height: 1.15; }
.rbadge .word small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.rbadge-sm .score { font-size: 12px; padding: 3px 6px; min-width: 28px; }
.rbadge-sm .word { font-size: 12.5px; }

.stars { display: inline-flex; gap: 1.5px; color: var(--gold); }
.stars .icon { width: 14px; height: 14px; }
.stars-lg .icon { width: 17px; height: 17px; }

/* ---------- hotel result card ---------- */

.results-list { display: flex; flex-direction: column; gap: 16px; }
.hotel-card {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.hotel-card:hover { box-shadow: var(--shadow); }
.hc-gallery {
  position: relative;
  width: 244px;
  flex: none;
  overflow: hidden;
  background: #dfe3ee;
}
.hc-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.hc-gallery .hc-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(12,18,34,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hc-gallery .hc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.hotel-card:hover .hc-nav { display: inline-flex; }
.hc-nav.prev { left: 10px; }
.hc-nav.next { right: 10px; }
.hc-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.hc-heart:hover { color: var(--red); }
.hc-heart.on { color: var(--red); }
.hc-heart.on .icon { fill: currentColor; }

.hc-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; }
.hc-top { display: flex; justify-content: space-between; gap: 12px; }
.hc-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hc-name { font-size: 18px; font-weight: 700; margin: 0; }
.hc-name a { color: var(--ink); }
.hc-name a:hover { color: var(--blue); text-decoration: none; }
.hc-area { display: flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13.5px; font-weight: 600; margin-top: 3px; }
.hc-area .icon { color: var(--muted); }
.hc-dist { color: var(--muted); font-weight: 500; font-size: 13px; }
.hc-desc { color: var(--muted); font-size: 13.5px; margin-top: 8px; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 5px 11px;
}
.chip .icon { width: 14px; height: 14px; color: var(--blue); }
.chip-green { color: var(--green); background: var(--green-soft); }
.chip-green .icon { color: var(--green); }

.hc-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.hc-freebies { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--green); font-weight: 600; }
.hc-freebies .icon { width: 14px; height: 14px; }
.hc-freebies span { display: inline-flex; align-items: center; gap: 6px; }

.price-box { text-align: right; white-space: nowrap; }
.price-box .price {
  font-size: 21px;
  font-weight: 800;
  color: var(--blue-ink);
}
.price-box .price small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.price-box .price-total { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.price-box .btn { margin-top: 9px; }

/* ---------- results layout ---------- */

.page-title-wrap { padding: 30px 0 6px; }
.page-title-wrap h1 { margin-bottom: 2px; }
.page-title-wrap .crumbs { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-title-wrap .crumbs a { color: var(--ink-2); font-weight: 500; }
.page-title-wrap .crumbs .sep { color: var(--faint); }

.results-layout { display: grid; grid-template-columns: 262px 1fr; gap: 22px; align-items: start; padding-bottom: 60px; }

.filters {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 6px 18px 18px;
  position: sticky;
  top: 84px;
}
.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}
.filters-head h3 { margin: 0; font-size: 15px; }
.filters-clear { background: none; border: none; color: var(--blue); font: 600 13px var(--font); cursor: pointer; padding: 4px 0; }

.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.fgroup:last-child { border-bottom: none; }
.fgroup > h4 { font-size: 13.5px; font-weight: 700; margin: 0 0 10px; }

.checks { display: flex; flex-direction: column; gap: 9px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); user-select: none; }
.check input { display: none; }
.check .box {
  width: 19px; height: 19px;
  border: 1.6px solid #b8bece;
  border-radius: 5px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .12s, border-color .12s;
}
.check .box .icon { width: 13px; height: 13px; opacity: 0; }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box .icon { opacity: 1; }
.check .lbl { flex: 1; }
.check .cnt { color: var(--faint); font-size: 12.5px; }
.check:hover .box { border-color: var(--blue); }
.check input:checked ~ .lbl { color: var(--ink); font-weight: 600; }

.check-stars .lbl { display: inline-flex; gap: 2px; align-items: center; }
.check-stars .lbl .icon { width: 15px; height: 15px; color: var(--gold); }
.check-stars .lbl .icon.off { color: #d8dbe6; }

/* dual price slider */
.range-wrap { padding: 4px 6px 0; }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.range-slider { position: relative; height: 24px; }
.range-slider .track {
  position: absolute;
  top: 10px; left: 0; right: 0;
  height: 4px;
  background: #dfe3ee;
  border-radius: 2px;
}
.range-slider .fill {
  position: absolute;
  top: 10px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
}
.range-slider input[type=range] {
  position: absolute;
  top: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  -webkit-appearance: none;
  background: none;
  pointer-events: none;
}
.range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  cursor: grab;
  box-shadow: var(--shadow-sm);
}
.range-slider input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  cursor: grab;
}

/* toolbar above results */
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.results-count { font-size: 14.5px; color: var(--muted); }
.results-count strong { color: var(--ink); font-weight: 700; }
.sortby { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.sortby label { color: var(--muted); }
.select {
  appearance: none;
  -webkit-appearance: none;
  font: 600 14px var(--font);
  color: var(--ink);
  background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236a7186" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 34px 9px 12px;
  cursor: pointer;
}
.select:hover { border-color: #c4cadb; }
.select:focus { outline: 2px solid var(--blue-tint); border-color: var(--blue); }

/* empty state */
.empty {
  background: var(--card);
  border: 1px dashed #cdd2e0;
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.empty .icon { width: 40px; height: 40px; color: #b8bece; margin-bottom: 10px; }
.empty h3 { color: var(--ink); }
.empty p { max-width: 420px; margin: 0 auto 16px; }

/* ---------- skeletons ---------- */

.skel {
  position: relative;
  overflow: hidden;
  background: #e8ebf3;
  border-radius: var(--radius-sm);
}
.skel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- hotel detail page ---------- */

.hotel-page { padding-bottom: 60px; }
.hotel-head { padding: 26px 0 18px; }
.hotel-head .crumbs { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hotel-head .crumbs a { color: var(--ink-2); }
.hotel-head .crumbs .sep { color: var(--faint); }
.hotel-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.hotel-title-row h1 { font-size: 28px; margin: 0 0 4px; }
.hotel-title-row .stars { margin-bottom: 6px; }
.hotel-subrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hotel-subrow .loc { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14.5px; color: var(--blue); cursor: pointer; }
.hotel-subrow .loc .icon { color: var(--muted); }
.hotel-subrow .loc:hover { text-decoration: underline; }
.hotel-subrow .dist { color: var(--muted); font-size: 13.5px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-grid .g-item { position: relative; overflow: hidden; cursor: pointer; background: #dfe3ee; }
.gallery-grid .g-item:first-child { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .g-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,18,34,.5);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.hotel-body { display: grid; grid-template-columns: 1fr 336px; gap: 26px; margin-top: 26px; align-items: start; }
.hotel-main { min-width: 0; }

.hcard-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.hcard-block > h2 { font-size: 19px; }
.hcard-block .lead { font-size: 15px; color: var(--ink-2); }
.hcard-block p { color: var(--ink-2); }

.highlights { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; list-style: none; color: var(--ink-2); }
.highlights .icon { color: var(--green); margin-top: 2px; }
.highlights ul { margin: 0; padding: 0; }

/* amenities grid */
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 22px; margin-top: 8px; }
.amen { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.amen .icon { color: var(--blue); }
.amen-group-title { grid-column: 1 / -1; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-top: 10px; }

/* rooms */
.rooms-list { display: flex; flex-direction: column; gap: 14px; }
.room-card {
  display: grid;
  grid-template-columns: 210px 1fr 236px;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}
.room-card:hover { border-color: #c4cadb; box-shadow: var(--shadow-sm); }
.room-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #dfe3ee; }
.room-img img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.room-img .hc-counter { position: absolute; bottom: 8px; right: 8px; background: rgba(12,18,34,.72); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 2px 7px; }
.room-info h3 { font-size: 16.5px; margin: 2px 0 8px; }
.room-specs { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.spec-chip .icon { width: 13px; height: 13px; color: var(--muted); }
.room-amen { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.room-amen span { display: inline-flex; align-items: center; gap: 6px; }
.room-amen .icon { width: 14px; height: 14px; color: var(--faint); }
.room-book { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.room-book .nights-left { font-size: 12.5px; color: var(--green); font-weight: 600; }
.room-book .price { font-size: 20px; font-weight: 800; color: var(--blue-ink); }
.room-book .price small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.room-book .price-total { font-size: 12.5px; color: var(--muted); }
.room-book .btn { white-space: nowrap; }

/* reviews */
.review-summary { display: flex; gap: 26px; margin-bottom: 20px; flex-wrap: wrap; }
.review-score-box {
  background: var(--blue-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  min-width: 110px;
}
.review-score-box .num { font-size: 30px; font-weight: 800; line-height: 1; }
.review-score-box .word { font-size: 12.5px; color: #c8d6ff; margin-top: 4px; }
.review-cats { flex: 1; min-width: 260px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; align-content: center; }
.rcat { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.rcat .lbl { width: 96px; flex: none; }
.rcat .bar { flex: 1; height: 4px; border-radius: 2px; background: #e2e6f0; overflow: hidden; }
.rcat .bar i { display: block; height: 100%; background: var(--blue-ink); border-radius: 2px; }
.rcat .val { width: 26px; text-align: right; font-weight: 700; color: var(--ink); }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #fff;
}
.review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.review-head .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}
.review-head .meta { flex: 1; min-width: 0; }
.review-head .name { font-weight: 700; font-size: 14.5px; }
.review-head .sub { font-size: 12.5px; color: var(--muted); }
.review-head .score { background: var(--blue-ink); color: #fff; border-radius: 6px 6px 6px 1px; font-weight: 800; font-size: 13px; padding: 4px 7px; }
.review p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* house rules */
.rules-list { display: flex; flex-direction: column; }
.rule-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.rule-row:last-child { border-bottom: none; }
.rule-row .icon { color: var(--muted); margin-top: 3px; }
.rule-row .rl { width: 130px; flex: none; font-weight: 600; font-size: 14px; }
.rule-row .rv { color: var(--ink-2); font-size: 14px; }

/* booking widget (sticky sidebar) */
.book-widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: 84px;
}
.book-widget .site-tag { font-size: 12px; color: var(--muted); }
.book-widget .big-price { font-size: 24px; font-weight: 800; color: var(--blue-ink); margin: 2px 0 12px; }
.bw-row { margin-bottom: 10px; }
.bw-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: 500 14.5px var(--font);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }

/* ---------- map modal ---------- */

.map-mock {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #eef1e4 0%, #e8ecdf 100%);
  height: 380px;
  border: 1px solid var(--line);
}
.map-mock svg { width: 100%; height: 100%; display: block; }
.map-pin-pop {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -100%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 12px 10px;
  text-align: center;
  max-width: 190px;
}
.map-pin-pop::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
}
.map-pin-pop .name { font-weight: 700; font-size: 13.5px; }
.map-pin-pop .area { font-size: 12px; color: var(--muted); }
.map-mock .map-note { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 6px 10px; font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- modals ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 18, 34, .62);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  position: relative;
  animation: modal-in .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--line-soft);
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.modal-close:hover { background: var(--line); }
.modal-wide { max-width: 1000px; }

/* auth modal */
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); }
.auth-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.auth-tab.on { color: var(--blue); border-bottom-color: var(--blue); }
.auth-body { padding: 26px 30px 30px; }
.auth-body h2 { margin-bottom: 4px; }
.auth-body .hint { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.auth-body .field { margin-bottom: 14px; }
.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: 600 14px var(--font);
  color: var(--ink);
  padding: 11px 10px;
  cursor: pointer;
}
.oauth-btn:hover { background: #f8f9fc; }
.oauth-btn svg { width: 18px; height: 18px; }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-error {
  display: none;
  background: var(--red-soft);
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.form-error.show { display: block; }

/* lightbox */
.lightbox { max-width: 1060px; background: transparent; box-shadow: none; overflow: visible; }
.lightbox-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #0c1120; }
.lightbox-stage img { width: 100%; max-height: 78vh; object-fit: contain; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lb-nav:hover { background: #fff; }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lightbox-counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); color: #dfe3ee; font-size: 13px; font-weight: 600; background: rgba(12,16,30,.55); padding: 3px 12px; border-radius: 999px; }
.lightbox-thumbs { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; }
.lightbox-thumbs img { width: 78px; height: 52px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: .55; }
.lightbox-thumbs img.on { opacity: 1; outline: 2px solid #fff; }

/* ---------- toast ---------- */

.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #101527;
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow-lg);
  animation: toast-in .25s ease;
  max-width: min(520px, calc(100vw - 40px));
}
.toast .icon { color: #6fe3a0; }
.toast.err .icon { color: #ff8a8f; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- booking page ---------- */

.booking-layout { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; padding: 30px 0 70px; }
.book-steps { display: flex; gap: 8px; margin: 18px 0 22px; font-size: 13px; font-weight: 600; color: var(--faint); }
.book-steps .step { display: flex; align-items: center; gap: 8px; }
.book-steps .step .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.6px solid #c4cadb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.book-steps .step.on { color: var(--blue); }
.book-steps .step.on .n { background: var(--blue); border-color: var(--blue); color: #fff; }
.book-steps .step.done { color: var(--green); }
.book-steps .step.done .n { background: var(--green); border-color: var(--green); color: #fff; }
.book-steps .arrow { color: #d3d8e4; }

.pay-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 12px 0 16px; }
.pay-secure .icon { color: var(--green); }
.card-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.card-inputs .cnum { grid-column: 1 / -1; }

.summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 84px;
}
.summary-hotel { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.summary-hotel .srow { display: flex; gap: 12px; }
.summary-hotel img { width: 92px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.summary-hotel .sh-name { font-weight: 700; font-size: 15px; margin: 1px 0 2px; }
.summary-hotel .sh-sub { font-size: 12.5px; color: var(--muted); }
.summary-rows { padding: 14px 18px; }
.srow2 { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.srow2.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 16.5px; font-weight: 800; color: var(--ink); }
.srow2.total .val { color: var(--blue-ink); }
.summary-note { padding: 0 18px 16px; font-size: 12.5px; color: var(--muted); }

/* confirmation */
.confirm-hero { text-align: center; padding: 46px 0 10px; }
.confirm-hero .okring {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.confirm-hero .okring .icon { width: 34px; height: 34px; }
.confirm-ref { font-size: 15px; color: var(--muted); }
.confirm-ref b { color: var(--ink); letter-spacing: .06em; }
.confirm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 640px; margin: 26px auto 0; }
.confirm-cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.confirm-cell .k { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.confirm-cell .v { font-weight: 600; }

/* ---------- account ---------- */

.acct-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 22px 0 24px; }
.acct-tab {
  padding: 12px 2px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--muted);
  border: none;
  background: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  margin-bottom: -1.5px;
}
.acct-tab.on { color: var(--blue); border-bottom-color: var(--blue); }
.booking-row {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 14px;
}
.booking-row img { width: 132px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.booking-row .br-body { flex: 1; min-width: 0; }
.booking-row .br-ref { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.booking-row h3 { margin: 2px 0 6px; font-size: 16.5px; }
.booking-row h3 a { color: var(--ink); }
.br-dates { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.br-dates span { display: inline-flex; gap: 6px; align-items: center; }
.br-dates .icon { color: var(--muted); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
}
.status-pill.ok { background: var(--green-soft); color: var(--green); }
.status-pill.cancelled { background: var(--line-soft); color: var(--muted); }
.br-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.br-total { font-weight: 800; color: var(--blue-ink); font-size: 16px; }

/* saved grid */
.saved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- footer ---------- */

.site-footer { background: #10142a; color: #b9c1d9; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0 30px; }
.footer-brand .brand-name { color: #fff; font-size: 20px; font-weight: 800; }
.footer-brand .brand-tag { color: #7f96d4; }
.footer-brand p { margin: 14px 0 0; font-size: 13.5px; max-width: 300px; color: #8b94b0; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; color: #9aa3c2; font-size: 13.5px; padding: 4.5px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #6f7896;
}
.footer-bottom .legal b { color: #9aa3c2; }

/* ---------- static pages ---------- */

.static-page { max-width: 760px; margin: 0 auto; padding: 40px 0 70px; }
.static-page h1 { font-size: 26px; }
.static-page h2 { font-size: 18px; margin-top: 30px; }
.static-page p, .static-page li { color: var(--ink-2); }
.static-page .doc-meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; }

/* ---------- 404 ---------- */

.p404 { text-align: center; padding: 90px 0 110px; }
.p404 .code { font-size: 96px; font-weight: 800; color: #dfe3ee; letter-spacing: -.04em; line-height: 1; }
.p404 h1 { font-size: 24px; margin: 12px 0 6px; }
.p404 p { color: var(--muted); max-width: 400px; margin: 0 auto 22px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .results-layout { grid-template-columns: 232px 1fr; }
  .hotel-body { grid-template-columns: 1fr 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .saved-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-search { display: none; }
  .hero { padding: 44px 0 72px; }
  .hero h1 { font-size: 30px; }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; margin-bottom: 16px; }
  .filters.collapsed .fgroup { display: none; }
  .hotel-body { grid-template-columns: 1fr; }
  .book-widget { position: static; }
  .gallery-grid { grid-template-rows: 160px 160px; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; order: -1; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
  .searchbar { flex-direction: column; border-radius: var(--radius); }
  .searchbar .sb-field { border-right: none; border-bottom: 1px solid var(--line); }
  .searchbar .sb-submit { padding: 12px; }
  .searchbar .sb-submit .btn { width: 100%; }
}

@media (max-width: 720px) {
  .hotel-card { flex-direction: column; }
  .hc-gallery { width: 100%; aspect-ratio: 16 / 9.5; }
  .room-card { grid-template-columns: 1fr; }
  .room-img { aspect-ratio: 16/10; }
  .room-book { align-items: stretch; text-align: left; flex-direction: row; align-items: center; }
  .room-book .price-wrap { flex: 1; text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .saved-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .confirm-grid { grid-width: 1fr; }
  .booking-row { flex-direction: column; }
  .booking-row img { width: 100%; height: 150px; }
  .br-side { flex-direction: row; align-items: center; }
  .card-inputs { grid-template-columns: 1fr; }
  .oauth-row { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }
  .gallery-grid .g-item:first-child { grid-column: 1 / -1; grid-row: auto; }
}

/* mobile sticky reserve bar */
.reserve-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(20,26,44,.12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
  z-index: 40;
  align-items: center;
  gap: 12px;
}
@media (max-width: 900px) {
  .reserve-bar.show { display: flex; }
  .reserve-bar .rb-price { font-size: 18px; font-weight: 800; color: var(--blue-ink); }
  .reserve-bar .rb-price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
  .reserve-bar .btn { margin-left: auto; }
  body.has-reserve-bar { padding-bottom: 70px; }
}

/* misc */
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

