/* ==========================================================================
   StayFinder — hotel booking site (IHG reference layout)
   Mobile-first. Breakpoints: 480 / 640 / 768 / 1024 / 1280 / 1440
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --teal: #17414c;
  --teal-dark: #0e2f38;
  --teal-mid: #1d5261;
  --accent: #de3c2b;
  --accent-dark: #b32f20;
  --cream: #f4f2ed;
  --cream-2: #efece5;
  --ink: #1f2429;
  --slate: #4e5860;
  --muted: #7b858e;
  --line: #dedbd4;
  --line-soft: #eceae4;
  --white: #fff;
  --gold: #b98a2f;
  --blue: #17414c;
  --green: #2b7a5b;

  --wrap: 1400px;
  --wrap-narrow: 1120px;
  --gutter: 16px;
  --radius-s: 3px;
  --radius: 4px;
  --radius-l: 6px;

  --sh-1: 0 1px 2px rgba(23, 38, 44, .07);
  --sh-2: 0 2px 10px rgba(23, 38, 44, .10);
  --sh-3: 0 8px 26px rgba(23, 38, 44, .14);
  --sh-4: 0 16px 48px rgba(23, 38, 44, .20);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --header-h: 58px;

  /* legacy aliases used by inline styles on the results/detail pages */
  --red: var(--accent);
  --red-dark: var(--accent-dark);
  --charcoal: var(--teal);
  --bg-alt: var(--cream);
  --radius-l-legacy: var(--radius-l);
}
@media (min-width: 1024px) { :root { --gutter: 28px; --header-h: 64px; } }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-wrap: break-word;
}
/* grid/flex children default to min-width:auto, which is what pushes narrow
   phones into sideways scrolling — opt them all out */
.grid > *, .props > *, .prop > div, .amen-grid li, .rline, .rline span,
.hotel__body, .rhotel__body, .card__body, .deal__body, .besttime__body > *,
.detail__layout > *, .detail__layout > div > *, .gallery, .gallery > *,
.gallery__thumbs > *, .room, .room > *, .tabs-nav, .checkout > *,
.doc > *, .stats > *, .contactgrid > *, .formgrid > *, .tiers > *,
.searchbar-inline > *, .results__layout > *, .srp__layout > * { min-width: 0; }
/* replaced elements report their intrinsic width as a minimum — stop that too */
.gallery img, .room__media img, .summary__media img, .card__media img { min-width: 0; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid #3d8ecf; outline-offset: 2px; }
/* author display rules (grid/flex) outrank the UA sheet, so enforce it here */
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-s);
  font-weight: 600; font-size: 14px; line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--teal); color: #fff; }
.btn--dark:hover { background: var(--teal-dark); }
.btn--ghost { border: 1px solid currentColor; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--outline-light { border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--teal); }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { background: var(--cream-2); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 12.5px; }
.btn--lg { padding: 15px 40px; font-size: 15px; }
.btn--pill { border-radius: 100px; text-transform: none; letter-spacing: 0; font-size: 13.5px; padding: 8px 18px; }

.link-red {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); font-weight: 600; font-size: 14.5px;
}
.link-red:hover { text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.link-arrow:hover { text-decoration: underline; }
.link-u { text-decoration: underline; text-underline-offset: 3px; }
.link-u:hover { color: var(--accent); }

/* ---------- 4. Language bar ---------- */
.langbar { background: #101112; color: #e6e6e6; font-size: 12px; }
.langbar__inner { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.langbar p { line-height: 1.45; }
.langbar b { font-weight: 600; }
.langbar__yn { display: inline-flex; gap: 6px; margin-left: 8px; }
.langbar__yn button {
  border: 1px solid #6d7175; padding: 1px 9px; border-radius: 2px;
  font-size: 11px; font-weight: 600; color: #fff;
}
.langbar__yn button:hover { background: #fff; color: #101112; }
.langbar__x { margin-left: auto; color: #b7bbbe; font-size: 16px; line-height: 1; padding: 2px 4px; }
.langbar__x:hover { color: #fff; }
.langbar small { display: block; color: #9aa0a4; font-size: 11px; margin-top: 3px; }

/* ---------- 5. Utility (teal) bar ---------- */
.utility { background: var(--teal); color: #dfe6e8; font-size: 12.5px; }
.utility__inner { display: flex; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.utility__msg { display: flex; align-items: center; gap: 8px; }
.utility__msg svg { flex-shrink: 0; }
.utility__sep { width: 1px; height: 14px; background: #46666f; }
.utility__links { margin-left: auto; display: none; align-items: center; gap: 18px; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility .btn { text-transform: none; letter-spacing: 0; font-size: 12.5px; padding: 6px 14px; }
@media (min-width: 768px) { .utility__links { display: flex; } }
@media (max-width: 767px) { .utility__inner { justify-content: center; } }

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--sh-2); }
.header__inner { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo__mark {
  font-family: var(--font); font-weight: 800; font-size: 26px; letter-spacing: -.04em;
  color: var(--teal); line-height: 1;
}
.logo__rule { width: 1px; height: 26px; background: var(--line); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.logo__text span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: 20px 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.nav a.is-active { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: var(--radius-s); display: grid; place-items: center; color: var(--teal); }
.icon-btn:hover { background: var(--cream); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header__actions { margin-left: 10px; }
  .burger { display: none !important; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 20, 24, .55); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 6px 8px; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 12px; font-weight: 500; border-bottom: 1px solid var(--line-soft);
}
.drawer__nav a:hover { background: var(--cream); color: var(--accent); }
.drawer__foot { margin-top: auto; padding: 18px; display: grid; gap: 10px; }

/* ---------- 7. Search band + inline search bar ---------- */
.searchband { padding: 14px 0 0; }
.searchband__inner { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

.searchbar-inline {
  background: #fff; border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr; overflow: visible;
}
.sfield { position: relative; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); min-width: 0; }
.sfield:last-of-type { border-bottom: 0; }
.sfield > label {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.sfield__control { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; }
.sfield__control svg { flex-shrink: 0; color: var(--accent); }
.sfield__control input, .sfield__control select {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 14px; font-weight: 500; padding: 3px 0;
}
.sfield__control input::placeholder { color: #9aa3ab; font-weight: 400; }
.sfield__value { font-size: 14px; font-weight: 500; }
.sfield--dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.sfield--dates .sdate { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sfield--dates .sdate svg { color: var(--accent); flex-shrink: 0; }
.sfield--dates input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; font-weight: 500; }
.sfield__span { grid-column: 1 / -1; }
.searchbar-inline .btn-search {
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; padding: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.searchbar-inline .btn-search:hover { background: var(--accent-dark); }
.selectlike {
  width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; font-weight: 500;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234e5860' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 18px;
}
@media (min-width: 700px) {
  .searchbar-inline { grid-template-columns: 1.5fr 1.6fr 1fr 1fr auto; align-items: stretch; }
  .sfield { border-bottom: 0; border-right: 1px solid var(--line-soft); padding: 12px 18px; display: flex; flex-direction: column; justify-content: center; }
  .sfield--dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
  .sfield--dates > label { grid-column: 1 / -1; }
  .searchbar-inline .btn-search { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 34px; }
}
@media (max-width: 699px) {
  .sfield--dates > label { grid-column: 1 / -1; }
}

/* Popovers */
.pop {
  position: absolute; top: calc(100% - 4px); left: 8px; right: 8px; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-3); padding: 6px; display: none; max-height: 320px; overflow-y: auto;
  min-width: 240px;
}
.pop.is-open { display: block; }
.pop__item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 11px; border-radius: var(--radius-s); text-align: left; }
.pop__item:hover, .pop__item.is-focus { background: var(--cream); }
.pop__item b { display: block; font-size: 14px; font-weight: 600; }
.pop__item span { font-size: 12px; color: var(--muted); }
.pop__pin { width: 30px; height: 30px; border-radius: 50%; background: #fbe9e6; color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 8px; border-bottom: 1px solid var(--line-soft); }
.stepper:last-of-type { border-bottom: 0; }
.stepper b { display: block; font-size: 14px; font-weight: 600; }
.stepper span { font-size: 12px; color: var(--muted); }
.stepper__ctrl { display: flex; align-items: center; gap: 10px; }
.stepper__btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 17px; color: var(--accent); line-height: 1;
}
.stepper__btn:hover:not(:disabled) { border-color: var(--accent); background: #fbe9e6; }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__num { min-width: 18px; text-align: center; font-weight: 600; }

/* ---------- 8. Hero banner (inset on teal) ---------- */
.hero {
  position: relative; margin-top: 14px; border-radius: 2px; overflow: hidden;
  background: var(--teal-dark);
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { aspect-ratio: 4 / 3; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 26, 32, .72) 0%, rgba(8, 26, 32, .42) 46%, rgba(8, 26, 32, .06) 78%);
}
.hero__copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 22px 20px; color: #fff; max-width: 620px;
}
.hero__flag {
  display: inline-block; align-self: flex-start; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; margin-bottom: 12px;
}
.hero__title { font-size: clamp(26px, 6.2vw, 46px); line-height: 1.1; font-weight: 500; letter-spacing: -.01em; }
.hero__rule { width: 62px; height: 3px; background: var(--accent); margin: 12px 0 14px; }
.hero__sub { font-size: clamp(13px, 2.4vw, 16px); color: rgba(255, 255, 255, .92); max-width: 420px; }
.hero__copy .btn { align-self: flex-start; margin-top: 18px; }
@media (min-width: 700px) { .hero__media { aspect-ratio: 16 / 7; } .hero__copy { padding: 40px 46px; } }
@media (min-width: 1024px) { .hero__media { aspect-ratio: 21 / 8; } .hero__copy { padding: 40px 62px; } }

/* Hero dots */
.hero__dots { position: absolute; z-index: 3; left: 20px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero__dots button {
  flex: 0 0 auto; box-sizing: border-box;
  width: 10px; height: 10px; padding: 0; border: 0; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, .55);
  transition: background-color .2s ease, transform .2s ease;
}
.hero__dots button:hover { background: rgba(255, 255, 255, .85); }
.hero__dots button.is-active { background: #fff; transform: scale(1.15); }
@media (min-width: 700px) { .hero__dots { left: 46px; bottom: 22px; } }

/* ---------- 9. Sections ---------- */
.section { padding: 44px 0; }
.section--white { background: #fff; }
.section--cream { background: var(--cream); }
.section--tight { padding: 30px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } .section--tight { padding: 40px 0; } }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 14px;
}
.section__title { font-size: clamp(24px, 4.4vw, 38px); line-height: 1.22; font-weight: 400; letter-spacing: -.015em; color: var(--ink); }
.section__title strong { font-weight: 600; }
.section__sub { margin-top: 14px; color: var(--slate); font-size: 15px; line-height: 1.7; }
.section__head { margin-bottom: 26px; }
.section__head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section__head--center .section__sub { margin-inline: auto; max-width: 620px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-center { margin-top: 30px; text-align: center; }

/* ---------- 10. Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.card {
  background: #fff; border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--sh-1);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--cream-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.card__body p { font-size: 14px; color: var(--slate); line-height: 1.65; }
.card__foot { margin-top: auto; padding-top: 4px; }
.card__note { font-size: 12px; color: var(--muted); }
.tag {
  position: absolute; top: 0; left: 0; z-index: 2;
  padding: 5px 10px; background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.tag--gold { background: var(--gold); }
.tag--dark { background: rgba(14, 47, 56, .9); }

/* Destination tile */
.dest { position: relative; display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 3 / 4; background: var(--cream-2); }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .75) 100%); }
.dest:hover img { transform: scale(1.06); }
.dest__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; }
.dest__cap b { display: block; font-size: clamp(15px, 2.2vw, 17px); font-weight: 600; }
.dest__cap span { font-size: 12px; color: rgba(255, 255, 255, .85); }

/* ---------- 10b. Hot deals carousel ---------- */
.deals__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.deals__title { font-size: clamp(20px, 3.2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
.deals__more { display: inline-flex; align-items: center; gap: 7px; color: #0a5bbd; font-weight: 600; font-size: 14.5px; }
.deals__more:hover { text-decoration: underline; }
.deals__more svg { transition: transform .18s ease; }
.deals__more:hover svg { transform: translateX(4px); }

.deals__tabs {
  display: flex; gap: 4px; margin-top: 14px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.deals__tabs::-webkit-scrollbar { display: none; }
.dtab {
  padding: 11px 15px; font-size: 14.5px; font-weight: 600; color: var(--slate);
  white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.dtab:hover { color: var(--ink); }
.dtab.is-active { color: #0a5bbd; border-bottom-color: #0a5bbd; }

.deals__viewport { position: relative; margin-top: 18px; }
.deals__rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding: 4px 2px 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.deals__rail::-webkit-scrollbar { display: none; }

.deal {
  flex: 0 0 250px; scroll-snap-align: start;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(23, 38, 44, .13);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease;
  animation: dealIn .32s ease both;
}
@keyframes dealIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .deal { animation: none; } }
.deal:hover { box-shadow: 0 6px 20px rgba(23, 38, 44, .18); }
.deal__media { aspect-ratio: 16 / 11; background: var(--cream-2); overflow: hidden; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.deal:hover .deal__media img { transform: scale(1.05); }
.deal__body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.deal__name { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: #111; }
.deal__loc { font-size: 13px; color: var(--slate); }
.rating { display: flex; align-items: center; gap: 7px; font-size: 12.5px; flex-wrap: wrap; }
.rating b { background: #0f7b46; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: 12.5px; font-weight: 700; }
.rating strong { font-weight: 700; color: #111; }
.rating span { color: var(--muted); }
.deal__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  background: #a4123c; color: #fff; border-radius: 3px;
  padding: 3px 8px; font-size: 11.5px; font-weight: 700; line-height: 1.4;
}
.deal__badge svg { flex-shrink: 0; }
.deal__provider { font-size: 12.5px; color: var(--slate); }
.deal__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.deal__price .amt { font-size: 19px; font-weight: 700; color: #111; letter-spacing: -.01em; }
.deal__price .per { font-size: 12px; color: var(--slate); margin-left: 4px; }
.deal__dates { font-size: 12.5px; color: var(--ink); margin-top: 4px; }
.deal__perk { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.deal__go {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 0; box-sizing: border-box;
  border: 1px solid #9aa3ab; border-radius: 50%; aspect-ratio: 1;
  display: grid; place-items: center; color: #111; background: #fff;
}
.deal__go:hover { border-color: var(--accent); color: var(--accent); }

.rail-nav {
  position: absolute; top: 42%; z-index: 4; box-sizing: border-box;
  width: 34px; height: 34px; padding: 0; aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: #111; border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(23, 38, 44, .22);
  transition: opacity .2s ease, visibility .2s ease;
}
.rail-nav:hover { color: var(--accent); border-color: var(--accent); }
.rail-nav--prev { left: -8px; }
.rail-nav--next { right: -8px; }
.rail-nav[hidden] { display: none; }
@media (min-width: 560px) { .deal { flex-basis: 262px; } }
@media (min-width: 1024px) { .rail-nav--prev { left: -16px; } .rail-nav--next { right: -16px; } }

/* ---------- 11. Brand showcase ---------- */
.showcase { max-width: 660px; margin-inline: auto; text-align: center; }
.showcase__media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-2); overflow: hidden; }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__logo {
  position: absolute; top: 18px; right: 20px; z-index: 2; color: #fff; text-align: right;
  display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.showcase__logo b { font-size: 17px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: block; line-height: 1.2; }
.showcase__logo span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.showcase h3 { margin-top: 20px; font-size: 19px; font-weight: 600; }
.showcase p { margin-top: 10px; font-size: 14px; color: var(--slate); line-height: 1.7; }
.showcase .link-red { margin-top: 12px; text-transform: uppercase; font-size: 12.5px; letter-spacing: .08em; }
/* Arrows overlay the image, vertically centred on it */
.showcase__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  box-sizing: border-box; width: 42px; height: 42px; padding: 0; aspect-ratio: 1;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--teal);
  display: grid; place-items: center; box-shadow: 0 2px 12px rgba(10, 20, 24, .28);
  transition: background-color .18s ease, color .18s ease;
}
.showcase__arrow:hover { background: #fff; color: var(--accent); }
.showcase__arrow--prev { left: 12px; }
.showcase__arrow--next { right: 12px; }
@media (min-width: 700px) { .showcase__arrow--prev { left: 16px; } .showcase__arrow--next { right: 16px; } }

/* ---------- 11b. Best time to book ---------- */
.besttime__title { font-size: clamp(20px, 3.2vw, 27px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.besttime { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(23, 38, 44, .14); padding: 6px 16px 16px; }
@media (min-width: 768px) { .besttime { padding: 8px 26px 22px; } }

.besttime__tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.besttime__tabs::-webkit-scrollbar { display: none; }
.bttab {
  padding: 14px 15px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.bttab:hover { color: #0a5bbd; }
.bttab.is-active { color: #0a5bbd; border-bottom-color: #0a5bbd; }

.besttime__body { display: grid; gap: 16px; margin-top: 18px; align-items: start; }
.besttime__media { border-radius: 6px; overflow: hidden; background: var(--cream-2); aspect-ratio: 4 / 3; }
.besttime__media img { width: 100%; height: 100%; object-fit: cover; }
.besttime__list { display: grid; gap: 8px; }
@media (min-width: 860px) {
  .besttime__body { grid-template-columns: 36% 1fr; gap: 22px; }
  .besttime__media { aspect-ratio: 1 / 1; }
}

.btrow {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font-size: 14.5px;
  transition: border-color .16s ease, background-color .16s ease;
}
.btrow:hover { border-color: #0a5bbd; background: #f7fafd; }
.btrow__month { font-weight: 700; color: #111; }
.btrow__price { margin-left: auto; font-weight: 700; color: #111; white-space: nowrap; }
.btrow svg { flex-shrink: 0; color: #4e5860; }
.btrow--best { background: #f1faf2; border-color: #b9e2c2; }
.btrow--best:hover { background: #e9f7ec; border-color: #7fc994; }
.btrow--fade { opacity: .55; }
.besttime__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- 12. App band ---------- */
.band { background: var(--teal); color: #fff; }
.band--mid { background: var(--teal-mid); }
.band__inner { display: grid; gap: 26px; align-items: center; padding: 34px 0; }
.band h2 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 400; line-height: 1.2; }
.band p { margin-top: 12px; color: rgba(255, 255, 255, .88); font-size: 14.5px; line-height: 1.7; max-width: 460px; }
.band .btn { margin-top: 20px; }
.band__phones { display: flex; justify-content: center; }
.band__phones img { max-height: 260px; width: auto; object-fit: contain; }
.qr { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.qr__code { width: 78px; height: 78px; background: #fff; padding: 5px; border-radius: 2px; flex-shrink: 0; }
.qr small { font-size: 12px; color: rgba(255, 255, 255, .8); }
@media (min-width: 860px) { .band__inner { grid-template-columns: 1fr 1.1fr; padding: 44px 0; } }

/* ---------- 13. Member band ---------- */
.member { display: grid; }
.member__media { position: relative; min-height: 230px; background: var(--teal-dark); }
.member__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.member__logo {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 34px 26px; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.member__logo b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.member__logo span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; }
.member__body { background: var(--teal); color: #fff; padding: 30px 26px; }
.member__body h2 { font-size: clamp(21px, 3.4vw, 30px); font-weight: 500; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.member__list { margin-top: 22px; display: grid; gap: 14px; }
.member__list li { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .93); }
.member__list svg { flex-shrink: 0; color: #fff; opacity: .95; }
.member__cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.member__cta small { font-size: 13px; color: rgba(255, 255, 255, .85); }
.member__cta small a { text-decoration: underline; }
@media (min-width: 860px) {
  .member { grid-template-columns: 1fr 1fr; }
  .member__media { min-height: 340px; }
  .member__logo { padding: 40px; }
  .member__body { padding: 44px 46px; }
}

/* ---------- 14. Accordions (destinations + FAQ) ---------- */
.acc { background: #fff; box-shadow: var(--sh-1); }
.acc + .acc { margin-top: 12px; }
.acc__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; text-align: left; font-size: 15px; font-weight: 500;
}
.acc__head:hover { color: var(--accent); }
.acc__head::after {
  content: ""; width: 9px; height: 9px; flex-shrink: 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s ease;
}
.acc.is-open .acc__head::after { transform: rotate(-135deg) translate(-1px, -1px); }
.acc__body { display: none; padding: 0 20px 18px; }
.acc.is-open .acc__body { display: block; }
.acc__body p { font-size: 14.5px; color: var(--slate); line-height: 1.7; }
.acc__links { display: grid; gap: 9px; }
.acc__links a { font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.acc__links a:hover { color: var(--accent); }
.acc-cols { display: grid; gap: 12px; align-items: start; }
@media (min-width: 900px) { .acc-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; } .acc-cols .acc + .acc { margin-top: 0; } }

/* ---------- 15. Value props ---------- */
.props { display: grid; gap: 20px; }
.prop { display: flex; gap: 14px; }
.prop__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #fbe9e6; color: var(--accent); display: grid; place-items: center; }
.prop b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.prop p { font-size: 14px; color: var(--slate); }
@media (min-width: 640px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .props { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
/* two-up variant used on the hotel page — single column on phones */
.props--pair { grid-template-columns: 1fr; }
@media (min-width: 560px) { .props--pair { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .props--pair { grid-template-columns: repeat(2, 1fr); } }

.rewards__list { display: grid; gap: 9px; }
.rewards__list li { display: flex; gap: 10px; font-size: 14px; }
.rewards__list svg { flex-shrink: 0; margin-top: 4px; }

/* Newsletter */
.newsletter { background: var(--teal); color: #fff; padding: 30px 22px; text-align: center; }
.newsletter h2 { font-size: clamp(21px, 3.4vw, 28px); font-weight: 400; }
.newsletter p { margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.newsletter form { margin-top: 20px; display: grid; gap: 10px; max-width: 520px; margin-inline: auto; }
.newsletter input { height: 48px; padding: 0 14px; border-radius: var(--radius-s); border: 1px solid #3d6672; background: #123742; color: #fff; font-size: 15px; }
.newsletter input::placeholder { color: #8fa4ab; }
.newsletter input:focus { outline: 0; border-color: #fff; }
.newsletter small { display: block; margin-top: 12px; font-size: 12px; color: #93a7ad; }
@media (min-width: 640px) { .newsletter { padding: 40px 30px; } .newsletter form { grid-template-columns: 1fr auto; } }

/* ---------- 16. Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 34px; font-size: 13.5px; color: var(--slate); }
/* Amenity strip — icons with dividers, above the footer columns */
.amenstrip { display: grid; grid-template-columns: repeat(2, 1fr); padding: 6px 0 26px; }
.amenstrip__item {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 12px; padding: 20px 10px; text-align: center;
  border-left: 1px solid var(--line-soft);
  color: var(--ink);
}
.amenstrip__item:nth-child(2n + 1) { border-left: 0; }
.amenstrip__item svg { color: #111; }
.amenstrip__item span { font-size: 14.5px; line-height: 1.3; }
.amenstrip__item:hover { color: var(--accent); }
.amenstrip__item:hover svg { color: var(--accent); }
@media (min-width: 620px) {
  .amenstrip { grid-template-columns: repeat(3, 1fr); }
  .amenstrip__item:nth-child(2n + 1) { border-left: 1px solid var(--line-soft); }
  .amenstrip__item:nth-child(3n + 1) { border-left: 0; }
}
@media (min-width: 1024px) {
  .amenstrip { grid-template-columns: repeat(6, 1fr); }
  .amenstrip__item:nth-child(3n + 1) { border-left: 1px solid var(--line-soft); }
  .amenstrip__item:nth-child(6n + 1) { border-left: 0; }
}

.footer__grid { display: grid; gap: 4px; margin-top: 30px; }
.footer__col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.footer__col ul { display: grid; gap: 9px; margin-bottom: 24px; }
.footer__col a { text-decoration: underline; text-underline-offset: 3px; }
.footer__col a:hover { color: var(--accent); }
.socials { display: flex; gap: 14px; margin-bottom: 24px; }
.socials a { color: var(--teal); }
.socials a:hover { color: var(--accent); }

.footer__promise { display: grid; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line-soft); margin-top: 10px; }
/* only the promise heading itself — not the <b> inside the store buttons */
.footer__promise > div > b { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); display: block; }
.footer__promise p { font-size: 13.5px; }
.store { display: flex; flex-wrap: wrap; gap: 10px; }
.store a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; min-width: 158px; border-radius: 5px;
  background: var(--teal); color: #fff; line-height: 1.2;
}
.store a:hover { background: var(--teal-dark); }
.store a svg { flex-shrink: 0; }
.store small { display: block; font-size: 9.5px; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }
.store b, .footer__promise .store b {
  display: block; font-size: 14px; font-weight: 700; color: #fff;
  text-transform: none; letter-spacing: 0;
}
.footer__fine { padding: 16px 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.7; }
.footer__bar { height: 8px; background: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 6px; }
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 6px 26px; }
  .footer__promise { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 36px; }
  .logowall { padding: 26px 34px; }
}
/* Footer accordion on phones */
@media (max-width: 639px) {
  .footer__col h4 {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line-soft); cursor: pointer;
  }
  .footer__col h4::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); }
  .footer__col.is-open h4::after { content: "\2212"; }
  .footer__col ul { display: none; padding: 12px 0 4px; margin-bottom: 0; }
  .footer__col.is-open ul { display: grid; }
}

/* ---------- 17. Results page ---------- */
.subhead { background: #fff; border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--accent); }

.searchbar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; margin-top: 12px; display: grid; gap: 10px;
}
.searchbar__summary { display: flex; align-items: center; gap: 10px; min-width: 0; }
.searchbar__summary svg { color: var(--accent); flex-shrink: 0; }
.searchbar__summary b { display: block; font-size: 15.5px; font-weight: 600; }
.searchbar__summary span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 768px) { .searchbar { grid-template-columns: 1fr auto; align-items: center; } }

.results { padding: 20px 0 54px; background: var(--cream); }
.results__layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .results__layout { grid-template-columns: 286px 1fr; gap: 26px; } }

.filters { background: #fff; border: 1px solid var(--line); padding: 4px 18px 18px; }
.filters__head { display: none; }
.filters-scrim { display: none; }
.fgroup { border-bottom: 1px solid var(--line-soft); padding: 15px 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup > h4 { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.fgroup > h4::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid var(--slate); border-bottom: 1.6px solid var(--slate); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.fgroup.is-collapsed > h4::after { transform: rotate(-135deg) translateY(-2px); }
.fgroup__body { display: grid; gap: 10px; padding-top: 13px; }
.fgroup.is-collapsed .fgroup__body { display: none; }
.fcheck { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.fcheck input { width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.fcheck small { margin-left: auto; color: var(--muted); font-size: 12px; }
.range { width: 100%; accent-color: var(--accent); }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }

.filters-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.filters-bar__count { font-size: 14px; color: var(--slate); margin-right: auto; }
.filters-bar__count b { color: var(--ink); }
.select {
  height: 40px; padding: 0 32px 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234e5860' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center;
  font-size: 13.5px; font-weight: 500; appearance: none; cursor: pointer;
}
.btn-filters { display: inline-flex; }
@media (min-width: 1024px) { .btn-filters { display: none; } }
@media (max-width: 1023px) {
  .filters {
    position: fixed; inset: 0 0 0 auto; z-index: 95; width: min(360px, 92vw);
    border: 0; transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; padding: 0 18px 96px; box-shadow: var(--sh-4);
  }
  .filters.is-open { transform: none; }
  .filters__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; z-index: 2; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .filters__head b { font-size: 16px; }
  .filters__apply { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 18px; background: #fff; border-top: 1px solid var(--line); display: block; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(10, 20, 24, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease; }
  .filters-scrim.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1024px) { .filters__apply { display: none; } }

.hotels { display: grid; gap: 16px; }
.hotel { background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; transition: box-shadow .2s ease; }
.hotel:hover { box-shadow: var(--sh-3); }
.hotel__media { position: relative; aspect-ratio: 16/10; background: var(--cream-2); overflow: hidden; }
.hotel__media img { width: 100%; height: 100%; object-fit: cover; }
.hotel__body { padding: 16px; display: grid; gap: 9px; align-content: start; }
.hotel__brand { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hotel__name { font-size: 19px; font-weight: 600; line-height: 1.25; }
.hotel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--slate); }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.score { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.score b { background: var(--teal); color: #fff; padding: 3px 8px; border-radius: 3px 3px 3px 0; font-size: 12.5px; font-weight: 700; }
.amenities { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 100px; background: var(--cream); border: 1px solid var(--line); font-size: 11.5px; font-weight: 500; color: var(--slate); }
.hotel__price { padding: 0 16px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-block { line-height: 1.25; }
.price-block small { display: block; font-size: 11.5px; color: var(--muted); }
.price-block .amt { font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.price-block .was { font-size: 13.5px; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.price-block .per { font-size: 12px; color: var(--muted); }
@media (min-width: 640px) {
  .hotel { grid-template-columns: 240px 1fr; }
  .hotel__media { aspect-ratio: auto; height: 100%; min-height: 205px; }
  .hotel__price { grid-column: 2; padding-top: 0; }
}
@media (min-width: 1280px) {
  .hotel { grid-template-columns: 280px 1fr 205px; }
  .hotel__price { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; padding: 16px 16px 16px 0; border-left: 1px dashed var(--line); margin: 16px 0; }
  .hotel__price .btn { width: 100%; }
}
.empty { background: #fff; border: 1px dashed var(--line); padding: 44px 22px; text-align: center; }
.empty h3 { font-size: 19px; margin-bottom: 8px; }
.empty p { color: var(--slate); margin-bottom: 18px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.pager button:hover { border-color: var(--accent); color: var(--accent); }
.pager button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Legacy search widget (used on results/detail "edit search") */
.searchbox { background: #fff; border: 1px solid var(--line); margin-top: 12px; }
.searchbox__tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.searchbox__tabs::-webkit-scrollbar { display: none; }
.tab { padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: var(--slate); white-space: nowrap; border-bottom: 3px solid transparent; }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.searchform { padding: 16px; display: grid; gap: 12px; }
.searchform__grid { display: grid; gap: 12px; }
.field { position: relative; display: grid; gap: 5px; min-width: 0; }
.field > label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field__control {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 13px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; width: 100%;
  transition: border-color .16s ease;
}
.field__control:hover { border-color: #b4b1a9; }
.field__control:focus-within, .field__control.is-open { border-color: var(--accent); }
.field__control svg { flex-shrink: 0; color: var(--accent); }
.field__control input, .field__control select { border: 0; outline: 0; width: 100%; min-width: 0; background: transparent; font-size: 14.5px; font-weight: 500; }
.field__value { font-size: 14.5px; font-weight: 500; }
.field__hint { font-size: 12px; color: var(--muted); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .pop { left: 0; right: 0; top: calc(100% + 4px); }
.searchform__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
@media (min-width: 640px) { .searchform__grid { grid-template-columns: 1fr 1fr; } .field--dest { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .searchform__grid { grid-template-columns: 2fr 2fr 1.4fr auto; align-items: end; }
  .field--dest { grid-column: auto; }
  .searchform__submit .btn { height: 50px; }
}

/* ---------- 17b. Results page — trivago-style search layout ---------- */
.srp { background: #fff; }
.srp__chips {
  display: flex; align-items: center; gap: 9px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none;
}
.srp__chips::-webkit-scrollbar { display: none; }
.chipbtn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border: 1px solid #c9cdd2; border-radius: 100px;
  background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.chipbtn:hover { border-color: var(--accent); color: var(--accent); }
.chipbtn.is-on { background: #fdeeec; border-color: var(--accent); color: var(--accent); }
.chipbtn--solid { border-color: #6b7076; font-weight: 700; }
.chipbtn svg { flex-shrink: 0; }

.srp__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-bottom: 12px; font-size: 14px; color: var(--slate);
}
.srp__meta b { color: var(--ink); }
.srp__rank { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate); }
.srp__rank:hover { color: var(--accent); }

.srp__layout { display: grid; gap: 18px; align-items: start; padding-bottom: 46px; }
@media (min-width: 1024px) { .srp__layout { grid-template-columns: 300px 1fr; gap: 20px; } }
@media (min-width: 1360px) { .srp__layout { grid-template-columns: 320px 1fr; gap: 26px; } }

/* Filter sidebar — card styling only once it is a real sidebar */
@media (min-width: 1024px) {
  .srp .filters {
    border: 1px solid var(--line); border-radius: 8px; padding: 0 16px 16px;
    box-shadow: 0 1px 3px rgba(23, 38, 44, .09);
    position: sticky; top: calc(var(--header-h) + 12px);
    max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
  }
}
@media (max-width: 1023px) { .filters__bar { display: none !important; } .filters__show { display: none; } }
.filters__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0 10px; border-bottom: 1px solid var(--line-soft);
}
.filters__bar b { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.filters__bar .icon-btn { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 6px; color: var(--slate); }
.filters__bar .icon-btn:first-of-type { margin-left: auto; }
.filters__bar .icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.fgroup > h4 { font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.fgroup__sub { font-size: 13px; color: var(--muted); }
.fcheck--stack { align-items: flex-start; }
.fcheck--stack input { margin-top: 2px; }
.fcheck--stack b { display: block; font-size: 14px; font-weight: 600; }
.fcheck--stack small { margin-left: 0; display: block; font-size: 12.5px; color: var(--muted); }
.fcheck__chev { margin-left: auto; color: var(--slate); flex-shrink: 0; }

/* Dual price range */
.rangepair { position: relative; height: 34px; margin: 6px 0 4px; }
.rangepair__track { position: absolute; top: 15px; left: 0; right: 0; height: 4px; border-radius: 4px; background: #d8dcdf; }
.rangepair__fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.rangepair input[type="range"] {
  position: absolute; top: 0; left: 0; width: 100%; height: 34px; margin: 0;
  background: none; appearance: none; pointer-events: none;
}
.rangepair input[type="range"]::-webkit-slider-thumb {
  appearance: none; pointer-events: auto; cursor: grab;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(23, 38, 44, .35);
}
.rangepair input[type="range"]::-moz-range-thumb {
  pointer-events: auto; cursor: grab;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(23, 38, 44, .35);
}
.rangepair input[type="range"]::-moz-range-track { background: none; }
.pricebox { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.pricebox label { font-size: 12.5px; color: var(--slate); display: grid; gap: 4px; }
.pricebox input {
  width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 14px; font-weight: 600;
}
.pricebox input:focus { outline: 0; border-color: var(--accent); }
.pricebox span { padding-bottom: 11px; color: var(--muted); }
.filters__show { position: sticky; bottom: 0; background: #fff; padding: 12px 0 4px; margin-top: 4px; }
.filters__show .btn { border-radius: 6px; }

/* Result card */
.srp__list { display: grid; gap: 14px; }
.rhotel {
  position: relative;
  display: grid; gap: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(23, 38, 44, .09);
  transition: box-shadow .2s ease;
}
.rhotel:hover { box-shadow: 0 6px 20px rgba(23, 38, 44, .16); }
.rhotel__media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
/* absolutely positioned so a tall/portrait photo can never stretch the card row */
.rhotel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the heart floats over the photo; it sits outside the media link so it stays clickable */
.rhotel__fav {
  position: absolute; top: 10px; right: 10px; z-index: 3; box-sizing: border-box;
  width: 34px; height: 34px; padding: 0; aspect-ratio: 1; border-radius: 50%;
  background: rgba(20, 24, 28, .55); color: #fff; display: grid; place-items: center;
}
.rhotel__fav:hover, .rhotel__fav.is-on { background: var(--accent); }
.rhotel__dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 5px; }
.rhotel__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.rhotel__dots i:first-child { background: #fff; }
.rhotel__body { padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.rhotel__name { font-size: 19px; font-weight: 700; line-height: 1.25; color: #111; }
.rhotel__name:hover { color: var(--accent); text-decoration: underline; }
.rhotel__stars { color: var(--accent); font-size: 13px; letter-spacing: 1px; margin-left: 6px; white-space: nowrap; }
.rscore { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.rscore b { background: #0f7b46; color: #fff; padding: 3px 8px; border-radius: 5px; font-size: 13px; font-weight: 700; }
.rscore strong { font-weight: 700; color: #111; }
.rscore span { color: var(--slate); }
.rline { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink); }
.rline svg { flex-shrink: 0; color: var(--slate); margin-top: 3px; }
.rline--muted { color: var(--slate); }
.rline b { font-weight: 700; }
.rhotel__deal {
  background: #fdf1ef; padding: 16px; display: flex; flex-direction: column;
  justify-content: center; gap: 10px;
}
.rhotel__from { font-size: 14px; color: var(--ink); }
.rhotel__from b { font-size: 25px; font-weight: 700; letter-spacing: -.02em; margin-left: 4px; }
.rhotel__sites { font-size: 13.5px; color: var(--ink); }
.rhotel__sites b { font-weight: 700; }
.btn--see {
  background: var(--accent); color: #fff; border-radius: 6px; text-transform: none;
  letter-spacing: 0; font-size: 15px; font-weight: 700; padding: 12px 18px;
  align-self: flex-start;
}
.btn--see:hover { background: var(--accent-dark); }
@media (min-width: 620px) {
  .rhotel { grid-template-columns: 210px 1fr; }
  /* fixed box height keeps every card the same size whatever the photo's shape */
  .rhotel__media { aspect-ratio: auto; height: 100%; min-height: 200px; }
  .rhotel__deal { grid-column: 2; }
  .rhotel__fav { right: auto; left: 166px; }
}
@media (min-width: 900px) {
  .rhotel { grid-template-columns: 210px 1fr 290px; }
  .rhotel__deal { grid-column: 3; grid-row: 1; margin: 10px 10px 10px 0; border-radius: 6px; }
  .rhotel__deal .btn--see { align-self: stretch; text-align: center; justify-content: center; }
}
/* with the map gone the cards get the full width — give the photo and price panel more room */
@media (min-width: 1360px) {
  .rhotel { grid-template-columns: 290px 1fr 320px; }
  .rhotel__media { min-height: 230px; }
  .rhotel__fav { left: 246px; }
  .rhotel__body { padding: 18px 20px; }
}

/* ---------- 18. Hotel detail page ---------- */
.gallery { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.gallery__main { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery__thumbs button { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); padding: 0; border: 0; }
.gallery__thumbs button img { position: absolute; inset: 0; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s ease; }
.gallery__thumbs button:hover img, .gallery__thumbs button.is-active img { opacity: 1; }
.gallery__thumbs button.is-active { box-shadow: 0 0 0 3px var(--accent); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .gallery__main { aspect-ratio: 4/3; height: 100%; }
  .gallery__thumbs { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, 1fr); }
  .gallery__thumbs button { aspect-ratio: auto; }
}
.detail__layout { display: grid; gap: 26px; align-items: start; margin-top: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .detail__layout { grid-template-columns: minmax(0, 1fr) 336px; gap: 34px; } }
.booking-card { background: #fff; border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
@media (min-width: 1024px) { .booking-card { position: sticky; top: calc(var(--header-h) + 14px); } }
.room { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.room__media { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.room__media img { width: 100%; height: 100%; object-fit: cover; }
.room h3 { font-size: 18px; font-weight: 600; }
.room ul { display: grid; gap: 7px; margin-top: 8px; font-size: 13.5px; color: var(--slate); }
.room ul li { display: flex; gap: 8px; }
.room ul svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.room__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (min-width: 700px) { .room { grid-template-columns: 226px 1fr; align-items: start; } .room__buy { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 14px; } }
.amen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.amen-grid li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.amen-grid svg { color: var(--accent); flex-shrink: 0; }
@media (min-width: 700px) { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .amen-grid { grid-template-columns: repeat(4, 1fr); } }
.map-embed { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #e5e9ea, #d3dadc); display: grid; place-items: center; text-align: center; color: var(--slate); padding: 20px; border: 1px solid var(--line); }
.review { border: 1px solid var(--line); padding: 18px; background: #fff; }
.review__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.review__top b { display: block; font-size: 14.5px; font-weight: 600; }
.review__top span { font-size: 12px; color: var(--muted); }
.review p { font-size: 14px; color: var(--slate); }
.tabs-nav { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--slate); white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs-nav a:hover, .tabs-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 18b. Auth modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(10, 20, 24, .6); }
.modal__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(430px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 10px; box-shadow: var(--sh-4);
  animation: modalIn .22s ease both;
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { .modal__card { animation: none; } }

.modal__head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 22px 22px 6px;
}
.modal__head h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.modal__head p { margin-top: 5px; font-size: 13.5px; color: var(--slate); }
.modal__close {
  margin-left: auto; flex-shrink: 0; box-sizing: border-box;
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--slate);
}
.modal__close:hover { background: var(--cream); color: var(--accent); }

.authform { padding: 12px 22px 22px; display: grid; gap: 13px; }
.authfield { display: grid; gap: 5px; }
.authfield label { font-size: 12.5px; font-weight: 600; color: var(--slate); }
.authfield__wrap { position: relative; display: flex; align-items: center; }
.authfield input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 15px; background: #fff;
}
.authfield input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(222, 60, 43, .13); }
.authfield.has-error input { border-color: #c62828; }
.authfield__peek {
  position: absolute; right: 6px; height: 34px; padding: 0 10px; border-radius: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--slate);
}
.authfield__peek:hover { color: var(--accent); }
.authfield__msg { font-size: 12px; color: #c62828; min-height: 0; }

/* Custom checkboxes — used in the auth form, search options and filters */
.check input[type="checkbox"],
.fcheck input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; box-sizing: border-box;
  width: 19px; height: 19px; margin: 0; border-radius: 4px;
  border: 1.5px solid #b4bac0; background: #fff;
  cursor: pointer; position: relative;
  transition: background-color .15s ease, border-color .15s ease;
}
.check input[type="checkbox"]:hover,
.fcheck input[type="checkbox"]:hover { border-color: var(--accent); }
.check input[type="checkbox"]:checked,
.fcheck input[type="checkbox"]:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px 13px; background-position: center; background-repeat: no-repeat;
}
.check input[type="checkbox"]:focus-visible,
.fcheck input[type="checkbox"]:focus-visible {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(222, 60, 43, .22);
}
.check input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }
.check { align-items: center; gap: 10px; line-height: 1.45; }
.fcheck { align-items: center; gap: 10px; }

.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth__row .check { font-size: 13.5px; }
/* the terms line can wrap, so keep the box aligned to the first line */
.authfield[data-row="terms"] .check { align-items: flex-start; }
.authfield[data-row="terms"] .check input[type="checkbox"] { margin-top: 1px; }
.authfield[data-row="terms"] .check { font-size: 13.5px; color: var(--slate); }
.authfield.has-error input[type="checkbox"] { border-color: #c62828; }
.auth__row a { font-size: 13.5px; color: var(--accent); font-weight: 600; }
.auth__row a:hover { text-decoration: underline; }
.auth__alert {
  display: none; gap: 9px; align-items: flex-start;
  padding: 11px 13px; border-radius: 6px; font-size: 13.5px; line-height: 1.5;
  background: #fdeeec; border: 1px solid #f3c7c1; color: #8c2317;
}
.auth__alert.is-on { display: flex; }
.auth__alert svg { flex-shrink: 0; margin-top: 2px; }
.auth__submit { margin-top: 2px; border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: 15px; padding: 14px; }
.auth__switch { text-align: center; font-size: 13.5px; color: var(--slate); padding: 0 22px 22px; }
.auth__switch button { color: var(--accent); font-weight: 700; }
.auth__switch button:hover { text-decoration: underline; }
.auth__divider {
  display: flex; align-items: center; gap: 12px; padding: 0 22px 4px;
  font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
}
.auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__legal { font-size: 12px; color: var(--muted); line-height: 1.55; }
.auth__legal a { text-decoration: underline; }
.user-chip { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- 18c. Inner pages ---------- */
.pagehead { position: relative; background: var(--teal); color: #fff; overflow: hidden; }
.pagehead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.pagehead__inner { position: relative; z-index: 2; padding: 40px 0 44px; }
.pagehead .crumbs { color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.pagehead .crumbs a:hover { color: #fff; }
.pagehead h1 { font-size: clamp(26px, 5vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.pagehead p { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .88); max-width: 640px; line-height: 1.7; }
.pagehead__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .pagehead__inner { padding: 58px 0 62px; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.panel h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.panel p { font-size: 14.5px; color: var(--slate); line-height: 1.7; }
@media (min-width: 768px) { .panel { padding: 26px; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--slate); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Forms shared by booking / contact / lookup */
.formgrid { display: grid; gap: 14px; }
@media (min-width: 620px) { .formgrid--2 { grid-template-columns: 1fr 1fr; } .formgrid .span2 { grid-column: 1 / -1; } }
.ffield { display: grid; gap: 5px; min-width: 0; }
.ffield label { font-size: 12.5px; font-weight: 600; color: var(--slate); }
.ffield input, .ffield select, .ffield textarea {
  width: 100%; min-width: 0; height: 46px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 15px; background: #fff;
}
.ffield textarea { height: auto; min-height: 120px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.ffield select { appearance: none; cursor: pointer; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234e5860' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.ffield input:focus, .ffield select:focus, .ffield textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(222, 60, 43, .13);
}
.ffield small { font-size: 12px; color: var(--muted); }
.ffield.has-error input, .ffield.has-error select, .ffield.has-error textarea { border-color: #c62828; }
.ffield__msg { font-size: 12px; color: #c62828; }

/* Booking checkout */
.checkout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 360px; gap: 28px; } }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 14px); } }
.summary__media { aspect-ratio: 16 / 9; background: var(--cream-2); position: relative; }
.summary__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.summary__body { padding: 18px; }
.summary__row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 7px 0; }
.summary__row span:last-child { font-weight: 600; white-space: nowrap; }
.summary__rule { height: 1px; background: var(--line-soft); margin: 10px 0; }
.summary__total { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; font-size: 15px; font-weight: 700; }
.summary__total b { font-size: 24px; letter-spacing: -.02em; }
.summary__note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* Confirmation */
.confirm { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 20px; text-align: center; }
.confirm__tick {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: #eaf7ef; color: #0f7b46; display: grid; place-items: center;
}
.confirm h1 { font-size: clamp(22px, 4vw, 30px); font-weight: 700; }
.confirm p { margin-top: 10px; color: var(--slate); font-size: 15px; }
.confirm__ref {
  display: inline-block; margin-top: 18px; padding: 10px 20px; border-radius: 6px;
  background: var(--cream); border: 1px dashed var(--line);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
}
.confirm__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.deftable { display: grid; gap: 0; margin-top: 22px; text-align: left; }
.deftable div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.deftable div:last-child { border-bottom: 0; }
.deftable dt { color: var(--slate); }
.deftable dd { margin: 0; font-weight: 600; text-align: right; }

/* Rewards tiers */
.tiers { display: grid; gap: 16px; }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tier--hero { border-color: var(--accent); box-shadow: 0 6px 22px rgba(222, 60, 43, .13); }
.tier__name { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tier h3 { font-size: 20px; font-weight: 700; }
.tier__req { font-size: 13.5px; color: var(--slate); }
.tier ul { display: grid; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--slate); }
.tier ul li { display: flex; gap: 8px; }
.tier ul svg { flex-shrink: 0; color: var(--green); margin-top: 3px; }

/* Legal / article pages */
.doc { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1024px) { .doc { grid-template-columns: 250px 1fr; gap: 36px; } }
.doc__toc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
@media (min-width: 1024px) { .doc__toc { position: sticky; top: calc(var(--header-h) + 14px); } }
.doc__toc b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.doc__toc a { display: block; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.doc__toc a:last-child { border-bottom: 0; }
.doc__toc a:hover { color: var(--accent); }
.doc__body { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
@media (min-width: 768px) { .doc__body { padding: 32px; } }
.doc__body h2 { font-size: 21px; font-weight: 700; margin: 26px 0 10px; scroll-margin-top: 90px; }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.doc__body p, .doc__body li { font-size: 14.5px; color: var(--slate); line-height: 1.75; }
.doc__body p { margin-bottom: 12px; }
.doc__body ul { display: grid; gap: 8px; margin: 0 0 14px 18px; list-style: disc; }
.doc__updated { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* Contact cards */
.contactgrid { display: grid; gap: 16px; }
@media (min-width: 700px) { .contactgrid { grid-template-columns: repeat(3, 1fr); } }
.contactcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: grid; gap: 8px; }
.contactcard__icon { width: 44px; height: 44px; border-radius: 50%; background: #fdeeec; color: var(--accent); display: grid; place-items: center; }
.contactcard b { font-size: 16px; }
.contactcard p { font-size: 14px; color: var(--slate); }
.contactcard a { font-weight: 700; color: var(--accent); }
.contactcard a:hover { text-decoration: underline; }

/* 404 */
.notfound { text-align: center; padding: 50px 0 60px; }
.notfound b { display: block; font-size: clamp(70px, 18vw, 140px); font-weight: 800; line-height: 1; color: var(--teal); letter-spacing: -.04em; }
.notfound h1 { margin-top: 10px; font-size: clamp(22px, 4vw, 32px); font-weight: 700; }
.notfound p { margin: 12px auto 0; max-width: 520px; color: var(--slate); }
.notfound__links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- 19. Floating helpers ---------- */
.feedback-tab {
  position: fixed; right: 0; top: 46%; z-index: 55;
  background: #4b5257; color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 6px; writing-mode: vertical-rl; border-radius: 3px 0 0 3px;
}
.feedback-tab:hover { background: var(--teal); }
.chat-fab {
  position: fixed; right: 16px; bottom: 74px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-3);
}
.chat-fab:hover { background: var(--accent-dark); }
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--teal-dark); }
@media (max-width: 640px) { .feedback-tab { display: none; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%);
  z-index: 120; background: var(--teal); color: #fff; padding: 13px 20px; border-radius: 3px;
  font-size: 14px; font-weight: 500; box-shadow: var(--sh-3);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.img-fallback { background: linear-gradient(135deg, #cfd6d8 0%, #aab6ba 55%, #8d9ba0 100%) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .utility, .langbar, .footer, .to-top, .chat-fab, .feedback-tab, .searchband, .filters { display: none !important; }
}
