html, body { max-width: 100%; overflow-x: clip; }
html.tp-overlay-open, html.tp-overlay-open body { overflow: hidden; }
.tp-site-header { position: sticky!important; inset-block-start: 0!important; z-index: var(--tp-z-shell); width: 100%!important; height: auto!important; padding: 0!important; border-block-end: 1px solid var(--tp-border); background: color-mix(in srgb, var(--tp-surface) 94%, transparent)!important; backdrop-filter: blur(18px); }
.tp-desktop-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.tp-desktop-header .logo-img { display: block; width: 148px; height: 52px; object-fit: contain; }
.tp-desktop-nav { display: flex; flex: 1; justify-content: center; gap: 26px; }
.tp-desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--tp-text-secondary); font-weight: 600; }
.tp-desktop-nav a.is-active, .tp-desktop-nav a:hover { color: var(--tp-brand-600); }
.tp-desktop-nav a.is-active::after { position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; border-radius: 3px; background: var(--tp-brand-600); content: ""; }
.tp-desktop-actions { display: flex; align-items: center; gap: 10px; }
.tp-avatar-link { display: block; width: 46px; height: 46px; overflow: hidden; border: 2px solid var(--tp-surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--tp-border); }
.tp-avatar-link img { width: 100%; height: 100%; object-fit: cover; }
.tp-menu-button { display: grid; width: 50px; height: 50px; place-items: center; padding: 0; border: 0; border-radius: 14px; color: #fff; background: var(--tp-brand-600); box-shadow: 0 8px 18px rgba(21,87,213,.22); cursor: pointer; font-size: 21px; }
.tp-appbar { display: none; }

.tp-content { min-height: calc(100vh - 170px); padding-block: 28px 64px; }
.tp-content #main { width: 100%; float: none; }
.tp-flash:empty { display: none; }
.tp-flash { padding-block: 10px; }
.tp-flash .flashmessage { margin: 0; border-radius: 8px; }
body .tp-header-flash:not(:empty) { clear: both; margin-block-start: 12px; }
.tp-browser-footer { border-block-start: 1px solid var(--tp-border); background: var(--tp-surface); }
.tp-browser-footer .tp-container { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 24px; }
.tp-browser-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; color: var(--tp-text-secondary); }

.tp-overlay-backdrop { position: fixed; inset: 0; z-index: var(--tp-z-backdrop); display: block; visibility: hidden; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; background: rgba(4,17,53,.72); cursor: default; transition: opacity .22s ease, visibility .22s ease; }
.tp-overlay-backdrop.is-visible { visibility: visible; opacity: 1; }
.tp-drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: var(--tp-z-drawer); width: min(73vw, 430px); overflow-y: auto; overscroll-behavior: contain; padding: max(14px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); visibility: hidden; transform: translateX(105%); color: var(--tp-text); background: var(--tp-surface); box-shadow: -16px 0 46px rgba(4,17,53,.22); transition: transform .25s ease, visibility .25s ease; }
[dir="rtl"] .tp-drawer { inset-inline: 0 auto; transform: translateX(-105%); box-shadow: 16px 0 46px rgba(4,17,53,.22); }
.tp-drawer.is-open { visibility: visible; transform: translateX(0); }
.tp-drawer__topbar { display: flex; justify-content: flex-start; margin-block-end: 8px; }
.tp-drawer-profile { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 14px; margin-block-end: 18px; }
.tp-drawer-profile img, .tp-drawer-guest img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.tp-drawer-profile strong, .tp-drawer-guest strong { display: block; font-family: var(--tp-font-display); font-size: 21px; }
.tp-drawer-profile small, .tp-drawer-guest small { display: block; margin-block-start: 2px; color: var(--tp-text-secondary); }
.tp-drawer-profile__identity { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.tp-mode-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 3px 9px; border-radius: var(--tp-radius-pill); color: var(--tp-brand-700); background: var(--tp-brand-50); font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
body[data-tp-role="guide"] .tp-mode-badge { color: #9b3b20; background: #fff0ea; }
.tp-role-switch > span { display: block; margin-block-end: 8px; color: var(--tp-text-secondary); font-size: 14px; font-weight: 600; }
.tp-role-switch > div { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--tp-border); border-radius: var(--tp-radius-control); }
.tp-role-switch button { min-height: 46px; border: 0; color: var(--tp-text-secondary); background: var(--tp-surface); cursor: pointer; }
.tp-role-switch button.is-active { color: #fff; background: var(--tp-brand-600); }
.tp-drawer-guest { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 14px; padding-block-end: 18px; }
.tp-drawer-guest .tp-button { grid-column: 1 / -1; }
.tp-drawer-nav { margin-block-start: 22px; }
.tp-drawer-nav p { margin: 22px 0 8px; color: var(--tp-text-secondary); font-size: 14px; font-weight: 700; }
.tp-drawer-nav a, .tp-drawer-nav button { display: grid; width: 100%; min-height: 56px; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 0 10px; border: 0; border-block-end: 1px solid var(--tp-border); color: var(--tp-text); background: transparent; text-align: start; cursor: pointer; }
.tp-drawer-nav a i, .tp-drawer-nav button i { color: var(--tp-navy-950); font-size: 20px; text-align: center; }
.tp-drawer-nav [data-tp-role-menu] { display: none; }
body[data-tp-role="traveler"] .tp-drawer-nav [data-tp-role-menu="traveler"],
body[data-tp-role="guide"] .tp-drawer-nav [data-tp-role-menu="guide"] { display: block; }
.tp-drawer-nav a span strong, .tp-drawer-nav a span small,
.tp-drawer-nav button span strong, .tp-drawer-nav button span small { display: block; }
.tp-drawer-nav a span small, .tp-drawer-nav button span small { margin-top: 2px; color: var(--tp-text-secondary); font-size: 11px; font-weight: 500; line-height: 1.3; }
.tp-drawer-nav a.is-active { margin-inline: -20px; width: calc(100% + 40px); padding-inline: 26px; color: var(--tp-brand-700); border-inline-start: 4px solid var(--tp-brand-600); background: var(--tp-brand-50); }
.tp-drawer-nav__danger, .tp-drawer-nav__danger i { color: var(--tp-coral-500)!important; }
.tp-drawer-badge { display: grid; min-width: 23px; height: 23px; place-items: center; padding-inline: 6px; border-radius: var(--tp-radius-pill); color: #fff; background: var(--tp-coral-500); font-size: 11px; }
.tp-guide-availability > em { position: relative; width: 42px; height: 24px; border-radius: 20px; background: var(--tp-border); transition: background .2s ease; }
.tp-guide-availability > em b { position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(4,17,53,.2); transition: transform .2s ease; }
.tp-guide-availability.is-on > em { background: var(--tp-brand-600); }
.tp-guide-availability.is-on > em b { transform: translateX(18px); }
[dir="rtl"] .tp-guide-availability.is-on > em b { transform: translateX(-18px); }
.tp-guide-availability:disabled { opacity: .65; cursor: wait; }
.tp-guide-setup-card { width: 100%; margin: 6px 0; overflow: hidden; border: 1px solid #ffd6c8; border-radius: 16px; background: #fff8f5; }
.tp-drawer-nav .tp-guide-setup-card > .tp-guide-availability { min-height: 54px; margin-block-end: 12px!important; padding-inline: 10px; border-block-end: 1px solid #f3ded6; background: transparent; }
.tp-guide-setup-card > .tp-guide-availability > em { flex: 0 0 42px; }
.tp-guide-setup { width: 100%; margin: 0; padding: 10px 15px 12px; border: 0; border-radius: 0; background: transparent; }
.tp-drawer-nav .tp-guide-setup-card > .tp-guide-setup { padding: 0 15px 12px!important; }
.tp-guide-setup > strong, .tp-guide-setup > small { display: block; }
.tp-guide-setup > strong { color: var(--tp-navy-950); font-family: var(--tp-font-display); font-size: 15px; line-height: 1.2; }
.tp-guide-setup > small { margin-top: 3px; color: var(--tp-text-secondary); font-size: 12px; }
.tp-guide-setup ul { display: grid; gap: 7px; margin: 12px 0; padding: 0; list-style: none; }
.tp-guide-setup li { display: flex; align-items: center; gap: 8px; color: var(--tp-text-secondary); font-size: 12px; }
.tp-guide-setup li i { color: var(--tp-border); font-size: 13px; }
.tp-guide-setup li.is-complete { color: var(--tp-text); }
.tp-guide-setup li.is-complete i { color: #16845b; }
.tp-drawer-nav .tp-guide-setup > a { display: inline-flex; width: auto; min-height: 32px; grid-template-columns: auto auto; gap: 8px; padding: 0; border: 0; color: var(--tp-brand-700); font-size: 12px; font-weight: 800; }
.tp-drawer-nav .tp-guide-setup > a i { color: currentColor; font-size: 12px; }
.tp-role-status { position: sticky; inset-block-end: 0; z-index: 2; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; color: #fff; background: var(--tp-navy-950); box-shadow: var(--tp-shadow-md); font-size: 12px; text-align: center; }
.tp-role-status:empty { display: none; }
.tp-role-status.is-error { background: #9f2d22; }

.tp-sheet { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: var(--tp-z-sheet); width: min(100%, 760px); max-height: min(86vh, 820px); margin-inline: auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 12px 22px max(28px, env(safe-area-inset-bottom)); visibility: hidden; transform: translateY(105%); border-radius: var(--tp-radius-sheet) var(--tp-radius-sheet) 0 0; color: var(--tp-text); background: var(--tp-surface); box-shadow: var(--tp-shadow-sheet); transition: transform .25s ease, visibility .25s ease; }
.tp-sheet.is-open { visibility: visible!important; transform: translateY(0)!important; }
.tp-sheet__handle { width: 54px; height: 6px; margin: 0 auto 14px; border-radius: var(--tp-radius-pill); background: var(--tp-border); }
.tp-sheet__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block-end: 22px; }
.tp-sheet__header h2:focus, .tp-drawer [data-tp-overlay-focus]:focus { outline: none; }
.tp-sheet__header h2 { font-size: clamp(24px, 6.2vw, 32px); }
.tp-sheet__header .tp-icon-button { flex: 0 0 46px; border: 0!important; box-shadow: none!important; color: var(--tp-brand-600); background: transparent!important; }
.tp-destination-search { position: relative; display: flex; align-items: center; margin-block-end: 16px; }
.tp-destination-search > i { position: absolute; inset-inline-start: 16px; color: var(--tp-text-muted); }
.tp-destination-search input { padding-inline: 48px 48px; font-size: 16px; }
.tp-destination-search input::-webkit-search-cancel-button { display: none; }
.tp-destination-search__clear { position: absolute; inset-inline-end: 8px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--tp-brand-600); background: transparent; cursor: pointer; }
.tp-destination-search__clear:hover, .tp-destination-search__clear:focus-visible { background: var(--tp-brand-50); }
.tp-destination-group--matches { min-height: 110px; }
.tp-destination-results-empty { margin: 8px 0 0; padding: 18px 12px; border-radius: 14px; color: var(--tp-text-secondary); background: var(--tp-brand-50); text-align: center; }
.tp-sheet [hidden] { display: none!important; }
.tp-location-action { display: grid; width: 100%; min-height: 84px; grid-template-columns: 54px minmax(0,1fr) 24px; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-block-end: 1px solid var(--tp-border); color: var(--tp-text); background: transparent; text-align: start; cursor: pointer; }
.tp-location-action__icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: var(--tp-brand-600); background: var(--tp-brand-100); font-size: 22px; }
.tp-location-action strong, .tp-location-action small { display: block; }
.tp-location-action strong { font-family: var(--tp-font-display); }
.tp-location-action small { margin-block-start: 2px; color: var(--tp-text-secondary); }
.tp-destination-group h3 { margin-block: 24px 8px; font-size: 21px; }
.tp-destination-group a { display: grid; min-height: 72px; grid-template-columns: 52px minmax(0,1fr) 24px; align-items: center; gap: 12px; border-block-end: 1px solid var(--tp-border); }
.tp-destination-option__copy { display: flex; min-width: 0; align-items: center; gap: 8px; }
.tp-destination-option__copy strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-destination-type-badge { flex: 0 0 auto; padding: 3px 7px; border-radius: 6px; color: var(--tp-brand-700); background: var(--tp-brand-50); font-size: 11px; font-weight: 700; }
.tp-destination-result-group h4 { margin: 14px 0 4px; color: var(--tp-text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tp-destination-result-group [role="option"].is-active { border-radius: 12px; outline: 2px solid var(--tp-brand-500); outline-offset: -2px; background: var(--tp-brand-50); }
.tp-destination-thumb { display: block; width: 48px; height: 48px; overflow: hidden; border-radius: 10px; background: var(--tp-brand-100); }
.tp-destination-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-destination-pin { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: var(--tp-brand-600); background: var(--tp-brand-100); font-size: 21px; }
.tp-destination-group--recent > a > i:last-child { color: var(--tp-brand-600); }
.tp-destination-expiry { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 13px; color: var(--tp-brand-700); background: var(--tp-brand-50); }
.tp-destination-expiry > i { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid currentColor; border-radius: 50%; }
.tp-destination-expiry strong, .tp-destination-expiry small { display: block; }
.tp-destination-expiry strong { font-size: 13px; }
.tp-destination-expiry small { margin-top: 2px; color: var(--tp-text-secondary); font-size: 11px; }
#tp-destination-sheet .tp-destination-group:not(.tp-destination-group--recent):not(.tp-destination-group--matches) > a { grid-template-columns: 112px minmax(0,1fr) 24px; min-height: 82px; }
#tp-destination-sheet .tp-destination-group:not(.tp-destination-group--recent):not(.tp-destination-group--matches) .tp-destination-thumb { width: 108px; height: 64px; }
/* Only the body scrolls; the full-width header and actions stay stationary. */
#tp-destination-sheet.tp-sheet { display: flex; flex-direction: column; height: min(86vh, 820px); overflow: hidden; padding: 0; background: #fff; }
#tp-destination-sheet > .tp-sheet__handle { flex: 0 0 auto; margin: 12px auto 14px; }
#tp-destination-sheet > .tp-sheet__header { position: relative; flex: 0 0 auto; z-index: 3; width: 100%; margin: 0; padding: 0 22px 22px; background: #fff; }
#tp-destination-sheet > .tp-destination-sheet__body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 0; }
#tp-destination-sheet > .tp-destination-sheet__actions { position: relative; inset: auto; flex: 0 0 auto; margin: 0; padding: 12px 22px max(16px,env(safe-area-inset-bottom)); background: #fff; }
#tp-destination-sheet .tp-sheet__header .tp-icon-button { border-radius: 50%!important; color: var(--tp-text-secondary); background: #f5f7fb!important; }
#tp-destination-sheet .tp-destination-search input { border-color: var(--tp-brand-500); box-shadow: 0 0 0 3px rgba(23,105,232,.10); }
#tp-destination-sheet .tp-location-action { margin-block: 10px; padding-inline: 16px; border: 1px solid var(--tp-brand-600); border-radius: 14px; }
#tp-destination-sheet .tp-location-action--primary { color: #fff; background: var(--tp-brand-600); }
#tp-destination-sheet .tp-location-action--primary .tp-location-action__icon { color: #fff; background: rgba(255,255,255,.16); }
#tp-destination-sheet .tp-location-action--primary small,
#tp-destination-sheet .tp-location-action--primary > i { color: rgba(255,255,255,.82); }
#tp-destination-sheet .tp-location-action--secondary { color: var(--tp-brand-600); background: var(--tp-surface); }
#tp-destination-sheet .tp-location-action--secondary .tp-location-action__icon { color: var(--tp-brand-600); background: var(--tp-brand-50); }
.tp-destination-sheet__actions { position: sticky; inset-block-end: -28px; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 12px; margin: 18px -22px -28px; padding: 12px 22px max(16px, env(safe-area-inset-bottom)); border-block-start: 1px solid var(--tp-border); background: color-mix(in srgb, var(--tp-surface) 96%, transparent); backdrop-filter: blur(14px); box-shadow: 0 -8px 22px rgba(6,25,77,.08); }
.tp-destination-sheet__actions button { min-height: 46px; padding: 8px 12px; border: 1px solid var(--tp-brand-600); border-radius: var(--tp-radius-control); color: var(--tp-brand-600); background: var(--tp-surface); font-weight: 700; white-space: nowrap; cursor: pointer; }
.tp-destination-sheet__actions button[data-tp-clear-destination] { color: var(--tp-brand-600); }
.tp-destination-sheet__actions .tp-button--primary { color: #fff; background: var(--tp-brand-600); }
.tp-destination-sheet__actions button[data-tp-clear-destination][hidden] + .tp-button--primary { grid-column: 1 / -1; }
.tp-destination-sheet__actions button:hover,
.tp-destination-sheet__actions button:focus-visible { text-decoration: underline; }

.tp-bottom-nav { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: var(--tp-z-shell); display: none; height: calc(var(--tp-bottom-nav-height) + env(safe-area-inset-bottom)); grid-template-columns: repeat(5,1fr); align-items: start; padding: 7px max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left)); border-block-start: 1px solid var(--tp-border); background: color-mix(in srgb, var(--tp-surface) 96%, transparent); backdrop-filter: blur(18px); box-shadow: 0 -5px 20px rgba(4,17,53,.08); }
.tp-bottom-nav > a,
.tp-bottom-nav > button { display: flex; min-width: 0; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; color: var(--tp-text-muted); background: transparent; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.tp-bottom-nav > a > i,
.tp-bottom-nav > button > i { font-size: 21px; }
.tp-bottom-nav > a.is-active,
.tp-bottom-nav > button.is-active { color: var(--tp-brand-600); }
.tp-bottom-nav__destination > span { display: block; max-width: 100%; overflow: hidden; padding-inline: 3px; text-overflow: ellipsis; white-space: nowrap; }
.tp-bottom-nav__primary { position: relative; translate: 0 -19px; }
.tp-bottom-nav__primary-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 5px solid var(--tp-surface); border-radius: 50%; color: #fff; background: var(--tp-brand-600); box-shadow: 0 6px 20px rgba(21,87,213,.30); font-size: 20px; }

@media (max-width: 1023px) {
  .tp-desktop-header { display: none; }
  .tp-appbar { display: grid; min-height: calc(var(--tp-appbar-height) + env(safe-area-inset-top)); grid-template-columns: minmax(80px,1fr) auto minmax(80px,1fr); align-items: end; gap: 10px; padding: env(safe-area-inset-top) 16px 10px; }
  .tp-appbar__leading { display: flex; align-items: center; }
  .tp-appbar__leading .logo-img { display: block; width: 138px; height: 48px; object-fit: contain; object-position: left center; }
  .tp-appbar__title { align-self: center; overflow: hidden; font-size: 21px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .tp-appbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
  .tp-appbar .tp-avatar-link { width: 42px; height: 42px; }
  .tp-appbar .tp-menu-button { width: 46px; height: 46px; }
  .tp-site-header .tp-appbar.tp-appbar--standard { min-height: 56px; grid-template-columns: minmax(80px,1fr) auto minmax(80px,1fr); align-items: center; padding-block: 0; }
  .tp-site-header .tp-appbar--standard .tp-appbar__actions { gap: 4px; }
  .tp-site-header .tp-appbar--standard .tp-appbar__brand .logo-img { display: block; width: 82px; height: 40px; object-fit: contain; }
  .tp-site-header .tp-appbar--standard .tp-back-button { color: var(--tp-brand-600); background: transparent; box-shadow: none; font-size: 18px; }
  .tp-site-header .tp-appbar--standard .tp-avatar-link { display: block; width: 34px; height: 34px; }
  .tp-site-header .tp-appbar--standard .tp-notification-link { width: 38px; height: 38px; color: var(--tp-navy-950); font-size: 18px; }
  .tp-site-header .tp-appbar--standard .tp-menu-button { width: 38px; height: 38px; border-inline-start: 0; border-radius: 0; color: var(--tp-navy-950); background: transparent; box-shadow: none; font-size: 20px; }
  .tp-content { width: 100%; min-height: calc(100vh - var(--tp-appbar-height)); padding: 20px 16px calc(var(--tp-bottom-nav-height) + 34px + env(safe-area-inset-bottom)); }
  .tp-browser-footer { display: none; }
  .tp-bottom-nav { display: grid; }
  .tp-sheet { min-height: 72vh; }
}

@media (max-width: 374px) {
  .tp-appbar { grid-template-columns: minmax(60px,1fr) auto minmax(60px,1fr); padding-inline: 12px; }
  .tp-appbar__leading .logo-img { width: 116px; }
  .tp-appbar .tp-avatar-link { display: none; }
  .tp-site-header .tp-appbar--standard .tp-avatar-link { display: block; }
  .tp-menu-button { width: 44px; height: 44px; }
  .tp-drawer { padding-inline: 16px; }
  .tp-bottom-nav > a,
  .tp-bottom-nav > button { font-size: 11px; }
  .tp-sheet { padding-inline: 18px; }
  .tp-sheet__header { gap: 8px; }
  .tp-sheet__header h2 { font-size: 24px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tp-content { width: min(100% - 48px, 840px); }
}

.tp-home-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.75fr); align-items: end; gap: 32px; padding: clamp(28px,6vw,72px); border-radius: 30px; background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); }
.tp-home-intro__copy { max-width: 680px; }
.tp-home-intro h1 { max-width: 660px; margin-block: 8px 16px; font-size: clamp(40px,7vw,76px); letter-spacing: -.045em; }
.tp-home-intro p { margin: 0; color: var(--tp-text-secondary); font-size: clamp(17px,2vw,22px); }
.tp-eyebrow { color: var(--tp-brand-600); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tp-destination-card { display: grid; width: 100%; min-height: 102px; grid-template-columns: 60px minmax(0,1fr) 24px; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--tp-border); border-radius: 24px; color: var(--tp-text); background: var(--tp-surface); box-shadow: var(--tp-shadow-md); text-align: start; cursor: pointer; }
.tp-destination-card__icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; color: var(--tp-brand-600); background: var(--tp-brand-100); font-size: 24px; }
.tp-destination-card strong, .tp-destination-card small { display: block; }
.tp-destination-card strong { font-family: var(--tp-font-display); font-size: 19px; }
.tp-destination-card small { margin-block-start: 3px; color: var(--tp-text-secondary); }
.tp-destination-card > i { color: var(--tp-brand-600); }
.tp-home-section { padding-block: clamp(34px,6vw,68px) 0; }
.tp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-block-end: 20px; }
.tp-section-heading h2 { margin-block-start: 6px; font-size: clamp(25px,4vw,38px); }
.tp-section-heading > a { color: var(--tp-brand-600); font-weight: 700; }
.tp-category-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-category-chips .tp-chip { min-height: 42px; padding-inline: 15px; font-size: 12px; }
.tp-home-listings .listing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.tp-home-listings .listing-grid > li, .tp-home-listings .listing-grid > .listing-card, .tp-home-listings .listing-grid > .simple-prod { width: 100%; margin: 0; border: 1px solid var(--tp-border); border-radius: var(--tp-radius-card); background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); }
.tp-empty { display: grid; min-height: 300px; place-items: center; align-content: center; gap: 10px; padding: 34px; text-align: center; }
.tp-empty__icon { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 50%; color: var(--tp-brand-600); background: var(--tp-brand-100); font-size: 28px; }
.tp-empty h3 { font-size: 22px; }
.tp-empty p { max-width: 480px; margin: 0 0 8px; color: var(--tp-text-secondary); }
.tp-trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-block: clamp(40px,7vw,78px) 0; padding: 24px; }
.tp-trust-strip > div { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 14px; padding: 8px 22px; }
.tp-trust-strip > div + div { border-inline-start: 1px solid var(--tp-border); }
.tp-trust-strip span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: var(--tp-brand-600); background: var(--tp-brand-100); font-size: 22px; }
.tp-trust-strip > div:last-child span { color: var(--tp-coral-500); background: #ffebe7; }
.tp-trust-strip p { margin: 0; color: var(--tp-text-secondary); }
.tp-trust-strip strong { display: block; color: var(--tp-text); font-family: var(--tp-font-display); }

@media (max-width: 1023px) {
  .tp-home-intro { grid-template-columns: 1fr; gap: 26px; margin-inline: -16px; padding: 34px 20px 30px; border-radius: 0 0 28px 28px; }
  .tp-home-intro h1 { font-size: clamp(38px,12vw,64px); }
  .tp-home-listings .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 599px) {
  .tp-home-intro { min-height: 430px; align-content: space-between; }
  .tp-home-intro h1 { max-width: 360px; }
  .tp-destination-card { min-height: 88px; grid-template-columns: 52px minmax(0,1fr) 20px; padding: 14px; }
  .tp-destination-card__icon { width: 48px; height: 48px; }
  .tp-home-listings .listing-grid { grid-template-columns: 1fr; }
  .tp-trust-strip { grid-template-columns: 1fr; padding: 12px; }
  .tp-trust-strip > div { padding: 14px 8px; }
  .tp-trust-strip > div + div { border-inline-start: 0; border-block-start: 1px solid var(--tp-border); }
}

/* Final approved mobile composition: compact destination chooser and navigation. */
@media (max-width: 599px) {
  .tp-discovery-home .tp-destination-card {
    min-height: 54px;
    grid-template-columns: 38px minmax(0,1fr) 16px;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 18px;
  }
  .tp-discovery-home .tp-destination-card__icon { width: 34px; height: 34px; font-size: 18px; }
  .tp-discovery-home .tp-destination-card strong { font-size: 14px; line-height: 1.2; }
  .tp-discovery-home .tp-destination-card small { margin-top: 1px; font-size: 11px; line-height: 1.2; }

  #tp-destination-sheet.tp-sheet {
    width: 100%;
    min-height: 0;
    height: min(70vh, 640px);
    height: min(70dvh, 640px);
    max-height: 70vh;
    max-height: 70dvh;
    padding: 0;
    border-radius: 25px 25px 0 0;
  }
  #tp-destination-sheet .tp-sheet__handle { width: 52px; height: 5px; margin: 8px auto 6px; }
  #tp-destination-sheet .tp-sheet__header { margin: 0; padding: 0 14px 8px; }
  #tp-destination-sheet > .tp-destination-sheet__body { padding-inline: 14px; }
  #tp-destination-sheet .tp-sheet__header h2 { font-size: 23px; line-height: 1.2; }
  #tp-destination-sheet .tp-sheet__header .tp-icon-button { flex-basis: 34px; width: 34px; height: 34px; }
  #tp-destination-sheet .tp-destination-search { margin-bottom: 8px; }
  #tp-destination-sheet .tp-destination-search input { min-height: 47px; font-size: 13px; }
  #tp-destination-sheet .tp-location-action { min-height: 54px; grid-template-columns: 34px minmax(0,1fr) 16px; gap: 8px; margin-block: 8px; padding: 6px 10px; }
  #tp-destination-sheet .tp-location-action__icon,
  #tp-destination-sheet .tp-destination-pin { width: 34px; height: 34px; font-size: 16px; }
  #tp-destination-sheet .tp-location-action strong,
  #tp-destination-sheet .tp-destination-group a { font-size: 13px; }
  #tp-destination-sheet .tp-location-action strong { line-height: 1.25; }
  #tp-destination-sheet .tp-location-action small { margin-top: 1px; font-size: 11px; line-height: 1.25; }
  #tp-destination-sheet .tp-destination-group h3 { margin: 8px 0 4px; font-size: 16px; }
  #tp-destination-sheet .tp-destination-group a { min-height: 46px; grid-template-columns: 34px minmax(0,1fr) 18px; gap: 8px; padding-block: 5px; }
  #tp-destination-sheet .tp-destination-expiry { grid-template-columns: 22px minmax(0,1fr); gap: 6px; margin-top: 8px; padding: 8px; }
  #tp-destination-sheet .tp-destination-expiry > i { width: 22px; height: 22px; border-width: 1px; font-size: 12px; }
  #tp-destination-sheet .tp-destination-expiry strong { font-size: 10px; line-height: 1.35; }
  #tp-destination-sheet .tp-destination-expiry small { margin-top: 1px; font-size: 10px; line-height: 1.3; }
  #tp-destination-sheet .tp-destination-sheet__actions { margin: 0; padding: 8px 14px max(8px,env(safe-area-inset-bottom)); gap: 8px; }
  #tp-destination-sheet .tp-destination-sheet__actions button { min-width: 0; padding-inline: 8px; font-size: 14px; }
  #tp-destination-sheet .tp-destination-thumb { width: 42px; height: 42px; border-radius: 7px; }
  #tp-destination-sheet .tp-destination-group:not(.tp-destination-group--recent):not(.tp-destination-group--matches) > a { grid-template-columns: 104px minmax(0,1fr) 18px; min-height: 72px; }
  #tp-destination-sheet .tp-destination-group:not(.tp-destination-group--recent):not(.tp-destination-group--matches) .tp-destination-thumb { width: 100px; height: 58px; border-radius: 9px; }

}

@media (max-width: 359px) {
  #tp-destination-sheet .tp-sheet__header h2 { font-size: 18px; }
  #tp-destination-sheet .tp-location-action strong { font-size: 12px; }
  #tp-destination-sheet .tp-location-action small { font-size: 10px; }
  #tp-destination-sheet .tp-destination-expiry { gap: 4px; padding-inline: 6px; }
  #tp-destination-sheet .tp-destination-expiry strong { font-size: 9.5px; }
  #tp-destination-sheet .tp-destination-sheet__actions button { font-size: 12px; }
}
