/* ============================================================================
   Digitour — qatar.css
   Qatar package tours (flight + hotel + insurance): landing page, live results,
   options modal, booking modal and the hotel page. Built on the shared tokens
   from base.css and the shared .filters/.check/.modal components; every class of
   its own is prefixed qt- (icons: qi) so nothing can collide with another page.
   Visual language follows the UAE page: deep green + gold, serif headings, white
   cards on ivory/sand sections.
   ========================================================================== */

/* ── Small icons (amenities, baggage) ────────────────────────────────────── */
.qi { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.qi--lg { width: 22px; height: 22px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.qt-hero__incl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
  margin: 4px 2px 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--on-dark-2);
}
.qt-hero__incl li { display: inline-flex; align-items: center; gap: 7px; }
.qt-hero__incl .i, .qt-hero__incl .qi { color: var(--gold); }
.qt-page .phero--dest .phero__bg img { object-position: center 60%; }

/* ── Results header ──────────────────────────────────────────────────────── */
.qt-head { margin-bottom: 20px; }
.qt-head .t-h2 { margin: 4px 0 0; }
.qt-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.qt-summary__chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--g50); border: 1px solid var(--g100); color: var(--g800); font-size: .8125rem; font-weight: 600;
}
.qt-summary__chip .i { color: var(--g600); }
.qt-summary__clear { font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.qt-summary__clear:hover { color: var(--g700); }
.qt-alert { margin-bottom: 20px; }
[data-qt-layout][hidden] { display: none; }

/* ── Loading / notes ─────────────────────────────────────────────────────── */
.qt-state:empty { display: none; }
.qt-loading {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; margin-bottom: 20px;
  border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--gold-soft);
}
.qt-loading__spin { flex-shrink: 0; color: var(--gold-dark); margin-top: 2px; }
.qt-loading__text { flex: 1; min-width: 0; }
.qt-loading__title { margin: 0; font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); }
.qt-loading__sub { margin: 3px 0 12px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.qt-progress { height: 5px; border-radius: 999px; background: rgba(15,81,56,.12); overflow: hidden; }
.qt-progress span { display: block; height: 100%; width: 38%; border-radius: 999px; background: linear-gradient(90deg, var(--g600), var(--gold)); animation: qt-slide 1.8s ease-in-out infinite; }
@keyframes qt-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(270%); } }

.qt-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg);
  background: var(--ivory); border: 1px solid var(--line);
}
.qt-note > .i { flex-shrink: 0; margin-top: 2px; color: var(--g600); }
.qt-note--err > .i { color: var(--danger); }
.qt-note__title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; }
.qt-note__text { margin: 0 0 12px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.qt-note__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qt-note__actions:empty { display: none; }
.qt-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qt-suggest__loading { font-size: .8125rem; color: var(--muted); }
.qt-suggest__chip {
  display: inline-flex; flex-direction: column; padding: 8px 14px; border-radius: var(--r-md);
  background: var(--white); border: 1.5px solid var(--g600); color: var(--g800); text-decoration: none;
  font-size: .8125rem; font-weight: 700; line-height: 1.3; transition: background-color var(--dur-1) ease;
}
.qt-suggest__chip small { font-weight: 500; color: var(--muted); font-size: .6875rem; }
.qt-suggest__chip:hover { background: var(--g50); }
.qt-note--inline { margin-top: 4px; }

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.qt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.qt-toolbar .mdresults__count { margin: 0; font-size: .875rem; }
.qt-sort { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.qt-sort .select--sm { min-width: 170px; }
.qt-boardnote {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; padding: 9px 14px;
  border-radius: var(--r-md); background: var(--g50); border: 1px solid var(--g100); color: var(--g800);
  font-size: .8125rem; line-height: 1.45;
}
.qt-boardnote[hidden] { display: none; }
.qt-boardnote .i { color: var(--g600); flex-shrink: 0; }
.qt-boardnote span { flex: 1 1 240px; min-width: 0; }
.qt-boardnote button { flex-shrink: 0; padding: 4px 2px; font-size: .8125rem; font-weight: 700; color: var(--g700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qt-boardnote button:hover { color: var(--g600); }
.qt-empty { text-align: center; padding: 40px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--ivory); }
.qt-empty[hidden] { display: none; }
.qt-empty .i { color: var(--g600); margin: 0 auto 10px; }
.qt-empty .t-body { max-width: 46ch; margin: 0 auto 16px; color: var(--muted); }

/* ── Grid + card ─────────────────────────────────────────────────────────── */
.qt-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.qt-grid[hidden] { display: none; }
@media (min-width: 620px)  { .qt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .qt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.qt-grid--static > * { min-width: 0; }
@media (min-width: 1024px) { .qt-popular .qt-grid--static { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 1023px) { .qt-popular .qt-grid--static { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.qt-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; min-width: 0;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, transform var(--dur-2) var(--ease);
}
.qt-card:hover { border-color: var(--g600); box-shadow: var(--sh-2); transform: translateY(-2px); }
.qt-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px; min-width: 0; }
.qt-card__loc { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font-size: .75rem; font-weight: 600; color: var(--g600); min-width: 0; }
.qt-card__loc .i { flex-shrink: 0; }
.qt-card__loc span:not(.qt-card__stars) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-card__stars { color: var(--gold); letter-spacing: 1px; margin-left: 4px; white-space: nowrap; }
.qt-card__name { margin: 0 0 10px; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.32; }
.qt-card__name a, .qt-card__namebtn {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ink); text-decoration: none; min-height: 2.64em; text-align: left; font: inherit;
}
.qt-card__name a:hover, .qt-card__namebtn:hover { color: var(--g700); text-decoration: underline; }
.qt-card--static .qt-card__cta { margin-top: auto; width: 100%; justify-content: center; }
.qt-card--static .qt-amen { margin-bottom: 16px; }

/* media: photo or designed placeholder */
.qt-media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  background: linear-gradient(135deg, var(--g800), var(--g600)); overflow: hidden; cursor: pointer; text-align: left;
}
a.qt-media { cursor: pointer; }
.qt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.qt-card:hover .qt-media img { transform: scale(1.04); }
.qt-media:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.qt-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(10,46,32,.42)); }
.qt-media__stars {
  position: absolute; left: 12px; bottom: 11px; z-index: 2; padding: 3px 9px; border-radius: 999px;
  background: rgba(10,46,32,.72); color: var(--gold); font-size: .75rem; letter-spacing: 1.5px; line-height: 1.5;
  backdrop-filter: blur(4px);
}
.qt-media__flag {
  position: absolute; right: 12px; top: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px;
  background: #fdf1d6; color: #7a5a00; font-size: .6875rem; font-weight: 700;
}
/* placeholder: gradient + star lattice + monogram (six tones keyed by hotel id) */
.qt-media--fb { --qt-a: #0a2e20; --qt-b: #146b4b; background: linear-gradient(135deg, var(--qt-a), var(--qt-b)); }
.qt-media--fb[data-tone="1"] { --qt-a: #0d3327; --qt-b: #1b855d; }
.qt-media--fb[data-tone="2"] { --qt-a: #0c2b3b; --qt-b: #1c6a75; }
.qt-media--fb[data-tone="3"] { --qt-a: #3a1220; --qt-b: #7c2c44; }
.qt-media--fb[data-tone="4"] { --qt-a: #4a3810; --qt-b: #a8871c; }
.qt-media--fb[data-tone="5"] { --qt-a: #14233f; --qt-b: #2f5185; }
.qt-media__pattern {
  position: absolute; inset: 0; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.11' stroke-width='1'%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, rgba(0,0,0,.35) 75%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, rgba(0,0,0,.35) 75%);
}
.qt-media--fb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(201,162,39,.30), transparent 55%);
}
.qt-media__mono {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-family: var(--serif); font-size: 4.75rem; font-weight: 600; line-height: 1;
  color: rgba(240,227,182,.92); text-shadow: 0 6px 30px rgba(0,0,0,.35);
}

/* amenities + boards */
.qt-amen { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 0 0 10px; padding: 0; list-style: none; font-size: .75rem; color: var(--muted); }
.qt-amen li { display: inline-flex; align-items: center; gap: 5px; }
.qt-amen .qi { color: var(--g600); }
.qt-card__boards { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.qt-mini { padding: 2px 8px; border-radius: 999px; background: var(--g50); color: var(--g800); font-size: .6875rem; font-weight: 700; }

/* the price block always sits at the bottom so cards in a row line up */
.qt-card__live { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.qt-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.qt-price__from { font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.qt-price__amt { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1.1; color: var(--g900); }
.qt-price .price-amd { font-size: .75rem; font-weight: 600; color: var(--g600); white-space: nowrap; }
.qt-price__note { margin: 0 0 8px; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.qt-card__cta { width: 100%; justify-content: center; }
.qt-card.is-request .qt-price__amt { color: var(--ink); }

/* skeleton */
.qt-card--skel { pointer-events: none; }
.qt-card--skel:hover { transform: none; box-shadow: none; border-color: var(--line); }
.qt-skel, .qt-skel__line { background: linear-gradient(90deg, var(--sand) 25%, #f8f5ee 50%, var(--sand) 75%); background-size: 200% 100%; animation: qt-shimmer 1.4s linear infinite; }
.qt-skel::after { display: none; }
.qt-skel__line { display: block; height: 12px; border-radius: 6px; margin-bottom: 10px; }
.qt-skel__line--sm { width: 34%; height: 10px; }
.qt-skel__line--md { width: 82%; height: 16px; }
.qt-skel__line--lg { width: 58%; height: 26px; border-radius: 8px; margin-top: 18px; }
@keyframes qt-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .qt-skel, .qt-skel__line, .qt-progress span { animation: none; } }

/* ── Badges / chips / pills ──────────────────────────────────────────────── */
.qt-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; line-height: 1.35; background: var(--sand); color: var(--ink);
}
.qt-badge--board { background: var(--g100); color: var(--g800); }
.qt-badge--ok { background: #e3f3ea; color: var(--g700); }
.qt-badge--muted { background: var(--sand); color: var(--muted); }
.qt-badge--warn { background: #fdf1d6; color: #7a5a00; }
.qt-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--sand); color: var(--ink); font-size: .75rem; font-weight: 600; line-height: 1.3;
}
.qt-chip .i, .qt-chip .qi { color: var(--g600); }
.qt-chip--ok { background: #e3f3ea; color: var(--g700); }
.qt-chip--warn { background: #fdf1d6; color: #7a5a00; }
.qt-chip--warn .i { color: #a8871c; }
.qt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.qt-pill {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-size: .75rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease;
}
.qt-pill:hover { border-color: var(--g600); color: var(--g700); }
.qt-pill.is-on { background: var(--g700); border-color: var(--g700); color: #fff; }

/* ── Filters ─────────────────────────────────────────────────────────────── */
.qt-filters [hidden] { display: none; }
.qt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qt-chipbox { cursor: pointer; }
.qt-chipbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qt-chipbox__face {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: .75rem; font-weight: 600; color: var(--muted); line-height: 1;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease;
}
.qt-chipbox__face em { font-style: normal; font-size: .6875rem; font-weight: 700; color: var(--muted); opacity: .8; }
.qt-chipbox:hover .qt-chipbox__face { border-color: var(--g600); color: var(--g700); }
.qt-chipbox input:checked + .qt-chipbox__face { background: var(--g700); border-color: var(--g700); color: #fff; }
.qt-chipbox input:checked + .qt-chipbox__face em { color: #fff; }
.qt-chipbox input:focus-visible + .qt-chipbox__face { outline: 2px solid var(--g600); outline-offset: 2px; }
.qt-checklabel { display: inline-flex; align-items: center; gap: 7px; }
.qt-checklabel .qi { color: var(--g600); }
.qt-filters .check__count { margin-left: auto; }

/* dual price slider */
.qt-range { position: relative; height: 28px; margin: 6px 6px 0; }
.qt-range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 999px; background: var(--line-soft); }
.qt-range__fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--g600); }
.qt-range input[type="range"] {
  position: absolute; left: -6px; top: 0; width: calc(100% + 12px); height: 28px; margin: 0; padding: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.qt-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.qt-range input[type="range"]::-moz-range-track { background: transparent; }
.qt-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--g700); box-shadow: var(--sh-1); cursor: grab;
}
.qt-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--g700); box-shadow: var(--sh-1); cursor: grab;
}
.qt-range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold); outline-offset: 2px; }
.qt-range__vals { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: .8125rem; font-weight: 700; color: var(--g800); }

/* ── Options modal ───────────────────────────────────────────────────────── */
.qt-rooms .modal__box { max-width: 740px; padding: 0; }
.qt-rooms .modal__close { z-index: 4; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--sh-2); }
.qt-mhead { position: relative; min-height: 168px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--g800); }
.qt-mhead__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.qt-mhead__img.qt-media--fb { display: block; }
.qt-mhead__img .qt-media__mono { justify-items: end; padding-right: 8%; font-size: 7rem; opacity: .55; }
.qt-mhead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,46,32,.12) 0%, rgba(10,46,32,.82) 100%); }
.qt-mhead__text { position: relative; z-index: 2; padding: 22px 24px 18px; max-width: 100%; }
.qt-mhead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 6px; font-size: .75rem; font-weight: 600; color: var(--g100); }
.qt-mhead__meta span { display: inline-flex; align-items: center; gap: 5px; }
.qt-mhead__stars { color: var(--gold); letter-spacing: 1.5px; }
.qt-mhead__title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: #fff; padding-right: 36px; }
.qt-mhead__sub { margin: 0; font-size: .8125rem; color: var(--on-dark); }
.qt-rooms__body { padding: 20px 24px calc(22px + env(safe-area-inset-bottom)); }
.qt-rooms__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 6px; padding: 14px 0; }
.qt-rooms__bar[hidden] { display: none; }
.qt-rooms__barlabel { margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qt-rooms__empty { padding: 22px 0; text-align: center; color: var(--muted); font-size: .875rem; }
.qt-rooms__foot { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: .75rem; line-height: 1.55; color: var(--muted); }
.qt-rooms__foot .i { flex-shrink: 0; margin-top: 2px; color: var(--g600); }
.qt-rooms__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .8125rem; font-weight: 700; color: var(--g700); text-decoration: underline; text-underline-offset: 3px; }
.qt-rooms__more[hidden] { display: none; }

/* flight panel */
.qt-flight { margin: 0 0 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--g50); border: 1px solid var(--g100); }
.qt-flight__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--serif); font-size: .9375rem; font-weight: 600; color: var(--g800); }
.qt-flight__title .i { color: var(--g600); }
.qt-flight__legs { display: grid; gap: 4px; }
@media (min-width: 640px) { .qt-flight__legs { grid-template-columns: 1fr 1fr; gap: 22px; } }
.qt-leg { padding: 6px 0; min-width: 0; }
.qt-leg__label { margin: 0 0 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-height: 1em; }
.qt-leg__row { display: flex; align-items: center; gap: 10px; }
.qt-leg__pt { display: flex; flex-direction: column; min-width: 44px; line-height: 1.2; }
.qt-leg__pt b { font-family: var(--serif); font-size: 1.25rem; color: var(--g900); }
.qt-leg__pt span { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.qt-leg__pt--r { text-align: right; align-items: flex-end; }
.qt-leg__mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.qt-leg__dur { font-size: .6875rem; color: var(--muted); }
.qt-leg__line { position: relative; width: 100%; height: 14px; display: flex; align-items: center; justify-content: center; color: var(--g600); }
.qt-leg__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--g500); opacity: .55; }
.qt-leg__line .i { position: relative; background: var(--g50); padding: 0 4px; width: 26px; height: 14px; transform: rotate(0); }
.qt-leg__no { font-size: .6875rem; font-weight: 700; color: var(--g800); white-space: nowrap; }
.qt-leg__meta { margin: 4px 0 0; font-size: .6875rem; line-height: 1.45; color: var(--muted); }
.qt-flight__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--g100); }
.qt-flightline { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: .6875rem; line-height: 1.5; color: var(--muted); }
.qt-flightline .i { margin-top: 3px; color: var(--g600); }

/* rooms + rates */
.qt-room { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.qt-room:first-child { padding-top: 6px; }
.qt-room:last-child { border-bottom: 0; }
.qt-room__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.qt-room__name { margin: 0; font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.qt-room__note { margin: 3px 0 0; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.qt-room__note span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--sand); font-weight: 700; color: var(--ink); }
.qt-room__from { flex-shrink: 0; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.qt-room__from b { color: var(--g700); font-weight: 700; }
.qt-rates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qt-rate {
  display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease;
}
.qt-rate:hover { border-color: var(--g600); box-shadow: var(--sh-1); }
.qt-rate.is-request { background: var(--ivory); }
.qt-rate__tags { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.qt-rate__rate { margin: 6px 0 0; font-size: .75rem; font-weight: 600; line-height: 1.4; color: var(--g800); }
.qt-rate__pen { margin: 6px 0 0; font-size: .6875rem; line-height: 1.45; color: var(--muted); }
.qt-rate__buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.qt-rate__price { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; min-width: 0; }
.qt-rate__price strong { font-family: var(--serif); font-size: 1.375rem; font-weight: 700; color: var(--g900); white-space: nowrap; }
.qt-rate__price .price-amd { font-size: .75rem; font-weight: 600; color: var(--g600); white-space: nowrap; }
.qt-rate__price small { font-size: .6875rem; color: var(--muted); }
.qt-rate .btn { flex-shrink: 0; min-width: 104px; }
@media (min-width: 560px) {
  .qt-rate { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
  .qt-rate__price { align-items: flex-end; text-align: right; }
}

/* ── Booking modal ───────────────────────────────────────────────────────── */
.qt-book { max-width: 520px; }
.qt-booksum { margin: 10px 0 20px; padding: 14px 16px; border-radius: var(--r-md); background: var(--g50); border: 1px solid var(--g100); }
.qt-booksum__rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.qt-booksum__rows li { display: flex; gap: 9px; align-items: flex-start; font-size: .8125rem; line-height: 1.45; color: var(--ink); }
.qt-booksum__rows li:first-child { font-weight: 700; font-family: var(--serif); font-size: .9375rem; }
.qt-booksum__rows .i { flex-shrink: 0; margin-top: 2px; color: var(--g600); }
.qt-booksum__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding-top: 12px; border-top: 1px solid var(--g100); }
.qt-booksum__total span { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.qt-booksum__total strong { font-family: var(--serif); font-size: 1.5rem; color: var(--g900); }
.qt-booksum__total em { font-style: normal; font-size: .8125rem; font-weight: 600; color: var(--g600); }
.qt-book__fine { margin: 12px 0 0; font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.5; }
#qt-book-form .btn--block { margin-top: 18px; }

/* ── Landing content ─────────────────────────────────────────────────────── */
.qt-lead { margin-top: 10px; max-width: 62ch; color: var(--muted); }
.qt-tiles { display: grid; gap: 16px; }
@media (min-width: 720px) { .qt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.qt-tile { padding: 24px; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line-soft); }
.qt-tile__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px;
  background: var(--g700); color: var(--gold);
}
.qt-tile h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.qt-tile p { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.qt-dgrid { display: grid; gap: 14px; }
@media (min-width: 620px)  { .qt-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .qt-dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.qt-dcard { position: relative; padding: 22px 22px 22px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.qt-dcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--g600)); }
.qt-dcard__count { margin: 0 0 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); }
.qt-dcard h3 { margin: 0 0 6px; font-size: 1.125rem; }
.qt-dcard p:last-child { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }

/* ── Hotel page ──────────────────────────────────────────────────────────── */
.qt-hotelhero { background-image: radial-gradient(circle at 85% 0%, rgba(201,162,39,.18), transparent 50%); }
.qt-hotelhero__sub { margin: 12px 0 0; max-width: 58ch; color: var(--g100); font-size: .9375rem; line-height: 1.55; }
.qt-hotelhero__sub a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; white-space: nowrap; }
.qt-hotelhero__sub a:hover { color: var(--gold); }
.qt-hero-price { min-height: 84px; }
.qt-hero-price__skel { display: block; height: 30px; width: 110px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.2) 50%, rgba(255,255,255,.08) 75%); background-size: 200% 100%; animation: qt-shimmer 1.4s linear infinite; }
.qt-gallery { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qt-gallery__item { position: relative; display: block; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-md); background: var(--sand); cursor: zoom-in; aspect-ratio: 4 / 3; }
.qt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.qt-gallery__item:hover img { transform: scale(1.04); }
.qt-gallery__item--lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.qt-gallery__item--sm { display: none; }
.qt-gallery__all { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: var(--sh-2); font-size: .8125rem; font-weight: 700; color: var(--ink); }
@media (min-width: 768px) {
  .qt-gallery { grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 480px; }
  .qt-gallery__item { aspect-ratio: auto; }
  .qt-gallery__item--lead { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .qt-gallery__item--sm { display: block; }
}
.qt-panel { scroll-margin-top: calc(var(--header-h) + 16px); }
.qt-datesbox { margin: 0 0 22px; padding: 18px; border-radius: var(--r-lg); background: var(--g50); border: 1px solid var(--g100); }
.qt-datesbox .t-small { margin: 0 0 12px; color: var(--g800); font-weight: 600; }
.qt-datesbox .search { gap: 10px; }
.qt-dest-hidden { display: none !important; }
.qt-inline__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.qt-note { margin-bottom: 0; }
#qt-inline .qt-note { margin-top: 4px; }
.qt-about { display: grid; gap: 12px; }
.qt-about p { margin: 0; font-size: .9375rem; line-height: 1.75; color: var(--ink); }
.qt-facilities { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.qt-facilities li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.qt-facilities .qi, .qt-facilities .i { color: var(--g600); }
.qt-loc { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.qt-loc p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.qt-loc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.qt-help .bookcard__sub { margin-bottom: 14px; }
.qt-help .btn + .btn { margin-top: 10px; }

/* ── Small screens ───────────────────────────────────────────────────────── */
@media (max-width: 639px) {
  .qt-mhead { min-height: 150px; }
  .qt-mhead__title { font-size: 1.25rem; }
  .qt-mhead__text { padding: 18px 18px 14px; }
  .qt-rooms__body { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); }
  .qt-media__mono { font-size: 4rem; }
  .qt-toolbar .qt-sort { width: 100%; justify-content: space-between; }
  .qt-toolbar .qt-sort .select--sm { flex: 1; }
  .qt-note { padding: 16px; }
  .qt-loading { padding: 16px; }
}

/* dim + blur the page behind the Qatar modals (the shared .modal__scrim is unstyled) */
.qt-rooms .modal__scrim, #qt-book-modal .modal__scrim { background: rgba(7, 36, 24, .58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@media (max-width: 619px) { .qt-media { aspect-ratio: 16 / 10; } .qt-page .qt-media__mono { font-size: 3.5rem; } }

/* the night skyline is busy behind the headline — a little extra scrim keeps the copy readable */
.qt-page .phero--dest .scrim { background: linear-gradient(180deg, rgba(3,12,10,.72) 0%, rgba(3,12,10,.42) 45%, rgba(3,12,10,.62) 100%); }
