/* Hotel rooms (25 Oct 2026; the hotels.com-style hub and results 26 Oct 2026): the hub, the results page (filters, list,
   map view, compare), the hotel page, checkout, confirmation and My booking, in the site's direction A look (home-a.css
   tokens). Logical properties for Arabic. */

.hx { --hx-r: var(--card-r, 16px); }
.hx .crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; }
.hx .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.hx-crumbs { padding-top: 20px; color: var(--text-2); }
.hx-crumbs a { color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }
.hx-crumbs span { color: var(--text-2); }
[dir=rtl] .hx .crumbs .ico, [dir=rtl] .hx-crumbs .ico { transform: scaleX(-1); }

/* ---------- search bar (where, dates, travellers) ---------- */
.hs-form { display: grid; gap: 10px; align-items: end; grid-template-columns: 1fr; position: relative; }
.hs-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hs-guests { position: relative; }
.hs-guests-btn { display: flex; align-items: center; gap: 8px; text-align: start; cursor: pointer; white-space: nowrap; overflow: hidden; }
.hs-guests-btn span { overflow: hidden; text-overflow: ellipsis; }
.hs-guests-btn .ico { color: var(--blue); flex: none; }
.hs-go { width: 100%; }
.hs-go .ico { width: 18px; height: 18px; }
.hs-form-err { grid-column: 1 / -1; color: var(--danger); font-weight: 600; font-size: 14.5px; }
.hs-where { position: relative; }
.hs-where-in { position: relative; }
.hs-where-in > .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--teal); pointer-events: none; }
.hs-where-in .ctl { padding-inline-start: 40px; }
.hs-where-list { position: absolute; z-index: 40; inset-inline-start: 0; top: calc(100% + 6px); width: max(100%, 340px); max-width: calc(100vw - 32px); max-height: 360px; overflow: auto;
  list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(2,31,69,.18); }
.hs-where-list li { display: grid; gap: 1px; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--text); }
.hs-where-list li b { font-weight: 700; color: var(--navy); }
.hs-where-list li small { font-size: 13px; color: var(--muted); }
.hs-where-list li.is-hotel b { font-weight: 600; }
.hs-where-list li[aria-selected=true], .hs-where-list li:hover { background: var(--mist); }
.hs-where-list .hs-where-none { cursor: default; color: var(--muted); }
@media (min-width: 760px) and (max-width: 1023px) {
  .hs-form { grid-template-columns: 1fr 1fr; }
  .hs-form .hs-where, .hs-form .hs-dates { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hs-form { grid-template-columns: minmax(280px, 1.5fr) minmax(190px, 1fr) auto; }
  .hs-form.has-where { grid-template-columns: minmax(200px, 1.25fr) minmax(280px, 1.5fr) minmax(190px, 1fr) auto; }
  .hs-go { width: auto; }
}
/* the hub's bar: one white pill on wide screens */
.hs-hero .ctl { height: 52px; }
.hs-hero .hs-go { height: 52px; padding-inline: 26px; font-size: 17px; }
.hs-bar .ctl { height: 46px; }
.hs-bar .hs-go { height: 46px; }
/* the guest's nationality (26 Oct 2026: our booking partner prices rooms by it): in the bar where it fits, else a row under it.
   With "Where to?" (hub and results) the five boxes share one row from 1280 px; narrower, two rows, so no date or name is cut. */
@media (min-width: 760px) and (max-width: 1023px) { .hs-form .hs-go { grid-column: 1 / -1; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .hs-form.has-where { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hs-form.has-where .hs-where, .hs-form.has-where .hs-guests { grid-column: span 5; }
  .hs-form.has-where .hs-dates { grid-column: span 7; }
  .hs-form.has-where .hs-nat { grid-column: span 4; }
  .hs-form.has-where .hs-go { grid-column: span 3; }
}
@media (min-width: 1280px) { .hs-form.has-where { grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.25fr) minmax(200px, 1.1fr) minmax(190px, 1fr) auto; } }
@media (min-width: 1024px) {
  .hs-form:not(.has-where) { grid-template-columns: minmax(280px, 1.5fr) minmax(190px, 1fr); }
  .hs-form:not(.has-where) .hs-nat { flex-direction: row; align-items: center; gap: 10px; }
  .hs-form:not(.has-where) .hs-nat .ctl { width: auto; min-width: 260px; max-width: 100%; }
  .hs-form:not(.has-where) .hs-go { width: 100%; }
}
.hs-nat .ctl { text-overflow: ellipsis; }
.hx-nat-line .hs-link { padding: 0; margin-inline-start: 4px; font-size: inherit; }
.hc-nat { display: grid; gap: 4px; }
.hc-nat .hint { margin-inline-start: 32px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hc-nat .hint a { color: var(--blue); }
.hc-nat .hc-err { margin-inline-start: 32px; }

/* the guests window */
.hs-pop { position: absolute; z-index: 30; inset-inline-start: 0; top: calc(100% + 6px); width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(2, 31, 69, .18); padding: 14px 16px 16px; }
.hs-room + .hs-room { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.hs-room-h { display: flex; align-items: center; justify-content: space-between; font-weight: 800; color: var(--navy); font-size: 15px; margin-bottom: 8px; }
.hs-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-weight: 600; font-size: 15px; }
.hs-step { display: inline-flex; align-items: center; gap: 10px; }
.hs-step button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.hs-step button:disabled { opacity: .35; cursor: not-allowed; }
.hs-step output { min-width: 18px; text-align: center; font-weight: 800; }
.hs-ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.hs-ages label { font-size: 12.5px; font-weight: 700; color: var(--label); display: grid; gap: 4px; }
.hs-ages select { height: 40px; }
.hs-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.hs-link { background: none; border: 0; padding: 6px 0; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; }
.hs-pop .btn { height: 42px; padding: 0 18px; }
@media (max-width: 599px) {
  .hs-pop { position: fixed; inset: auto 0 0 0; top: auto; width: 100%; border-radius: 18px 18px 0 0; max-height: 80vh; overflow: auto; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ---------- the hub ---------- */
.hx-hub { background: #fff; }
.hb-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-2); }
.hb-hero-media, .hb-hero-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hb-hero-media img { object-fit: cover; object-position: center 55%; }
.hb-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(2,31,69,.55), rgba(2,31,69,.25) 45%, rgba(2,31,69,.6)); }
.hb-hero-in { padding-block: 40px 30px; display: grid; gap: 22px; }
.hb-hero h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; text-align: center; text-wrap: balance; text-shadow: 0 2px 18px rgba(2,31,69,.45); }
.hb-panel { background: #fff; color: var(--text); border-radius: 22px; padding: 14px; box-shadow: 0 24px 60px rgba(2,31,69,.3); }
@media (min-width: 1024px) {
  .hb-hero-in { padding-block: 92px 84px; gap: 28px; }
  /* one white box with even edges around the labelled boxes (26 Oct 2026, Mohamed: "its white background shape is all
     messed up"): it was a capsule whose round ends bulged around the labels and the boxes */
  .hb-panel { padding: 16px 18px 18px; }
}
.hb-sec { padding-block: 34px 6px; }
.hb-sec:last-of-type { padding-bottom: 40px; }
.hb-h { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.hb-sub { margin-top: 4px; color: var(--text-2); font-size: 15px; }
.hb-cards3 { display: grid; gap: 14px; }
@media (min-width: 900px) { .hb-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.hb-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 8px; align-content: start; background: #fff; }
.hb-card h2 { font-size: 21px; line-height: 1.2; font-weight: 800; color: var(--navy); }
.hb-card p { color: var(--text-2); }
.hb-card a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.hb-card-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #E8F0FB; color: var(--blue); }
.hb-card-ico.is-green { background: #E8F7F0; color: #12805C; }
.hb-card-ico.is-sun { background: #FFF1E0; color: #C05F00; }
.hb-card-ico .ico { width: 24px; height: 24px; }
.hb-promo { display: grid; gap: 18px; align-items: center; background: var(--sand); border: 1px solid #F2DDBF; border-radius: 20px; padding: 20px; overflow: hidden; }
.hb-promo h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 6px 0 8px; }
.hb-promo p { color: var(--text-2); max-width: 34em; }
.hb-promo .btn { margin-top: 14px; }
.hb-promo img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
.hb-new { display: inline-flex; padding: 3px 10px; border-radius: 6px; background: var(--sun); color: var(--navy); font-weight: 800; font-size: 13px; }
@media (min-width: 900px) { .hb-promo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 26px 28px; } }
.hb-tabs { display: flex; gap: 4px; margin-top: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hb-tabs::-webkit-scrollbar { display: none; }
.hb-tabs button { flex: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.hb-tabs button[aria-selected=true] { color: var(--navy); border-bottom-color: var(--navy); }
.hb-picks { margin-top: 18px; }
.hb-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 290px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.hb-row > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .hb-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 18px 20px; } }
.hb-row > .hx-msg { grid-column: 1 / -1; }
.hb-skel { height: 300px; border-radius: 16px; background: linear-gradient(90deg, #E6EDF5 0%, #F3F7FB 50%, #E6EDF5 100%); background-size: 200% 100%; animation: hx-sh 1.3s ease-in-out infinite; }
.hb-pick { display: grid; gap: 10px; text-decoration: none; color: var(--text); }
.hb-pick-img { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--mist); }
.hb-pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hb-pick:hover .hb-pick-img img { transform: scale(1.04); }
.hb-pick-t { display: grid; gap: 3px; }
.hb-pick-name { font-size: 16.5px; line-height: 1.3; color: var(--navy); font-weight: 800; }
.hb-pick:hover .hb-pick-name { text-decoration: underline; text-underline-offset: 3px; }
.hb-pick-area { font-size: 14px; color: var(--text-2); }
.hb-pick .hx-rating { margin-top: 2px; font-size: 13.5px; }
.hb-pick-price { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.hb-pick-price b { font-size: 20px; color: var(--navy); font-weight: 800; }
.hb-pick-total { font-size: 13px; color: var(--muted); }
.hb-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.hb-head-row .btn { height: 42px; }
.hb-areas { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .hb-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.hb-areas a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--navy-2); color: #fff; text-decoration: none; isolation: isolate; }
.hb-areas img, .hb-areas .hx-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s; }
.hb-areas a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(2,31,69,.85), rgba(2,31,69,0) 60%); }
.hb-areas a:hover img { transform: scale(1.05); }
.hb-area-t { position: absolute; inset-inline: 12px; bottom: 10px; display: grid; }
.hb-area-t b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.hb-area-t span { font-size: 13.5px; color: #DCE5F0; }
.hb-more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.hb-more summary::-webkit-details-marker { display: none; }
.hb-more summary .chev { width: 22px; height: 22px; color: var(--navy); transition: transform .2s; }
.hb-more[open] summary .chev { transform: rotate(180deg); }
.hb-links { list-style: none; margin: 14px 0 0; padding: 0; columns: 1; gap: 24px; }
@media (min-width: 640px) { .hb-links { columns: 2; } }
@media (min-width: 1024px) { .hb-links { columns: 3; } }
.hb-links li { break-inside: avoid; padding: 5px 0; }
.hb-links a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- results page: bar, filters, list ---------- */
.hx-search { background: #fff; }
body.hx-noscroll { overflow: hidden; }
.hx-sbar { padding-block: 14px; border-bottom: 1px solid var(--line); background: #fff; }
.hx-sum { display: none; }
@media (max-width: 759px) {
  .hx-js .hx-sbar:not(.is-editing) .hs-form { display: none; }
  .hx-js .hx-sum { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff;
    box-shadow: 0 4px 14px rgba(2,31,69,.08); text-align: start; font: inherit; color: var(--text); cursor: pointer; }
  .hx-sum > .ico { color: var(--navy); flex: none; width: 20px; height: 20px; }
  .hx-sum span { display: grid; min-width: 0; }
  .hx-sum b { font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hx-sum small { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.hx-sgrid { display: grid; gap: 22px; padding-block: 18px 72px; }
@media (min-width: 1024px) { .hx-sgrid { grid-template-columns: 290px minmax(0, 1fr); gap: 30px; padding-top: 22px; } }
.hx-main { min-width: 0; }
.hx-res-h { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 800; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 4px; }

/* the filter panel: a column on wide screens, a full screen panel on phones */
.hx-side { display: none; }
.hx-sheet-head, .hx-sheet-foot { display: none; }
@media (min-width: 1024px) { .hx-side { display: block; } }
@media (max-width: 1023px) {
  .hx-side.is-open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 120; background: #fff; }
  .hx-side.is-open .hx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .hx-side.is-open .hx-sheet-head h2 { font-size: 19px; font-weight: 800; color: var(--navy); outline: none; }
  .hx-side.is-open .hx-side-scroll { flex: 1; overflow: auto; padding: 4px 16px 16px; overscroll-behavior: contain; }
  .hx-side.is-open .hx-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .hx-side.is-open .hx-sheet-foot .btn { flex: 1; max-width: 260px; height: 48px; }
  .hx-side .hx-mapcard { display: none; }
}
.hx-x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--mist); color: var(--navy); display: grid; place-items: center; cursor: pointer; flex: none; }
.hx-x:hover { background: #E1E9F2; }
.hx-mapcard { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.hx-mapthumb { height: 128px; background: #DDE7F1; pointer-events: none; position: relative; z-index: 0; isolation: isolate; }
.hx-mapcard-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 46px; border: 0; border-top: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hx-mapcard-btn:hover { background: var(--mist); }
.hx-cmpcard { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 6px; }
.hx-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.hx-switch span { display: grid; gap: 2px; }
.hx-switch b { color: var(--navy); font-size: 15px; }
.hx-switch small { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.hx-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: #C3CFDD; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.hx-switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.hx-switch input:checked { background: var(--navy); }
.hx-switch input:checked::after { transform: translateX(18px); }
[dir=rtl] .hx-switch input:checked::after { transform: translateX(-18px); }
.hx-switch input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hx-filters { display: grid; }
.hx-fg { border: 0; margin: 0; padding: 16px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.hx-fh { display: block; font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 10px; padding: 0; }
.hx-filterby { font-size: 20px; font-weight: 800; color: var(--navy); padding-top: 20px; margin-bottom: -4px; }
.hx-namebox { position: relative; }
.hx-namebox > .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hx-namebox .ctl { padding-inline-start: 38px; height: 46px; }
.hx-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hx-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; color: var(--text); line-height: 1.3; }
.hx-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); cursor: pointer; }
[data-more-list]:not(.is-open) .is-more { display: none; }
.hx-seemore { margin-top: 6px; }
.hx-stars-pick { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-stars-pick label { position: relative; cursor: pointer; }
.hx-stars-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hx-stars-pick span { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 800; color: var(--navy); }
.hx-stars-pick span .ico { width: 14px; height: 14px; fill: var(--sun); stroke: none; }
.hx-stars-pick input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.hx-stars-pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hx-price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-price-in label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--label); }
.hx-money { position: relative; display: block; }
.hx-money i { position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-weight: 700; font-size: 14px; pointer-events: none; }
.hx-money .ctl { padding-inline-start: 34px; height: 44px; }
.hx-range { position: relative; height: 34px; margin-top: 10px; }
.hx-range::before { content: ""; position: absolute; inset-inline: 10px; top: 15px; height: 4px; border-radius: 4px; background: #D5DFEA; }
.hx-range input { position: absolute; inset-inline: 0; top: 6px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 22px; }
.hx-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); cursor: pointer; }
.hx-range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); cursor: pointer; }
.hx-range input::-webkit-slider-runnable-track { background: none; }
.hx-range input::-moz-range-track { background: none; }
.hx-apply { margin-top: 14px; }

/* phones: the chips above the list */
.hx-mtools { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px 4px; position: sticky; top: var(--head-h, 64px); z-index: 30; background: #fff; padding-block: 8px; }
.hx-mtools::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .hx-mtools { display: none; } }
.hx-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hx-chip .ico { width: 17px; height: 17px; }
.hx-chip[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.hx-chip-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sun); color: var(--navy); font-size: 12px; }

/* the head of the list */
.hx-results { min-height: 260px; }
.hx-results.is-updating .hx-list, .hx-results.is-updating .hx-res-head { opacity: .5; pointer-events: none; transition: opacity .15s; }
.hx-res-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 12px; }
.hx-res-count { display: grid; gap: 2px; }
.hx-res-count b { font-size: 17px; color: var(--navy); }
.hx-res-count span { color: var(--text-2); font-size: 14px; }
.hx-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 100%; }
.hx-how { position: relative; font-size: 13.5px; }
.hx-how summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--text-2); font-weight: 700; list-style: none; }
.hx-how summary::-webkit-details-marker { display: none; }
.hx-how p { position: absolute; z-index: 25; inset-inline-end: 0; top: calc(100% + 6px); width: min(330px, calc(100vw - 32px)); padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(2,31,69,.15); color: var(--text-2); font-size: 14px; }
.hx-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--label); min-width: 0; }
.hx-sort .ctl { height: 42px; width: auto; min-width: 200px; }
@media (max-width: 599px) {
  .hx-tools { width: 100%; justify-content: space-between; }
  .hx-sort { flex: 1 1 auto; }
  .hx-sort .ctl { flex: 1 1 0; min-width: 0; }
  .hx-how p { inset-inline-end: auto; inset-inline-start: 0; }
}
.hx-chips { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hx-fchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; border-radius: 999px; background: #E8F0FB; color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.hx-fchip:hover { background: #D7E4F6; }
.hx-fchip .ico { width: 14px; height: 14px; }

/* a hotel in the list */
.hx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hx-card { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hx-card:hover { border-color: #B8C6D8; box-shadow: 0 8px 22px rgba(2,31,69,.08); }
.hx-card.is-later { display: none; }
.hx-gal { position: relative; grid-row: span 2; background: var(--mist); min-height: 168px; }
.hx-gal-img { position: absolute; inset: 0; display: block; }
.hx-gal-img img { width: 100%; height: 100%; object-fit: cover; }
.hx-gal-img .hx-noimg { height: 100%; }
.hx-gal-btn { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(2,31,69,.25); opacity: 0; transition: opacity .15s; }
.hx-gal-btn .ico { width: 18px; height: 18px; }
.hx-gal-btn.is-prev { inset-inline-start: 8px; }
.hx-gal-btn.is-prev .ico { transform: scaleX(-1); }
[dir=rtl] .hx-gal-btn.is-prev .ico { transform: none; }
[dir=rtl] .hx-gal-btn.is-next .ico { transform: scaleX(-1); }
.hx-gal-btn.is-next { inset-inline-end: 8px; }
.hx-card:hover .hx-gal-btn, .hx-gal-btn:focus-visible { opacity: 1; }
@media (hover: none) { .hx-gal-btn { opacity: 1; width: 28px; height: 28px; } }
.hx-gal-dots { position: absolute; z-index: 2; bottom: 8px; inset-inline: 0; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.hx-gal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.hx-gal-dots i.is-on { background: #fff; }
.hx-save { position: absolute; z-index: 3; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(2,31,69,.2); }
.hx-save .ico { width: 19px; height: 19px; }
.hx-save[aria-pressed=true] { color: #D92D20; }
.hx-save[aria-pressed=true] .ico { fill: currentColor; }
.hx-card-body { padding: 12px 14px 4px; min-width: 0; display: grid; gap: 4px; align-content: start; }
.hx-name { font-size: 17px; line-height: 1.25; font-weight: 800; color: var(--navy); }
.hx-name a { text-decoration: none; color: inherit; }
.hx-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hx-card:hover .hx-name a { text-decoration: underline; text-underline-offset: 3px; }
.hx-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--text-2); font-size: 14px; }
.hx-stars { display: inline-flex; gap: 1px; color: var(--sun); }
.hx-stars .ico { fill: currentColor; stroke: none; width: 14px; height: 14px; }
.hx-km { display: flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.hx-km .ico { color: var(--teal); }
.hx-amen { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13.5px; color: var(--text-2); }
.hx-amen li { display: inline-flex; align-items: center; gap: 5px; }
.hx-amen .ico { width: 15px; height: 15px; color: var(--navy); }
.hx-good { color: #067647; font-weight: 700; font-size: 14px; }
.hx-board { color: var(--text-2); font-weight: 700; font-size: 14px; }
.hx-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; }
.hx-score { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 800; font-size: 13.5px; }
.hx-rw { display: grid; line-height: 1.2; }
.hx-rating b { color: var(--navy); }
.hx-reviews { color: var(--muted); font-size: 13px; }
.hx-cmp-pick { position: relative; z-index: 2; display: none; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; width: fit-content; }
.hx-cmp-pick input { width: 19px; height: 19px; accent-color: var(--navy); margin: 0; }
.is-comparing .hx-cmp-pick { display: inline-flex; }
.hx-card-price { padding: 4px 14px 12px; display: grid; gap: 1px; justify-items: end; text-align: end; align-content: end; }
.hx-amount { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.hx-for, .hx-night { font-size: 13px; color: var(--text-2); }
.hx-tax { font-size: 12.5px; color: var(--muted); }
.hx-none { font-weight: 800; color: var(--navy); }
.hx-card.is-none .hx-gal img { filter: grayscale(.6); opacity: .8; }
@media (min-width: 700px) {
  .hx-card { grid-template-columns: 250px minmax(0, 1fr) 190px; min-height: 196px; }
  .hx-gal { grid-row: auto; }
  .hx-card-body { padding: 16px 16px 14px; }
  .hx-name { font-size: 19px; }
  .hx-card-price { padding: 16px; align-content: end; }
  .hx-amount { font-size: 25px; }
}
@media (min-width: 1280px) { .hx-card { grid-template-columns: 280px minmax(0, 1fr) 200px; } }
.hx-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.hx-more { min-width: 220px; height: 48px; }
.hx-mapfab { position: fixed; z-index: 60; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); height: 46px; padding: 0 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(2,31,69,.35); gap: 8px; }
@media (min-width: 1024px) { .hx-mapfab { display: none; } }

/* the map view */
.hx-mapview { position: fixed; inset: 0; z-index: 110; background: #fff; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); } /* one column the width of the screen: a long title never widens the map */
.hx-mapview[hidden] { display: none; }
.hx-mapview-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.hx-mapview-bar h2 { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-mapview-map { min-height: 0; background: #DDE7F1; position: relative; z-index: 0; isolation: isolate; }
.hx-mapview-card { position: absolute; z-index: 1000; inset-inline: 12px; bottom: max(14px, env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto; }
.hx-mapcard-hotel { display: grid; grid-template-columns: 130px minmax(0, 1fr); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 36px rgba(2,31,69,.3); text-decoration: none; color: var(--text); }
.hx-mapcard-hotel img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.hx-mapcard-hotel > span { display: grid; gap: 3px; padding: 12px 14px; align-content: start; }
.hx-mapcard-hotel b { color: var(--navy); font-size: 16px; line-height: 1.25; }
.hx-mapcard-hotel small { color: var(--text-2); font-size: 13px; }
.hx-mapcard-hotel .hx-score { width: fit-content; }
.hx-mapcard-hotel strong { font-size: 20px; color: var(--navy); }
.hx-mapcard-hotel .btn { margin-top: 6px; height: 40px; width: fit-content; }
.hx-pin, .hx-bubble { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; font: inherit; font-weight: 800; cursor: pointer; }
.hx-pin { background: var(--navy); color: #fff; font-size: 13px; padding: 5px 9px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(2,31,69,.35); }
.hx-pin:hover, .hx-pin.is-hot { background: var(--sun); color: var(--navy); z-index: 1000; }
.hx-bubble { background: #fff; color: var(--navy); font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 2px solid var(--navy); box-shadow: 0 3px 8px rgba(2,31,69,.25); }
.hx-bubble:hover { background: var(--mist); }
.leaflet-div-icon { background: none; border: 0; }

/* compare */
.hx-cmptray { position: fixed; z-index: 70; inset-inline: 0; bottom: 0; background: var(--navy); color: #fff; padding-block: 10px max(10px, env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(2,31,69,.25); }
.hx-cmptray-in { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.hx-cmptray-in p { flex: 1; font-weight: 700; }
.hx-cmptray .hs-link { color: #fff; }
.hx-cmptray .btn { height: 42px; }
.hx-cmptray .btn:disabled { opacity: .5; }
.hx-cmp { width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(2,31,69,.4); }
.hx-cmp::backdrop { background: rgba(2,31,69,.55); }
.hx-cmp-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.hx-cmp-head h2 { font-size: 20px; font-weight: 800; color: var(--navy); }
.hx-cmp-body { overflow-x: auto; padding: 4px 8px 16px; }
.hx-cmp-table { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: calc(130px + 165px * var(--n, 2)); font-size: 14.5px; }
.hx-cmp-table tbody th, .hx-cmp-table thead td:first-child { width: 130px; position: sticky; inset-inline-start: 0; z-index: 1; background: #fff; }
.hx-cmp-table th, .hx-cmp-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.hx-cmp-table tbody th { color: var(--muted); font-weight: 700; font-size: 13.5px; }
.hx-cmp-table thead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 8px; }
.hx-cmp-table thead a { color: var(--navy); font-weight: 800; display: block; }
.hx-cmp-a { display: inline-block; margin: 0 6px 4px 0; padding: 2px 8px; border-radius: 999px; background: var(--mist); font-size: 12.5px; }
.hx-cmp-table .btn { height: 40px; }

/* the hotel page: map of the area */
.hh-area-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .hh-area-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.hh-map { height: 300px; border-radius: 16px; border: 1px solid var(--line); background: #DDE7F1; position: relative; z-index: 0; isolation: isolate; }
.hh-area-name { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.hh-area-name .ico { color: var(--teal); }
.hh-near { list-style: none; margin: 0; padding: 0; display: grid; }
.hh-near li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hh-near-n { font-weight: 600; color: var(--text); }
.hh-near-km { color: var(--text-2); white-space: nowrap; }
.hh-pin, .hh-place { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; font-weight: 800; border-radius: 10px; box-shadow: 0 3px 8px rgba(2,31,69,.3); }
.hh-pin { background: var(--sun); color: var(--navy); padding: 6px 10px; font-size: 13.5px; border: 2px solid #fff; }
.hh-place { background: #fff; color: var(--navy); padding: 3px 8px; font-size: 12px; border: 1.5px solid var(--navy); }
@media (max-width: 600px) { .hh-pin { white-space: normal; width: max-content; max-width: 190px; text-align: center; line-height: 1.25; } } /* long hotel names wrap on phones instead of running off the map */

/* ---------- messages, test mode, loading ---------- */
.hx-msg { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); margin-block: 12px; }
.hx-msg > .ico { color: var(--blue); margin-top: 2px; }
.hx-msg p { flex: 1 1 100%; }
.hx-msg > .ico + * { flex: 1; }
.hx-msg-err { border-color: #F3C2BD; background: #FEF3F2; }
.hx-msg-err > .ico { color: var(--danger); }
.hx-msg-warn { border-color: #F5D9A8; background: var(--sand); }
.hx-msg-ok { border-color: #A7DFC7; background: #ECFDF3; }
.hx-msg-ok > .ico { color: #067647; }
.hx-test { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: #FFF4D6; border: 1px dashed #D9A031; color: #6A4A06; font-size: 14px; font-weight: 600; margin-block: 0 14px; }
.hx-test .ico { flex: none; }
.hx-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.hx-start { padding: 26px 22px; border-radius: var(--hx-r); background: #fff; border: 1px solid var(--line); }
.hx-start-h { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 18px; }
.hx-start-h .ico { color: var(--sun); }
.hx-start-p { margin-top: 6px; color: var(--text-2); }
.hx-loading { display: grid; gap: 12px; }
.hx-loading p { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.hx-spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #C9D6E6; border-top-color: var(--blue); animation: hx-spin .8s linear infinite; flex: none; }
@keyframes hx-spin { to { transform: rotate(360deg); } }
.hx-skel { height: 132px; border-radius: var(--hx-r); background: linear-gradient(90deg, #E6EDF5 0%, #F3F7FB 50%, #E6EDF5 100%); background-size: 200% 100%; animation: hx-sh 1.3s ease-in-out infinite; }
@keyframes hx-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .hx-spin, .hx-skel { animation: none; } }

/* ---------- hotel page ---------- */
.hx-hotel { padding-bottom: 56px; }
.hh-head { margin-top: 12px; }
.hh-head h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.hh-latin { margin-top: 2px; color: var(--muted); font-weight: 600; }
[dir=rtl] .hh-latin { text-align: right; } /* the hotel's own Latin name sits under its Arabic name, not across the page */
.hh-head .hx-meta .hx-rating { margin-top: 0; }
.hh-gallery { margin-top: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--hx-r); }
.hh-ph { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; background: var(--mist); border-radius: 12px; overflow: hidden; }
.hh-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .hh-gallery { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; overflow: hidden; }
  .hh-ph { aspect-ratio: auto; border-radius: 0; }
  .hh-ph.is-main { grid-row: span 2; }
  .hh-ph:nth-child(n+6) { display: none; }
}
@media (min-width: 1100px) { .hh-gallery { grid-template-rows: 220px 220px; } }
.hh-grid { display: grid; gap: 28px; margin-top: 26px; }
@media (min-width: 1024px) { .hh-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .hh-side { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; } }
.hh-main > section + section { margin-top: 34px; }
.hh-main h2, .hh-card h2 { font-size: 23px; line-height: 1.2; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.hh-card h2 { font-size: 19px; }
.hh-form { background: var(--mist); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.hh-for { margin-bottom: 12px; color: var(--text-2); }
.hh-for b { color: var(--navy); }
.hh-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hh-type { border: 1px solid var(--line); border-radius: var(--hx-r); background: #fff; overflow: hidden; }
.hh-type-name { display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; font-size: 17.5px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.hh-type-name .ico { color: var(--sun); }
.hh-type-max { display: flex; align-items: center; gap: 6px; padding: 0 16px 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.hh-opts { list-style: none; margin: 0; padding: 0; }
.hh-opt { display: grid; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); grid-template-columns: 1fr; align-items: center; }
.hh-opt-info { display: grid; gap: 5px; }
.hh-board, .hh-cx { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--text-2); }
.hh-board .ico { color: var(--sun); }
.hh-cx.is-good { color: #05603A; }
.hh-multi { font-size: 13px; color: var(--muted); }
.hh-opt-price .hx-amount { font-size: 22px; }
.hh-hold .btn { width: 100%; }
@media (min-width: 640px) {
  .hh-opt { grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; }
  .hh-opt-price { text-align: end; }
  .hh-hold .btn { width: auto; min-width: 128px; }
}
.hh-card { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-r); padding: 18px; }
.hh-transfer { background: var(--sand); border-color: #F2DDBF; }
.hh-transfer .btn { margin-top: 12px; width: 100%; }
.hh-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.hh-points li { display: flex; gap: 8px; }
.hh-points .ico { color: var(--blue); margin-top: 3px; }
.hh-desc { display: grid; gap: 10px; color: var(--text); }
.hh-src { margin-top: 8px; font-size: 13px; color: var(--muted); }
.hh-fac { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.hh-fac li { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-2); }
.hh-fac .ico { color: #12805C; }
@media (min-width: 760px) { .hh-fac { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hh-times { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.hh-times div { background: var(--mist); border-radius: 12px; padding: 10px 14px; }
.hh-times dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.hh-times dd { margin: 0; font-weight: 800; color: var(--navy); font-size: 17px; }
.hh-pol { margin-top: 12px; }
.hh-pol h3 { font-size: 15.5px; font-weight: 800; color: var(--navy); }
.hh-pol p { color: var(--text-2); font-size: 15px; }

/* ---------- checkout, confirmation, My booking ---------- */
.hx-checkout, .hx-done, .hx-manage { padding-bottom: 64px; background: var(--mist); }
.hc-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 14px 0 18px; }
.hc-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .hc-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .hc-sum { position: sticky; top: calc(var(--head-h) + 16px); } }
.hc-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 16px; padding: 0; }
.hc-steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: 15px; }
.hc-steps li + li::before { content: ""; width: 26px; height: 2px; background: var(--line-strong); margin-inline-end: 4px; }
.hc-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-strong); font-size: 14px; }
.hc-steps .is-current { color: var(--navy); }
.hc-steps .is-current span { background: var(--navy); border-color: var(--navy); color: #fff; }
.hc-steps .is-done span { background: #12805C; border-color: #12805C; color: #fff; }
.hc-hold { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); font-weight: 600; margin-bottom: 12px; }
.hc-form, .hc-pay { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-r); padding: 18px; }
.hc-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.hc-form legend { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.hc-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .hc-row { grid-template-columns: 1fr 1fr; } }
.hc-room { border-top: 1px solid var(--line); padding-top: 12px; }
.hc-room-h { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.hc-err { color: var(--danger); font-size: 13.5px; font-weight: 600; }
.ctl[aria-invalid=true] { border-color: var(--danger); }
.hc-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-2); cursor: pointer; }
.hc-agree input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.hc-agree a { color: var(--blue); }
.hc-next { justify-self: start; }
.hc-next .ico { width: 16px; height: 16px; }
.hc-pay { margin-top: 0; display: grid; gap: 12px; outline: none; }
.hc-pay h2 { font-size: 20px; font-weight: 800; color: var(--navy); }
.hc-pay-p { display: flex; gap: 8px; color: var(--text-2); font-size: 14.5px; }
.hc-pay-p .ico { color: #12805C; margin-top: 3px; }
.hc-recap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; background: var(--mist); border-radius: 12px; }
.hc-recap-h { font-weight: 800; color: var(--navy); flex: 1 1 100%; font-size: 14px; }
.hc-recap p[data-recap-line] { flex: 1; color: var(--text-2); overflow-wrap: anywhere; }
.hc-edit { background: none; border: 0; color: var(--blue); font-weight: 700; text-decoration: underline; padding: 4px 0; }
/* The partner's card form is laid out left to right (card numbers), also on Arabic pages, at full width. */
.hc-sdk { min-height: 120px; direction: ltr; width: 100%; }
.hc-sdk > * { width: 100%; }
/* The partner's own Pay button, in the site's look (its form adds the amount in our words). */
#targetElement .lp-submit-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 14px; padding: 0 22px;
  border: 0; border-radius: var(--btn-r, 10px); background: var(--sun); color: var(--navy); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
#targetElement .lp-submit-button:hover { background: #FFA040; }
#targetElement .lp-submit-button:disabled { opacity: .6; cursor: progress; }
@media (min-width: 640px) { #targetElement .lp-submit-button { width: auto; min-width: 260px; } }
.hc-state h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; color: var(--navy); font-weight: 800; flex: 1 1 100%; }
.hc-sum .hh-card { display: grid; gap: 14px; }
.hc-sum-name { margin: 0 !important; }
.hc-dl { display: grid; gap: 8px; margin: 0; }
.hc-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.hc-dl dt { color: var(--muted); font-weight: 600; }
.hc-dl dd { margin: 0; font-weight: 700; color: var(--text); text-align: end; }
.hc-rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.hc-room-name { font-weight: 700; color: var(--navy); }
.hc-room-meta { font-size: 14px; color: var(--text-2); }
.hc-cx { border-radius: 12px; background: var(--mist); padding: 12px 14px; }
.hc-cx.is-good { background: #E8F7F0; }
.hc-cx-h { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); }
.hc-cx.is-good .hc-cx-h { color: #05603A; }
.hc-cx ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: 14px; color: var(--text-2); display: grid; gap: 3px; }
.hc-total { border-top: 1px solid var(--line); padding-top: 12px; }
.hc-total p:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.hc-total strong { font-size: 26px; color: var(--navy); font-weight: 800; }
.hc-tax { font-size: 13.5px; color: var(--muted); }
.hc-terms summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: 14px; }
.hc-terms p { margin-top: 6px; font-size: 13.5px; color: var(--text-2); white-space: pre-line; max-height: 240px; overflow: auto; }
.hc-ref { font-size: 13.5px; color: var(--muted); }
.hd-head { display: flex; align-items: center; gap: 14px; margin: 20px 0 16px; padding: 18px 20px; border-radius: var(--hx-r); background: #E8F7F0; border: 1px solid #A7DFC7; }
.hd-head > .ico { width: 40px; height: 40px; color: #12805C; flex: none; }
.hd-head.is-cancelled { background: #FEF3F2; border-color: #F3C2BD; }
.hd-head.is-cancelled > .ico { color: var(--danger); }
.hd-head h1 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--navy); }
.hd-ids { display: grid; gap: 10px; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--hx-r); padding: 16px 18px; }
.hd-ids dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.hd-ids dd { margin: 0; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: 0.04em; }
.hd-h { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.hd-steps { margin: 0 0 18px; padding-inline-start: 20px; display: grid; gap: 6px; color: var(--text-2); }
.hd-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hm-find { display: grid; gap: 14px; max-width: 720px; }
.hm-status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 13.5px; background: var(--mist); color: var(--navy); width: fit-content; }
.hm-status.is-confirmed { background: #E8F7F0; color: #05603A; }
.hm-status.is-cancelled { background: #FEF3F2; color: var(--danger); }
.hm-cancel { display: grid; gap: 12px; margin-bottom: 16px; }
.hm-cancel-btn { color: var(--danger); border-color: var(--danger); }
.hx-manage .hc-sum { display: grid; gap: 16px; }
@media print { .site-head, .site-foot, .hd-acts, .hh-transfer, .hx-looks { display: none !important; } .hx-done { background: #fff; } }

/* ---------- the rooms band on a hotel's airport transfer page ---------- */
.hx-cross-in { display: grid; gap: 16px; align-items: center; padding: 22px; border-radius: var(--card-r, 16px); background: var(--sand); border: 1px solid #F2DDBF; }
.hx-cross-in h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.hx-cross-in .sec-p { margin-top: 8px; }
.hx-cross-in .btn { justify-self: start; }
@media (min-width: 800px) { .hx-cross-in { grid-template-columns: minmax(0, 1fr) auto; padding: 26px 30px; } }
