/* ==========================================================================================
   HOTELLIX template - styles added on top of the design system (assets/css/ds/*.css).
   Only tokens (--ds-*) are used here, so light / dark and brand changes follow tokens.css.
   Sections: 0 logo · 1 helpers · 2 toasts · 3 calendar · 4 results · 5 page blocks · 6 forms and auth ·
             7 account · 8 checkout · 9 hotel page extras · 10 static pages · 11 errors
   ========================================================================================== */

/* ---------------------------------------------------------------- 0. logo
   Every place shows the supplied HOTELLIX logo as a pair of files: --on-light (logo.svg, logo-mark.svg) and
   --on-dark (logo-light.svg, logo-mark-light.svg). The theme shows one of them. Sizes set the height only, so the
   logo keeps its own proportions (wordmark 516 x 147, monogram 284 x 147). */
/* a double tap must not zoom the page on touch screens; pinch zoom stays available */
html { touch-action: manipulation; }
.ht-logo { display: block; flex: none; inline-size: auto; max-inline-size: none; }
.ht-logo--on-dark { display: none; }
:root[data-theme="dark"] .ht-logo--on-light { display: none; }
:root[data-theme="dark"] .ht-logo--on-dark { display: block; }
/* customer site header and footer: the wordmark */
:root:not(.ds-bo) .ds-brand .ht-logo { inline-size: auto; block-size: 24px; }
@media (min-width: 576px) { :root:not(.ds-bo) .ds-brand .ht-logo { block-size: 28px; } }
.ds-footer-logo .ht-logo { inline-size: auto; block-size: 30px; }
/* panels: the wordmark with the area name ("Hotel owner", "Admin"); the monogram wherever the brand shows its mark
   only (phones, the owner panel below 992, the collapsed side menu) */
.ds-brand .ds-brand__mark { display: flex; inline-size: auto; block-size: auto; }
.ds-brand__mark .ht-logo { block-size: 24px; }
.ds-brand__name .ht-logo { block-size: 24px; margin-block-end: 2px; }
@media (min-width: 768px) { .ds-brand .ds-brand__mark { display: none; } }
@media (min-width: 768px) and (max-width: 991.98px) { .ds-owner .ds-brand .ds-brand__mark { display: flex; } }
@media (min-width: 992px) { body.vertical-collpsed .ds-brand .ds-brand__mark { display: flex; } }

/* ---------------------------------------------------------------- 1. helpers */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
.ds-skip { position: absolute; z-index: 2000; inset-block-start: 8px; inset-inline-start: 8px; padding: 8px 12px; border-radius: var(--ds-r-md, 8px); background: var(--ds-surface); color: var(--ds-text-strong); }
.ph-bold, .ph-fill { line-height: 1; vertical-align: -0.125em; }
/* every customer page uses the one site container, so content lines up with the header and footer on every page
   (account, checkout, static pages had a 1040 px box; long text keeps its own reading measure via .ht-prose) */
.ht-narrow { max-inline-size: var(--ds-container); }
.ht-pagehead { margin-block: var(--ds-sp-6) var(--ds-sp-5); }
/* Page top: every customer page starts its content 24 px (--ds-sp-6) under the header, like the page heads above. */
/* breadcrumb (hotel and destination pages; ≥768, phones use the header's back link) */
.hv2d-crumb {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-sp-1) var(--ds-sp-2);
  margin-block: var(--ds-sp-6) var(--ds-sp-3);   /* 24 px under the header, the page-top standard */
  font-size: var(--ds-fs-13);
  line-height: var(--ds-lh-18);
  color: var(--ds-text-muted);
}
.hv2d-crumb a {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-sp-1);
  min-block-size: var(--ds-crumb-target);
  color: var(--ds-link);
  font-weight: var(--ds-w-medium);
  text-decoration: none;
}
.hv2d-crumb .current { color: var(--ds-text); font-weight: var(--ds-w-medium); }
@media (hover: hover) { .hv2d-crumb a:hover { text-decoration: underline; } }
@media (min-width: 768px) { .hv2d-crumb { display: flex; } }
@media (min-width: 768px) and (pointer: coarse) { .hv2d-crumb a { min-block-size: var(--ds-target); min-inline-size: var(--ds-target); justify-content: center; } }
/* pages that open with a side menu (policy) or a back link (trip) had no top space at all */
.hv2-container > .ht-two--side:first-child { margin-block-start: var(--ds-sp-6); }
.hv2-container > p:first-child:has(> .ds-back) { margin-block-start: var(--ds-sp-2h); }
.ht-two { display: grid; gap: var(--ds-sp-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .ht-two { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } .ht-two--side { grid-template-columns: 240px minmax(0, 1fr); } }
.ht-stack { display: grid; gap: var(--ds-sp-4); }
.ht-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-3); }
.ht-row--between { justify-content: space-between; }
.ht-muted { color: var(--ds-text-muted); }
.ht-dl { display: grid; gap: var(--ds-sp-2) var(--ds-sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.ht-dl dt { font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); font-weight: var(--ds-w-semibold); color: var(--ds-text-muted); }
.ht-dl dd { margin: 0; color: var(--ds-text-strong); overflow-wrap: anywhere; }
.ht-checks { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2) var(--ds-sp-5); }
.ht-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--ds-sp-3); margin-block-start: var(--ds-sp-5); }
.ht-form-card + .ht-form-card { margin-block-start: var(--ds-sp-4); }
.dropdown-item > i { margin-inline-end: var(--ds-sp-2); }
.ds-acct-menu .dropdown-item, .hotel-card-dropdown .dropdown-item { display: flex; align-items: center; }
button.ds-lang { border: 0; background: transparent; }
.ds-footer-lang.btn-link { color: inherit; text-decoration: none; }
.ds-alert > i[class*="ph-"]:first-child { display: none; }   /* the alert already draws its own icon */
:root .dropdown-menu :is(h1, h2, h3, h4, h5, h6).dropdown-header { margin: 0; font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); letter-spacing: var(--ds-track-overline); }   /* a heading used as a menu header keeps the header size */

/* ---------------------------------------------------------------- 2. toasts and the compare bar */
.ht-toasts { position: fixed; z-index: 2100; inset-block-end: calc(var(--ds-sp-5) + env(safe-area-inset-bottom, 0px)); inset-inline: var(--ds-sp-4); display: grid; gap: var(--ds-sp-2); justify-items: center; pointer-events: none; }
.ht-toasts .ds-toast { pointer-events: auto; display: flex; align-items: center; gap: var(--ds-sp-3); max-inline-size: 420px; inline-size: 100%; }
.ht-toasts .ds-toast > span { flex: 1 1 auto; }
@media (max-width: 767.98px) { .ht-toasts { inset-block-end: calc(72px + env(safe-area-inset-bottom, 0px)); } }
.ht-comparebar { position: fixed; z-index: 1040; inset-inline: var(--ds-sp-4); inset-block-end: calc(var(--ds-sp-4) + env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-inline-size: 520px; display: flex; align-items: center; justify-content: space-between; gap: var(--ds-sp-3);
  padding: var(--ds-sp-3) var(--ds-sp-4); border-radius: 999px; background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: var(--ds-sh-3, 0 12px 32px rgba(0, 0, 0, .18)); font-weight: var(--ds-w-semibold); }
@media (max-width: 767.98px) { .ht-comparebar { inset-block-end: calc(76px + env(safe-area-inset-bottom, 0px)); } }
/* the bar is one line: the count on the left never wraps, the two buttons stay together on the right */
.ht-comparebar__n { display: inline-flex; align-items: center; gap: var(--ds-sp-2); min-inline-size: 0; white-space: nowrap; }
.ht-comparebar__n > i { flex: none; font-size: 18px; color: var(--ds-accent); }
.ht-comparebar__n > span { overflow: hidden; text-overflow: ellipsis; }
.ht-comparebar__acts { display: inline-flex; flex: none; align-items: center; gap: var(--ds-sp-1); }
.ht-comparebar__acts > .ds-btn { white-space: nowrap; }
@media (max-width: 479.98px) {
  .ht-comparebar { inset-inline: var(--ds-sp-3); gap: var(--ds-sp-2); padding: var(--ds-sp-2) var(--ds-sp-2) var(--ds-sp-2) var(--ds-sp-4); font-size: var(--ds-fs-14, 14px); }
  .ht-comparebar__long { display: none; }
}

/* ---------------------------------------------------------------- 3. range calendar */
.ht-cal { position: absolute; z-index: 1080; padding: var(--ds-sp-4); border-radius: var(--ds-r-lg, 16px); background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: var(--ds-sh-3, 0 16px 40px rgba(0, 0, 0, .2)); color: var(--ds-text); inline-size: min(680px, calc(100vw - 16px)); }
.ht-cal__nav { display: flex; justify-content: space-between; margin-block-end: calc(var(--ds-sp-6) * -1); }
.ht-cal__months { display: grid; gap: var(--ds-sp-5); grid-template-columns: 1fr; }
.ht-cal__months .ht-cal__month:nth-child(2) { display: none; }
@media (min-width: 768px) { .ht-cal__months { grid-template-columns: 1fr 1fr; } .ht-cal__months .ht-cal__month:nth-child(2) { display: block; } }
.ht-cal__title { text-align: center; font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); margin-block-end: var(--ds-sp-3); line-height: 32px; }
.ht-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.ht-cal__dow { text-align: center; font-size: var(--ds-fs-12); color: var(--ds-text-muted); padding-block: var(--ds-sp-1); }
.ht-cal__day { aspect-ratio: 1; min-block-size: 36px; border: 0; background: transparent; color: var(--ds-text-strong); border-radius: 999px; font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
.ht-cal__day:hover:not(:disabled) { background: var(--ds-hover); }
.ht-cal__day:disabled { color: var(--ds-text-placeholder, #9aa3ab); cursor: default; text-decoration: line-through; }
.ht-cal__day.is-today { box-shadow: inset 0 0 0 1px var(--ds-border-strong, var(--ds-border)); }
.ht-cal__day.is-in { background: var(--ds-accent-soft); border-radius: 0; }
.ht-cal__day.is-start, .ht-cal__day.is-end { background: var(--ds-accent); color: var(--ds-on-accent, #fff); }
.ht-cal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ds-sp-3); margin-block-start: var(--ds-sp-4); padding-block-start: var(--ds-sp-3); border-block-start: 1px solid var(--ds-border); font-size: var(--ds-fs-14); }

/* ---------------------------------------------------------------- 4. results */
.ht-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-2); margin-block: var(--ds-sp-3); }
.ht-chips:empty { display: none; }
.ht-result-count { margin-block: var(--ds-sp-3); color: var(--ds-text-muted); font-size: var(--ds-fs-14); }
.ht-grid-empty, .ht-empty-card { grid-column: 1 / -1; }
.ht-searchbar { margin-block-end: var(--ds-sp-5); padding: var(--ds-sp-3); border-radius: var(--ds-r-lg, 16px); background: var(--ds-surface); border: 1px solid var(--ds-border); }
/* the search form is already its own card (surface, radius, shadow): no second box around it */
.ht-searchbar:has(> .hv2-search-v3) { padding: 0; border: 0; background: none; border-radius: 0; }
.ds-promo-chip.is-on { background: var(--ds-accent); border-color: var(--ds-accent); color: var(--ds-on-accent, #fff); }
.cf-ft-opt .cf-ft-tick { display: none; margin-inline-start: auto; }
.cf-ft-opt.active .cf-ft-tick { display: inline-block; }
@media (min-width: 768px) {
  .hv2-grid.ht-list { grid-template-columns: 1fr; }
  .hv2-grid.ht-list .hotel-card-link { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
  /* the photo fills its 300px column at the card's height: no 4:3 ratio here (with it, the width followed the stretched
     height and the photo covered the start of the text) */
  .hv2-grid.ht-list .hotel-card-media { aspect-ratio: auto; inline-size: 100%; min-inline-size: 0; block-size: 100%; min-block-size: 210px; }
  .hv2-grid.ht-list .hotel-card-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
  /* one card per row: no two-line reserve under the name (the grid keeps it so names line up across a row) */
  .hv2-grid.ht-list .hotel-card-title, .hv2-grid.ht-list .hotel-card-title-row { min-block-size: 0; }
  /* list view: the photo fills the start edge of the card, and the name leaves room for the two action buttons */
  :root:not(.ds-bo) .hv2-grid.ht-list .hotel-card-media { border-radius: 0; border-start-start-radius: inherit; border-end-start-radius: inherit; }
  :root:not(.ds-bo) .hv2-grid.ht-list .hotel-card-link { border-radius: inherit; }
  .hv2-grid.ht-list .hotel-card-title-row { padding-inline-end: calc(var(--hc-action) * 2 + var(--ds-sp-2)); }
}

/* wide cards (one or two hotels in a row, e.g. "More hotels you may like", and the list view): the photo sits on the
   start edge, so it takes the card's corners there and has square corners beside the text */
@media (min-width: 992px) {
  :root:not(.ds-bo) .hv2-grid:not(:has(> :nth-child(3))):not(.lx-results .hv2-grid) > .hotel-card .hotel-card-link { border-radius: inherit; }
  :root:not(.ds-bo) .hv2-grid:not(:has(> :nth-child(3))):not(.lx-results .hv2-grid) > .hotel-card .hotel-card-media { border-radius: 0; border-start-start-radius: inherit; border-end-start-radius: inherit; }
}
:root[data-cf-view="list"]:not(.ds-bo) .hv2-grid:not(.hv2-more-grid):not(.ht-list) .hotel-card .hotel-card-link { border-radius: inherit; }
:root[data-cf-view="list"]:not(.ds-bo) .hv2-grid:not(.hv2-more-grid):not(.ht-list) .hotel-card .hotel-card-media { border-radius: 0; border-start-start-radius: inherit; border-end-start-radius: inherit; }

/* ---------------------------------------------------------------- 5. page blocks: destination hero, map placeholder, compare, photo viewer */
.ht-dest-hero { position: relative; overflow: hidden; border-radius: var(--ds-r-xl, 20px); min-block-size: 260px; display: grid; align-items: end; margin-block: var(--ds-sp-4) var(--ds-sp-5); color: #fff; }
@media (max-width: 767.98px) { .ht-dest-hero { margin-block-start: var(--ds-sp-6); } }   /* phones hide the breadcrumb: the hero starts the page */
.ht-dest-hero > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ht-dest-hero__cap { position: relative; padding: var(--ds-sp-6); background: linear-gradient(to top, rgba(6, 18, 36, .85), rgba(6, 18, 36, 0)); }
.ht-dest-hero__cap h1 { color: #fff; margin: 0 0 var(--ds-sp-2); }
.ht-dest-hero__cap .ds-eyebrow { color: #F6D68E; margin: 0; }
.ht-dest-hero__cap p { margin: 0; max-inline-size: 60ch; }
.ht-dest-hero__facts { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2) var(--ds-sp-5); margin-block-start: var(--ds-sp-3) !important; font-weight: var(--ds-w-semibold); }
.ht-dest-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* phones: the destination rows scroll sideways; a country with a single city shows it full width in a landscape
   frame instead of a 263 px portrait tile next to empty space */
@media (max-width: 767.98px) {
  .ht-dest-grid > .cf-pop-tile:only-child { flex: 1 1 100%; inline-size: 100%; max-inline-size: none; aspect-ratio: 16 / 10; }
}
/* phones: the step bar shows every step's marker but only the current step's name ("Cho…", "Your…" were cut) */
@media (max-width: 575.98px) {
  .ds-steps .ds-step:not([aria-current="step"]) .ds-step__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ds-steps .ds-step:not([aria-current="step"]) { flex: 1 1 0; }
  .ds-steps .ds-step[aria-current="step"] { flex: 0 1 auto; }
  .ds-steps .ds-step[aria-current="step"] .ds-step__label { overflow: visible; }
  .ds-steps .ds-step[aria-current="step"]:not(:last-child)::after { min-inline-size: var(--ds-sp-6); }
  .ds-steps .ds-step:last-child:not([aria-current="step"]) { flex: none; }
}
.ht-map { position: relative; overflow: hidden; block-size: 320px; border-radius: var(--ds-r-lg, 16px); border: 1px solid var(--ds-border); background: var(--ds-sunken); }
.ht-map__grid { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(var(--ds-border) 1px, transparent 1px), linear-gradient(90deg, var(--ds-border) 1px, transparent 1px); background-size: 48px 48px; }
.ht-map__pin { position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--ds-surface); border: 1px solid var(--ds-border); box-shadow: var(--ds-sh-1, 0 2px 6px rgba(0, 0, 0, .15)); color: var(--ds-text-strong); font-size: var(--ds-fs-12); font-weight: var(--ds-w-semibold); text-decoration: none; white-space: nowrap; }
[dir="rtl"] .ht-map__pin { transform: translate(50%, -100%); }
.ht-map__pin:hover, .ht-map__pin.is-on { background: var(--ds-accent); border-color: var(--ds-accent); color: var(--ds-on-accent, #fff); z-index: 1; }
.ht-map__note { position: absolute; inset-inline-start: var(--ds-sp-3); inset-block-end: var(--ds-sp-2); font-size: var(--ds-fs-12); color: var(--ds-text-muted); }
.ht-compare { padding: 0; }
.ht-compare th[scope="col"] { min-inline-size: 190px; vertical-align: top; }
.ht-compare th[scope="col"] a { display: block; font-weight: var(--ds-w-semibold); margin-block: var(--ds-sp-2) var(--ds-sp-1); }
.ht-compare th[scope="row"] { white-space: nowrap; color: var(--ds-text-muted); font-weight: var(--ds-w-medium); }
.ht-compare__img { inline-size: 100%; block-size: 110px; object-fit: cover; border-radius: var(--ds-r-md, 12px); }
.ht-photos .modal-content { background: #0b0f14; color: #fff; }
.ht-photos .modal-header { border: 0; }
.ht-photos .modal-body { display: flex; align-items: center; justify-content: center; gap: var(--ds-sp-3); }
.ht-photos img { max-inline-size: min(1100px, 100%); max-block-size: 80vh; border-radius: var(--ds-r-md, 12px); object-fit: contain; flex: 1 1 auto; min-inline-size: 0; }
.ht-photos__nav { flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; }
.ht-photos__nav:hover { background: rgba(255, 255, 255, .28); }

/* ---------------------------------------------------------------- 6. forms, sign-in pages */
.ht-plain { min-block-size: 100vh; background: var(--ds-canvas); }
.ht-plain__main { min-block-size: 100vh; display: grid; place-items: center; padding: var(--ds-sp-5) var(--ds-sp-4); }
.ht-code { font-size: 24px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---- sign-in, sign-up and password pages: a photo panel beside the form (stacked below 992px).
   Markup: body.ht-authpage > .ht-auth > aside.ht-auth__visual + main.ht-auth__main.
   The photo panel is always dark (white text on a scrim); the form side follows the palette and light / dark. */
.ht-authpage { margin: 0; min-block-size: 100vh; background: var(--ds-canvas); }
.ht-auth { --ht-auth-ctl: 52px; --ht-auth-r: calc(var(--ds-card-r, 12px) + 10px); display: grid; grid-template-columns: minmax(0, 1fr); min-block-size: 100vh; min-block-size: 100dvh; }

/* photo panel */
.ht-auth__visual { position: relative; isolation: isolate; overflow: hidden; display: flex; min-block-size: clamp(184px, 30vh, 260px); background: var(--ds-night, #0E1C2E); color: #fff; }
.ht-auth__photo { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; animation: ht-auth-photo 1.8s var(--ds-ease-out, ease-out) both; }
.ht-auth__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 15, 26, .66) 0%, rgba(8, 15, 26, .16) 30%, rgba(8, 15, 26, .46) 58%, rgba(8, 15, 26, .94) 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--ds-night, #0E1C2E) 70%, transparent) 0%, color-mix(in srgb, var(--ds-night, #0E1C2E) 16%, transparent) 30%, color-mix(in srgb, var(--ds-night, #0E1C2E) 48%, transparent) 58%, color-mix(in srgb, var(--ds-night, #0E1C2E) 95%, transparent) 100%); }
.ht-auth__visual-in { flex: 1 1 auto; min-inline-size: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--ds-sp-5); padding: var(--ds-sp-5) var(--ds-sp-5) calc(var(--ds-sp-6) + 22px); }
.ht-auth__brandrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-3); }
.ht-auth__brand { display: inline-flex; align-items: center; min-block-size: var(--ds-target, 44px); text-decoration: none; }
.ht-auth__brand .ht-logo { display: block; block-size: 30px; }
.ht-auth__role { display: inline-flex; align-items: center; gap: var(--ds-sp-1h); padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: var(--ds-fs-12); line-height: 18px; font-weight: var(--ds-w-semibold); letter-spacing: .04em; color: #fff; }
.ht-auth__role i { font-size: 14px; color: var(--ds-gold-300, #EBCA6E); }
.ht-auth__eyebrow { display: none; align-items: center; gap: var(--ds-sp-3); margin: 0 0 var(--ds-sp-4); font-size: var(--ds-fs-12); line-height: 16px; font-weight: var(--ds-w-semibold); letter-spacing: .18em; text-transform: uppercase; color: var(--ds-gold-300, #EBCA6E); }
.ht-auth__eyebrow::before { content: ""; flex: none; inline-size: 32px; block-size: 1px; background: currentColor; }
.ht-auth__headline { margin: 0; max-inline-size: 17ch; font-family: var(--ds-font-display, inherit); font-size: clamp(22px, 5.4vw, 28px); line-height: 1.14; font-weight: var(--ds-w-semibold); letter-spacing: -0.022em; color: #fff; text-wrap: balance; }
.ht-auth__sub { display: none; margin: var(--ds-sp-4) 0 0; max-inline-size: 44ch; font-size: var(--ds-fs-16); line-height: 26px; color: rgba(255, 255, 255, .8); }
.ht-auth__perks { display: none; gap: var(--ds-sp-4); margin: var(--ds-sp-8) 0 0; padding: var(--ds-sp-6) 0 0; border-block-start: 1px solid rgba(255, 255, 255, .18); list-style: none; }
.ht-auth__perks li { display: flex; align-items: center; gap: var(--ds-sp-3); min-inline-size: 0; }
.ht-auth__perks i { flex: none; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 18px; color: var(--ds-gold-300, #EBCA6E); }
.ht-auth__perks span { display: block; min-inline-size: 0; font-size: var(--ds-fs-13); line-height: 18px; color: rgba(255, 255, 255, .72); }
.ht-auth__perks b { display: block; font-size: var(--ds-fs-15); line-height: 22px; font-weight: var(--ds-w-semibold); color: #fff; }

/* form side */
.ht-auth__main { position: relative; display: flex; flex-direction: column; min-inline-size: 0; margin-block-start: -22px; padding: var(--ds-sp-5) var(--ds-sp-5) var(--ds-sp-6); border-start-start-radius: 22px; border-start-end-radius: 22px; background: var(--ds-canvas); }
.ht-auth__main:focus { outline: 0; }
.ht-auth__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ds-sp-2) var(--ds-sp-4); min-block-size: var(--ds-target, 44px); font-size: var(--ds-fs-14); line-height: 20px; color: var(--ds-text-2); }
.ht-auth__top:empty { display: none; }
.ht-auth__back { display: inline-flex; align-items: center; gap: var(--ds-sp-2); min-block-size: var(--ds-target, 44px); font-weight: var(--ds-w-medium); color: var(--ds-text-2); text-decoration: none; }
.ht-auth__back i { transition: transform .2s var(--ds-ease-out, ease-out); }
.ht-auth__back:hover { color: var(--ds-text-strong); }
.ht-auth__back:hover i { transform: translateX(-3px); }
[dir="rtl"] .ht-auth__back i, [dir="rtl"] .ht-auth__submit i { transform: scaleX(-1); }
.ht-auth__switch { margin-inline-start: auto; }
.ht-auth__switch a, .ht-auth__alt a { font-weight: var(--ds-w-semibold); text-underline-offset: 3px; }
.ht-auth__panel { inline-size: min(420px, 100%); margin: auto; padding-block: var(--ds-sp-6) var(--ds-sp-5); animation: ht-auth-in .5s var(--ds-ease-out, ease-out) both; }
.ht-auth__kicker { display: flex; align-items: center; gap: var(--ds-sp-2h); margin: 0 0 var(--ds-sp-3); font-size: var(--ds-fs-12); line-height: 16px; font-weight: var(--ds-w-bold); letter-spacing: .16em; text-transform: uppercase; color: var(--ds-highlight-text); }
.ht-auth__kicker::before { content: ""; flex: none; inline-size: 24px; block-size: 2px; border-radius: 2px; background: var(--ds-highlight); }
html.ds .ht-auth .ht-auth__title { margin: 0; font-family: var(--ds-font-display, inherit); font-size: clamp(30px, 3.1vw, 40px); line-height: 1.1; font-weight: var(--ds-w-bold); letter-spacing: -0.028em; color: var(--ds-text-strong); text-wrap: balance; }
.ht-auth__lead { margin: var(--ds-sp-3) 0 var(--ds-sp-6); font-size: var(--ds-fs-15); line-height: 24px; color: var(--ds-text-2); }
.ht-auth__alt { margin: var(--ds-sp-5) 0 0; text-align: center; font-size: var(--ds-fs-14); line-height: 22px; color: var(--ds-text-2); }
.ht-auth__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--ds-sp-1) var(--ds-sp-2); margin: 0; font-size: var(--ds-fs-12); line-height: 18px; color: var(--ds-text-muted); text-align: center; }
.ht-auth__legal i { font-size: 14px; color: var(--ds-highlight-text); }
.ht-auth__note { display: flex; align-items: flex-start; gap: var(--ds-sp-2); margin-block-end: var(--ds-sp-4); padding: var(--ds-sp-3) var(--ds-sp-4); border: 1px solid var(--ds-success-border); border-radius: var(--ds-ctl-r, 8px); background: var(--ds-success-bg); font-size: var(--ds-fs-14); line-height: 20px; color: var(--ds-success-fg); }
.ht-auth__note[hidden] { display: none; }
.ht-auth__note i { flex: none; font-size: 18px; line-height: 20px; }
.ht-auth__note a { color: inherit; font-weight: var(--ds-w-semibold); }

/* demo account: a dashed "key card" above the form */
.ht-demo { display: flex; align-items: center; gap: var(--ds-sp-3); margin-block-end: var(--ds-sp-5); padding: var(--ds-sp-3) var(--ds-sp-4); border: 1px dashed var(--ds-accent-border); border-radius: var(--ds-card-r, 12px); background: var(--ds-accent-soft); }
.ht-demo__icon { flex: none; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--ds-surface); color: var(--ds-accent-fg); font-size: 18px; box-shadow: 0 1px 2px rgba(14, 26, 41, .08); }
.ht-demo__body { flex: 1 1 auto; min-inline-size: 0; font-size: var(--ds-fs-13); line-height: 20px; color: var(--ds-text); overflow-wrap: anywhere; }
.ht-demo__body b { font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
.ht-demo__label { display: block; font-size: var(--ds-fs-11); line-height: 16px; font-weight: var(--ds-w-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-accent-fg); }
.ht-demo__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--ds-surface); font-size: var(--ds-fs-11); line-height: 16px; font-weight: var(--ds-w-semibold); color: var(--ds-accent-fg); white-space: nowrap; }

/* "Continue with ..." buttons and the divider under them */
.ht-auth__social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-sp-3); }
.ht-social { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-sp-2); min-block-size: 48px; padding-inline: var(--ds-sp-3); border: 1px solid var(--ds-border-strong); border-radius: var(--ds-ctl-r, 8px); background: var(--ds-surface); font: inherit; font-size: var(--ds-fs-14); line-height: 20px; font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); cursor: pointer; transition: border-color .15s var(--ds-ease-out, ease-out), background-color .15s var(--ds-ease-out, ease-out), transform .15s var(--ds-ease-out, ease-out); }
.ht-social i { font-size: 18px; }
.ht-social:hover { border-color: var(--ds-text-strong); background: var(--ds-sunken); }
.ht-social:active { transform: translateY(1px); }
.ht-social:focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 2px; }
.ht-auth__or { display: flex; align-items: center; gap: var(--ds-sp-3); margin-block: var(--ds-sp-5); font-size: var(--ds-fs-12); line-height: 16px; font-weight: var(--ds-w-medium); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-text-muted); }
.ht-auth__or::before, .ht-auth__or::after { content: ""; flex: 1 1 0; block-size: 1px; background: var(--ds-border); }

/* fields: a leading icon inside the input, the show / hide password button at its end */
.ht-auth .ds-form-stack { gap: var(--ds-sp-4); }
.ht-auth .ds-form-stack[hidden] { display: none; }
.ht-auth .form-label { margin-block-end: var(--ds-sp-2); font-size: var(--ds-fs-13); line-height: 18px; }
.ht-input { position: relative; }
.ht-input > i { position: absolute; z-index: 1; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; inline-size: 48px; block-size: var(--ht-auth-ctl); font-size: 18px; color: var(--ds-text-muted); pointer-events: none; transition: color .15s var(--ds-ease-out, ease-out); }
.ht-input:focus-within > i { color: var(--ds-accent-fg); }
html.ds .ht-auth .ht-input > .form-control { min-block-size: var(--ht-auth-ctl); padding-inline: 48px var(--ds-sp-4); font-size: var(--ds-fs-16); border-radius: var(--ds-ctl-r, 8px); transition: border-color .15s var(--ds-ease-out, ease-out), box-shadow .15s var(--ds-ease-out, ease-out); }
html.ds .ht-auth .ht-input--pass > .form-control { padding-inline-end: 52px; }
/* e-mail and phone inputs stay left-to-right in a right-to-left page, so the paddings are set by side there */
html.ds[dir="rtl"] .ht-auth .ht-input > .form-control { padding-right: 48px; padding-left: var(--ds-sp-4); }
html.ds[dir="rtl"] .ht-auth .ht-input--pass > .form-control { padding-left: 52px; }
html.ds .ht-auth .ht-input > .form-control:focus { border-color: var(--ds-focus); box-shadow: 0 0 0 4px rgba(28, 70, 122, .16); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-focus) 20%, transparent); }
html.ds .ht-auth .was-validated .ht-input > .form-control:invalid:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-danger-fg) 18%, transparent); }
.ht-auth .was-validated .ht-input:has(> .form-control:invalid) > i { color: var(--ds-danger-fg); }
.ht-input__toggle { position: absolute; z-index: 1; inset-inline-end: 4px; inset-block-start: 4px; display: grid; place-items: center; inline-size: calc(var(--ht-auth-ctl) - 8px); block-size: calc(var(--ht-auth-ctl) - 8px); padding: 0; border: 0; border-radius: calc(var(--ds-ctl-r, 8px) - 2px); background: transparent; font-size: 18px; color: var(--ds-text-muted); cursor: pointer; }
.ht-input__toggle:hover { background: var(--ds-hover); color: var(--ds-text-strong); }
.ht-input__toggle:focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 0; }
.ht-auth .ht-input > .form-text, .ht-auth .ht-input > .invalid-feedback { margin-block-start: var(--ds-sp-1h); font-size: var(--ds-fs-13); line-height: 18px; }
.ht-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: var(--ds-sp-3); font-size: var(--ds-fs-14); }
.ht-auth__row > .ds-check-row { flex: none; white-space: nowrap; }
.ht-auth__row > a { font-weight: var(--ds-w-semibold); text-underline-offset: 3px; }
.ht-auth .ds-check-row { font-size: var(--ds-fs-14); color: var(--ds-text); }
.ht-auth .was-validated .form-check-input:valid { border-color: var(--ds-border-strong); }
.ht-auth .was-validated .form-check-input:valid:checked { border-color: var(--ds-accent); background-color: var(--ds-accent); }
html.ds .ht-auth .ht-auth__submit { display: inline-flex; align-items: center; justify-content: center; min-block-size: var(--ht-auth-ctl); gap: var(--ds-sp-2); font-size: var(--ds-fs-16); font-weight: var(--ds-w-semibold); box-shadow: 0 10px 24px -12px rgba(11, 37, 69, .6); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ds-accent) 70%, transparent); }
.ht-auth__submit i { transition: transform .2s var(--ds-ease-out, ease-out); }
.ht-auth__submit:hover i { transform: translateX(3px); }
[dir="rtl"] .ht-auth__submit:hover i { transform: scaleX(-1) translateX(3px); }
.ht-auth .ht-code { min-block-size: 64px; padding-inline: var(--ds-sp-4); font-size: 28px; font-weight: var(--ds-w-semibold); letter-spacing: .5em; text-indent: .5em; border-radius: var(--ds-ctl-r, 8px); }
.ht-auth__hint { margin: 0; font-size: var(--ds-fs-15); line-height: 24px; color: var(--ds-text-2); }
.ht-auth__hint b { color: var(--ds-text-strong); }
.ht-auth__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ds-sp-1) var(--ds-sp-4); }
.ht-auth__link { display: inline-flex; align-items: center; gap: var(--ds-sp-1h); min-block-size: var(--ds-target, 44px); padding: 0; border: 0; background: none; font: inherit; font-size: var(--ds-fs-14); font-weight: var(--ds-w-semibold); color: var(--ds-link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ht-auth__link:hover { color: var(--ds-link-hover); }

/* sign-up: the two steps, and the password strength meter */
.ht-steps { display: flex; align-items: center; gap: var(--ds-sp-3); margin: 0 0 var(--ds-sp-6); padding: 0; list-style: none; font-size: var(--ds-fs-13); line-height: 18px; font-weight: var(--ds-w-semibold); color: var(--ds-text-muted); }
.ht-steps:not(.ds-steps) li { display: flex; align-items: center; gap: var(--ds-sp-2); white-space: nowrap; }
.ht-steps:not(.ds-steps) li + li { flex: 1 1 auto; }
.ht-steps:not(.ds-steps) li + li::before { content: ""; flex: 1 1 auto; min-inline-size: 24px; block-size: 2px; border-radius: 2px; margin-inline-end: var(--ds-sp-1); background: var(--ds-border); transition: background-color .3s var(--ds-ease-out, ease-out); }
.ht-steps:not(.ds-steps) span { flex: none; display: grid; place-items: center; inline-size: 28px; block-size: 28px; border: 1.5px solid var(--ds-border-strong); border-radius: 50%; font-size: var(--ds-fs-13); font-variant-numeric: tabular-nums; color: var(--ds-text-muted); transition: background-color .3s var(--ds-ease-out, ease-out), border-color .3s var(--ds-ease-out, ease-out), color .3s var(--ds-ease-out, ease-out); }
.ht-steps:not(.ds-steps) li.is-on { color: var(--ds-text-strong); }
.ht-steps:not(.ds-steps) li.is-on span, .ht-steps:not(.ds-steps) li.is-done span { border-color: var(--ds-accent); background: var(--ds-accent); color: var(--ds-on-accent); }
.ht-steps:not(.ds-steps) li.is-on::before, .ht-steps:not(.ds-steps) li.is-done::before { background: var(--ds-accent); }
.ht-strength { display: flex; align-items: center; gap: var(--ds-sp-3); margin-block-start: var(--ds-sp-2); font-size: var(--ds-fs-12); line-height: 16px; font-weight: var(--ds-w-semibold); color: var(--ds-text-muted); }
.ht-strength__bar { flex: 1 1 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ht-strength__bar i { block-size: 4px; border-radius: 4px; background: var(--ds-border); transition: background-color .2s var(--ds-ease-out, ease-out); }
.ht-strength__label { flex: none; min-inline-size: 9ch; text-align: end; }
.ht-strength[data-level="1"] i:nth-child(-n+1) { background: var(--ds-danger-solid); }
.ht-strength[data-level="2"] i:nth-child(-n+2) { background: var(--ds-warning-solid); }
.ht-strength[data-level="3"] i:nth-child(-n+3), .ht-strength[data-level="4"] i { background: var(--ds-success-solid); }
.ht-strength[data-level="1"] .ht-strength__label { color: var(--ds-danger-fg); }
.ht-strength[data-level="2"] .ht-strength__label { color: var(--ds-warning-fg); }
.ht-strength[data-level="3"] .ht-strength__label, .ht-strength[data-level="4"] .ht-strength__label { color: var(--ds-success-fg); }

/* password reset: the "check your inbox" state */
.ht-auth__done { text-align: center; padding-block: var(--ds-sp-2); }
.ht-auth__done[hidden] { display: none; }
.ht-auth__done:focus { outline: 0; }
.ht-auth__done-icon { display: grid; place-items: center; inline-size: 72px; block-size: 72px; margin: 0 auto var(--ds-sp-5); border-radius: 50%; background: var(--ds-success-bg); color: var(--ds-success-fg); font-size: 32px; box-shadow: 0 0 0 10px color-mix(in srgb, var(--ds-success-bg) 45%, transparent); }
.ht-auth__done h2 { margin: 0 0 var(--ds-sp-2); font-size: var(--ds-fs-22); line-height: 28px; font-weight: var(--ds-w-bold); letter-spacing: -0.015em; color: var(--ds-text-strong); }
.ht-auth__done p { margin: 0 0 var(--ds-sp-6); font-size: var(--ds-fs-15); line-height: 24px; color: var(--ds-text-2); overflow-wrap: anywhere; }
.ht-auth__done b { color: var(--ds-text-strong); }

@keyframes ht-auth-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes ht-auth-photo { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .ht-auth__photo, .ht-auth__panel { animation: none; } .ht-auth__back i, .ht-auth__submit i { transition: none; } }
@media (max-width: 379.98px) { .ht-auth__social { grid-template-columns: minmax(0, 1fr); } .ht-demo__tag { display: none; } }
@media (min-width: 576px) {
  .ht-auth__visual-in { padding: var(--ds-sp-6) var(--ds-sp-8) calc(var(--ds-sp-8) + 22px); }
  .ht-auth__main { padding: var(--ds-sp-5) var(--ds-sp-8) var(--ds-sp-6); }
  .ht-auth__headline { max-inline-size: 22ch; }
}
@media (min-width: 992px) {
  .ht-auth { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
  .ht-auth__visual { position: sticky; inset-block-start: var(--ds-sp-4); align-self: start; block-size: calc(100vh - var(--ds-sp-8)); block-size: calc(100dvh - var(--ds-sp-8)); min-block-size: 560px; margin: var(--ds-sp-4); margin-inline-end: 0; border-radius: var(--ht-auth-r); box-shadow: 0 30px 60px -30px rgba(8, 15, 26, .5); }
  .ht-auth__visual-in { padding: clamp(28px, 3vw, 44px); }
  .ht-auth__brand .ht-logo { block-size: 36px; }
  .ht-auth__eyebrow { display: flex; }
  .ht-auth__headline { max-inline-size: 15ch; font-size: clamp(34px, 3.5vw, 54px); line-height: 1.06; letter-spacing: -0.03em; }
  .ht-auth__sub { display: block; }
  .ht-auth__perks { display: grid; }
  .ht-auth__main { margin-block-start: 0; padding: var(--ds-sp-6) clamp(32px, 5vw, 80px); border-radius: 0; }
  .ht-auth__panel { padding-block: var(--ds-sp-8); }
}
@media (min-width: 992px) and (max-height: 719.98px) { .ht-auth__perks { display: none; } }
@media (min-width: 1400px) { .ht-auth { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); } .ht-auth__perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-sp-5); } .ht-auth__perks li { flex-direction: column; align-items: flex-start; } }
@media print { .ht-auth__visual { display: none; } }
.ds-form-stack { display: grid; gap: var(--ds-sp-4); }
/* fields in a row line up at the top (label · input · help text under it). Bottom alignment pushed a field with help
   text ("6 characters or more.") up, so its label and input sat higher than its neighbours'. */
.ds-form-grid { align-items: start; }
/* A check row whose text holds links ("I accept the terms and the privacy policy"): as a flex box every text run
   and link became its own column. Lay the text out as one paragraph, with the box hanging at the start. */
.ds-check-row:has(> :not(input)) { display: block; position: relative; min-block-size: var(--ds-target); padding-block: 10px; padding-inline-start: 28px; line-height: 24px; }
.ds-check-row:has(> :not(input)) > input { position: absolute; inset-inline-start: 0; inset-block-start: 14px; margin: 0; }
.ht-searchbar--flat { padding: 0; border: 0; background: transparent; margin-block-end: var(--ds-sp-3); }
/* The hotel page's stay picker reuses the hero search form (.hv2-search-v3) for its range calendar, but not the hero's
   one-surface grid (white pill, named areas, cell dividers, tinted active cell): undo those, keep four labelled fields. */
form.hv2-search-v3.ht-dates-only { display: block; gap: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; color: inherit; }
form.hv2-search-v3.ht-dates-only::before { content: none; }
.ht-dates-only .cf-dates:not(.is-sheet) { display: grid; gap: var(--ds-sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ht-dates-only .cf-dates:not(.is-sheet) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ht-dates-only .cf-dates:not(.is-sheet) > .cf-dates-f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ht-dates-only .cf-dates:is([aria-expanded="true"], :has(.ds-rc-btn[aria-expanded="true"])) > .cf-dates-f.is-active > .ds-rc-btn { border-color: var(--ds-accent); }
.ht-dates-only .cf-dates-f > .ds-rc-btn { display: flex; align-items: center; gap: var(--ds-sp-2); }
.ht-dates-only .cf-dates:not(.is-sheet) > .cf-dates-f > :is(select, .ds-rc-btn) { inline-size: 100%; max-inline-size: none; justify-self: stretch; }
.ht-dates-only .cf-dates-f > label { font-size: var(--ds-fs-13, 13px); font-weight: var(--ds-w-semibold); }
.ht-dates-only .cf-dates-f > select, .ht-dates-only .cf-dates-f > .ds-rc-btn { min-block-size: 44px; inline-size: 100%; border: 1px solid var(--ds-border-strong, var(--ds-border)); border-radius: var(--ds-r-md, 12px); background: var(--ds-surface); color: var(--ds-text-strong); padding-inline: var(--ds-sp-3); }

/* ---------------------------------------------------------------- 7. account */
.ht-acct-nav { margin-block-end: var(--ds-sp-5); }
/* phones: the section tabs scroll edge to edge, so the cut-off tab reads as "more to the side" rather than clipped at the gutter */
@media (max-width: 767.98px) {
  .ht-acct-nav { margin-inline: calc(var(--ds-gutter) * -1); padding-inline: var(--ds-gutter); scroll-padding-inline: var(--ds-gutter); }
}
.ht-tabs { margin-block-end: var(--ds-sp-4); }
.ht-profile-head { display: flex; align-items: center; gap: var(--ds-sp-3); margin-block-end: var(--ds-sp-5); }
.ht-trip { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
.ht-trip > img { inline-size: 100%; block-size: 160px; object-fit: cover; }
.ht-trip__body { padding: var(--ds-sp-4); display: grid; gap: var(--ds-sp-2); }
.ht-trip__body h2, .ht-trip__body p { margin: 0; }
@media (min-width: 576px) { .ht-trip { grid-template-columns: 200px minmax(0, 1fr); } .ht-trip > img { block-size: 100%; } }
.ht-wallet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ds-sp-4); }
.ht-wallet__amount { font-size: 36px; line-height: 1.1; font-weight: var(--ds-w-bold); color: var(--ds-text-strong); margin: 0; font-variant-numeric: tabular-nums; }
.ht-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-3); }
.ht-refcode { padding: var(--ds-sp-2) var(--ds-sp-4); border-radius: var(--ds-r-md, 12px); border: 1px dashed var(--ds-border-strong, var(--ds-border)); background: var(--ds-sunken); font-size: 22px; font-weight: var(--ds-w-bold); letter-spacing: .08em; color: var(--ds-text-strong); }
.ht-howto { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--ds-sp-4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ht-howto li { display: flex; gap: var(--ds-sp-3); }
.ht-howto li > span { flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: var(--ds-w-bold); }
.ht-howto p { margin: 0; color: var(--ds-text-muted); }
.ht-group-title { font-size: var(--ds-fs-14); font-weight: var(--ds-w-semibold); color: var(--ds-text-muted); margin-block: var(--ds-sp-5) var(--ds-sp-2); }
.ht-alerts { padding: 0; }
.ht-alert { display: flex; gap: var(--ds-sp-3); padding: var(--ds-sp-4); border-block-end: 1px solid var(--ds-border); }
.ht-alert:last-child { border-block-end: 0; }
.ht-alert.is-unread { background: var(--ds-accent-soft); }
.ht-alert__ic { flex: none; inline-size: 40px; block-size: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-sunken); color: var(--ds-accent); font-size: 20px; }
.ht-alert__body { flex: 1 1 auto; min-inline-size: 0; }
.ht-alert__body p { margin: 0; }
.ht-alert__acts { display: flex; align-items: flex-start; gap: var(--ds-sp-1); }
/* phones: "Mark read" and the dismiss button left the message a ~110 px column; they get their own row under it */
@media (max-width: 575.98px) {
  .ht-alert { flex-wrap: wrap; row-gap: var(--ds-sp-1); }
  .ht-alert__body { flex-basis: calc(100% - 40px - var(--ds-sp-3)); }
  .ht-alert__acts { flex-basis: 100%; align-items: center; justify-content: flex-end; white-space: nowrap; }
}

/* ---------------------------------------------------------------- 8. checkout */
.ht-steps { margin-block: var(--ds-sp-6); }   /* 24 px above and below, the page-top standard */
/* the last step has no connector line after it: it takes only its own width, so the bar spans the row evenly
   (as a flex: 1 item it left an empty gap after "Confirmation") */
.ds-steps > .ds-step:last-child { flex: none; }
.ht-paylist { display: grid; gap: var(--ds-sp-2); }
.ht-pay { display: flex; align-items: center; gap: var(--ds-sp-3); padding: var(--ds-sp-3) var(--ds-sp-4); border: 1px solid var(--ds-border); border-radius: var(--ds-r-md, 12px); cursor: pointer; }
.ht-pay:has(input:checked) { border-color: var(--ds-accent); box-shadow: inset 0 0 0 1px var(--ds-accent); }
.ht-pay__ic { font-size: 22px; color: var(--ds-accent); }
.ht-pay small { display: block; color: var(--ds-text-muted); }
.ht-summary { display: grid; gap: var(--ds-sp-4); }
@media (min-width: 992px) { .ht-summary { position: sticky; inset-block-start: calc(var(--ds-header-h, 64px) + var(--ds-sp-4)); } }
.ht-summary__hotel { display: flex; gap: var(--ds-sp-3); }
.ht-summary__hotel img { inline-size: 96px; block-size: 72px; object-fit: cover; border-radius: var(--ds-r-md, 12px); }
.ht-summary__hotel div { display: grid; align-content: start; gap: 2px; min-inline-size: 0; }
/* hotel name reads first; place and room are secondary lines, smaller than the name */
.ht-summary__hotel b { font-size: var(--ds-fs-16, 16px); line-height: var(--ds-lh-22, 22px); }
.ht-summary__hotel .ht-muted { font-size: var(--ds-fs-13, 13px); line-height: var(--ds-lh-18, 18px); }
.ht-summary__note { font-size: var(--ds-fs-12); line-height: var(--ds-lh-16, 16px); margin: 0; }
.ht-price { margin: 0; }
.ht-price td { padding-inline: 0; border-color: var(--ds-border); background: transparent; color: var(--ds-text); }
.ht-price__total td { border-block-end: 0; font-size: var(--ds-fs-16, 16px); }
.ht-confirm { display: grid; gap: var(--ds-sp-3); }
.ht-ref { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-sp-2); margin: 0; }
.ds-btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------------------------------------------------------------- 9. hotel page extras */
.cfh-cols > *, .cfh-main > *, .cfh { min-inline-size: 0; }
.cfh-map.ht-map { overflow: hidden; position: relative; inline-size: 100%; max-inline-size: 100%; min-inline-size: 0; aspect-ratio: auto; block-size: 320px; }
.cfh-near li { flex-wrap: wrap; }
.cfh-bar { position: relative; }
.cfh-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: var(--w, 0%); border-radius: inherit; background: var(--ds-accent); }
.cfh-btn-sm.disabled { opacity: .5; pointer-events: none; }
.cfh-room-stay { color: var(--ds-text-strong); }
/* the stay-total line is filled once dates are picked; until then it drew a lone icon under the price */
.cfh-ok:empty { display: none; }
/* reviews: the hint + "Write a review" row sat flush on the score block */
.cfh-box > .ht-row--between { margin-block-end: var(--ds-sp-5); }
.cfh-box > .ht-row--between > p { margin: 0; }
.ht-reply { margin-block-start: var(--ds-sp-2); padding: var(--ds-sp-3); border-radius: var(--ds-r-md, 12px); background: var(--ds-sunken); }
.ds-hsec a.on { color: var(--ds-text-strong); font-weight: var(--ds-w-semibold); }

/* ---------------------------------------------------------------- 10. static pages */
.ht-prose { max-inline-size: 72ch; }
.ht-prose p { margin-block-end: var(--ds-sp-4); }
.ht-contact-list { list-style: none; padding: 0; display: grid; gap: var(--ds-sp-3); }
.ht-contact-list li { display: flex; align-items: center; gap: var(--ds-sp-3); }
.ht-faq-search { margin-block-end: var(--ds-sp-4); max-inline-size: 420px; }
.ht-about-kpis { margin-block: var(--ds-sp-5); }
@media (min-width: 992px) { .ht-about-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }   /* four figures on one row, not 3 + 1 */
.ht-policy-nav { display: grid; gap: 2px; align-content: start; }
.ht-policy-nav a { padding: var(--ds-sp-2) var(--ds-sp-3); border-radius: var(--ds-r-md, 12px); color: var(--ds-text); text-decoration: none; }
.ht-policy-nav a:hover { background: var(--ds-hover); }
.ht-policy-nav a.is-on { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: var(--ds-w-semibold); }

/* ---------------------------------------------------------------- 11. error pages */
/* Markup: body.ht-plain > .ht-err > header.ht-err__bar + main.ht-err__main > .ht-err__copy + .ht-err__art.
   The picture is the error code itself: its zero is a badge with the icon of the error, and a short note sits below.
   .ht-err--warn | --danger | --info colours the status dot. The picture is sized in em, so its font-size scales all of it. */
.ht-err { min-block-size: 100vh; min-block-size: 100dvh; display: grid; grid-template-rows: auto 1fr; }
.ht-err--warn { --ht-err-tone: var(--ds-warning-solid); }
.ht-err--danger { --ht-err-tone: var(--ds-danger-solid); }
.ht-err--info { --ht-err-tone: var(--ds-info-solid); }
.ht-err__bar { display: flex; align-items: center; padding: var(--ds-sp-4) clamp(16px, 5vw, 56px); }
.ht-err__brand { display: inline-flex; align-items: center; gap: var(--ds-sp-3); min-block-size: var(--ds-target, 44px); text-decoration: none; }
:root .ht-err__brand .ht-logo { inline-size: auto; block-size: 28px; }
.ht-err__app { padding-inline-start: var(--ds-sp-3); border-inline-start: 1px solid var(--ds-border-card); font-size: var(--ds-fs-12); line-height: var(--ds-lh-16); font-weight: var(--ds-w-semibold); letter-spacing: var(--ds-track-overline); text-transform: uppercase; color: var(--ds-text-muted); }
.ht-err__main { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; align-content: center; gap: clamp(28px, 6vw, 88px); inline-size: 100%; max-inline-size: 1120px; margin-inline: auto; padding: var(--ds-sp-4) clamp(16px, 5vw, 56px) clamp(40px, 8vh, 96px); }
.ht-err__main:focus { outline: 0; }

.ht-err__kicker { display: inline-flex; align-items: center; gap: var(--ds-sp-2); margin: 0 0 var(--ds-sp-4); padding: 6px 12px; border: 1px solid var(--ds-border-card); border-radius: 999px; background: var(--ds-surface); font-size: var(--ds-fs-13); line-height: var(--ds-lh-18); font-weight: var(--ds-w-semibold); color: var(--ds-text-2); font-variant-numeric: tabular-nums; }
.ht-err__kicker::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--ht-err-tone, var(--ds-accent)); }
:root .ht-err .ht-err__title { margin: 0 0 var(--ds-sp-3); max-inline-size: 18ch; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; color: var(--ds-text-strong); text-wrap: balance; }
.ht-err__lead { margin: 0; max-inline-size: 46ch; font-size: var(--ds-fs-17); line-height: var(--ds-lh-26); color: var(--ds-text-2); }
.ht-err__actions { display: flex; flex-wrap: wrap; gap: var(--ds-sp-3); margin-block-start: var(--ds-sp-6); }
.ht-err__links { margin-block-start: var(--ds-sp-8); padding-block-start: var(--ds-sp-5); border-block-start: 1px solid var(--ds-border); }
.ht-err__links-label { margin: 0 0 var(--ds-sp-3); font-size: var(--ds-fs-13); line-height: var(--ds-lh-18); font-weight: var(--ds-w-semibold); color: var(--ds-text-muted); }
.ht-err__links ul { display: flex; flex-wrap: wrap; gap: var(--ds-sp-2); margin: 0; padding: 0; list-style: none; }
:root .ht-err__links a { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; padding-inline: 14px; border: 1px solid var(--ds-border-card); border-radius: 999px; background: var(--ds-surface); color: var(--ds-text); font-size: var(--ds-fs-14); font-weight: var(--ds-w-medium); text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
:root .ht-err__links a:hover { border-color: var(--ds-accent-soft-3); background: var(--ds-accent-soft); color: var(--ds-link); }
.ht-err__links a i { font-size: 16px; color: var(--ds-link); }

.ht-err__art { order: -1; position: relative; display: grid; justify-items: center; align-content: center; gap: 1.6em; overflow: hidden; padding: 3.2em 1.5em; border-radius: var(--ds-r-xl, 16px); background: var(--ds-accent-soft); font-size: clamp(10px, 2.8vw, 13px); }
.ht-err__art::before, .ht-err__art::after { content: ""; position: absolute; inset: 50% auto auto 50%; border: 1px solid var(--ds-accent-soft-3); border-radius: 50%; transform: translate(-50%, -50%); opacity: .6; }
.ht-err__art::before { inline-size: 26em; block-size: 26em; }
.ht-err__art::after { inline-size: 38em; block-size: 38em; opacity: .35; }
.ht-err__code { position: relative; z-index: 1; display: flex; align-items: center; gap: .06em; direction: ltr; font-size: 9em; line-height: 1; font-weight: var(--ds-w-bold); letter-spacing: -.04em; color: var(--ds-text-strong); font-variant-numeric: tabular-nums; }
.ht-err__code b { font-weight: inherit; }
.ht-err__zero { flex: none; display: grid; place-items: center; inline-size: .8em; block-size: .8em; margin-inline: .04em; border-radius: 50%; background: var(--ds-highlight); color: var(--ds-on-highlight); box-shadow: 0 0 0 .07em var(--ds-surface), 0 .12em .3em rgba(14, 27, 38, .22); }
.ht-err__zero i { font-size: .42em; line-height: 1; animation: ht-err-nudge 1.6s ease-out .3s both; }
.ht-err__note { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--ds-sp-2); margin: 0; padding: 8px 16px; border: 1px solid var(--ds-border-card); border-radius: 999px; background: var(--ds-surface); font-size: var(--ds-fs-14); line-height: var(--ds-lh-20); font-weight: var(--ds-w-semibold); color: var(--ds-text); text-align: center; }
.ht-err__note::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--ht-err-tone, var(--ds-accent)); }
@keyframes ht-err-nudge { 0% { transform: rotate(-24deg) scale(.6); opacity: 0; } 40% { transform: rotate(14deg) scale(1.08); opacity: 1; } 70% { transform: rotate(-6deg) scale(1); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ht-err__zero i { animation: none; } }
@media (min-width: 900px) {
  .ht-err__main { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .ht-err__art { order: 0; padding-block: 5em; font-size: clamp(13px, 1.35vw, 17px); }
}
@media print { .ht-err__art, .ht-err__actions, .ht-err__links { display: none; } }

/* ---------------------------------------------------------------- 12. select menus on the customer site
   js/panel/select.js opens the list of a <select> as a menu in the look of the admin panel, in place of the system list. */
html.ds:not(.ds-bo) .ap-select { position: fixed; inset: auto; z-index: 1090; display: block; margin: 0; padding: 6px; max-inline-size: min(360px, calc(100vw - 16px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 0; border-radius: 14px; background-color: var(--ds-surface); box-shadow: 0 0 0 1px rgba(14, 27, 38, .08), 0 20px 48px -12px rgba(14, 27, 38, .28), 0 4px 12px -4px rgba(14, 27, 38, .1); transform-origin: 50% 0; animation: ap-select-site-in .14s ease-out both; }
html.ds:not(.ds-bo) .ap-select--up { transform-origin: 50% 100%; }
html.ds:not(.ds-bo) .ap-select .ap-select__opt { display: flex; align-items: center; gap: 8px; inline-size: 100%; min-block-size: 38px; padding: 6px 14px 6px 8px; border: 0; border-radius: 9px; background-color: transparent; color: var(--ds-text); font-family: inherit; font-size: var(--ds-fs-15); line-height: var(--ds-lh-20); font-weight: var(--ds-w-regular); text-align: start; white-space: nowrap; cursor: default; outline: 0; box-shadow: none; }
html.ds[dir="rtl"]:not(.ds-bo) .ap-select .ap-select__opt { padding: 6px 8px 6px 14px; }
html.ds:not(.ds-bo) .ap-select .ap-select__opt > i { flex: none; inline-size: 16px; font-size: 14px; visibility: hidden; }
html.ds:not(.ds-bo) .ap-select .ap-select__opt[aria-selected="true"] { font-weight: var(--ds-w-semibold); color: var(--ds-text-strong); }
html.ds:not(.ds-bo) .ap-select .ap-select__opt[aria-selected="true"] > i { visibility: visible; color: var(--ds-link); }
html.ds:not(.ds-bo) .ap-select .ap-select__opt.is-active, html.ds:not(.ds-bo) .ap-select .ap-select__opt.is-active:is(:hover, :focus, :focus-visible, :active) { background-color: var(--ds-accent); color: var(--ds-on-accent); }
html.ds:not(.ds-bo) .ap-select .ap-select__opt.is-active > i { color: var(--ds-on-accent); }
html.ds:not(.ds-bo) .ap-select .ap-select__opt[aria-disabled="true"] { opacity: .4; pointer-events: none; }
html.ds:not(.ds-bo) .ap-select .dropdown-header { padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--ds-text-muted); }
html.ds:not(.ds-bo) select.is-open { border-color: var(--ds-focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ds-focus) 18%, transparent); outline: 0; }
:root[data-theme="dark"]:not(.ds-bo) .ap-select { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 56px -12px rgba(0, 0, 0, .7); }
@keyframes ap-select-site-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { html.ds:not(.ds-bo) .ap-select { animation: none; } }
@media print {
  .ds-header, .ds-footer, .ds-tabbar, .ht-comparebar, .ht-toasts, .ht-form-actions, .ds-pagehead__actions, .ht-acct-nav, .ds-back, #page-topbar, .vertical-menu, .footer { display: none !important; }
}
