/* ═══════════════════════════════════════════════════════════════════════════
   Operator tours (Tourvisor) — tv-* pages and the search form.
   Loaded on top of style.css (site) AND b2b.css + pages.css (agent portal),
   whose tokens do not agree — so every class is tv- prefixed and every value
   is literal. No CSS variables from either side.
   ═══════════════════════════════════════════════════════════════════════════ */

.tv-hidden { display: none !important; }
.tv-search-host[hidden], .tv-mode[hidden], .tv-wrap [hidden], .tv-pax-pop[hidden] { display: none !important; }

/* ── Mode tabs (operator tours | our charter packages) ─────────────────── */
.tv-mode { display: inline-flex; gap: 4px; padding: 4px; background: rgba(255,255,255,.14); border-radius: 12px; margin: 0 0 12px; }
.tv-mode button { border: 0; background: transparent; color: inherit; font: 600 13.5px/1 Inter, system-ui, sans-serif; padding: 9px 16px; border-radius: 9px; cursor: pointer; opacity: .85; }
.tv-mode button.on { background: #fff; color: #0f172a; opacity: 1;  }
.b2b-tv .tv-mode, .tv-mode.light { background: #eef2f7; }
.tv-mode.light button { color: #334155; }

/* ── Search form (js/tv-search.js) ─────────────────────────────────────────
   Same design as our charter search (.tm-search, css/tour-app.css): ONE
   connected white bar, hairline dividers between the fields, a small uppercase
   label over a bold value, the orange CTA. On the hero it sits straight on the
   blue band; in a workspace (results, agent cabinet) it gets a dark panel. */
.tv-search-host { width: 100%; max-width: 1020px; margin: 0 auto; text-align: left; position: relative; z-index: 20;
  font-family: Inter, system-ui, sans-serif; color: #101426; }
.tvs { display: grid; grid-template-columns: .9fr 1.25fr 1.05fr .85fr 1fr auto; gap: 0; align-items: stretch;
  background: #fff; border-radius: 14px; padding: 7px; }
/* Hotel-only (agents' Mehmonxonalar page): no "Qayerdan" tile. */
.tvs.tvs-ho { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; }
/* Hotel-only: Kirish + Chiqish (exact dates) instead of a window + nights. */
.tvs-pop-out { width: 620px; max-width: calc(100vw - 60px); }
.tvs-tile[data-k="out"] .tvs-pop { left: auto; right: 0; }
/* In a workspace (results page, agent cabinet) there is no coloured frame
   (owner, Oct 2026: transparent) — the white bar sits straight on the light
   page, outlined like a card. On the /tours hero the band is already blue. */
.tv-results-page .tv-search-host, .b2b-tv .tv-search-host {
  max-width: none; background: none; border-radius: 0; padding: 0; margin-bottom: 18px; }
.tv-results-page .tvs, .b2b-tv .tvs { border: 1px solid #e2e8f0;  }
.tvs-tile { position: relative; min-width: 0; }
.tvs-tile:not(:nth-last-of-type(1)) {  }
.tvs-tile:nth-of-type(5) { box-shadow: none; }
.tvs-hit { width: 100%; height: 100%; min-height: 58px; display: flex; align-items: center; text-align: left;
  padding: 8px 30px 8px 14px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font: inherit; color: inherit; box-sizing: border-box; position: relative; transition: background .15s; }
.tvs-hit::after { content: ''; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .15s; }
.tvs-tile.on .tvs-hit::after { transform: rotate(180deg); }
.tvs-hit:hover { background: #f7f8fc; }
.tvs-tile.on .tvs-hit { background: #eff2ff; }
.tvs-hit:focus-visible { outline: 2px solid #0B3AD6; outline-offset: -2px; }
.tvs-ico { display: none; }
.tvs-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tvs-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; white-space: nowrap; }
.tvs-tile.on .tvs-lbl { color: #0B3AD6; }
.tvs-val { font-size: 14.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvs-sub { font-size: 11px; font-weight: 600; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -2px; }
.tvs-sub:empty { display: none; }
.tvs-sub.warn { color: #d97706; font-weight: 700; }
.tvs-go { align-self: stretch; display: inline-flex; align-items: center; justify-content: center; padding: 0 30px; margin-left: 4px;
  border: 0; border-radius: 9px; background: #ff6b35; color: #fff; font: 800 14.5px/1 Inter, system-ui, sans-serif;
  cursor: pointer; white-space: nowrap; transition: background .15s; }
.tvs-go:hover { background: #e55a28; }
.tvs-err { font: 700 13px/1.4 Inter, system-ui, sans-serif; color: #fff; background: rgba(220,38,38,.9); border-radius: 9px;
  padding: 8px 12px; margin: 10px auto 0; width: fit-content; max-width: 100%; box-sizing: border-box; }
.tvs-err:empty { display: none; }

/* Popovers — same card as the charter calendar */
.tvs-pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 1200; background: #fff; border: 1px solid #e8eaf0;
  border-radius: 14px;  padding: 16px; min-width: 100%; box-sizing: border-box; color: #101426; }
.tvs-pop-dep { width: 240px; padding: 6px; }
.tvs-pop-dest { width: 540px; }
.tvs-pop-date { width: 620px; max-width: calc(100vw - 60px); }
.tvs-pop-nights { width: 370px; }
.tvs-pop-pax { width: 300px; }
.tvs-tile[data-k="nights"] .tvs-pop, .tvs-tile[data-k="pax"] .tvs-pop { right: 0; left: auto; }
.tvs-tile[data-k="date"] .tvs-pop { left: 50%; transform: translateX(-50%); }
.tvs-pop-head { display: none; align-items: center; justify-content: space-between; margin: -2px 0 10px; }
.tvs-pop-head b { font-size: 16px; }
.tvs-x { border: 0; background: #F1F5F9; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: #334155; }
.tvs-pop-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.tvs-done { border: 0; background: #0F1B33; color: #fff; font: 700 14px Inter, system-ui, sans-serif; height: 40px; padding: 0 22px; border-radius: 10px; cursor: pointer; }
.tvs-list { display: flex; flex-direction: column; gap: 2px; }
.tvs-opt { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 11px; border-radius: 9px;
  font: 600 14px Inter, system-ui, sans-serif; color: #0F1B33; cursor: pointer; }
.tvs-opt:hover { background: #EFF3FB; }
.tvs-opt.sel { background: #0B3AD6; color: #fff; }
.tvs-grp { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #8893A8; padding: 10px 11px 4px; }
.tvs-grp:first-child { padding-top: 2px; }
.tvs-none { padding: 14px 11px; font-size: 13.5px; color: #94A3B8; }
.tvs-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid #EEF1F8; background: #F7F9FD; border-radius: 11px; padding: 0 12px; margin-bottom: 10px; }
.tvs-search svg { width: 17px; height: 17px; color: #8893A8; flex: 0 0 auto; }
.tvs-search input { border: 0; background: transparent; outline: none; height: 42px; width: 100%; font: 600 14.5px Inter, system-ui, sans-serif; color: #0F1B33; }
.tvs-dest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tvs-dest-col { max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.tvs-regions { border-left: 1px solid #EEF1F8; padding-left: 10px; }

/* Calendar */
.tvs-cal { position: relative; }
.tvs-months { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tvs-mtitle { text-align: center; font-size: 14px; font-weight: 800; margin: 5px 0 12px; }
.tvs-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tvs-dow { text-align: center; font-size: 10.5px; font-weight: 700; color: #9ca3af; text-transform: uppercase; padding: 0 0 4px; }
/* Day cells = the charter calendar's .tm-day: grey when there is nothing to
   book, outlined brand blue on a charter day, filled when chosen. */
.tvs-day { position: relative; height: 38px; border: 0; background: transparent; border-radius: 9px; font: 600 13.5px Inter, system-ui, sans-serif;
  color: #101426; cursor: pointer; display: grid; place-items: center; }
button.tvs-day:hover { background: #eff2ff; }
.tvs-day.past { color: #cbd0dd; cursor: default; }
.tvs-day.fly { box-shadow: inset 0 0 0 1.6px #0B3AD6; }
/* Departure window: a light band between the two filled edges (Tourvisor's
   "с … по …"). The band runs through days with no flight too, so the window
   reads as one stretch rather than scattered cells. */
.tvs-day.rng { background: #e6ecff; }
.tvs-day.rng.past { color: #a3acc2; }
.tvs-day.sel, .tvs-day.sel.fly { background: #0B3AD6; color: #fff; box-shadow: none; }
.tvs-datesum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; padding: 10px 12px;
  background: #f5f7fd; border-radius: 10px; font-size: 13px; color: #475569; }
.tvs-datesum b { font-size: 14.5px; color: #0F1B33; }
.tvs-datesum em { font-style: normal; font-size: 12.5px; color: #64748B; }
.tvs-nav { position: absolute; top: 0; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #e8eaf0; background: #fff;
  font-size: 17px; line-height: 1; cursor: pointer; color: #0B3AD6; z-index: 1; font-family: inherit; }
.tvs-nav:hover:not([disabled]) { background: #eff2ff; }
.tvs-nav.prev { left: 0; } .tvs-nav.next { right: 0; }
.tvs-nav[disabled] { opacity: .3; cursor: default; }
.tvs-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; font-size: 12px; font-weight: 600;
  color: #4b5563; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f1f3f8; }
.tvs-legend > span { display: flex; align-items: center; gap: 8px; }
.tvs-lg { display: inline-block; width: 14px; height: 14px; border-radius: 5px; }
.tvs-lg.past { box-shadow: inset 0 0 0 1.6px #dfe3ec; }
.tvs-lg.fly { box-shadow: inset 0 0 0 1.6px #0B3AD6; }
.tvs-lg.sel { background: #0B3AD6; }
.tvs-calnote { font-size: 12.5px; color: #64748B; margin: 0 40px 10px; text-align: center; }
.tvs-calnote.warn { color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 9px; padding: 8px 10px; margin: 0 0 10px; }
.tvs-flexrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF1F8; }
.tvs-flexrow > span { font-size: 12px; font-weight: 700; color: #64748B; margin-right: 4px; }
.tvs-chip { border: 1.5px solid #E2E8F0; background: #fff; border-radius: 999px; padding: 6px 12px; font: 700 12.5px Inter, system-ui, sans-serif; color: #334155; cursor: pointer; }
.tvs-chip:hover { border-color: #C7D2FE; }
.tvs-chip.on { background: #0B3AD6; border-color: #0B3AD6; color: #fff; }

/* Nights */
.tvs-hint { font-size: 12.5px; color: #64748B; margin-bottom: 10px; }
.tvs-ngrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tvs-n { height: 40px; border: 1.5px solid #EEF1F8; background: #F7F9FD; border-radius: 9px; font: 700 14px Inter, system-ui, sans-serif; color: #0F1B33; cursor: pointer; }
.tvs-n:hover { border-color: #C7D2FE; }
.tvs-n.mid { background: #EAF0FD; border-color: #EAF0FD; }
.tvs-n.edge { background: #0B3AD6; border-color: #0B3AD6; color: #fff; }
.tvs-n.off { opacity: .3; cursor: default; }

/* Travellers */
.tvs-step { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #F1F5F9; }
.tvs-step b { display: block; font-size: 14.5px; }
.tvs-step small { font-size: 12px; color: #94A3B8; }
.tvs-stepctl { display: flex; align-items: center; gap: 12px; }
.tvs-stepctl span { min-width: 16px; text-align: center; font-weight: 800; font-size: 15px; }
.tvs-stepctl button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #CBD5E1; background: #fff; font-size: 18px; line-height: 1;
  color: #0B3AD6; cursor: pointer; }
.tvs-stepctl button:hover:not([disabled]) { border-color: #0B3AD6; }
.tvs-stepctl button[disabled] { color: #CBD5E1; border-color: #E2E8F0; cursor: default; }
.tvs-ages { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tvs-ages label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #475569; }
.tvs-ages select { height: 38px; border: 1.5px solid #E2E8F0; border-radius: 9px; padding: 0 8px; font: 600 14px Inter, system-ui, sans-serif; color: #0F1B33; background: #fff; }
.tvs-ages select.empty { border-color: #F59E0B; background: #FFFBEB; }
.tvs-note { font-size: 12px; color: #64748B; margin: 8px 0 0; line-height: 1.45; }
.tvs-backdrop { display: none; }

/* Tablet: two cells per row, the vertical dividers become a grid of hairlines
   (exactly what the charter bar does). */
@media (max-width: 1000px) {
  .tvs { grid-template-columns: 1fr 1fr; }
  .tvs-tile, .tvs-tile:not(:nth-last-of-type(1)) {  }
  .tvs-tile:nth-of-type(odd) {  }
  .tvs-tile:nth-of-type(5) { grid-column: 1 / -1; box-shadow: none; }
  .tvs-go { grid-column: 1 / -1; margin: 8px 0 0; padding: 15px; border-radius: 10px; }
  .tvs-tile[data-k="date"] .tvs-pop { left: 0; transform: none; }
  .tvs-tile[data-k="nights"] .tvs-pop { left: auto; right: 0; }
  .tvs-tile[data-k="pax"] .tvs-pop { left: 0; right: auto; }
  /* Hotel-only: four tiles, the date sits in the right column. */
  .tvs-ho .tvs-tile[data-k="date"] .tvs-pop { left: auto; right: 0; }
  .tvs-ho .tvs-tile[data-k="out"] .tvs-pop { left: 0; right: auto; }
  .tvs-ho .tvs-tile[data-k="pax"] .tvs-pop { left: auto; right: 0; }
}
/* Phone: one column, and every picker becomes a bottom sheet. */
@media (max-width: 640px) {
  .tvs { grid-template-columns: 1fr; padding: 6px; }
  .tvs-tile, .tvs-tile:nth-of-type(odd), .tvs-tile:not(:nth-last-of-type(1)) {  }
  .tvs-tile:nth-of-type(5) { box-shadow: none; }
  .tvs-hit { min-height: 54px; }
  .tvs-tile[data-k] .tvs-pop { transform: none; }
  .tvs-pop, .tvs-pop-dest, .tvs-pop-date, .tvs-pop-out, .tvs-pop-nights, .tvs-pop-pax, .tvs-pop-dep,
  .tvs-tile[data-k] .tvs-pop { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 86vh; overflow-y: auto;
    border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); z-index: 1300; }
  .tvs-pop-head { display: flex; }
  .tvs-months { grid-template-columns: 1fr; }
  .tvs-months .tvs-month + .tvs-month { display: none; }
  .tvs-dest { grid-template-columns: 1fr; }
  .tvs-regions { border-left: 0; padding-left: 0; border-top: 1px solid #EEF1F8; padding-top: 6px; }
  .tvs-dest-col { max-height: none; }
  html.tvs-sheet-open .tvs-backdrop { display: block; position: fixed; inset: 0; background: rgba(2,6,23,.45); z-index: 1250; }
  html.tvs-sheet-open { overflow: hidden; }
  /* The sheet and its backdrop live inside the form's stacking context — lift
     it above the fixed site navbar while a sheet is open. */
  html.tvs-sheet-open .tv-search-host { z-index: 2000; }
  .tvs-pop-foot .tvs-done { width: 100%; height: 46px; }
  /* "Tayyor" stays on screen however long the sheet scrolls. */
  .tvs-pop-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); background: #fff;
    margin: 12px -16px calc(-16px - env(safe-area-inset-bottom)); padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
     }
}
/* Results page summary pill (phone only) — the flight results' compact pill:
   route on top, dates · nights · party under it, edit button on the right.
   Tapping it opens the full form under it; the button turns into ×. */
.tvs-pill { display: none; }
@media (max-width: 640px) {
  .tv-search-host[data-compact] .tvs-pill { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
    background: #fff; border: 1px solid #e6e8ef; border-radius: 14px; padding: 10px 12px 10px 16px; cursor: pointer;
    font: inherit; color: inherit; text-align: left; }
  .tvs-pill-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .tvs-pill-route { font-size: 16px; font-weight: 700; color: #1a1d2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tvs-pill-meta { font-size: 12.5px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tvs-pill-ed { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #eff2ff; color: #0B3AD6;
    display: inline-flex; align-items: center; justify-content: center; }
  .tvs-pill-ed svg { width: 17px; height: 17px; }
  .tvs-pill-ed .x, .tv-search-host.tvs-edit .tvs-pill-ed .ed { display: none; }
  .tv-search-host.tvs-edit .tvs-pill-ed .x { display: block; }
  .tv-search-host[data-compact]:not(.tvs-edit) .tvs,
  .tv-search-host[data-compact]:not(.tvs-edit) .tvs-err { display: none; }
  .tv-search-host[data-compact].tvs-edit .tvs { margin-top: 8px; }
  .tv-results-page .tv-search-host[data-compact] { margin-bottom: 14px; }
}
/* Phone look = the homepage flight search (Oct 2026): a plain white card, each
   field its own grey box with an icon tile, a small normal-case label, the value
   in bold; full-width orange button. No blue frame, no shadows. */
@media (max-width: 640px) {
  .tv-results-page .tv-search-host { background: none; padding: 0; border-radius: 0; }
  .tvs, .b2b-tv .tvs { gap: 8px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: none; }
  .tv-results-page .tvs, .b2b-tv .tvs { border: 1px solid #e6e8ef; }
  .tvs-tile, .tvs-tile:nth-of-type(odd), .tvs-tile:not(:nth-last-of-type(1)), .tvs-tile:nth-of-type(5) { box-shadow: none; }
  .tvs-hit { min-height: 60px; padding: 9px 34px 9px 60px; gap: 0;
    background: #f6f8fb; border: 1px solid #e6e8ef; border-radius: 14px; }
  .tvs-hit:hover { background: #f6f8fb; }
  .tvs-hit:active { background: #eef1f7; }
  .tvs-tile.on .tvs-hit { background: #eff2ff; border-color: #0B3AD6; }
  .tvs-hit::after { right: 14px; }
  .tvs-ico { display: grid; place-items: center; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; box-sizing: border-box; border-radius: 10px; background: #fff; border: 1px solid #edf0f5; color: #0B3AD6; }
  .tvs-ico svg { width: 18px; height: 18px; }
  .tvs-txt { gap: 1px; }
  .tvs-lbl, .tvs-tile.on .tvs-lbl { font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6b7280; }
  .tvs-val { font-size: 16px; color: #1a1d2e; }
  .tvs-sub { font-size: 11.5px; margin-top: 0; }
  .tvs-go { height: 54px; padding: 0; margin: 6px 0 0; border-radius: 14px; font-size: 16.5px; font-weight: 700; box-shadow: none; }}
/* The site's fixed bottom menu (≤880px) sat on top of the sheet and hid its
   "Tayyor" button. Nothing in it is usable while a sheet is open anyway. */
@media (max-width: 880px) {
  html.tvs-sheet-open .htl-mobile-nav { display: none !important; }
}

/* ── Page shells ───────────────────────────────────────────────────────── */
.tv-wrap { max-width: 1200px; margin: 0 auto; padding: 18px 16px 60px; font-family: Inter, system-ui, sans-serif; color: #0f172a; box-sizing: border-box; }
.b2b-tv .tv-wrap { padding: 0 0 40px; max-width: none; }
.tv-crumbs { font-size: 13px; color: #64748b; margin: 4px 0 16px; }
.tv-crumbs a { color: #0B3AD6; text-decoration: none; }
.tv-back { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border: 1px solid #dbe3f0; border-radius: 999px; background: #fff; color: #1e293b !important; font-size: 13px; font-weight: 600;  transition: border-color .15s, color .15s, box-shadow .15s; }
.tv-back svg { color: #0B3AD6; flex: none; transition: transform .15s; }
.tv-back:hover { border-color: #0B3AD6; color: #0B3AD6 !important;  }
.tv-back:hover svg { transform: translateX(-2px); }
.tv-back:focus-visible { outline: 2px solid #0B3AD6; outline-offset: 2px; }
.tv-h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; letter-spacing: -.01em; }
.tv-sub { font-size: 13.5px; color: #64748b; margin: 0 0 14px; }
.tv-mock { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 0 0 12px; }
.tv-empty { text-align: center; padding: 50px 20px; color: #64748b; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.tv-empty h3 { color: #0f172a; font-size: 17px; margin: 0 0 6px; }
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; border: 0;
  background: #0B3AD6; color: #fff; font: 700 14px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.tv-btn:hover { background: #0930b0; }
.tv-btn.ghost { background: #fff; color: #0B3AD6; border: 1px solid #c7d2fe; }
.tv-btn.ghost:hover { background: #eef2ff; }
.tv-btn[disabled] { opacity: .55; cursor: default; }
.tv-stars { color: #f59e0b; letter-spacing: 1px; font-size: 13px; }

/* ── Progress ──────────────────────────────────────────────────────────── */
.tv-progress { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #dbe3f4; border-radius: 14px; padding: 14px 18px 18px; margin: 14px 0; font-size: 13.5px; overflow: hidden;  }
.tv-pg-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #eef2ff; position: relative; }
.tv-pg-ic::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 3px solid #c7d2fe; border-top-color: #0B3AD6; animation: tvPgSpin .9s linear infinite; }
.tv-pg-main { flex: 1; min-width: 0; }
.tv-pg-t { font-weight: 700; font-size: 15px; color: #0f172a; }
.tv-pg-s { color: #64748b; font-size: 12.5px; margin-top: 2px; }
.tv-pg-stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tv-pg-st { display: flex; flex-direction: column; align-items: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px 12px; min-width: 84px; }
.tv-pg-st b { font-size: 15px; color: #0f172a; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tv-pg-st small { font-size: 11px; color: #64748b; white-space: nowrap; }
.tv-progress-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #e8edf8; overflow: hidden; }
.tv-progress-bar i { display: block; position: relative; height: 100%; width: 0; background: #0B3AD6; transition: width .6s ease; overflow: hidden; }
.tv-progress-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: tvPgShine 1.4s ease-in-out infinite; }
/* Done: a quiet summary line — the bar has nothing left to say. */
.tv-progress.done { padding: 12px 18px; background: #f6fdf8; border-color: #cfeedd; }
.tv-progress.done .tv-progress-bar { display: none; }
.tv-progress.done .tv-pg-ic { width: 34px; height: 34px; background: #16a34a; }
.tv-progress.done .tv-pg-ic::before { inset: 0; border: 0; border-radius: 0; animation: none; background: center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* /tours "Sayohat g'oyalari" cards (grid + poster from css/hotels.css .hh-idea):
   the place under the title. */
.tv-ideas-sec .hh-idea-title small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; opacity: .85; letter-spacing: 0; }
.tv-ideas-sec .hh-idea[hidden], .tv-ideas-sec[hidden] { display: none; }
/* …one slim line: tick · "Qidiruv tugadi" · 151 mehmonxona · 8 operator · eng arzoni X */
.tv-progress.done { gap: 12px; padding: 9px 16px; margin: 12px 0; border-radius: 12px; box-shadow: none; }
.tv-progress.done .tv-pg-ic { width: 24px; height: 24px; }
.tv-progress.done .tv-pg-ic::before { background-size: 12px; }
.tv-progress.done .tv-pg-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; flex: 0 1 auto; }
.tv-progress.done .tv-pg-t { font-size: 14px; }
.tv-progress.done .tv-pg-s { margin: 0; font-size: 12px; }
.tv-progress.done .tv-pg-stats { flex: 1; gap: 0; }
.tv-progress.done .tv-pg-st { flex-direction: row; align-items: baseline; gap: 4px; min-width: 0; padding: 0 12px; background: none; border: 0; border-left: 1px solid #cfeedd; border-radius: 0; }
.tv-progress.done .tv-pg-st:first-child { border-left: 0; }
.tv-progress.done .tv-pg-st b { font-size: 14px; }
.tv-progress.done .tv-pg-st small { font-size: 12.5px; }
@keyframes tvPgSpin { to { transform: rotate(360deg); } }
@keyframes tvPgShine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .tv-pg-ic::before, .tv-progress-bar i::after { animation: none; } }
@media (max-width: 700px) {
  .tv-progress { flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px 16px; }
  .tv-progress.done { padding: 12px 14px; }
  .tv-pg-main { flex-basis: calc(100% - 52px); }
  .tv-pg-stats { flex-basis: 100%; justify-content: flex-start; }
  .tv-pg-st { flex: 1; min-width: 0; padding: 6px 10px; }
  .tv-progress.done { padding: 9px 12px; }
  .tv-progress.done .tv-pg-main { flex-basis: calc(100% - 40px); }
  .tv-progress.done .tv-pg-s { display: none; }
  .tv-progress.done .tv-pg-stats { flex-wrap: wrap; row-gap: 4px; }
  .tv-progress.done .tv-pg-st { flex: 0 0 auto; padding: 0 10px; }
  .tv-progress.done .tv-pg-st:first-child { padding-left: 0; }
}

/* ── Results layout ────────────────────────────────────────────────────── */
.tv-res { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.tv-res > div { min-width: 0; }
@media (max-width: 900px) { .tv-res { grid-template-columns: 1fr; } }

/* Filter panel: a sticky sidebar on desktop, a bottom sheet on a phone. */
.tv-side { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; position: sticky; top: 76px; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); display: flex; flex-direction: column; overflow: hidden; }
.b2b-tv .tv-side { top: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.tv-fhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #eef2f6; }
.tv-fhead b { font-size: 15px; font-weight: 800; color: #0f172a; margin-right: auto; }
.tv-flink { border: 0; background: none; color: #0B3AD6; font: 700 13px Inter, system-ui, sans-serif; cursor: pointer; padding: 4px 0; }
.tv-fx { display: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f9; font-size: 22px; line-height: 1; color: #334155; cursor: pointer; }
.tv-fbody { padding: 4px 14px 14px; overflow-y: auto; overscroll-behavior: contain; }
.tv-ffoot { display: none; }
/* Desktop: the panel is as long as its filters and moves with the page — a
   capped sticky box put a second scrollbar inside the card. */
@media (min-width: 901px) {
  .tv-side, .b2b-tv .tv-side { position: static; max-height: none; overflow: visible; }
  .tv-fbody { overflow: visible; }
}
.tv-fg { padding: 12px 0; border-top: 1px solid #f1f5f9; }
.tv-fg:first-child { border-top: 0; }
.tv-fg h4 { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #334155; margin: 0 0 4px; }
.tv-fg h4 em { font-style: normal; background: #0B3AD6; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; letter-spacing: 0; }
.tv-fhint { margin: 0 0 8px; font-size: 12px; color: #94a3b8; line-height: 1.35; }
.tv-fg .tv-in { margin-top: 6px; }
.tv-opt { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13.5px; color: #1e293b; cursor: pointer; }
.tv-opt input { width: 17px; height: 17px; margin: 0; accent-color: #0B3AD6; flex: none; }
.tv-opt-l { flex: 1; min-width: 0; line-height: 1.3; }
.tv-opt-l i { font-style: normal; font-size: 11px; color: #94a3b8; font-weight: 600; margin-left: 2px; }
.tv-opt-r { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.15; }
.tv-opt-r b { font-size: 12.5px; color: #475569; font-weight: 700; }
.tv-opt-r small { font-size: 11px; color: #94a3b8; white-space: nowrap; }
.tv-opt.off { color: #cbd5e1; cursor: default; }
.tv-opt.off .tv-opt-r b { color: #cbd5e1; }
.tv-fstars { color: #f59e0b; letter-spacing: 1px; }
.tv-fmore { border: 0; background: none; padding: 6px 0 0; color: #0B3AD6; font: 700 13px Inter, system-ui, sans-serif; cursor: pointer; }
.tv-tgl { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-top: 6px; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer; }
.tv-tgl.on { border-color: #0B3AD6; background: #f5f8ff; }
.tv-tgl input { width: 17px; height: 17px; margin: 0; accent-color: #0B3AD6; flex: none; }
.tv-tgl span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tv-tgl b { font-size: 13.5px; color: #0f172a; }
.tv-tgl small { font-size: 11.5px; color: #94a3b8; line-height: 1.3; }
.tv-tgl em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #475569; }
.tv-fg input[type=range] { width: 100%; accent-color: #0B3AD6; margin: 4px 0 0; }
.tv-range-val { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 800; color: #0f172a; }
.tv-range-val small { font-size: 12px; font-weight: 600; color: #64748b; }
.tv-range-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: #94a3b8; }

/* Phone/tablet: "Filtrlar" + "Saralash" in a pill fixed to the foot of the
   screen, so they are one tap away wherever the list is scrolled. */
.tv-mbar { display: none; }
.tv-fbtn, .tv-sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 46px; padding: 0 18px; border: 0;
  background: transparent; font: 700 14px Inter, system-ui, sans-serif; color: #fff; cursor: pointer; white-space: nowrap; }
.tv-fbtn em { font-style: normal; background: #fff; color: #0B3AD6; border-radius: 999px; font-size: 12px; padding: 1px 8px; }
.tv-smenu { position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 180px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
   padding: 6px; }
.tv-smenu[hidden] { display: none; }
.tv-smenu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 11px 12px; border-radius: 8px;
  font: 600 14px Inter, system-ui, sans-serif; color: #0f172a; cursor: pointer; }
.tv-smenu button[aria-checked="true"] { background: #eff3ff; color: #0B3AD6; font-weight: 800; }
.tv-fback { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1199; }
.tv-fback[hidden] { display: none; }
html.tv-lock, html.tv-lock body { overflow: hidden; }

@media (max-width: 900px) {
  .tv-mbar { display: flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1100;
    background: #0B3AD6; border-radius: 999px;  }
  .tv-mbar[hidden] { display: none; }
  .tv-mbar .tv-sbtn { border-left: 1px solid rgba(255,255,255,.28); }
  .tv-bar .tv-sort { display: none; }
  .tv-res { padding-bottom: 76px; }
  .tv-side { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1200; max-height: 88vh; border-radius: 18px 18px 0 0; border: 0;  transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
  .b2b-tv .tv-side { top: auto; max-height: 88vh; }
  .tv-side.open { transform: none; visibility: visible; }
  .tv-fhead { padding: 14px 16px; }
  .tv-fx { display: block; }
  .tv-fbody { padding: 4px 16px 12px; }
  .tv-opt { padding: 9px 0; font-size: 14.5px; }
  .tv-ffoot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eef2f6; background: #fff; }
  .tv-ffoot .tv-btn { flex: 1; justify-content: center; height: 46px; }
  .tv-ffoot .tv-btn.ghost { flex: 0 0 auto; padding: 0 16px; }
}

.tv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tv-count { font-size: 13.5px; color: #475569; }
.tv-count b { color: #0f172a; }
.tv-sort { display: inline-flex; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 3px; gap: 2px; }
.tv-sort button { border: 0; background: transparent; padding: 7px 12px; border-radius: 8px; font: 600 13px Inter, system-ui, sans-serif; color: #475569; cursor: pointer; }
.tv-sort button.on { background: #0f172a; color: #fff; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tv-chip { display: inline-flex; align-items: center; gap: 6px; background: #eef2ff; color: #1e3a8a; border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; border: 0; cursor: pointer; }
.tv-chip.clear { background: #fff; color: #b91c1c; border: 1px solid #fecaca; }

/* ── Hotel card ────────────────────────────────────────────────────────── */
.tv-card { display: grid; grid-template-columns: clamp(170px, 22%, 240px) minmax(0, 1fr) clamp(210px, 24%, 260px); background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.tv-card-img { background: #e2e8f0 center/cover no-repeat; min-height: 180px; position: relative; }
.tv-card-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 12px; }
.tv-card-body { padding: 14px 16px; min-width: 0; }
.tv-card-name { font-size: 16.5px; font-weight: 800; margin: 0 0 3px; line-height: 1.25; }
.tv-card-name a { color: inherit; text-decoration: none; }
.tv-card-name a:hover { color: #0B3AD6; }
.tv-card-loc { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.tv-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tv-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #334155; background: #f1f5f9; border-radius: 6px; padding: 4px 8px; }
.tv-tag.good { background: #dcfce7; color: #166534; }
.tv-tag.warn { background: #fef3c7; color: #92400e; }
.tv-score { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; border-radius: 6px 6px 6px 0; background: #0B3AD6; color: #fff; font-size: 12px; font-weight: 800; padding: 0 5px; }
.tv-score small { font-size: 10px; font-weight: 600; opacity: .75; margin-left: 1px; }
.tv-card-best { font-size: 13px; color: #334155; line-height: 1.5; }
.tv-card-best b { color: #0f172a; }
.tv-card-price { border-left: 1px solid #f1f5f9; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 4px; }
.tv-from { font-size: 12px; color: #64748b; }
.tv-price { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.tv-price-note { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.tv-card-price .tv-btn { width: 100%; }
.tv-more { margin-top: 6px; background: none; border: 0; color: #0B3AD6; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; padding: 4px 0; }
@media (max-width: 900px) { .tv-card { grid-template-columns: 1fr; } .tv-card-img { min-height: 170px; } .tv-card-price { border-left: 0; border-top: 1px solid #f1f5f9; align-items: stretch; text-align: left; } }

/* Tour variants inside a card */
.tv-variants { grid-column: 1 / -1; border-top: 1px solid #f1f5f9; padding: 6px 16px 12px; background: #fafbfd; }
.tv-vt { width: 100%; border-collapse: collapse; font-size: 13px; }
.tv-vt th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: #64748b; font-weight: 700; padding: 8px 6px; }
.tv-vt td { padding: 8px 6px; border-top: 1px solid #eef2f7; vertical-align: middle; }
.tv-vt td.p { font-weight: 800; white-space: nowrap; text-align: right; }
.tv-vt td.a { text-align: right; width: 1%; }
.tv-vt .tv-btn { height: 32px; padding: 0 12px; font-size: 13px; }
.tv-vt .vo-m { display: none; }   /* phone: operator rides on the meal line */
/* Phone: every variant is the same three-line shape, so price and button
   sit in the same place on every row (long room names used to wrap and push
   them around):
     Chor, 14 okt · 7 kecha            $1,229
     Xona: standard garden view…      [Tanlash]
     Hammasi kiritilgan · Kompas (KZ)              */
@media (max-width: 700px) {
  .tv-vt thead { display: none; }
  .tv-vt tr { display: grid; grid-template-columns: auto minmax(0, 1fr) 96px; column-gap: 12px; row-gap: 3px;
    grid-template-areas: "d n p" "r r b" "m m b"; align-items: center; padding: 11px 0; border-top: 1px solid #eef2f7; }
  .tv-vt tbody tr:first-child { border-top: 0; }
  .tv-vt td { border: 0; padding: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tv-vt td.vd { grid-area: d; font-weight: 700; color: #1a1d2e; }
  .tv-vt td.vn { grid-area: n; font-weight: 700; color: #1a1d2e; margin-left: -12px; }
  .tv-vt td.vn::before { content: ' · '; white-space: pre; }
  .tv-vt td.vr { grid-area: r; color: #334155; }
  .tv-vt td.vr::before { content: 'Xona: '; color: #6b7280; }
  .tv-vt td.vm { grid-area: m; color: #6b7280; font-size: 12.5px; }
  .tv-vt td.vo { display: none; }
  .tv-vt .vo-m { display: inline; }
  .tv-vt td.p { grid-area: p; text-align: right; font-size: 15px; }
  .tv-vt td.a { grid-area: b; align-self: center; width: auto; }
  .tv-vt td.a .tv-btn { width: 100%; justify-content: center; box-sizing: border-box; }
}
.tv-pager { text-align: center; margin: 16px 0; }

/* ── Tour page ─────────────────────────────────────────────────────────── */
.tv-tour { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .tv-tour { grid-template-columns: 1fr; } }
.tv-gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; gap: 6px; border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: #e2e8f0; }
.tv-gal div { background: #cbd5e1 center/cover no-repeat; cursor: zoom-in; }
.tv-gal div:first-child { grid-row: 1 / span 2; }
.tv-gal.one { grid-template-columns: 1fr; grid-template-rows: 300px; }
.tv-gal.none { display: flex; align-items: center; justify-content: center; height: 160px; color: #94a3b8; font-size: 13px; }
@media (max-width: 640px) { .tv-gal { grid-template-columns: 1fr; grid-template-rows: 220px; } .tv-gal div:not(:first-child) { display: none; } }
.tv-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.tv-panel h2 { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.tv-panel p { font-size: 14px; line-height: 1.6; color: #334155; margin: 0 0 8px; }
.tv-kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 13.5px; }
.tv-kv dt { color: #64748b; }
.tv-kv dd { margin: 0; color: #0f172a; }
@media (max-width: 560px) { .tv-kv { grid-template-columns: 1fr; } .tv-kv dd { margin-bottom: 6px; } }
.tv-sum { position: sticky; top: 76px; }
.b2b-tv .tv-sum { top: 12px; }
.tv-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; border-top: 1px solid #f1f5f9; }
.tv-sum-row:first-of-type { border-top: 0; }
.tv-sum-row span { color: #64748b; }
.tv-sum-row b { text-align: right; }
.tv-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 4px; padding-top: 12px; border-top: 2px solid #0f172a; }
.tv-sum-total b { font-size: 24px; font-weight: 800; }
.tv-sum .tv-btn { width: 100%; margin-top: 10px; height: 46px; font-size: 15px; }
.tv-note { font-size: 12.5px; color: #64748b; line-height: 1.5; margin: 8px 0 0; }
.tv-note.warn { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 9px; padding: 8px 10px; }
.tv-note.ok { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 9px; padding: 8px 10px; }
.tv-note.err { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 9px; padding: 8px 10px; }

/* Flights */
.tv-fl { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; display: block; cursor: pointer; }
.tv-fl.on { border-color: #0B3AD6; box-shadow: 0 0 0 2px rgba(11,58,214,.15); }
.tv-fl.off { opacity: .55; cursor: not-allowed; }
.tv-fl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 13.5px; }
.tv-fl-head input { margin-right: 8px; accent-color: #0B3AD6; }
.tv-fl-head b.price { font-size: 16px; }
.tv-leg { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.tv-leg + .tv-leg { border-top: 1px dashed #e2e8f0; }
.tv-leg .t { font-size: 17px; font-weight: 800; }
.tv-leg .c { font-size: 12px; color: #64748b; }
.tv-leg .mid { text-align: center; font-size: 12px; color: #64748b; }
.tv-leg .mid i { display: block; height: 1px; background: #cbd5e1; margin: 4px 0; }
.tv-leg .r { text-align: right; }
.tv-leg-dir { font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; color: #64748b; font-weight: 700; margin-top: 6px; }

/* ── Booking page ──────────────────────────────────────────────────────── */
.tv-steps { display: flex; gap: 8px; margin: 4px 0 16px; font-size: 13px; flex-wrap: wrap; }
.tv-steps span { padding: 6px 12px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-weight: 600; }
.tv-steps span.on { background: #0B3AD6; color: #fff; }
.tv-steps span.done { background: #dcfce7; color: #166534; }
.tv-pax { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.tv-pax h3 { font-size: 14.5px; margin: 0 0 10px; font-weight: 800; }
.tv-pax h3 small { color: #64748b; font-weight: 600; }
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 720px) { .tv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .tv-grid { grid-template-columns: 1fr; } }
.tv-in { display: flex; flex-direction: column; gap: 4px; }
.tv-in label { font-size: 12px; font-weight: 600; color: #475569; }
.tv-in input, .tv-in select, .tv-in textarea { height: 40px; border: 1px solid #d7dee8; border-radius: 9px; padding: 0 10px; font: 500 14px Inter, system-ui, sans-serif; color: #0f172a; background: #fff; box-sizing: border-box; width: 100%; }
.tv-in textarea { height: 80px; padding: 8px 10px; resize: vertical; }
.tv-in input:focus, .tv-in select:focus, .tv-in textarea:focus { outline: 2px solid #0B3AD6; outline-offset: 0; border-color: #0B3AD6; }
.tv-in.bad input, .tv-in.bad select { border-color: #ef4444; background: #fef2f2; }
.tv-in .e { font-size: 12px; color: #b91c1c; min-height: 0; }
.tv-in.wide { grid-column: 1 / -1; }
.tv-terms { font-size: 13px; line-height: 1.55; color: #334155; }
.tv-terms ul { margin: 6px 0 10px 18px; padding: 0; }
.tv-terms li { margin: 3px 0; }
.tv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.tv-check input { margin-top: 3px; accent-color: #0B3AD6; width: 16px; height: 16px; }

/* Lightbox */
.tv-lb { position: fixed; inset: 0; background: rgba(2,6,23,.9); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.tv-lb img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.tv-lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.tv-lb .x { top: 16px; right: 16px; }
.tv-lb .prev { left: 16px; top: 50%; }
.tv-lb .next { right: 16px; top: 50%; }

.tv-skel { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: tvsk 1.2s infinite; border-radius: 14px; }
@keyframes tvsk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ═══ Qaynoq turlar (js/tv-hot.js) — hero, destination rail, filters, cards ═══
   Literal values only: the same block renders under style.css (site) and
   b2b.css + pages.css (portal), whose tokens do not agree. */

/* Page header (site) — dark, compact; the H1 is static HTML, the numbers are live */
.tvh-hero { background: #0b1733; background-image: radial-gradient(900px 320px at 85% -10%, rgba(234,88,12,.28), transparent 60%), radial-gradient(700px 300px at 0% 110%, rgba(11,58,214,.35), transparent 60%); color: #fff; padding: 96px 16px 34px; }
.tvh-hero-in { max-width: 1200px; margin: 0 auto; }
.tvh-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fdba74; }
.tvh-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f97316; box-shadow: 0 0 0 4px rgba(249,115,22,.22); }
.tvh-h1 { font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; margin: 10px 0 8px; color: #fff; }
.tvh-lead { font-size: 15.5px; line-height: 1.6; color: #cbd5e1; margin: 0; max-width: 640px; }
.tvh-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tvh-stats[hidden] { display: none; }
.tvh-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; min-width: 120px; }
.tvh-stat b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.tvh-stat span { font-size: 12px; color: #cbd5e1; }
.tvh-deps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.tvh-deps:empty { display: none; }
.tvh-deps-l { font-size: 13px; color: #94a3b8; margin-right: 4px; }
.tvh-deps button { font: 600 13px Inter, system-ui, sans-serif; color: #e2e8f0; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.tvh-deps button:hover { border-color: rgba(255,255,255,.5); }
.tvh-deps button.on { background: #fff; color: #0b1733; border-color: #fff; }
.tvh-updated { font-size: 12.5px; color: #94a3b8; margin: 14px 0 0; }
.tvh-updated:empty { display: none; }

/* Portal header — same slots, light */
.tvh-phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.tvh-phead h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; color: #0f172a; }
.tvh-phead p { margin: 0; font-size: 13.5px; color: #64748b; max-width: 640px; line-height: 1.55; }
.tvh-phead .tvh-stats { margin-top: 0; }
.tvh-phead .tvh-stat { background: #fff; border-color: #e2e8f0; min-width: 104px; padding: 8px 12px; }
.tvh-phead .tvh-stat b { font-size: 17px; color: #0f172a; }
.tvh-phead .tvh-stat span { color: #64748b; }
.tvh-pdeps { margin: 0 0 8px; }
.tvh-pdeps .tvh-deps-l { color: #64748b; }
.tvh-pdeps button { color: #334155; border-color: #cbd5e1; }
.tvh-pdeps button:hover { border-color: #94a3b8; }
.tvh-pdeps button.on { background: #0f172a; color: #fff; border-color: #0f172a; }
.tvh-pnote { font-size: 12.5px; color: #64748b; margin: 6px 0 16px; }

/* Portal header on a phone: tours first — no lead text, the numbers and the
   departure cities each become one row that swipes sideways. */
@media (max-width: 760px) {
  .tvh-phead { margin-bottom: 10px; gap: 10px; }
  .tvh-phead h1 { font-size: 21px; margin: 0; }
  .tvh-phead p { display: none; }
  .tvh-phead .tvh-stats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; gap: 8px; }
  .tvh-phead .tvh-stats::-webkit-scrollbar { display: none; }
  .tvh-phead .tvh-stat { flex: 0 0 auto; min-width: 0; padding: 7px 11px; border-radius: 10px; }
  .tvh-phead .tvh-stat b { font-size: 15px; }
  .tvh-phead .tvh-stat span { font-size: 11px; white-space: nowrap; }
  .tvh-pdeps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 4px; }
  .tvh-pdeps::-webkit-scrollbar { display: none; }
  .tvh-pdeps button, .tvh-pdeps .tvh-deps-l { flex: none; }
  .tvh-pnote { font-size: 11.5px; margin: 4px 0 12px; }
}

/* List container */
.tvh { max-width: 1200px; margin: 0 auto; padding: 22px 16px 10px; font-family: Inter, system-ui, sans-serif; color: #0f172a; }
.tvh.tvh--b2b { max-width: none; padding: 0; }
.tvh select { font: 600 13.5px Inter, system-ui, sans-serif; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 30px 0 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; cursor: pointer; height: 36px; }

/* Building progress */
.tvh-building { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #1e3a8a; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 11px 14px; margin-bottom: 16px; }
.tvh-building[hidden] { display: none; }
.tvh-building i { position: absolute; left: 0; bottom: 0; height: 3px; background: #0B3AD6; transition: width .6s; }
.tvh-spin { width: 14px; height: 14px; flex-shrink: 0; border: 2px solid #bfdbfe; border-top-color: #0B3AD6; border-radius: 50%; animation: tvh-spin .8s linear infinite; }
@keyframes tvh-spin { to { transform: rotate(360deg); } }

.tvh-badge { position: absolute; top: 10px; left: 10px; background: #ea580c; color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; line-height: 1.4; }

/* Filter bar — sticky under the site navbar */
/* Filter panel. A grid of groups that re-flows with the width (4 → 3 → 2
   columns, then folds behind a "Filtrlar" toggle below 760px; the public
   page on a phone uses the bottom sheet further down instead). It used to be
   one sticky row of fixed-width controls that overflowed the card on anything
   narrower than a laptop. Every option carries its faceted count. */
.tvh-bar { position: relative; z-index: 5; padding: 14px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 14px;  }
.tvh-bar:empty { display: none; }
.tvh-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px 18px; align-items: start; }
.tvh-btog { display: none; }
.tvh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tvh-field > span { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.tvh-field select { width: 100%; height: 44px; box-sizing: border-box; margin: 0; padding: 0 34px 0 12px; border: 1px solid #e2e8f0; border-radius: 10px;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 11px center / 14px no-repeat;
  -webkit-appearance: none; appearance: none; font: 600 14px Inter, system-ui, sans-serif; color: #0f172a; cursor: pointer; }
.tvh-field select:hover { border-color: #cbd5e1; }
.tvh-field select:focus { outline: none; border-color: #0B3AD6; box-shadow: 0 0 0 3px rgba(11,58,214,.12); background-color: #fff; }
/* Desktop: a fixed grid — four groups in the first row, meal + a full-width
   budget row in the second — instead of auto-flow that left chips wrapping in
   one cell beside empty space. */
@media (min-width: 761px) {
  .tvh-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .tvh-field--bud { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .tvh-bar { padding: 16px 18px 18px; }
  .tvh-fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tvh-field--bud { grid-column: span 3; }
  .tvh-field--bud.tvh-field--full { grid-column: 1 / -1; }
}
.tvh-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #f1f5f9; border-radius: 10px; padding: 3px; gap: 2px; min-height: 44px; box-sizing: border-box; }
.tvh-seg button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; border: 0; background: transparent; padding: 3px 4px; border-radius: 8px; font: 600 13px Inter, system-ui, sans-serif; color: #475569; cursor: pointer; line-height: 1.15; }
.tvh-seg button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvh-seg button small { font-size: 10.5px; font-weight: 600; color: #94a3b8; }
.tvh-seg button:hover:not([disabled]) { color: #0f172a; }
.tvh-seg button.on { background: #fff; color: #0f172a;  }
.tvh-seg button.on small { color: #0B3AD6; }
.tvh-seg button[disabled] { opacity: .38; cursor: default; }
/* chips that wrap: destinations, meals */
.tvh-seg--wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: none; min-height: 0; }
.tvh-seg--wrap button { flex-direction: row; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; }
.tvh-seg--wrap button.on { border-color: #0B3AD6; background: #eff3ff; color: #0B3AD6; box-shadow: none; }
.tvh-seg-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.1); flex-shrink: 0; }
/* active filters, each removable */
.tvh-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 14px; }
.tvh-active:empty { display: none; }
.tvh-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border: 1px solid #c7d2fe; border-radius: 999px; background: #eff3ff; color: #0B3AD6; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.tvh-chip span { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #0B3AD6; color: #fff; font-size: 13px; line-height: 1; }
.tvh-chip:hover { background: #e0e7ff; }

.tvh-countrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tvh-count { font-size: 14px; color: #334155; }
.tvh-count span { color: #64748b; }
.tvh-reset { background: none; border: 0; padding: 0 0 0 8px; font: 600 13px Inter, system-ui, sans-serif; color: #0B3AD6; cursor: pointer; }
.tvh-countrow-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tvh-sortsel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; }

/* Cards */
.tvh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.tvh-card-skel { height: 420px; }
.tvh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.tvh-card:hover { border-color: #cbd5e1;  }
.tvh-img { position: relative; display: block; height: 180px; background: #e2e8f0 center/cover no-repeat; text-decoration: none; }
.tvh-img.nophoto { background-image: linear-gradient(135deg, #1e3a8a, #0B3AD6); }
.tvh-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; color: rgba(255,255,255,.35); }
.tvh-soon { position: absolute; left: 10px; bottom: 10px; background: rgba(15,23,42,.78); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tvh-soon.hot { background: #ea580c; }
.tvh-body { padding: 14px 16px 10px; flex: 1; min-width: 0; }
.tvh-loc { font-size: 11.5px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.tvh-name { font-size: 16.5px; font-weight: 800; line-height: 1.28; margin: 0 0 6px; letter-spacing: -.01em; }
.tvh-name a { color: #0f172a; text-decoration: none; }
.tvh-name a:hover { color: #0B3AD6; }
.tvh-rate { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-bottom: 10px; }
.tvh-facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; }
.tvh-facts li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #334155; min-width: 0; }
.tvh-facts li:first-child { grid-column: 1 / -1; }
.tvh-facts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvh-facts b { color: #0f172a; }
.tvh-facts em { font-style: normal; color: #b45309; font-weight: 700; }
.tvh-facts svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tvh-op { font-size: 12px; color: #94a3b8; }
/* Card foot (Oct 2026 redesign): ONE layout on every card whatever the amount
   or the card's width — the price block on its own rows, then a full-width
   button. Side by side, a UZS figure ran under the button, and wrapping only
   the cards that overflowed made the grid look uneven. */
.tvh-foot { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 16px; border-top: 1px solid #f1f5f9; background: #fcfdff; }
.tvh-card { container-type: inline-size; }
.tvh-pricebox { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.tvh-unit { font-size: 11.5px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
/* Sized by the card (cqi = % of the card's width): one line on any card. */
.tvh-price { font-size: clamp(20px, 8.6cqi, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #0f172a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tvh-price .tvh-cur { font-size: .55em; font-weight: 700; letter-spacing: 0; margin-left: .3em; color: inherit; opacity: .8; }
/* .tvh .tvh-card beats the phone / sidebar foot overrides further down
   (they centre the row for the old side-by-side layout). */
.tvh .tvh-card .tvh-foot { flex-direction: column; align-items: stretch; }
.tvh .tvh-card .tvh-price { font-size: clamp(20px, 8.6cqi, 28px); }
.tvh .tvh-card .tvh-acts { width: 100%; }
.tvh .tvh-card .tvh-acts .tv-btn { width: 100%; height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.tvh .tvh-card .tvh-acts .tv-btn::after { content: "\2192"; font-weight: 700; }
.tvh-price s { font-size: 14px; font-weight: 600; color: #94a3b8; }
.tvh-note { font-size: 12px; color: #64748b; margin-top: 1px; }
.tvh-acts { display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex-shrink: 0; }
.tvh-acts .tv-btn { padding: 0 20px; }
.tvh-copy { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; font: 600 12px Inter, system-ui, sans-serif; color: #334155; cursor: pointer; white-space: nowrap; }
.tvh-copy:hover { border-color: #94a3b8; }
.tvh-copy.ok { border-color: #16a34a; color: #166534; background: #f0fdf4; }
.tvh-copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.tvh-copy[disabled] { opacity: .6; cursor: default; }
.tvh-share { display: flex; gap: 6px; }
.tvh-share .tvh-copy { flex: 1; }
.tv-card-price .tvh-share { width: 100%; margin-top: 2px; }
/* Desktop: the price column is 200px — two nowrap buttons side by side spill
   out of it, so they stack full-width under "Turni ko'rish". */
@media (min-width: 901px) { .tv-card-price .tvh-share { flex-direction: column; } }
/* "Rasm" preview window (agent portal) */
.tvh-imgdlg { position: fixed; inset: 0; z-index: 3000; background: rgba(2,6,23,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tvh-imgdlg-in { position: relative; background: #fff; border-radius: 16px; padding: 16px; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; box-sizing: border-box; font-family: Inter, system-ui, sans-serif; }
.tvh-imgdlg-in img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid #e2e8f0; }
.tvh-imgdlg-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; font-size: 20px; line-height: 1; cursor: pointer; color: #334155; z-index: 1; }
.tvh-imgdlg-btns { display: flex; gap: 8px; margin-top: 12px; }
.tvh-imgdlg-btns .tv-btn { flex: 1; justify-content: center; text-align: center; }
.tvh-imgdlg-note { margin: 10px 0 0; font-size: 12.5px; color: #64748b; }
.tvh-imgdlg-msg { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #166534; }
.tvh-imgdlg-msg:empty { display: none; }

.tvh-more { text-align: center; margin: 22px 0 6px; }
.tvh-more-n { font-size: 12px; color: #94a3b8; margin-top: 6px; }
.tvh-empty { grid-column: 1 / -1; text-align: center; padding: 46px 20px; color: #64748b; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; }
.tvh-empty h3 { color: #0f172a; font-size: 17px; margin: 0 0 6px; }
.tvh-empty .tv-btn { margin-top: 12px; }

/* Strip on the tour pages */
.tvh-strip { max-width: 1200px; margin: 30px auto 8px; padding: 0 16px; font-family: Inter, system-ui, sans-serif; }
.tvh-strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.tvh-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ea580c; }
.tvh-strip-title { font-size: 22px; font-weight: 800; margin: 2px 0 0; color: #0f172a; letter-spacing: -.01em; }
.tvh-all { font-size: 14px; font-weight: 700; color: #0B3AD6; text-decoration: none; }
/* The strip shows every destination at once: a wrapping grid, no sideways scroll. */
.tvh-strip .tvh-rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); overflow: visible; padding: 2px 0 0; }
.main-content .tvh-strip { max-width: none; margin: 26px 0 8px; padding: 0; }

/* Info block under the list (site) */
.tvh-info { max-width: 1200px; margin: 40px auto 0; padding: 0 16px 56px; font-family: Inter, system-ui, sans-serif; }
.tvh-info h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #0f172a; margin: 0 0 16px; }
.tvh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; padding: 0; list-style: none; counter-reset: s; }
.tvh-steps li { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; counter-increment: s; }
.tvh-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 13px; font-weight: 800; color: #ea580c; margin-bottom: 6px; }
.tvh-steps b { display: block; font-size: 15px; color: #0f172a; margin-bottom: 4px; }
.tvh-steps p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #475569; }
.tvh-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 8px; }
.tvh-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-size: 14.5px; font-weight: 700; color: #0f172a; position: relative; }
.tvh-faq summary::-webkit-details-marker { display: none; }
.tvh-faq summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 20px; font-weight: 500; color: #64748b; }
.tvh-faq details[open] summary::after { content: "−"; }
.tvh-faq details p { margin: 0; padding: 0 16px 14px; font-size: 14px; line-height: 1.6; color: #475569; }
.tvh-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding: 18px 20px; background: #0b1733; color: #e2e8f0; border-radius: 14px; }
.tvh-help b { color: #fff; font-size: 15.5px; display: block; margin-bottom: 2px; }
.tvh-help span { font-size: 13.5px; color: #cbd5e1; }
.tvh-help-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tvh-help-acts a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; background: #fff; color: #0b1733; }
.tvh-help-acts a.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }

@media (max-width: 760px) {
  .tvh-hero { padding: 84px 16px 24px; }
  .tvh-h1 { font-size: 27px; }
  .tvh-lead { font-size: 14.5px; }
  .tvh-stat { min-width: 0; flex: 1 1 40%; padding: 8px 12px; }
  .tvh-stat b { font-size: 17px; }
  /* folded behind a toggle so six groups don't push the list off screen */
  .tvh-bar { padding: 0; }
  .tvh-btog { display: flex; align-items: center; gap: 8px; width: 100%; height: 48px; padding: 0 16px; border: 0; background: none; font: 700 14.5px Inter, system-ui, sans-serif; color: #0f172a; cursor: pointer; }
  .tvh-btog em { font-style: normal; background: #0B3AD6; color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 8px; }
  .tvh-btog i { margin-left: auto; font-style: normal; font-size: 20px; font-weight: 500; color: #64748b; }
  .tvh-fgrid { display: none; grid-template-columns: 1fr; padding: 4px 16px 16px; border-top: 1px solid #eef2f6; }
  .tvh-fgrid.open { display: grid; }
  .tvh-rail { grid-auto-columns: 164px; }
  .tvh-strip .tvh-rail { grid-template-columns: repeat(2, 1fr); }
  .tvh-grid { grid-template-columns: 1fr; }
  .tvh-steps { grid-template-columns: 1fr; }
}
/* The site hides its navbar at <=880px on pages with the bottom mobile nav. */
@media (max-width: 880px) {
  body.ob-app .tvh-hero { padding-top: calc(64px + 24px); }   /* below the fixed navbar */
}

/* "Narxga nimalar kiradi" (TV.includedHtml) — the operator's own answer per tour */
.tv-inc { margin: 12px 0 10px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 12px 10px; background: #fbfcfe; }
.tv-inc-h { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #475569; margin-bottom: 8px; }
.tv-inc-h.sub { margin-top: 12px; color: #92400e; }
.tv-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tv-inc li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.35; }
.tv-inc li svg { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; padding: 3px; box-sizing: border-box; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.tv-inc li.yes svg { background: #dcfce7; stroke: #15803d; }
.tv-inc li.no svg { background: #f1f5f9; stroke: #94a3b8; }
.tv-inc li.wait svg { background: #eff6ff; stroke: #2563eb; stroke-width: 2.2; }
.tv-inc li span { display: flex; flex-direction: column; min-width: 0; }
.tv-inc li b { font-weight: 700; color: #0f172a; }
.tv-inc li.no b { color: #64748b; text-decoration: line-through; text-decoration-color: #cbd5e1; }
.tv-inc li small { font-size: 12px; color: #64748b; }
.tv-inc li.wait small { color: #2563eb; }
.tv-inc li.warn { padding-left: 27px; }
.tv-inc li.warn b { color: #92400e; }
.tv-inc-src { margin: 10px 0 0; font-size: 11.5px; color: #94a3b8; line-height: 1.45; }

/* Numbered steps — the booking page (js/tv-booking.js) */
.tv-step { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 9px; border-radius: 50%; background: #0B3AD6; color: #fff; font-size: 12.5px; font-weight: 800; vertical-align: 2px; }

/* Tour page (js/tv-tour.js) — trip facts, room & meal choice, booking bar */
.tv-rating { display: inline-block; background: #0B3AD6; color: #fff; font-weight: 800; font-size: 12px; padding: 1px 7px; border-radius: 6px; }
.tv-lead { font-size: 13.5px !important; color: #64748b !important; margin: -4px 0 12px !important; }
.tv-trip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tv-trip-head a { font-size: 13px; font-weight: 700; color: #0B3AD6; text-decoration: none; }
.tv-trip { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; background: #f8fafc; border-radius: 12px; padding: 14px 16px; }
.tv-trip-d span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.tv-trip-d b { display: block; font-size: 17px; font-weight: 800; color: #0f172a; margin: 2px 0; }
.tv-trip-d small { font-size: 12.5px; color: #64748b; }
.tv-trip-d.r { text-align: right; }
.tv-trip-n { text-align: center; min-width: 110px; }
.tv-trip-n b { font-size: 13.5px; font-weight: 800; color: #0B3AD6; }
.tv-trip-n i { display: block; height: 2px; margin: 5px 0; background: repeating-linear-gradient(90deg, #94a3b8 0 6px, transparent 6px 11px); }
.tv-trip-n small { font-size: 11.5px; color: #64748b; }
.tv-trip-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; }
.tv-trip-meta span { font-size: 12.5px; font-weight: 600; color: #334155; background: #f1f5f9; border-radius: 999px; padding: 4px 11px; }
.tv-trip-meta span.good { background: #dcfce7; color: #166534; }
.tv-trip-meta span.warn { background: #fef3c7; color: #92400e; }
.tv-room { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.tv-room.on { border-color: #c7d2fe; }
.tv-room-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #eef2f6; }
.tv-room-h b { font-size: 14.5px; font-weight: 800; color: #0f172a; text-transform: capitalize; }
.tv-room-h small { font-size: 12px; color: #64748b; white-space: nowrap; }
.tv-rate { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 0; border-top: 1px solid #f1f5f9;
  padding: 12px 14px; cursor: pointer; font-family: Inter, system-ui, sans-serif; color: #0f172a; }
.tv-room-h + .tv-rate { border-top: 0; }
.tv-rate:hover { background: #f8faff; }
.tv-rate.on { background: #eef2ff; cursor: default; }
.tv-rate.static { grid-template-columns: 1fr auto; }
.tv-rate[disabled] { opacity: .6; cursor: wait; }
.tv-vradio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; box-sizing: border-box; }
.tv-rate.on .tv-vradio { border: 5px solid #0B3AD6; }
.tv-rate-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.tv-rate-m small.good { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; background: #dcfce7; color: #166534; }
.tv-rate-p { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.tv-rate-p b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.tv-rate-p b.down { color: #15803d; }
.tv-rate-p small { font-size: 11.5px; color: #64748b; white-space: nowrap; }
.tv-rate-p i { font-style: normal; font-size: 12.5px; font-weight: 800; color: #0B3AD6; }
.tv-wait { display: flex; align-items: center; gap: 10px; }
.tv-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #c7d2fe; border-top-color: #0B3AD6; animation: tvspin .8s linear infinite; flex-shrink: 0; }
@keyframes tvspin { to { transform: rotate(360deg); } }
#tvIncl > .tv-inc { margin: 0; border: 0; padding: 0; background: none; }
#tvIncl > .tv-inc .tv-inc-h { font-size: 16px; font-weight: 800; letter-spacing: 0; text-transform: none; color: #0f172a; margin-bottom: 12px; }
.tv-panel .tv-inc-src { font-size: 11.5px; color: #94a3b8; margin: 10px 0 0; }
.tv-sum-hotel { font-size: 15px; margin-bottom: 8px; }
.tv-sum-total small { font-size: 11.5px; font-weight: 600; color: #94a3b8; }
.tv-terms { margin-top: 10px; font-size: 12.5px; color: #475569; }
.tv-terms summary { cursor: pointer; font-weight: 700; color: #0B3AD6; }
.tv-terms ul { margin: 8px 0 6px; padding-left: 18px; line-height: 1.6; }
.tv-terms p { font-size: 12.5px !important; margin: 0 !important; }
.tv-bookbar { display: none; }
@media (max-width: 960px) {
  /* The card's button sits below the whole page on a phone — the bar keeps
     the total and "Bron qilish" on screen. */
  .tv-bookbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
    background: #fff; border-top: 1px solid #e2e8f0;  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .tv-bookbar .tv-btn { height: 46px; padding: 0 22px; font-size: 15px; flex-shrink: 0; }
  .tv-bar-p b { display: block; font-size: 19px; font-weight: 800; color: #0f172a; }
  .tv-bar-p small { font-size: 12px; color: #64748b; }
  .tv-tour { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  .tv-trip { grid-template-columns: 1fr 1fr; }
  .tv-trip-n { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 10px; min-width: 0; }
  .tv-trip-n i { flex: 1; margin: 0; }
  .tv-trip-d b { font-size: 15.5px; }
  .tv-rate-p b { font-size: 14px; }
}

/* Netto / Brutto: the switch styles itself (js/b2b-price.js); a card showing
   the client price turns amber. */
.tv-price.brutto { color: #b45309; }
.tv-brutto-tag { color: #b45309; font-weight: 800; }

/* Netto / Brutto inside the tour summary card (js/tv-tour.js). The switch
   itself is js/b2b-price.js; here it is a full-width segmented control. */
.tv-pm { margin: -2px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.tv-pm .obp-mode { display: flex; width: 100%; box-sizing: border-box; padding: 4px; border-radius: 11px; }
.tv-pm .obp-mode > span { display: none; }
.tv-pm .obp-mode button { flex: 1; padding: 9px 0; font-size: 14px; border-radius: 8px; }
.tv-pm .obp-note { font-size: 12px; margin-top: 7px; text-align: center; }
.tv-sum-total.brutto b { color: #b45309; }
.tv-bar-p em { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #0B3AD6; background: #eef2ff; border-radius: 5px; padding: 1px 6px; margin-bottom: 2px; }
.tv-bar-p em.brutto { color: #b45309; background: #fffbeb; }

/* Booking page (js/tv-booking.js) — date selects + summary card */
.tv-dsel { display: grid; grid-template-columns: 0.9fr 1.1fr 1.2fr; gap: 6px; }
.tv-dsel select { padding: 0 6px; text-align: left; }
.tv-in .tv-dsel select:invalid, .tv-dsel select option[value=""] { color: #94a3b8; }
.tv-in.bad .tv-dsel select { border-color: #ef4444; background: #fef2f2; }
.tv-sum-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; background: #f8fafc; border-radius: 10px; padding: 10px 12px; margin-bottom: 6px; }
.tv-sum-dates span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.tv-sum-dates b { font-size: 14px; font-weight: 800; color: #0f172a; }
.tv-sum-dates .r { text-align: right; }
.tv-sum-dates em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #0B3AD6; background: #eef2ff; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.tv-sum-sec { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #475569; margin: 14px 0 6px; }
.tv-sfl { border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; }
.tv-sfl-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #0B3AD6; margin-bottom: 4px; }
.tv-sfl-h span { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #334155; }
.tv-sfl-r { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.tv-sfl-r b { font-size: 16px; font-weight: 800; color: #0f172a; }
.tv-sfl-r b sup { font-size: 10px; color: #b45309; margin-left: 1px; }
.tv-sfl-r i { flex: 1; height: 0; border-top: 1.5px dashed #cbd5e1; position: relative; min-width: 18px; }
.tv-sfl-s { font-size: 12px; color: #64748b; margin: 3px 0 2px; }
.tv-sfl-r + .tv-sfl-s + .tv-sfl-r { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #e2e8f0; }

.tvh-loc { display: flex; align-items: center; gap: 6px; }
.tvh-loc-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.1); flex-shrink: 0; }

/* Agent's margin at the public price (TV.profitHtml, /b2b/ netto mode only). */
.tv-profit { display: inline-block; margin: 2px 0 6px; padding: 3px 8px; border-radius: 6px; background: #ecfdf5; color: #047857; font-size: 12px; font-weight: 600; line-height: 1.35; }
.tv-profit b { font-weight: 800; color: #047857; }
.tv-profit small { font-weight: 500; color: #059669; font-size: 11px; }

/* Destination post (js/tv-hot.js postPanel): one picture + text for a whole
   destination, for whoever may share (agents at the client price, the
   affiliate cabinet with its link + promo). A card at the top of the list
   that SHOWS what you get — a small sample of the picture (4:5 like the real
   1080×1350 one) — beside the destination chips and the share buttons. */
.tvh-post { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 24px; padding: 20px 24px 20px 20px; border-radius: 20px;
  background: linear-gradient(120deg, #eef5ff 0%, #ffffff 55%, #fff5ee 100%); border: 1px solid #dfe8f7;  }
/* the sample picture */
.tvh-post-mock { margin: 0; }
.tvh-post-mimg { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #0B5BD3 center/cover no-repeat;
   transform: rotate(-2deg); }
.tvh-post-mimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.05) 35%, rgba(2,6,23,.82) 100%); }
.tvh-post-mtag { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: #FF6A1A; color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tvh-post-mtxt { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 11px; display: flex; flex-direction: column; color: #fff; }
.tvh-post-mtxt b { font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-post-mtxt em { font-style: normal; font-size: 15px; font-weight: 800; color: #fcd34d; margin-top: 2px; }
.tvh-post-mtxt small { font-size: 9.5px; color: rgba(255,255,255,.75); margin-top: 6px; letter-spacing: .02em; }
.tvh-post-mock figcaption { margin-top: 10px; text-align: center; font-size: 11px; font-weight: 600; color: #94a3b8; letter-spacing: .03em; }
/* photo queue: "Rasm 2 / 5" + a button to skip to the next photo */
.tvh-post-q { display: flex; align-items: center; justify-content: center; gap: 8px; }
.tvh-post-q button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0 0 2px; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; color: #0B5BD3; font: 700 16px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.tvh-post-q button:hover { border-color: #0B5BD3; background: #eef5ff; }
/* right side */
.tvh-post-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tvh-post-title b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #0f172a; margin-bottom: 3px; }
.tvh-post-title span { display: block; font-size: 13.5px; line-height: 1.5; color: #64748b; max-width: 720px; }
.tvh-post-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tvh-post-chips button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 10px; border: 1px solid #dbe3ef; border-radius: 999px; background: #fff;
  font: 600 13.5px Inter, system-ui, sans-serif; color: #1e293b; cursor: pointer; transition: border-color .15s, background .15s; }
.tvh-post-chips button:hover { border-color: #94a3b8; }
.tvh-post-chips button.on { background: #0B5BD3; border-color: #0B5BD3; color: #fff;  }
.tvh-post-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); }
.tvh-post-chips button.on .tvh-post-flag { box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.tvh-post-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tvh-post-fact { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #334155; }
.tvh-post-fact svg { width: 15px; height: 15px; fill: none; stroke: #0B5BD3; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tvh-post-acts .tvh-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tvh-post-acts .tvh-copy { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; font-weight: 700; border-color: #cbd5e1; background: #fff; color: #0f172a; }
.tvh-post-acts .tvh-copy:hover { border-color: #94a3b8; }
.tvh-post-acts .tvh-copy:first-child { background: #FF6A1A; border-color: #FF6A1A; color: #fff;  }
.tvh-post-acts .tvh-copy:first-child:hover { background: #f05a0a; border-color: #f05a0a; }
.tvh-post-acts .tvh-copy.ok, .tvh-post-acts .tvh-copy:first-child.ok { background: #16a34a; border-color: #16a34a; color: #fff; box-shadow: none; }
.tvh-post-acts .tvh-copy svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .tvh-post { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .tvh-post-mock { width: 150px; margin: 0 auto; }
  .tvh-post-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .tvh-post-chips::-webkit-scrollbar { display: none; }
  .tvh-post-chips button { flex: none; }
  .tvh-post-acts .tvh-copy { flex: 1; }
}
/* Phones: the post tool leaves the page so the hot tours come first — a
   floating "Post yaratish" button opens it as a bottom sheet (js: postOpen).
   Wider screens show the card in place; the button, backdrop and sheet head
   are phone-only. */
.tvh-post-fab, .tvh-post-back, .tvh-post-shead { display: none; }
@media (max-width: 760px) {
  .tvh-post-fab { display: inline-flex; align-items: center; gap: 9px; position: fixed; z-index: 1100; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom));
    height: 50px; padding: 0 18px 0 5px; border: 0; border-radius: 999px; background: #FF6A1A; color: #fff; font: 800 14.5px Inter, system-ui, sans-serif;
     cursor: pointer; }
  .tvh-post-fab[hidden] { display: none; }
  .tvh-post-fthumb { width: 40px; height: 40px; border-radius: 50%; background: #0B5BD3 center/cover no-repeat; box-shadow: 0 0 0 2px #fff; }
  .tvh-post-back { display: block; position: fixed; inset: 0; z-index: 1200; background: rgba(15,23,42,.5); }
  .tvh-post-back[hidden] { display: none; }
  .tvh-post { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1201; margin: 0; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
    grid-template-columns: 1fr; gap: 16px; padding: 0 16px calc(18px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; background: #fff;
     transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s; }
  .tvh-post.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .tvh-post::before { display: none; }
  .tvh-post-shead { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; margin: 0 -16px; padding: 14px 16px 12px; background: #fff; border-bottom: 1px solid #eef2f6; }
  .tvh-post-shead b { font-size: 17px; font-weight: 800; color: #0f172a; }
  .tvh-post-shead button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; font-size: 21px; line-height: 1; color: #334155; cursor: pointer; }
  .tvh-post-title b { display: none; }
  .tvh-post-mock { width: 160px; margin: 2px auto 0; }
}
body[data-page="hot"] .tvh-post-fab { bottom: calc(82px + env(safe-area-inset-bottom)); }

/* ── Qaynoq turlar on a phone, public page (Oct 2026) ─────────────────────
   `.tvh--m` is set by js/tv-hot.js only on the page with the site's bottom
   nav — agents and the affiliate cabinet keep the layout above. The page
   opens on the offers: a short header with the numbers in one swipeable row,
   a compact destination rail, then photo-led cards. The filter bar, which on
   a phone was a sideways-scrolling row of five controls stuck to the top,
   is a bottom sheet behind a floating "Filtrlar · Saralash" pill that sits
   above the bottom nav. */
.tvh-shead, .tvh-sfoot, .tvh-img-loc { display: none; }
.tvh-mbar { display: none !important; }
@media (max-width: 760px) {
  /* Header */
  body.ob-app .tvh-hero { padding: calc(64px + 18px) 16px 18px; }   /* below the fixed navbar */
  body.ob-app .tvh-hero .tvh-stats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 14px -16px 0; padding: 0 16px; }
  body.ob-app .tvh-hero .tvh-stats::-webkit-scrollbar { display: none; }
  body.ob-app .tvh-hero .tvh-stat { flex: 0 0 auto; min-width: 0; padding: 8px 12px; border-radius: 10px; }
  body.ob-app .tvh-hero .tvh-stat b { font-size: 16px; }
  body.ob-app .tvh-hero .tvh-stat span { font-size: 11.5px; white-space: nowrap; }
  body.ob-app .tvh-hero .tvh-deps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; }
  body.ob-app .tvh-hero .tvh-deps::-webkit-scrollbar { display: none; }
  body.ob-app .tvh-hero .tvh-deps button { flex-shrink: 0; height: 34px; padding: 0 14px; }
  body.ob-app .tvh-hero .tvh-deps-l { flex-shrink: 0; }
  body.ob-app .tvh-hero .tvh-updated { font-size: 11.5px; margin-top: 10px; }

  .tvh--m { padding: 16px 16px 92px; }

  .tvh--m .tvh-badge { top: 8px; left: 8px; font-size: 11px; padding: 2px 7px; }

  /* Count row: the sort lives in the floating pill */
  .tvh--m .tvh-countrow { margin-bottom: 12px; }
  .tvh--m #tvhSort { display: none; }
  .tvh--m .tvh-count { font-size: 14.5px; }

  /* Filter bar → bottom sheet */
  .tvh--m .tvh-bar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1200; display: block; margin: 0; padding: 0 16px;
    max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 18px 18px 0 0; background: #fff;
     transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .tvh--m .tvh-bar.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .tvh--m .tvh-shead { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -16px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #eef2f6; }
  .tvh--m .tvh-shead b { font-size: 17px; font-weight: 800; color: #0f172a; }
  .tvh-sx { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; font-size: 21px; line-height: 1; color: #334155; cursor: pointer; }
  .tvh--m .tvh-fgrid { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; border: 0; }
  .tvh--m .tvh-field { padding: 14px 0 2px; gap: 8px; }
  .tvh--m .tvh-field > span { font-size: 12px; }
  .tvh--m .tvh-field select { width: 100%; height: 44px; font-size: 15px; }
  .tvh--m .tvh-seg:not(.tvh-seg--wrap) { min-height: 48px; }
  .tvh--m .tvh-seg button { font-size: 13.5px; }
  .tvh--m .tvh-seg--wrap button { height: 38px; }
  .tvh--m .tvh-sfoot { display: flex; gap: 10px; position: sticky; bottom: 0; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eef2f6; }
  .tvh--m .tvh-sfoot .tv-btn { flex: 1; height: 46px; font-size: 15px; }
  .tvh--m .tvh-sfoot .tv-btn.ghost { flex: 0 0 auto; padding: 0 18px; }

  /* Floating pill, above the bottom nav (52px) */
  .tvh-mbar.tv-mbar { display: flex !important; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .tvh-mbar.tv-mbar[hidden] { display: none !important; }
  .tvh-mbar .tv-fbtn, .tvh-mbar .tv-sbtn { height: 44px; padding: 0 16px; }

  /* Cards: photo-led, the whole card opens the tour */
  .tvh--m .tvh-grid { gap: 14px; }
  .tvh--m .tvh-card-skel { height: 360px; }
  .tvh--m .tvh-card { position: relative; border-radius: 16px;  }
  .tvh--m .tvh-card:hover {  }
  .tvh--m .tvh-card:active { transform: scale(.995); }
  .tvh--m .tvh-img { height: 196px; }
  .tvh--m .tvh-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, transparent, rgba(2,6,23,.62)); pointer-events: none; }
  .tvh--m .tvh-img .tvh-badge { top: 12px; left: 12px; font-size: 12.5px; padding: 4px 9px; }
  .tvh--m .tvh-soon { left: auto; right: 12px; top: 12px; bottom: auto; background: rgba(255,255,255,.94); color: #0f172a;  }
  .tvh--m .tvh-soon.hot { background: #ea580c; color: #fff; }
  .tvh--m .tvh-img-loc { display: flex; align-items: center; gap: 7px; position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tvh--m .tvh-img-loc .tvh-loc-flag { box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
  .tvh--m .tvh-loc { display: none; }
  .tvh--m .tvh-body { padding: 12px 14px 8px; }
  .tvh--m .tvh-name { font-size: 17px; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tvh--m .tvh-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
  .tvh--m .tvh-rate { margin-bottom: 10px; }
  .tvh--m .tvh-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
  .tvh--m .tvh-facts li { background: #f1f5f9; border-radius: 8px; padding: 5px 9px; font-size: 12.5px; gap: 5px; }
  .tvh--m .tvh-facts li:first-child { flex-basis: 100%; background: none; padding: 0 0 2px; font-size: 13.5px; }
  .tvh--m .tvh-facts svg { width: 14px; height: 14px; }
  .tvh--m .tvh-op { font-size: 11.5px; }
  .tvh--m .tvh-foot { align-items: center; padding: 10px 14px 14px; background: #fff; border-top-color: #eef2f6; }
  .tvh--m .tvh-unit { font-size: 10.5px; }
  .tvh--m .tvh-price { font-size: clamp(18px, 7.5cqi, 24px); }
  .tvh--m .tvh-price s { font-size: 13px; }
  .tvh--m .tvh-note { font-size: 11.5px; }
  .tvh--m .tvh-acts { position: relative; z-index: 1; }
  .tvh--m .tvh-acts .tv-btn { height: 44px; padding: 0 22px; border-radius: 12px; font-size: 15px; }

  .tvh--m .tvh-more .tv-btn { width: 100%; height: 46px; }
  .tvh--m .tvh-building { font-size: 12.5px; }
}

/* ═══ Qaynoq turlar — desktop redesign (Oct 2026) ═══════════════════════════
   Country tiles are photo tiles (name + "from" price over a shade, flag and
   operator discount on top, arrows instead of a scrollbar). From 1100px
   (1280px inside the portals) js/tv-hot.js sets .tvh--side: filters move to
   a sidebar, sort becomes tabs. The phone layout (.tvh--m) keeps its own rules
   above; only the tile sizes are set for it here. */

/* Country tiles (list page + the strip on the tour pages) */
.tvh-railwrap { margin-bottom: 22px; }
.tvh-railhead { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.tvh-railhead h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0; color: #0f172a; }
.tvh-railhead > span { font-size: 13px; color: #64748b; }
.tvh-railnav { margin-left: auto; display: flex; gap: 6px; align-self: center; }
.tvh-railnav button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0 0 2px; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; font: 500 21px/1 Inter, system-ui, sans-serif; color: #0f172a; cursor: pointer; }
.tvh-railnav button:hover { border-color: #94a3b8; background: #f8fafc; }
.tvh-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 212px; gap: 12px; overflow-x: auto; padding: 4px 4px 6px; margin: -4px -4px 0; scroll-snap-type: x proximity; scrollbar-width: none; }
.tvh-rail::-webkit-scrollbar { display: none; }
.tvh-dest { --tvh-c1: #0B3AD6; position: relative; display: block; height: 168px; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; isolation: isolate;
  text-align: left; text-decoration: none; color: #fff; background: #1e293b; font-family: inherit; cursor: pointer; scroll-snap-align: start;
   transition: transform .18s ease, box-shadow .18s ease; }
.tvh-dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,6,23,0) 30%, rgba(2,6,23,.8) 100%); }
.tvh-dest:hover { transform: translateY(-2px);  }
.tvh-dest:focus-visible { outline: 3px solid #0B3AD6; outline-offset: 2px; }
.tvh-dest-img { position: absolute; inset: 0; z-index: -2; background: #334155 center/cover no-repeat; transition: transform .45s ease; }
.tvh-dest:hover .tvh-dest-img { transform: scale(1.06); }
.tvh-dest-img.nophoto { background-image: linear-gradient(135deg, var(--tvh-c1), #0f172a); }
.tvh-dest-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 6px; }
.tvh-dest-flag { display: block; width: 28px; height: 19px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); }
.tvh-dest-top .tvh-badge { position: static; margin-left: auto; }
.tvh-dest-body { position: absolute; left: 12px; right: 12px; bottom: 11px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tvh-dest-name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-dest-n { font-size: 12px; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-dest-price { align-self: flex-start; max-width: 100%; margin-top: 7px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #0f172a; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.tvh-dest-price small { font-size: 11px; font-weight: 600; color: #64748b; }
/* so'm is longer than dollars: a notch smaller so "dan 4,77 mln so'm / kishi" fits the tile */
.tvh-dest-price.is-uzs { font-size: 12.5px; padding: 4px 8px; letter-spacing: -.02em; }
.tvh-dest-price.is-uzs small { font-size: 10px; }
.tvh-dest-price.obp-brutto { background: #fef3c7; }
.tvh-dest.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0B3AD6; }
.tvh-dest-check { position: absolute; right: 11px; bottom: 13px; width: 24px; height: 24px; border-radius: 50%;
  background: #0B3AD6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 2px #fff; }
.tvh-dest.tv-skel { background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%); background-size: 200% 100%; animation: tvsk 1.2s linear infinite; box-shadow: none; }
.tvh-dest.tv-skel::after { display: none; }
.tvh-strip .tvh-rail { margin: 0; padding: 0; }
@media (hover: none) { .tvh-dest:hover { transform: none; } .tvh-dest:hover .tvh-dest-img { transform: none; } }
@media (max-width: 760px) {
  .tvh-railhead { flex-wrap: wrap; margin-bottom: 10px; }
  .tvh-railhead h2 { font-size: 17px; }
  .tvh-railhead > span { font-size: 12px; }
  .tvh-railnav { display: none; }
  .tvh-rail { grid-auto-columns: 158px; gap: 10px; }
  .tvh-dest { height: 146px; border-radius: 14px; }
  .tvh-dest-name { font-size: 15.5px; }
  .tvh-dest-n { font-size: 11.5px; }
  .tvh-dest-price { font-size: 13.5px; padding: 3px 9px; margin-top: 6px; }
  .tvh--m .tvh-railhead { padding: 0 16px; }
  .tvh--m .tvh-railwrap { margin: 0 -16px 14px; }
  .tvh--m .tvh-rail { padding: 4px 16px 6px; margin: -4px 0 0; scroll-padding: 0 16px; }
}

/* Share tools under a card's price (agents, affiliate cabinet) */
.tvh-cardshare { padding: 0 16px 14px; }
.tvh-cardshare .tvh-share { display: flex; gap: 8px; }
.tvh-cardshare .tvh-copy { flex: 1; height: 34px; }

/* Header (site): text left, today's cheapest destinations right */
@media (min-width: 761px) {
  .tvh-hero { padding: 100px 16px 40px;
    background-color: #0b1733;
    background-image:
      radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
      radial-gradient(700px 360px at 92% 0%, rgba(234,88,12,.30), transparent 62%),
      radial-gradient(760px 380px at 0% 100%, rgba(11,58,214,.42), transparent 62%),
      linear-gradient(160deg, #0b1733 0%, #0d1f4a 100%);
    background-size: 22px 22px, auto, auto, auto; }
  .tvh-hero-in { max-width: 1240px; }
  .tvh-h1 { font-size: 42px; margin: 12px 0 10px; }
  .tvh-lead { font-size: 16px; max-width: 560px; }
  /* numbers as one light row, no box */
  .tvh-hero .tvh-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; }
  .tvh-hero .tvh-stats[hidden] { display: none; }
  .tvh-hero .tvh-stat { background: none; border: 0; border-radius: 0; min-width: 0; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.16); }
  .tvh-hero .tvh-stat:first-child { padding-left: 0; border-left: 0; }
  .tvh-hero .tvh-stat b { font-size: 24px; line-height: 1.15; }
  .tvh-hero .tvh-stat span { font-size: 12.5px; color: #94a3b8; }
  .tvh-hero .tvh-deps { margin-top: 24px; }
  .tvh-hero .tvh-deps button { height: 34px; padding: 0 14px; background: rgba(255,255,255,.04); }
  .tvh-hero .tvh-deps button.on { background: #fff; }
}
@media (min-width: 961px) {
  .tvh-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: center; }
}
.tvh-spot { min-width: 0; }
.tvh-spot[hidden] { display: none; }
@media (max-width: 960px) { .tvh-spot { display: none; } }
.tvh-top { padding: 16px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tvh-top-h { display: flex; flex-direction: column; gap: 2px; padding: 2px 6px 10px; }
.tvh-top-h b { font-size: 15px; font-weight: 800; color: #fff; }
.tvh-top-h span { font-size: 12px; color: #94a3b8; }
.tvh-top-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 8px; border: 0; border-radius: 14px; background: transparent; color: #fff; font-family: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.tvh-top-row + .tvh-top-row { margin-top: 2px; }
.tvh-top-row:hover { background: rgba(255,255,255,.08); }
.tvh-top-row.first { background: rgba(255,255,255,.1); }
.tvh-top-row.first:hover { background: rgba(255,255,255,.14); }
.tvh-top-img { position: relative; display: block; width: 58px; height: 58px; border-radius: 12px; background: #334155 center/cover no-repeat; }
.tvh-top-img.nophoto { background-image: linear-gradient(135deg, #1e3a8a, #0B3AD6); }
.tvh-top-flag { position: absolute; left: -4px; bottom: -4px; width: 24px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 2px #0f1c3f; }
.tvh-top-mid { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tvh-top-mid b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-top-mid em { flex: none; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: #ea580c; border-radius: 999px; padding: 2px 7px; }
.tvh-top-mid small { font-size: 12px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-top-p { display: flex; flex-direction: column; align-items: flex-end; font-size: 19px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.tvh-top-p small { font-size: 11px; font-weight: 600; color: #94a3b8; letter-spacing: 0; }
.tvh-top-row.first .tvh-top-p { color: #fdba74; }
.tvh-top-all { display: block; width: 100%; height: 40px; margin-top: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: transparent; color: #e2e8f0; font: 700 13.5px Inter, system-ui, sans-serif; cursor: pointer; }
.tvh-top-all:hover { border-color: rgba(255,255,255,.45); color: #fff; }

/* Sidebar layout */
.tvh { max-width: 1240px; }
.tvh--side .tvh-layout { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 24px; align-items: start; }
.tvh-main { min-width: 0; }
.tvh--side .tvh-bar { padding: 0; margin-bottom: 14px;  }
.tvh-sidehead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eef2f6; }
.tvh-sidehead b { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 800; color: #0f172a; }
.tvh-sidehead em { font-style: normal; background: #0B3AD6; color: #fff; border-radius: 999px; font-size: 11.5px; padding: 1px 8px; }
.tvh-sidehead .tvh-reset { padding: 0; }
.tvh--side .tvh-fgrid { display: flex; flex-direction: column; gap: 0; padding: 0 16px 4px; }
.tvh--side .tvh-field { gap: 9px; padding: 14px 0; border-top: 1px solid #f1f5f9; }
.tvh--side .tvh-field:first-child { border-top: 0; }
.tvh--side .tvh-field > span { color: #334155; }
.tvh-seg--list { display: flex; flex-direction: column; gap: 1px; min-height: 0; padding: 0; background: none; border-radius: 0; }
.tvh-seg--list button { flex-direction: row; justify-content: flex-start; gap: 10px; margin: 0 -8px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; color: #1e293b; text-align: left; line-height: 1.3; }
.tvh-seg--list button::before { content: ""; flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 1.5px solid #cbd5e1; border-radius: 50%; background: #fff; transition: border-width .12s; }
.tvh-seg--list button span { flex: 1; }
.tvh-seg--list button small { font-size: 12px; color: #94a3b8; }
.tvh-seg--list button:hover:not([disabled]) { background: #f8fafc; }
.tvh-seg--list button.on, .tvh-seg--list button.on:hover { background: #eff3ff; color: #0B3AD6; font-weight: 700; box-shadow: none; }
.tvh-seg--list button.on::before { border: 5px solid #0B3AD6; }

/* Toolbar: count left, price mode + sort tabs right */
.tvh--side .tvh-countrow { padding: 8px 8px 8px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;  }
.tvh--side .tvh-count { font-size: 14px; }
.tvh--side .tvh-count b { font-size: 17px; font-weight: 800; color: #0f172a; }
.tvh--side .tvh-active { margin: 0 0 14px; }
.tvh-sorttabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #f1f5f9; }
.tvh-sorttabs button { padding: 7px 13px; border: 0; border-radius: 8px; background: transparent; font: 600 13px Inter, system-ui, sans-serif; color: #475569; cursor: pointer; white-space: nowrap; }
.tvh-sorttabs button:hover { color: #0f172a; }
.tvh-sorttabs button.on { background: #fff; color: #0f172a;  }
.tvh--side .tvh-grid { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 18px; }

/* Cards (desktop): photo-led — place, badge and countdown on the photo */
@media (min-width: 761px) {
  .tvh-card { border-color: #e6eaf2; border-radius: 18px;  transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
  .tvh-card:hover { transform: translateY(-2px); border-color: #dbe2ee;  }
  .tvh-img { height: 196px; }
  .tvh-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(2,6,23,.6)); pointer-events: none; }
  .tvh-img .tvh-badge { top: 12px; left: 12px; z-index: 1; font-size: 12px; padding: 4px 9px; }
  .tvh-soon { left: auto; right: 12px; top: 12px; bottom: auto; z-index: 1; background: rgba(255,255,255,.95); color: #0f172a;  }
  .tvh-soon.hot { background: #ea580c; color: #fff; }
  .tvh-img-loc { display: flex; align-items: center; gap: 7px; position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tvh-img-loc .tvh-loc-flag { box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
  .tvh-loc { display: none; }
  .tvh-body { padding: 14px 16px 6px; }
  .tvh-name { font-size: 17px; min-height: 2.56em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
  .tvh-rate { margin-bottom: 10px; }
  .tvh-facts { display: flex; flex-wrap: wrap; gap: 6px; }
  .tvh-facts li { padding: 5px 9px; border-radius: 8px; background: #f4f6fa; font-size: 12.5px; gap: 5px; }
  .tvh-facts li:first-child { flex-basis: 100%; padding: 0 0 2px; background: none; font-size: 13.5px; }
  .tvh-facts svg { width: 14px; height: 14px; }
  .tvh-op { padding-bottom: 6px; }
  .tvh-foot { align-items: center; padding: 12px 16px 16px; background: #fff; border-top-color: #f1f5f9; }
  .tvh-acts .tv-btn { height: 42px; padding: 0 22px; border-radius: 11px; }
}

/* How it works + FAQ + help (site) */
@media (min-width: 761px) {
  .tvh-info { max-width: 1240px; margin-top: 56px; }
  .tvh-info h2 { font-size: 24px; margin-bottom: 18px; }
  .tvh-steps { gap: 16px; margin-bottom: 48px; }
  .tvh-steps li { padding: 22px 22px 24px; border-radius: 16px; }
  .tvh-steps li::before { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: #fff1e8; font-size: 14px; }
  .tvh-steps b { font-size: 16px; }
}
@media (min-width: 900px) {
  .tvh-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
  .tvh-faq details { margin: 0; }
  .tvh-help { padding: 24px 28px; border-radius: 18px; background-image: radial-gradient(600px 220px at 100% 0%, rgba(234,88,12,.25), transparent 60%); }
}



/* ═══ Qaynoq turlar header — logo colours (Oct 2026) ════════════════════════
   The page most visitors land on, so it reads as a holiday: a sky in the logo
   blue (#0B5BD3), orange (#FF6A1A) accents, a dashed flight path with a plane, and sea waves
   running into the page. Everything is CSS/SVG — no photos. */
.tvh-hero--brand { position: relative; overflow: hidden; isolation: isolate;
  background: #0B5BD3;
  background-image:
    radial-gradient(900px 480px at 8% 115%, rgba(5,50,140,.55), transparent 62%),
    radial-gradient(700px 360px at 50% -20%, rgba(120,190,255,.35), transparent 65%),
    linear-gradient(160deg, #2a83f5 0%, #0B5BD3 48%, #0849ad 100%); }
.tvh-hero--brand .tvh-hero-in { position: relative; z-index: 2; }

/* flight path + plane */
.tvh-flight { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.4); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.tvh-plane { position: absolute; z-index: 1; left: 82%; top: 14.8%; width: 30px; height: 30px; fill: #fff; transform: translate(-50%, -50%) rotate(38deg);  animation: tvhFly 4s ease-in-out infinite alternate; }
@keyframes tvhFly { from { margin-top: 0; } to { margin-top: -6px; } }

/* sea */
.tvh-sea { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; display: block; width: 100%; height: 72px; pointer-events: none; }
.tvh-sea .w1 { fill: rgba(255,255,255,.12); }
.tvh-sea .w2 { fill: rgba(255,255,255,.22); }
.tvh-sea .w3 { fill: #f5f7fb; }

@media (prefers-reduced-motion: reduce) { .tvh-plane { animation: none; } }

/* text */
.tvh-hero--brand .tvh-kicker { padding: 6px 13px 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.tvh-hero--brand .tvh-kicker::before { background: #FF6A1A; box-shadow: 0 0 0 4px rgba(255,106,26,.3); }
.tvh-hero--brand .tvh-h1 { color: #fff; }
.tvh-hero--brand .tvh-h1 span { background: linear-gradient(transparent 64%, #FF6A1A 64%, #FF6A1A 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tvh-hero--brand .tvh-lead { color: rgba(255,255,255,.92); }
.tvh-hero--brand .tvh-updated, .tvh-hero--brand .tvh-deps-l { color: rgba(255,255,255,.8); }

/* numbers as glass chips */
.tvh-hero--brand .tvh-stats { gap: 10px; }
.tvh-hero--brand .tvh-stat, .tvh-hero--brand .tvh-stat:first-child { padding: 10px 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 14px; background: rgba(255,255,255,.13); }
.tvh-hero--brand .tvh-stat span { color: rgba(255,255,255,.82); }

/* departure cities */
.tvh-hero--brand .tvh-deps button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.34); color: #fff; }
.tvh-hero--brand .tvh-deps button:hover { background: rgba(255,255,255,.2); }
.tvh-hero--brand .tvh-deps button.on { background: #fff; border-color: #fff; color: #0B5BD3; }

/* cheapest destinations: a white card in front of the sun */
.tvh-hero--brand .tvh-top { background: #fff; border: 0;  -webkit-backdrop-filter: none; backdrop-filter: none; }
.tvh-hero--brand .tvh-top-h b { color: #0f172a; }
.tvh-hero--brand .tvh-top-h span, .tvh-hero--brand .tvh-top-mid small, .tvh-hero--brand .tvh-top-p small { color: #64748b; }
.tvh-hero--brand .tvh-top-row { color: #0f172a; }
.tvh-hero--brand .tvh-top-row:hover { background: #f5f8ff; }
.tvh-hero--brand .tvh-top-row.first { background: #fff4ec; }
.tvh-hero--brand .tvh-top-row.first:hover { background: #ffe9da; }
.tvh-hero--brand .tvh-top-mid em { background: #FF6A1A; color: #fff; }
.tvh-hero--brand .tvh-top-flag { box-shadow: 0 0 0 2px #fff; }
.tvh-hero--brand .tvh-top-row.first .tvh-top-p { color: #FF6A1A; }
.tvh-hero--brand .tvh-top-all { border-color: #dbe5f7; color: #0B5BD3; }
.tvh-hero--brand .tvh-top-all:hover { background: #f5f8ff; border-color: #b9cdf0; color: #0B5BD3; }

@media (min-width: 761px) {
  .tvh-hero.tvh-hero--brand { padding-bottom: 92px; background-size: auto; }
}
@media (max-width: 960px) {
  .tvh-flight, .tvh-plane { display: none; }
}
@media (max-width: 760px) {
  .tvh-hero.tvh-hero--brand, body.ob-app .tvh-hero.tvh-hero--brand { padding-bottom: 52px; }
  .tvh-sea { height: 40px; }
}

/* ── Search cards on the agent Tur Market (#tvGoStrip, js/tv-hot.js goCards) ──
   Same tile as the hot strip, but they FILL THE SEARCH instead of opening the
   hot list: a scenic place photo and a blue "Turlarni qidirish" button where
   the hot tile has its white price pill. */
.tvh-eyebrow--go { color: #0B3AD6; }
.tvh-go-note { font-size: 13px; color: #64748b; }
.tvh-go-price { font-size: 13.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tvh-go-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  padding: 6px 12px; border-radius: 999px; background: #0B3AD6; color: #fff;
  font-size: 13px; font-weight: 800; white-space: nowrap; 
}
.tvh-go:hover .tvh-go-cta { background: #0830b4; }
#tvGoStrip + .tvh-strip { margin-top: 30px; }

/* The card itself (Oct 2026): photo on top with the flag, then a white panel —
   name, first departure, "from" price and a round arrow. Over the photo the
   date and price were unreadable on a busy skyline. Borders only, no shadows. */
/* Fixed column counts (6/4/3/2) so the usual 12 destinations fill whole rows. */
#tvGoStrip .tvh-rail { grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1360px) { #tvGoStrip .tvh-rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1000px) { #tvGoStrip .tvh-rail { grid-template-columns: repeat(3, 1fr); } }
.tvh-gocard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  overflow: hidden; text-decoration: none; color: #0f172a; transition: border-color .15s, transform .15s; }
.tvh-gocard:hover { border-color: #0B3AD6; transform: translateY(-2px); }
.tvh-gocard:focus-visible { outline: 3px solid #0B3AD6; outline-offset: 2px; }
.tvh-gocard-img { position: relative; display: block; height: 128px; background: #334155 center/cover no-repeat; }
.tvh-gocard-img.nophoto { background-image: linear-gradient(135deg, var(--tvh-c1, #0B3AD6), #0f172a); }
.tvh-gocard-flag { position: absolute; top: 10px; left: 10px; width: 28px; height: 19px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.95); }
.tvh-gocard-body { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px 12px; flex: 1; min-width: 0; }
.tvh-gocard-name { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-gocard-date { font-size: 12px; color: #64748b; }
.tvh-gocard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.tvh-gocard-price { min-width: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-gocard-price small { font-size: 11px; font-weight: 600; color: #64748b; }
.tvh-gocard-price.obp-brutto { color: #b45309; }
.tvh-gocard-go { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #eef3ff; color: #0B3AD6; transition: background .15s, color .15s; }
.tvh-gocard:hover .tvh-gocard-go { background: #FF6A1A; color: #fff; }
@media (hover: none) { .tvh-gocard:hover { transform: none; } }
@media (max-width: 760px) {
  #tvGoStrip .tvh-rail { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tvh-gocard-img { height: 100px; }
  .tvh-gocard-body { padding: 9px 10px 10px; }
  .tvh-gocard-name { font-size: 14px; }
  .tvh-gocard-price { font-size: 13.5px; white-space: normal; line-height: 1.3; }
  .tvh-gocard-go { width: 26px; height: 26px; }
}
@media (max-width: 760px) {
  .tvh-go-note { display: none; }
  .tvh-go-cta { padding: 5px 10px; font-size: 12px; }
  .tvh-strip .tvh-go { height: 176px; }   /* room for a two-line price under the flag */
  .tvh-go-price { white-space: normal; font-size: 12.5px; line-height: 1.3; }   /* "dan 14,11 mln so'm / kishi" on a 2-up tile */
}

/* ── Tour search: destination picker (Oct 2026) ──
   Flags beside country names; on a phone the sheet is two steps — a grid of
   country cards, then that country's resorts ("Barcha kurortlar" first). */
.tvs-flag { width: 22px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); flex: 0 0 auto; }
.tvs-opt-c { display: flex; align-items: center; gap: 9px; }
.tvs-opt.sel .tvs-flag { box-shadow: 0 0 0 1.5px #fff; }
.tvs-cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.tvs-ccard { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; box-sizing: border-box;
  border: 1px solid #e6e8ef; border-radius: 12px; background: #f6f8fb; cursor: pointer; text-align: left;
  font: 700 14.5px Inter, system-ui, sans-serif; color: #0F1B33; }
.tvs-ccard span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvs-ccard.sel { border-color: #0B3AD6; background: #eff2ff; color: #0B3AD6; }
.tvs-pop-head--back { display: flex; gap: 10px; }
.tvs-pop-head--back b { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.tvs-back { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #F1F5F9; color: #0F1B33; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tvs-rlist .tvs-opt { padding: 13px 12px; font-size: 15px; }
.tvs-opt-all { display: flex; flex-direction: column; gap: 2px; border: 1px solid #e6e8ef; margin-bottom: 4px; }
.tvs-opt-all small { font-size: 12px; font-weight: 500; color: #64748b; }
.tvs-opt-all.sel small { color: rgba(255,255,255,.85); }
.tvs-opt-all.sel { border-color: #0B3AD6; }
@media (max-width: 640px) {
  /* destination sheet is tall: room for the grid without a jump between steps */
  .tvs-tile[data-k="dest"] .tvs-pop { height: 86vh; }
  /* Nights + travellers side by side (like the flight form's two dates):
     one row shorter, so the button stays on the first screen. */
  .tvs, .b2b-tv .tvs { grid-template-columns: 1fr 1fr; }
  .tvs > .tvs-tile { grid-column: 1 / -1; min-width: 0; }
  .tvs > .tvs-tile[data-k="nights"], .tvs > .tvs-tile[data-k="pax"] { grid-column: auto; }
  .tvs-tile[data-k="nights"] .tvs-hit, .tvs-tile[data-k="pax"] .tvs-hit { padding-left: 14px; padding-right: 28px; }
  .tvs-tile[data-k="nights"] .tvs-ico, .tvs-tile[data-k="pax"] .tvs-ico { display: none; }
  .tvs-tile[data-k="pax"] .tvs-sub.warn { white-space: normal; }
  .tvs > .tvs-go { grid-column: 1 / -1; }
  /* Hotel-only: Kirish + Chiqish share the row, travellers below. */
  .tvs-ho > .tvs-tile[data-k="pax"] { grid-column: 1 / -1; }
  .tvs-ho > .tvs-tile[data-k="date"], .tvs-ho > .tvs-tile[data-k="out"] { grid-column: auto; }
  .tvs-ho .tvs-tile[data-k="date"] .tvs-ico, .tvs-ho .tvs-tile[data-k="out"] .tvs-ico { display: none; }
}

/* ── Tour result card, Oct 2026 (js/tv-results.js card()) ──
   Facts as icon chips; a price block that says what the number is; one main
   button; agents get a labelled "Mijozga yuborish" pair under it. */
.tv-best { margin-top: 10px; }
.tv-best-l { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.tv-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tv-facts li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; box-sizing: border-box;
  padding: 5px 10px; border-radius: 8px; background: #f4f6fb; color: #0f172a; font-size: 13px; font-weight: 600; }
.tv-facts li svg { width: 15px; height: 15px; color: #0B3AD6; flex: 0 0 auto; }
.tv-facts li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-facts li.room { font-weight: 500; color: #334155; }
.tv-op { margin-top: 8px; font-size: 12.5px; color: #64748b; }
.tv-op b { color: #334155; font-weight: 600; }

.tv-card-price { align-items: stretch; text-align: left; gap: 6px; min-width: 0; box-sizing: border-box; }
.tv-mode-pill { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #eef3ff; color: #0B3AD6; }
.tv-mode-pill.brutto { background: #fffbeb; color: #b45309; }
.tv-price-row { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; min-width: 0; }
.tv-price-row .tv-from { font-size: 13px; color: #64748b; font-weight: 600; }
/* shrinks with the window; one line even in so'm ("16 191 705 so'm") */
.tv-card-price .tv-price { font-size: clamp(18px, 1.6vw, 24px); white-space: nowrap; }
.tv-card-price .tv-price-note { margin: -4px 0 0; font-size: 12.5px; color: #475569; font-weight: 600; }
.tv-incl { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; color: #475569; line-height: 1.35; }
.tv-incl svg { width: 15px; height: 15px; color: #16a34a; flex: 0 0 auto; margin-top: 1px; }
.tv-card-price .tv-profit { margin: 0; }
.tv-btn-main { width: 100%; margin-top: 4px; min-height: 44px; height: auto; padding: 8px 12px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.2; box-sizing: border-box; }
.tv-send { margin-top: 4px; padding-top: 10px; border-top: 1px dashed #e2e8f0; }
.tv-send-l { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.tv-send-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tv-send-btn { min-width: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 10px;
  border: 1.5px solid #dbe3f4; border-radius: 10px; background: #fff; color: #0B3AD6; cursor: pointer;
  font: 700 13px Inter, system-ui, sans-serif; transition: background .15s, border-color .15s; }
.tv-send-btn:hover { background: #f5f8ff; border-color: #0B3AD6; }
.tv-send-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.tv-send-btn.ok { border-color: #16a34a; color: #166534; background: #f0fdf4; }
.tv-send-btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 900px) {
  .tv-card-price { min-width: 0; }
}
/* The card stacks by ITS OWN width, not the window's: on a desktop with the
   agent sidebar and the filter column the list can be ~300px wide, where three
   columns spilled the price block out of the card. */
#tvList { container-type: inline-size; }
@container (max-width: 620px) {
  .tv-card { grid-template-columns: 1fr; }
  .tv-card-img { min-height: 170px; }
  .tv-card-price { border-left: 0; border-top: 1px solid #f1f5f9; }
}

/* USD / UZS switch in the agent results toolbar (style.css is not loaded on /b2b/ tour pages) */
.tv-cur { display: inline-flex; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 3px; }
.tv-cur .cur-btn { background: none; border: 0; border-radius: 999px; padding: 7px 12px; font: 700 12.5px/1 Inter, system-ui, sans-serif; color: #64748b; cursor: pointer; }
.tv-cur .cur-btn.active { background: #fff; color: #0B3AD6;  }
.tv-bar-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Tour page: an option the operator would not confirm (js/tv-tour.js) */
.tv-unavail { border: 1px solid #fecaca; background: #fef2f2; border-radius: 12px; padding: 12px 14px; }
.tv-unavail > b { display: block; font-size: 15px; color: #991b1b; margin-bottom: 4px; }
.tv-unavail p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.45; color: #7f1d1d; }
.tv-unavail p.tv-unavail-hint { color: #475569; }
.tv-unavail-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tv-unavail-acts .tv-btn { width: 100%; padding: 0 10px; white-space: normal; text-align: center; line-height: 1.2; box-sizing: border-box; }
.tv-unavail .tv-more { margin-top: 8px; }
.tv-sumcard .tv-unavail-acts { margin-top: 4px; }
.tv-price-lbl { font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: -4px; }
.tv-card-price .tv-price-note b { color: #0f172a; font-weight: 800; white-space: nowrap; }
.tv-card-price .tv-price-note { margin: -2px 0 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   Hot-tour card — PRICE TICKET (Oct 2026, owner's pick). Every page that
   lists hot tours (/qaynoq-turlar, b2b, the affiliate cabinet); markup is
   card() in js/tv-hot.js, all tvh-t-* so the older card rules above never
   reach inside it. Photo → hotel + boarding pass → a torn perforation with
   two notches → the price stub and the button. The card has no outer border
   on purpose: each part is a white block, so the notches show the page
   through them. "Hot" only from real data (countdown, the operator's own
   discount, "Joy kam" when the operator says so). No shadows.
   ═══════════════════════════════════════════════════════════════════════════ */
.tvh-ticket { position: relative; display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 18px; overflow: visible;
  transition: transform .18s; }
.tvh-ticket:hover { transform: translateY(-3px); }
@media (hover: none) { .tvh-ticket:hover { transform: none; } }
.tvh-flame { width: 13px; height: 13px; flex: none; fill: currentColor; }

/* photo */
.tvh-t-photo { position: relative; display: block; height: 176px; border-radius: 18px 18px 0 0; background: #1e293b center/cover no-repeat; text-decoration: none; isolation: isolate; }
.tvh-t-photo.nophoto { background-image: linear-gradient(135deg, #c2410c, #0f172a); }
.tvh-t-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(2,6,23,.22) 0%, rgba(2,6,23,0) 35%, rgba(2,6,23,0) 55%, rgba(2,6,23,.6) 100%); }
.tvh-t-soon { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: #0f172a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tvh-t-soon.warm { color: #c2410c; }
.tvh-t-soon.hot { background: #ea580c; color: #fff; }
.tvh-t-off { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 12.5px; font-weight: 900; }
.tvh-t-loc { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-t-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }

/* hotel + boarding pass */
.tvh-t-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 13px 15px 6px; background: #fff; }
.tvh-t-name { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; min-height: 2.5em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tvh-t-name a { color: #0f172a; text-decoration: none; }
.tvh-t-name a:hover { color: #c2410c; }
.tvh-t-rate { display: flex; align-items: center; gap: 8px; min-height: 22px; min-width: 0; }
.tvh-t-rate .tv-stars { color: #f59e0b; font-size: 12.5px; letter-spacing: 1px; }
.tvh-t-op { margin-left: auto; font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tvh-t-pass { display: grid; grid-template-columns: auto minmax(44px, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #eef2f6; }
.tvh-t-d { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tvh-t-d--r { text-align: right; }
.tvh-t-d small { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; }
.tvh-t-d b { font-size: 16px; font-weight: 900; color: #0f172a; letter-spacing: -.01em; white-space: nowrap; }
.tvh-t-d i { font-style: normal; font-size: 11.5px; color: #64748b; }
.tvh-t-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.tvh-t-mid i { font-style: normal; font-size: 11px; font-weight: 700; color: #64748b; white-space: nowrap; }
.tvh-t-mid i:first-child { color: #c2410c; font-weight: 800; }
.tvh-t-line { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 16px; }
.tvh-t-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dotted #cbd5e1; }
.tvh-t-line svg { position: relative; width: 18px; height: 18px; padding: 0 3px; background: #f8fafc; fill: #ea580c; stroke: none; transform: rotate(45deg); }
.tvh-t-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tvh-t-chips:empty { display: none; }
.tvh-t-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tvh-t-chips svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tvh-t-chips li.meal { background: #ecfdf5; color: #047857; }
.tvh-t-chips li.few { background: #fff7ed; color: #c2410c; }
.tvh-t-chips li.few svg { fill: #ea580c; stroke: none; }

/* the tear: two notches + a dashed line */
.tvh-t-perf { position: relative; height: 22px; flex: none;
  background: radial-gradient(circle at 0 50%, transparent 10.5px, #fff 11px) left / 51% 100% no-repeat,
              radial-gradient(circle at 100% 50%, transparent 10.5px, #fff 11px) right / 51% 100% no-repeat; }
.tvh-t-perf::after { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed #e2e8f0; }

/* the stub */
.tvh-t-stub { display: flex; flex-direction: column; gap: 8px; padding: 4px 15px 15px; background: #fff; border-radius: 0 0 18px 18px; container-type: inline-size; }
.tvh-t-stub .tvh-deal { align-self: flex-start; }
.tvh-t-pricerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tvh-t-price { display: flex; flex-direction: column; min-width: 0; }
.tvh-t-price small { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.tvh-t-price b { font-size: clamp(20px, 9cqi, 28px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: #0f172a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tvh-t-price b s { display: block; font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 0; }
.tvh-t-price b .tvh-cur { font-size: .55em; margin-left: .25em; }
.tvh-t-sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin-top: -2px; font-size: 12px; color: #64748b; }
.tvh-t-sub b { color: #0f172a; }
.tvh-t-price.obp-brutto b { color: #b45309; }
.tvh-t-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 12px; background: #ea580c; color: #fff;
  font: 800 14px Inter, system-ui, sans-serif; text-decoration: none; transition: background .15s; }
.tvh-t-btn:hover { background: #c2410c; }
.tvh-t-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.tvh-t-btn:hover svg { transform: translateX(3px); }
.tvh-t-stub .tv-profit { margin: 0; }
.tvh-ticket .tvh-cardshare { margin-top: -1px; padding: 0 15px 15px; background: #fff; border-radius: 0 0 18px 18px; }
.tvh-ticket.tvh-card--share .tvh-t-stub { border-radius: 0; }

/* "why this is a good rate" ribbon */
.tvh-deal { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: #fff1e6; color: #c2410c; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvh-deal svg { flex: none; width: 13px; height: 13px; fill: currentColor; }
.tvh-deal--top { background: #ea580c; color: #fff; }

@media (max-width: 760px) {
  .tvh-t-photo { height: 190px; }
}

/* Agent result card: the hotel name opens our hotel page (photos, facts) in a
   new tab — js/tv-results.js nameLink(). */
.tv-card-name a[data-hotel-page] { color: inherit; text-decoration: underline; text-decoration-color: #c7d2fe; text-underline-offset: 3px; }
.tv-card-name a[data-hotel-page]:hover { color: #0B3AD6; text-decoration-color: currentColor; }
.tv-card-name a.busy { opacity: .6; cursor: progress; }
.tv-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; max-width: calc(100vw - 32px);
  background: #0f172a; color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 10px; }
