/* ============================================================================
   Tourism DV — Customer / Agent / Supplier portal design system.
   Loaded on all website pages via web_include_css. Self-contained --tp-* tokens
   with light + dark themes, dark following Frappe's theme toggle (not the OS setting: the
   Frappe website pages themselves stay light, so OS-dark tokens put near-white text on them).
   Generic element polish (.btn, h1, table, .pill) is scoped under `.tp` so it
   never leaks into Frappe's website chrome; unique component classes are global.
   Logical properties throughout → RTL (Arabic) safe.
   ============================================================================ */

:root {
	--tp-brand: #2490ef;
	--tp-brand-600: #1a78d0;
	--tp-brand-700: #155fa8;
	--tp-accent: #dfa63a;            /* warm gold — premium / loyalty */
	--tp-accent-soft: #fbf1dd;

	--tp-bg: #f4f7fb;
	--tp-surface: #ffffff;
	--tp-surface-2: #f7f9fc;
	--tp-ink: #17222e;
	--tp-ink-2: #45525f;
	--tp-muted: #6a7885;
	--tp-faint: #9aa7b3;
	--tp-border: #e6ecf2;
	--tp-border-2: #d6dee6;

	--tp-green: #1a9d5a;  --tp-green-bg: #e6f6ec;
	--tp-red: #d94b45;    --tp-red-bg: #fbe9e8;
	--tp-orange: #d98a1f; --tp-orange-bg: #fbf0dd;
	--tp-blue: #2276cf;   --tp-blue-bg: #e7f1fc;
	--tp-gray: #64727f;   --tp-gray-bg: #eef1f4;

	--tp-shadow-sm: 0 1px 2px rgba(20, 34, 48, .05);
	--tp-shadow: 0 2px 6px rgba(20, 34, 48, .06), 0 12px 28px -14px rgba(20, 34, 48, .18);
	--tp-shadow-lg: 0 10px 40px -12px rgba(20, 34, 48, .28);

	--tp-r: 10px;  --tp-r-md: 14px;  --tp-r-lg: 20px;  --tp-r-pill: 100px;
	--tp-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
}

[data-theme="dark"], html[data-theme-mode="dark"], .dark-mode {
	--tp-bg: #0f151b; --tp-surface: #171f27; --tp-surface-2: #121a21;
	--tp-ink: #e7edf3; --tp-ink-2: #b7c2cd; --tp-muted: #93a1ad; --tp-faint: #64727d;
	--tp-border: #26313b; --tp-border-2: #33404b;
	--tp-brand: #4aa6f2; --tp-brand-600: #3894e6; --tp-accent: #e6b658; --tp-accent-soft: #2a2312;
	--tp-green: #35c07d; --tp-green-bg: #10281c; --tp-red: #f0685f; --tp-red-bg: #2c1614;
	--tp-orange: #e6a53d; --tp-orange-bg: #2b2110; --tp-blue: #4aa6f2; --tp-blue-bg: #132436;
	--tp-gray: #93a1ad; --tp-gray-bg: #1d262e;
}

/* ---- scoped base ---------------------------------------------------------- */
.tp { font-family: var(--tp-ui); color: var(--tp-ink); }
.tp * { box-sizing: border-box; }
.tp h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 750; letter-spacing: -.02em;
	color: var(--tp-ink); margin: 0 0 4px; text-wrap: balance; }
.tp h3 { color: var(--tp-ink); font-weight: 700; letter-spacing: -.01em; }
.tp a { color: var(--tp-brand-600); text-decoration: none; }
.tp a:hover { text-decoration: underline; }
.tp .num { font-variant-numeric: tabular-nums; }

/* ---- buttons (scoped, premium) ------------------------------------------- */
.tp .btn { border-radius: var(--tp-r); font-weight: 600; border: 1px solid transparent;
	transition: transform .12s ease, box-shadow .18s ease, background-color .15s ease; padding: 8px 16px; }
.tp .btn:hover { transform: translateY(-1px); }
.tp .btn:active { transform: translateY(0); }
.tp .btn-sm, .tp .btn-xs { padding: 6px 12px; }
.tp .btn-primary { background: var(--tp-brand); border-color: var(--tp-brand); color: #fff; box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--tp-brand) 60%, transparent); }
.tp .btn-primary:hover { background: var(--tp-brand-600); border-color: var(--tp-brand-600); }
.tp .btn-default { background: var(--tp-surface); border-color: var(--tp-border-2); color: var(--tp-ink); }
.tp .btn-default:hover { border-color: var(--tp-brand); color: var(--tp-brand-600); }
.tp .btn-success { background: var(--tp-green); border-color: var(--tp-green); color: #fff; }
.tp .btn-danger { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }

/* ---- form controls (scoped) ---------------------------------------------- */
.tp input, .tp select, .tp textarea { font-family: inherit; color: var(--tp-ink);
	background: var(--tp-surface); border: 1px solid var(--tp-border-2); border-radius: var(--tp-r);
	padding: 9px 12px; font-size: .92rem; transition: border-color .15s, box-shadow .15s; }
.tp input:focus, .tp select:focus, .tp textarea:focus { outline: none; border-color: var(--tp-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-brand) 20%, transparent); }
.tp label { font-size: .8rem; color: var(--tp-muted); font-weight: 500; margin-bottom: 4px; }

/* ---- hero + filters (packages) ------------------------------------------- */
.tdv-hero { text-align: center; padding: 48px 16px 28px; position: relative; }
.tdv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--tp-brand) 14%, transparent), transparent 60%); }
.tdv-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em;
	color: var(--tp-ink); margin-bottom: 10px; text-wrap: balance; }
.tdv-hero p { color: var(--tp-muted); font-size: 1.08rem; max-width: 52ch; margin: 0 auto; }

.tdv-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center;
	margin: 20px auto 0; max-width: 1000px; padding: 14px 16px; background: var(--tp-surface);
	border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); box-shadow: var(--tp-shadow-sm); }
.tdv-filters input, .tdv-filters select { padding: 8px 12px; }

/* ---- package cards -------------------------------------------------------- */
.tdv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 28px auto 48px; max-width: 1100px; }
.tdv-card { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); overflow: hidden;
	background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); display: flex; flex-direction: column;
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.tdv-card:hover { box-shadow: var(--tp-shadow-lg); transform: translateY(-4px); border-color: color-mix(in srgb, var(--tp-brand) 40%, var(--tp-border)); }
.tdv-thumb { height: 176px; background: linear-gradient(135deg, var(--tp-brand), #6db8f5); background-size: cover;
	background-position: center; display: flex; align-items: flex-start; justify-content: flex-end; position: relative; }
.tdv-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); }
/* Real <img> rather than a CSS background so the picture carries alt text, lazy-loads
   and is indexable — package photos are the main content of a travel catalogue. */
.tdv-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tdv-badge { position: relative; z-index: 1; margin: 12px; padding: 4px 11px; border-radius: var(--tp-r-pill);
	background: rgba(255,255,255,.94); font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--tp-brand-700); }
.tdv-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.tdv-body h3 { font-size: 1.12rem; margin: 0 0 6px; color: var(--tp-ink); }
.tdv-body h3 a { color: var(--tp-ink); text-decoration: none; }
.tdv-body h3 a:hover { color: var(--tp-brand-600); text-decoration: none; }
a.tdv-thumb { text-decoration: none; }
.tdv-meta { color: var(--tp-muted); font-size: .86rem; margin-bottom: 12px; }
.tdv-freecancel { color: var(--tp-green); font-size: .78rem; font-weight: 600; margin-bottom: 10px; }
.tdv-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tdv-price { font-weight: 800; color: var(--tp-ink); font-size: 1.05rem; }
.tdv-price small { color: var(--tp-faint); font-weight: 500; font-size: .78rem; }
.tdv-heart { background: none; border: none; font-size: 1.4rem; color: var(--tp-red); cursor: pointer;
	line-height: 1; padding: 0 6px; transition: transform .15s; }
.tdv-heart:hover { transform: scale(1.18); }
.tdv-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: 14px; margin: 28px 0 8px; font-size: .88rem; }

/* Visible to screen readers only — labels and status announcements that would be visual
   clutter on screen but are the only cue a non-sighted visitor gets. */
.tp .sr-only, .ac .sr-only, .tdv-wl .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Card grids and item lists are marked up as real lists for assistive tech; strip the
   default bullets and indentation so they look exactly as before. */
.tdv-grid[role="list"], .tdv-wl-list, .tdv-trip-list { list-style: none; margin-inline: 0; padding-inline: 0; }
.tdv-cta { text-align: center; margin: 8px 0 56px; }
.tdv-cta a { display: inline-block; padding: 13px 30px; background: var(--tp-ink); color: #fff;
	border-radius: var(--tp-r); text-decoration: none; font-weight: 700; box-shadow: var(--tp-shadow); transition: transform .15s; }
.tdv-cta a:hover { transform: translateY(-2px); text-decoration: none; }
.tp-rating { color: var(--tp-accent); font-size: .9rem; margin-bottom: 6px; font-weight: 600; }
.tp-rating small { color: var(--tp-faint); font-weight: 400; }

/* ---- My Trips ------------------------------------------------------------- */
.tdv-trips { max-width: 900px; margin: 28px auto 60px; }
.tdv-loyalty { display: inline-flex; align-items: center; gap: 8px; background: var(--tp-accent-soft);
	border: 1px solid color-mix(in srgb, var(--tp-accent) 40%, transparent); border-radius: var(--tp-r-md);
	padding: 10px 18px; margin-bottom: 20px; }
.tdv-loyalty b { font-size: 1.35rem; font-weight: 800; color: var(--tp-accent); }
.tdv-loyalty span { color: var(--tp-muted); }
.tdv-trip { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 18px 20px;
	margin-bottom: 14px; background: var(--tp-surface); box-shadow: var(--tp-shadow-sm);
	border-inline-start: 4px solid var(--tp-brand); transition: box-shadow .2s, transform .2s; }
.tdv-trip:hover { box-shadow: var(--tp-shadow); transform: translateY(-2px); }
.tdv-trip-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tdv-trip-head h3 { margin: 0; font-size: 1.06rem; }
.tdv-trip-meta { color: var(--tp-muted); font-size: .9rem; margin-top: 10px; display: flex; gap: 18px;
	flex-wrap: wrap; align-items: center; }
.tdv-amt { font-weight: 700; color: var(--tp-ink); }
.tdv-countdown { display: inline-flex; align-items: center; gap: 5px; background: var(--tp-blue-bg);
	color: var(--tp-blue); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: var(--tp-r-pill); }

/* ---- Account -------------------------------------------------------------- */
.ac { max-width: 940px; margin: 24px auto 60px; }
.ac-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ac-loyalty { display: inline-flex; align-items: center; gap: 6px;
	background: linear-gradient(135deg, var(--tp-accent), #e9bd63); color: #3a2c07; border-radius: var(--tp-r-md);
	padding: 10px 18px; font-weight: 700; box-shadow: var(--tp-shadow-sm); }
.ac-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ac-kpi { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 16px 18px;
	background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); }
.ac-kpi .v { font-size: 1.6rem; font-weight: 800; color: var(--tp-brand-600); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ac-kpi .l { color: var(--tp-muted); font-size: .8rem; margin-top: 2px; }
.ac-card { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 20px;
	background: var(--tp-surface); margin-bottom: 20px; box-shadow: var(--tp-shadow-sm); }
.ac-card h3 { margin: 0 0 16px; font-size: 1.08rem; }
.ac-trip { border: 1px solid var(--tp-border); border-radius: var(--tp-r); padding: 15px; margin-bottom: 12px; background: var(--tp-surface-2); }
.ac-trip-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.ac-trip h4 { margin: 0; font-size: 1rem; color: var(--tp-ink); }
.ac-meta { color: var(--tp-muted); font-size: .87rem; margin: 5px 0; }
.ac-meta b { color: var(--tp-ink); }
.ac-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ac-conf { font-size: .8rem; color: var(--tp-muted); margin-top: 6px; }
.ac-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Agent ---------------------------------------------------------------- */
.ag { max-width: 960px; margin: 24px auto 60px; }
.ag-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ag-kpi { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 16px 18px;
	background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); }
.ag-kpi .v { font-size: 1.5rem; font-weight: 800; color: var(--tp-brand-600); font-variant-numeric: tabular-nums; }
.ag-kpi .v.accent { color: var(--tp-accent); }
.ag-kpi .l { color: var(--tp-muted); font-size: .82rem; margin-top: 2px; }
.ag-card { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 20px;
	background: var(--tp-surface); margin-bottom: 20px; box-shadow: var(--tp-shadow-sm); }
.ag-card h3 { margin: 0 0 16px; font-size: 1.08rem; }
.ag-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.ag-form > div { display: flex; flex-direction: column; }

/* ---- Wishlist ------------------------------------------------------------- */
.tdv-wl { max-width: 760px; margin: 28px auto 60px; }
.tdv-wl-item { display: flex; justify-content: space-between; align-items: center; gap: 12px;
	border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 15px 18px; margin-bottom: 12px;
	background: var(--tp-surface); box-shadow: var(--tp-shadow-sm); transition: box-shadow .2s, transform .2s; }
.tdv-wl-item:hover { box-shadow: var(--tp-shadow); transform: translateY(-2px); }
.tdv-wl-item .name { font-weight: 700; color: var(--tp-ink); }
.tdv-wl-item .type { color: var(--tp-faint); font-size: .82rem; margin-top: 2px; }

/* ---- Supplier requests ---------------------------------------------------- */
.tdv-sr { max-width: 920px; margin: 28px auto 60px; }

/* ---- shared tables (scoped) ---------------------------------------------- */
.tp table { width: 100%; border-collapse: collapse; background: var(--tp-surface); }
.tp table th { text-align: start; padding: 11px 12px; background: var(--tp-surface-2);
	border-bottom: 1px solid var(--tp-border-2); font-size: .74rem; text-transform: uppercase;
	letter-spacing: .04em; color: var(--tp-muted); font-weight: 700; }
.tp table td { padding: 11px 12px; border-bottom: 1px solid var(--tp-border); color: var(--tp-ink-2); vertical-align: middle; }
.tp table tbody tr:last-child td { border-bottom: none; }
.tp table tbody tr { transition: background-color .12s; }
.tp table tbody tr:hover td { background: var(--tp-surface-2); }
.tp .table-wrap, .tp [style*="overflow-x"] { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); overflow: hidden; }

/* ---- pills (shared, scoped) ---------------------------------------------- */
.tp .pill, .tdv-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px;
	border-radius: var(--tp-r-pill); font-size: .74rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.tp .pill.green, .tdv-pill.Confirmed, .tdv-pill.Completed { background: var(--tp-green-bg); color: var(--tp-green); }
.tp .pill.red, .tdv-pill.Cancelled { background: var(--tp-red-bg); color: var(--tp-red); }
.tp .pill.orange, .tdv-pill.InProgress { background: var(--tp-orange-bg); color: var(--tp-orange); }
.tp .pill.blue, .tdv-pill.Vouchered { background: var(--tp-blue-bg); color: var(--tp-blue); }
.tp .pill.gray, .tdv-pill.Draft { background: var(--tp-gray-bg); color: var(--tp-gray); }
.tp .pill.Pending { background: var(--tp-orange-bg); color: var(--tp-orange); }
.tp .pill.Confirmed { background: var(--tp-green-bg); color: var(--tp-green); }
.tp .pill.Declined { background: var(--tp-red-bg); color: var(--tp-red); }

/* ---- utilities + states --------------------------------------------------- */
.tp-danger { color: var(--tp-red); font-weight: 600; }
.tp-success { color: var(--tp-green); font-weight: 600; }
.tp-warn { color: var(--tp-orange); font-weight: 600; }
.tp-muted { color: var(--tp-muted); }
.tdv-empty, .tp-empty { text-align: center; padding: 64px 20px; color: var(--tp-muted); }
.tdv-empty p, .tp-empty p { font-size: 1.02rem; margin-bottom: 16px; }

/* ---- Landing / home page -------------------------------------------------- */
.tp-home { max-width: 1120px; margin: 0 auto; padding: 0 4px; }
.tp-hero { position: relative; overflow: hidden; border-radius: var(--tp-r-lg); margin: 8px 0 40px;
	padding: 72px 28px 76px; text-align: center; color: #fff;
	background: linear-gradient(135deg, #10365a 0%, #1f74c9 52%, #12a08f 100%); }
.tp-hero::after { content: ""; position: absolute; inset: 0;
	background: radial-gradient(80% 60% at 15% 0%, rgba(255,255,255,.18), transparent 60%),
		radial-gradient(70% 70% at 100% 100%, rgba(0,0,0,.22), transparent 55%); pointer-events: none; }
.tp-hero > * { position: relative; z-index: 1; }
.tp-hero .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	opacity: .85; margin-bottom: 14px; }
.tp-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); font-weight: 800; letter-spacing: -.03em;
	line-height: 1.08; margin: 0 auto 14px; max-width: 16ch; text-wrap: balance; }
.tp-hero p { color: rgba(255,255,255,.92); font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 54ch; margin: 0 auto 26px; }
.tp-hero-search { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 640px;
	margin: 0 auto; background: rgba(255,255,255,.16); padding: 8px; border-radius: var(--tp-r-md);
	backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.25); }
.tp-hero-search input { flex: 1 1 240px; border: none; background: #fff; color: #17222e; }
.tp-hero-search .btn { flex: 0 0 auto; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.tp-chips a { display: inline-block; padding: 7px 15px; border-radius: var(--tp-r-pill); font-size: .85rem;
	font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
	text-decoration: none; transition: background-color .15s; }
.tp-chips a:hover { background: rgba(255,255,255,.28); text-decoration: none; }

.tp-section { margin: 44px 0; }
.tp-section-head { text-align: center; margin-bottom: 26px; }
.tp-section-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--tp-ink); margin: 0 0 6px; }
.tp-section-head p { color: var(--tp-muted); margin: 0; }

.tp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.tp-feature { background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-r-md);
	padding: 22px; box-shadow: var(--tp-shadow-sm); }
.tp-feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	font-size: 22px; margin-bottom: 14px; background: color-mix(in srgb, var(--tp-brand) 12%, transparent); }
.tp-feature h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--tp-ink); }
.tp-feature p { color: var(--tp-muted); font-size: .9rem; margin: 0; }

.tp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px;
	background: var(--tp-border); border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); overflow: hidden; }
.tp-stat { background: var(--tp-surface); padding: 22px 16px; text-align: center; }
.tp-stat .v { font-size: 2rem; font-weight: 800; color: var(--tp-brand-600); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tp-stat .l { color: var(--tp-muted); font-size: .85rem; margin-top: 4px; }

.tp-band { text-align: center; background: linear-gradient(135deg, var(--tp-ink), #26384a); color: #fff;
	border-radius: var(--tp-r-lg); padding: 44px 28px; margin: 44px 0 56px; }
.tp-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; margin: 0 0 8px; }
.tp-band p { color: rgba(255,255,255,.82); max-width: 48ch; margin: 0 auto 22px; }
.tp-band .btn { background: var(--tp-accent); border-color: var(--tp-accent); color: #2c2107; padding: 12px 30px; font-size: 1rem; }

/* ---- login screen brand polish (Frappe /login) --------------------------- */
.page-card.login-content { border-radius: var(--tp-r-lg); box-shadow: var(--tp-shadow-lg); border: 1px solid var(--tp-border); }
.for-login .page-card-head h4, .for-login .page-card-head { color: var(--tp-ink); }
.for-login .btn-primary, .for-signup .btn-primary, .for-forgot .btn-primary {
	background: var(--tp-brand); border-color: var(--tp-brand); border-radius: var(--tp-r); font-weight: 600; }

/* ---- Package detail page (pdp) ------------------------------------------- */
.pdp { max-width: 1100px; margin: 0 auto; padding: 0 4px 40px; }
.pdp-crumb { font-size: .85rem; color: var(--tp-muted); margin: 6px 0 14px; }
.pdp-crumb a { color: var(--tp-brand-600); } .pdp-crumb span { margin: 0 6px; color: var(--tp-faint); }
.pdp-hero { position: relative; overflow: hidden; min-height: 300px; border-radius: var(--tp-r-lg);
	display: flex; align-items: flex-end; color: #fff;
	padding: 28px; background-size: cover; background-position: center;
	background-image: linear-gradient(180deg, rgba(16,54,90,.2), rgba(16,54,90,.78)), linear-gradient(135deg, #10365a, #1f74c9); }
/* The hero photo is a real <img> so it carries alt text and can be indexed; the scrim
   keeps the white headline readable over any photo. */
.pdp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-hero::after { content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(16,54,90,.15), rgba(16,54,90,.72)); }
.pdp-hero-in { position: relative; z-index: 1; }
.pdp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pdp-badge { background: #fff; color: var(--tp-brand-700); font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: var(--tp-r-pill); }
.pdp-badge.ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.pdp-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; text-wrap: balance; }
.pdp-sub { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: rgba(255,255,255,.92); font-size: .95rem; }
.pdp-stars { color: #ffd66b; font-weight: 700; } .pdp-stars small { color: rgba(255,255,255,.8); font-weight: 400; }
.pdp-stars.sm { color: var(--tp-accent); font-size: .95rem; letter-spacing: 1px; }

.pdp-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 26px; align-items: start; }
@media (max-width: 860px) { .pdp-layout { grid-template-columns: 1fr; } }
.pdp-block { margin-bottom: 30px; }
.pdp-block h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--tp-ink); margin: 0 0 14px;
	padding-bottom: 8px; border-bottom: 1px solid var(--tp-border); }
.pdp-block h2.ok { color: var(--tp-green); } .pdp-block h2.no { color: var(--tp-red); }
.pdp-rich { color: var(--tp-ink-2); font-size: .96rem; line-height: 1.7; }
.pdp-rich.sm { font-size: .9rem; } .pdp-rich p { margin: 0 0 10px; } .pdp-rich ul { padding-inline-start: 20px; }
.pdp-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pdp-ticks li { padding-inline-start: 28px; position: relative; color: var(--tp-ink-2); }
.pdp-ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
	color: var(--tp-green); font-weight: 800; }

.pdp-hotels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 14px; }
.pdp-hotel { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 15px; background: var(--tp-surface-2); }
.pdp-hotel .city { font-size: .8rem; font-weight: 700; color: var(--tp-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.pdp-hotel .hname { font-weight: 700; color: var(--tp-ink); } .pdp-hotel .hstar { color: var(--tp-accent); font-weight: 700; }
.pdp-hotel .hmeta { color: var(--tp-muted); font-size: .84rem; margin-top: 4px; }
.pdp-features { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-feat { background: var(--tp-blue-bg); color: var(--tp-blue); font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: var(--tp-r-pill); }

.pdp-timeline { display: grid; gap: 4px; }
.pdp-day { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 4px 0; }
.pdp-daynum { font-size: .78rem; font-weight: 800; color: var(--tp-brand-600); text-align: center; padding-top: 3px;
	border-inline-end: 2px solid var(--tp-border); }
.pdp-daybody { padding-bottom: 16px; }
.pdp-daybody h4 { margin: 0 0 5px; font-size: 1rem; color: var(--tp-ink); }
.pdp-daycity { color: var(--tp-muted); font-weight: 500; }
.pdp-daymeta { font-size: .84rem; color: var(--tp-muted); margin-top: 4px; }

.pdp-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 620px) { .pdp-incl { grid-template-columns: 1fr; } }

.pdp-reviews { display: grid; gap: 12px; }
.pdp-review { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); padding: 15px; background: var(--tp-surface); }
.pdp-review-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pdp-review-top b { color: var(--tp-ink); }
.pdp-review-title { font-weight: 700; margin: 6px 0 4px; color: var(--tp-ink); }
.pdp-review p { margin: 0; color: var(--tp-ink-2); font-size: .92rem; line-height: 1.6; }

.pdp-side { position: sticky; top: 20px; }
.pdp-price-card { border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); background: var(--tp-surface);
	box-shadow: var(--tp-shadow); padding: 20px; }
.pdp-price { font-size: 1.7rem; font-weight: 800; color: var(--tp-ink); letter-spacing: -.02em; }
.pdp-price small { color: var(--tp-muted); font-size: .8rem; font-weight: 500; display: block; }
.pdp-price .pp { font-size: .85rem; color: var(--tp-muted); font-weight: 500; }
.pdp-tiers { margin: 14px 0; border-top: 1px solid var(--tp-border); }
.pdp-tier { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--tp-border);
	font-size: .9rem; color: var(--tp-ink-2); } .pdp-tier b { color: var(--tp-ink); }
.pdp-cta { display: block; text-align: center; width: 100%; margin-top: 6px; padding: 12px; font-size: 1rem; }
.pdp-save { display: block; text-align: center; width: 100%; margin-top: 8px; }
.pdp-assure { margin-top: 12px; font-size: .82rem; color: var(--tp-green); font-weight: 600; text-align: center; }

/* ---- Web forms (Travel Enquiry / Write a Review) ------------------------- */
.web-form-container .web-form-wrapper, .web-form-container form { max-width: 720px; margin: 0 auto; }
.web-form-container .web-form-card, .web-form-container .form-section {
	background: var(--tp-surface); border: 1px solid var(--tp-border); border-radius: var(--tp-r-md); box-shadow: var(--tp-shadow-sm); }
.web-form-container .form-control, .web-form-container input, .web-form-container select, .web-form-container textarea {
	border-radius: var(--tp-r) !important; border-color: var(--tp-border-2) !important; }
.web-form-container .form-control:focus {
	border-color: var(--tp-brand) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-brand) 20%, transparent) !important; }
.web-form-container .btn-primary, .web-form-container button[type="submit"] {
	background: var(--tp-brand); border-color: var(--tp-brand); border-radius: var(--tp-r); font-weight: 600; }
.web-form-container .web-form-actions .btn-primary:hover { background: var(--tp-brand-600); }

@media (max-width: 640px) {
	.tdv-filters { flex-direction: column; align-items: stretch; }
	.tdv-trip-meta { gap: 10px; }
	.tp-hero { padding: 52px 18px 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.tp *, .tdv-card, .tdv-trip, .tdv-wl-item { transition: none !important; }
	.tdv-card:hover, .tdv-trip:hover, .tdv-wl-item:hover, .tp .btn:hover, .tdv-cta a:hover { transform: none; }
}
