/* Hero Flight / Hotel search panels + "Flight Tickets & Hotel Rooms" results (data from sheet8). */
.hero-sec .search-box[hidden] { display: none !important; }
.hero-sec .sb-tabs .sb-tab { cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; }
.hero-sec .search-box.tv-panel { max-width: 1120px; }

/* ---------- boxed fields ---------- */
.tv-panel .tv-grid { display: grid; gap: 10px; align-items: stretch; }
.tv-panel .tv-flight-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(0, 1fr); }
.tv-panel .tv-hotel-grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); }
.tv-panel .tv-field { position: relative; display: block; background: #fff; border: 1px solid #d9dbe3; border-radius: 9px; padding: 8px 14px; min-width: 0; text-align: left; cursor: text; }
.tv-panel .tv-field:focus-within, .tv-panel .tv-field.open { border-color: #1075BA; box-shadow: 0 0 0 2px rgba(16,117,186,.15); }
.tv-panel .tv-field > label, .tv-panel .tv-date > label { display: block; position: static; font-size: 11px; line-height: 15px; font-weight: 400; color: #4a4d63; letter-spacing: .3px; text-transform: uppercase; margin: 0; padding: 0; background: none; pointer-events: auto; }
.tv-panel .tv-field input.tv-in { display: block; width: 100%; height: auto; margin: 0; padding: 1px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; font-size: 18px; line-height: 24px; font-weight: 800; color: #14145a; text-overflow: ellipsis; }
.tv-panel .tv-field input.tv-in::placeholder { color: #14145a; opacity: .55; }
.tv-panel .tv-field .sb-sub { display: block; font-size: 12px; line-height: 16px; color: #6b6e82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* swap button sits on the line between FROM and TO */
.tv-panel .tv-swap { position: absolute; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d9dbe3; background: #fff; color: #14145a; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 8px rgba(15,30,50,.12); }
.tv-panel .tv-swap:hover { border-color: #1075BA; color: #1075BA; }
.tv-panel .tv-swap svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tv-panel .tv-cities { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-column: span 2; }
.tv-panel .tv-cities .tv-swap { left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* date boxes */
.tv-panel .tv-date { position: relative; min-width: 0; cursor: pointer; }
.tv-panel .tv-date .tv-dval { font-size: 18px; line-height: 24px; color: #14145a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-panel .tv-date .tv-dval b { font-size: 22px; font-weight: 800; }
.tv-panel .tv-date .tv-dval span { font-weight: 500; }
.tv-panel .tv-date .tv-dval .tv-ph { font-size: 13.5px; font-weight: 400; color: #6b6e82; white-space: normal; display: block; line-height: 17px; padding-top: 2px; }
.tv-panel .tv-date .sb-sub { display: block; font-size: 12px; line-height: 16px; color: #6b6e82; }
.tv-panel .tv-date input.tv-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; }
.tv-panel .tv-dates { display: grid; grid-template-columns: 1fr 1fr; padding: 0; cursor: pointer; }
.tv-panel .tv-dates .tv-date { padding: 8px 14px; }
.tv-panel .tv-dates .tv-date + .tv-date { border-left: 1px solid #d9dbe3; }
.tv-panel[data-trip="multi"] .tv-dates { grid-template-columns: 1fr; }
.tv-panel[data-trip="multi"] .tv-dates .tv-ret { display: none; }
.tv-panel[data-trip="one"] .tv-ret .tv-dval { color: #6b6e82; }

/* trip type radios (re-use the package panel look) */
.tv-panel .sb-radios { margin-bottom: 12px; }

/* popovers: travellers / rooms & guests */
.tv-panel .tv-big { font-size: 18px; line-height: 24px; font-weight: 500; color: #14145a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-panel .tv-big b { font-size: 22px; font-weight: 800; }
.tv-panel .tv-pickf { cursor: pointer; user-select: none; }
.tv-panel .tv-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 290px; background: #fff; border: 1px solid #d9dbe3; border-radius: 12px; box-shadow: 0 18px 40px rgba(15,30,50,.22); padding: 14px 16px 16px; cursor: default; }
.tv-panel .tv-pop[hidden] { display: none; }
.tv-panel .tv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; color: #14145a; font-size: 14.5px; font-weight: 700; }
.tv-panel .tv-row small { display: block; font-weight: 500; font-size: 12px; color: #6b6e82; }
.tv-panel .tv-step { display: inline-flex; align-items: center; gap: 12px; }
.tv-panel .tv-step button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #c9c9de; background: #fff; color: #14145a; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.tv-panel .tv-step button:hover:not(:disabled) { border-color: #1075BA; color: #1075BA; }
.tv-panel .tv-step button:disabled { opacity: .35; cursor: not-allowed; }
.tv-panel .tv-step output { min-width: 18px; text-align: center; font-weight: 800; }
.tv-panel .tv-pop select { width: 100%; height: 40px; border: 1px solid #d9dbe3; border-radius: 8px; padding: 0 10px; font-weight: 700; color: #14145a; background: #fff; }
.tv-panel .tv-done { width: 100%; margin-top: 10px; height: 40px; border: 0; border-radius: 8px; background: #1075BA; color: #fff; font-weight: 800; cursor: pointer; }
.tv-panel .tv-rightpop .tv-pop { right: 0; }

/* hotel "Search for" checkboxes */
.tv-panel .tv-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0 2px; }
.tv-panel .tv-checks > b { font-size: 15px; font-weight: 800; color: #14145a; margin-right: 2px; }
.tv-panel .tv-check { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: #4a4d63; cursor: pointer; }
.tv-panel .tv-check input { width: 18px; height: 18px; margin: 0; accent-color: #14145a; cursor: pointer; }

/* multi-city extra flights */
.tv-panel .tv-segs { display: none; margin-top: 10px; gap: 10px; }
.tv-panel[data-trip="multi"] .tv-segs { display: grid; }
.tv-panel .tv-seg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.55fr) 44px; gap: 10px; align-items: stretch; }
.tv-panel .tv-seg .tv-cities { grid-column: span 2; }
.tv-panel .tv-seg-x { border: 1px solid #d9dbe3; border-radius: 9px; background: #fff; color: #b3261e; font-size: 20px; cursor: pointer; }
.tv-panel .tv-addseg { display: none; margin: 10px 0 0 2px; background: none; border: 0; color: #1075BA; font-weight: 800; font-size: 14.5px; cursor: pointer; padding: 4px 0; }
.tv-panel[data-trip="multi"] .tv-addseg { display: inline-block; }
.tv-panel .tv-addseg[disabled] { display: none !important; }

.tv-panel .tv-err { color: #c0392b; font-size: 13px; font-weight: 700; margin: 8px 2px 0; min-height: 0; }

/* ---------- results section ---------- */
.tv-results { padding: 46px 0 40px; background: #fff; scroll-margin-top: 80px; }
.tv-results[hidden] { display: none; }
.tv-results .tv-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.tv-results .tv-head h2 { margin: 0 0 4px; }
.tv-results .tv-head p { margin: 0; color: #5d6b7a; }
.tv-switch { display: inline-flex; background: #eef3fb; border-radius: 99px; padding: 4px; gap: 4px; }
.tv-switch button { border: 0; background: transparent; border-radius: 99px; padding: 9px 18px; font-weight: 800; font-size: 14.5px; color: #14145a; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tv-switch button span { background: #fff; border-radius: 99px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 12px; }
.tv-switch button.on { background: #14145a; color: #fff; }
.tv-switch button.on span { background: #ffcc00; color: #14145a; }
.tv-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #f3f8ff; border: 1px solid #d6e6fb; border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; color: #14145a; font-weight: 700; font-size: 14.5px; }
.tv-sum button { margin-left: auto; border: 1px solid #1075BA; background: #fff; color: #1075BA; border-radius: 99px; padding: 6px 14px; font-weight: 800; cursor: pointer; }
.tv-group h3 { margin: 22px 0 12px; font-size: 16px; color: #14145a; }
.tv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.tv-card { position: relative; background: #fff; border: 1px solid #e1e8f1; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(15,30,50,.05); transition: box-shadow .2s, transform .2s; }
.tv-card:hover { box-shadow: 0 12px 28px rgba(15,30,50,.12); transform: translateY(-2px); }
.tv-card .tv-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tv-card h3 { margin: 0; font-size: 16.5px; line-height: 1.3; color: #14145a; }
.tv-card small.tv-sub { color: #6b6e82; font-size: 12.5px; }
.tv-card .tv-top { display: flex; align-items: center; gap: 12px; }
.tv-card .tv-air { width: 42px; height: 42px; border-radius: 12px; background: #eaf3fd; display: grid; place-items: center; flex: none; }
.tv-card .tv-air svg { width: 22px; height: 22px; fill: none; stroke: #1075BA; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tv-card .tv-route { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #14145a; }
.tv-card .tv-route b { font-weight: 800; }
.tv-card .tv-route i { flex: 1; height: 0; border-top: 2px dashed #c9d6ea; position: relative; min-width: 24px; }
.tv-card .tv-route i:after { content: ""; position: absolute; right: -1px; top: -6px; width: 9px; height: 9px; border-top: 2px solid #8aa3c7; border-right: 2px solid #8aa3c7; transform: rotate(45deg); }
.tv-card .tv-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.tv-card .tv-meta li { background: #f3f6fb; border-radius: 99px; padding: 4px 11px; font-size: 12.5px; font-weight: 700; color: #3b4a63; }
.tv-card .tv-det { margin: 0; font-size: 13px; color: #5d6b7a; line-height: 1.5; }
.tv-card .tv-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #edf1f6; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-card .tv-price { font-size: 20px; font-weight: 800; color: #14145a; line-height: 1.1; }
.tv-card .tv-price small { display: block; font-size: 11.5px; font-weight: 600; color: #6b6e82; }
.tv-card .tv-btn { background: #ffcc00; color: #14145a; border-radius: 8px; padding: 10px 16px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.tv-card .tv-btn:hover { background: #ffd633; }
.tv-card .tv-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: #e7f6ee; color: #12713f; border-radius: 99px; padding: 3px 10px; font-size: 11.5px; font-weight: 800; }
.tv-card .tv-badge.warn { background: #fff3dc; color: #9a6200; }
.tv-card .tv-ph { height: 160px; background: #dfe8f3; }
.tv-card .tv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-chips span { font-size: 11.5px; font-weight: 700; color: #1075BA; background: #eaf3fd; border-radius: 99px; padding: 3px 10px; }
.tv-empty { background: #f7f9fc; border: 1px dashed #c9d6ea; border-radius: 12px; padding: 28px 18px; text-align: center; color: #5d6b7a; }
.tv-empty a { color: #1075BA; font-weight: 800; }
.tv-more { display: block; margin: 20px auto 0; border: 1px solid #1075BA; background: #fff; color: #1075BA; border-radius: 99px; padding: 10px 26px; font-weight: 800; cursor: pointer; }

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .tv-panel .tv-flight-grid, .tv-panel .tv-hotel-grid { grid-template-columns: 1fr 1fr; }
  .tv-panel .tv-cities { grid-column: 1 / -1; }
  .tv-panel .tv-dates { grid-column: 1 / -1; }
  .tv-panel .tv-seg { grid-template-columns: 1fr 1fr 44px; }
  .tv-panel .tv-seg .tv-cities { grid-column: 1 / -1; }
  .tv-panel .tv-seg .tv-date-wrap { grid-column: 1 / 3; }
}
@media (max-width: 800px) {
  .hero-sec .search-box.tv-panel { padding: 20px 14px 46px; }
  .tv-panel .tv-flight-grid, .tv-panel .tv-hotel-grid { grid-template-columns: 1fr; }
  .tv-panel .tv-cities { grid-template-columns: 1fr; }
  .tv-panel .tv-cities .tv-swap { left: auto; right: 14px; top: 50%; }
  .tv-panel .tv-field input.tv-in { font-size: 22px; line-height: 28px; }
  .tv-panel .tv-date .tv-dval b { font-size: 24px; }
  .tv-panel .tv-pop { left: 0; right: 0; width: auto; }
  .tv-panel .tv-seg { grid-template-columns: 1fr 44px; }
  .tv-panel .tv-seg .tv-date-wrap { grid-column: 1 / 2; }
  .tv-results { padding: 34px 0 26px; }
  .tv-cards { grid-template-columns: 1fr; }
}

/* Flight tickets / hotel rooms listed right under the Flight / Hotel tab search box (inside the hero) */
.hero-sec .tv-inline { width: 100%; max-width: 1120px; margin: 22px auto 0; background: #fff; border-radius: 16px; padding: 20px 20px 24px; text-align: left; color: #14145a; box-shadow: 0 14px 40px rgba(15,30,50,.22); position: relative; z-index: 1; }
.hero-sec .tv-inline[hidden] { display: none !important; }
.hero-sec .tv-inline .tv-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #14145a; text-shadow: none; }
.hero-sec .tv-inline .tv-group h3 { text-shadow: none; color: #14145a; }
.hero-sec .tv-inline p, .hero-sec .tv-inline h3 { text-shadow: none; }
.hero-sec .tv-inline .tv-det { color: #4a4d63; font-size: 13.5px; }
@media (max-width: 800px) { .hero-sec .tv-inline { padding: 14px 12px 18px; margin-top: 34px; border-radius: 14px; } }
.tv-sum[hidden], .tv-inline .tv-sum[hidden] { display: none !important; }

/* Hotel tab: recommended / available hotel names */
.tv-panel .ht-avail{background:#fff;border:1px solid #d9dbe3;border-radius:9px;padding:10px 14px 8px;text-align:left}
.tv-panel .ht-avail>label{display:block;font-size:11px;line-height:15px;color:#4a4d63;letter-spacing:.3px;text-transform:uppercase;margin-bottom:8px}
.tv-panel .ht-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:210px;overflow-y:auto;padding:2px 2px 4px}
.tv-panel .ht-chip{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:1px;border:1px solid #cfdde0;background:#f7faff;color:#14145a;border-radius:10px;padding:8px 13px;font:inherit;cursor:pointer;max-width:100%;transition:background .15s,border-color .15s,box-shadow .15s}
.tv-panel .ht-chip b{font-size:15px;font-weight:800;line-height:1.25}
.tv-panel .ht-chip small{font-size:12px;color:#6b6e82;font-weight:600}
.tv-panel .ht-chip:hover{border-color:#1075BA;background:#eef6fd}
.tv-panel .ht-chip.on{background:#1075BA;border-color:#1075BA;box-shadow:0 3px 10px rgba(16,117,186,.3)}
.tv-panel .ht-chip.on b,.tv-panel .ht-chip.on small{color:#fff}
.tv-panel .ht-load{font-size:14px;color:#6b6e82;padding:6px 2px}
.tv-panel .ht-avail .sb-sub{margin-top:4px}
