/* ==================================================================
   TOUR ITINERARY PLANNER  —  [tour_itinerary_builder]

   HOW THIS FILE PROTECTS ITSELF FROM THE THEME / ELEMENTOR
   1. Everything lives under #tibp (page content) or #tibp-layer
      (fixed drawer, trip bar, toast — moved to <body> by JS).
   2. Every selector starts with one of those IDs, so it outranks
      theme and Elementor kit rules like ".elementor-kit-5 h3" or
      "button:hover" without needing !important.
   3. A scoped reset (section 1) wipes inherited margins, fonts,
      uppercase transforms, button backgrounds etc. before our own
      rules apply.
   Class names use the "tibp-" prefix so nothing collides with the
   older frontend.css used by the other shortcodes.
================================================================== */

/* ---------- 0. Tokens ---------- */
#tibp, #tibp-layer {
	--tibp-navy: #1F2B3B;
	--tibp-navy-2: #2C3B4F;
	--tibp-gold: #FFBF1D;
	--tibp-gold-dark: #E6A500;
	--tibp-gold-tint: #FFF6DC;
	--tibp-ink: #1B1917;
	--tibp-muted: #6B7280;
	--tibp-soft: #9CA3AF;
	--tibp-line: #E9EAEC;
	--tibp-band: #F4F6F8;
	--tibp-green: #16A34A;
	--tibp-r-lg: 20px;
	--tibp-r-md: 14px;
	--tibp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	font-family: var(--tibp-font);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--tibp-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

/* ---------- 1. Scoped reset ---------- */
#tibp *, #tibp *::before, #tibp *::after,
#tibp-layer *, #tibp-layer *::before, #tibp-layer *::after { box-sizing: border-box; }

:is(#tibp, #tibp-layer) :is(div, section, article, aside, header, footer, nav,
	h1, h2, h3, h4, h5, h6, p, span, strong, small, em, b, i, a,
	ul, ol, li, figure, img, button, input, textarea, select, label, form) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: normal;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-align: inherit;
	color: inherit;
	border-radius: 0;
	float: none;
	min-height: 0;
	min-width: 0;
	transition: none;
}
:is(#tibp, #tibp-layer) :is(ul, ol) { list-style: none; }
:is(#tibp, #tibp-layer) img { display: block; max-width: 100%; border: 0; }
:is(#tibp, #tibp-layer) svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
:is(#tibp, #tibp-layer) button { cursor: pointer; -webkit-appearance: none; appearance: none; }
:is(#tibp, #tibp-layer) :focus-visible { outline: 3px solid var(--tibp-gold); outline-offset: 3px; }

/* ---------- 2. Layout + section rhythm ---------- */
#tibp .tibp-wrap { max-width: 1240px; margin: 0 auto; }
#tibp .tibp-section { padding: 112px 0; }
#tibp .tibp-section--first { padding-top: 72px; }
/* Full-bleed grey band without horizontal overflow, even inside a boxed Elementor container */
#tibp .tibp-band {
	background: var(--tibp-band);
	box-shadow: 0 0 0 100vmax var(--tibp-band);
	clip-path: inset(0 -100vmax);
}
@media (max-width: 780px) {
	#tibp .tibp-section { padding: 72px 0; }
	#tibp .tibp-section--first { padding-top: 48px; }
}

#tibp .tibp-section-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
}
#tibp .tibp-h2 {
	font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 700;
	letter-spacing: -0.02em; color: var(--tibp-ink); margin-bottom: 10px;
}
#tibp .tibp-lead { font-size: 16px; line-height: 1.6; color: var(--tibp-muted); max-width: 52ch; }
#tibp .tibp-h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--tibp-ink); }
#tibp .tibp-h3--lg { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 6px; }
#tibp .tibp-muted { font-size: 14.5px; line-height: 1.55; color: var(--tibp-muted); }

/* ---------- 3. Chips + carousel controls ---------- */
#tibp .tibp-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#tibp .tibp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
#tibp .tibp-chips:empty { display: none; }
#tibp .tibp-chip {
	border: 1.5px solid var(--tibp-line); background: #fff; color: var(--tibp-ink);
	font-size: 13.5px; font-weight: 600; line-height: 1; padding: 10px 16px; border-radius: 999px;
	transition: background .2s, border-color .2s, color .2s;
}
#tibp .tibp-chip:hover { border-color: var(--tibp-navy); background: #fff; color: var(--tibp-ink); }
#tibp .tibp-chip[aria-pressed="true"] { background: var(--tibp-navy); border-color: var(--tibp-navy); color: #fff; }

#tibp .tibp-arrows { display: flex; gap: 8px; }
#tibp .tibp-arrow {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1.5px solid var(--tibp-line); background: #fff; color: var(--tibp-navy);
	display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
#tibp .tibp-arrow:hover:not(:disabled) { background: var(--tibp-navy); border-color: var(--tibp-navy); color: #fff; }
#tibp .tibp-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) { #tibp .tibp-arrows { display: none; } }

/* ---------- 4. Package carousel ---------- */
#tibp .tibp-carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: 340px; gap: 24px;
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 8px 4px 28px; margin: 0 -4px; scrollbar-width: none;
}
#tibp .tibp-carousel::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { #tibp .tibp-carousel { grid-auto-columns: 84%; gap: 16px; } }

#tibp .tibp-carousel-foot { display: flex; align-items: center; gap: 20px; }
#tibp .tibp-progress { flex: 1; height: 4px; background: var(--tibp-line); border-radius: 4px; overflow: hidden; }
#tibp .tibp-progress span { display: block; height: 100%; width: 30%; background: var(--tibp-navy); border-radius: 4px; transition: width .2s, transform .2s; }
#tibp .tibp-count { font-size: 13.5px; color: var(--tibp-muted); white-space: nowrap; }

/* ---------- 5. Cards (packages + tours share the shell) ---------- */
#tibp .tibp-card {
	background: #fff; border: 1.5px solid var(--tibp-line); border-radius: var(--tibp-r-lg);
	overflow: hidden; display: flex; flex-direction: column; cursor: pointer; height: 100%;
	transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
#tibp .tibp-card--pkg { scroll-snap-align: start; }
#tibp .tibp-card--tour { border-color: transparent; }
#tibp .tibp-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(31,43,59,.12); border-color: var(--tibp-gold); }
#tibp .tibp-card.is-in-trip { border-color: var(--tibp-green); }

#tibp .tibp-media { position: relative; height: 200px; background: var(--tibp-navy); overflow: hidden; flex-shrink: 0; }
#tibp .tibp-card--tour .tibp-media { height: 210px; }
#tibp .tibp-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .6s ease; }
#tibp .tibp-card:hover .tibp-media img { transform: scale(1.06); }

#tibp .tibp-pill {
	position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 12px; border-radius: 999px;
}
#tibp .tibp-pill--light { left: 14px; background: rgba(255,255,255,.94); color: var(--tibp-navy); }
#tibp .tibp-pill--dark { right: 14px; background: rgba(15,23,32,.58); color: #fff; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#tibp .tibp-pill--green { left: 14px; background: var(--tibp-green); color: #fff; }

#tibp .tibp-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
#tibp .tibp-card-tag { font-size: 13px; color: var(--tibp-muted); margin-bottom: 6px; }
#tibp .tibp-card-title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--tibp-ink); margin-bottom: 8px; }
#tibp .tibp-card-desc {
	font-size: 14px; line-height: 1.6; color: var(--tibp-muted); margin-bottom: 18px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#tibp .tibp-card--tour .tibp-card-desc { -webkit-line-clamp: 3; }

/* Route strip — stop thumbnails joined by a dotted line */
#tibp .tibp-route { display: flex; align-items: center; margin-bottom: 18px; min-width: 0; }
#tibp .tibp-route-dot {
	width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
	border: 2.5px solid #fff; box-shadow: 0 0 0 1.5px var(--tibp-line); background: var(--tibp-navy);
}
#tibp .tibp-route-dot img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
#tibp .tibp-route-link { flex: 0 0 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--tibp-soft) 0 4px, transparent 4px 7px); }
#tibp .tibp-route-more {
	width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
	font-size: 12px; font-weight: 700; color: var(--tibp-navy); background: var(--tibp-band);
}
#tibp .tibp-route-names { margin-left: 12px; font-size: 12.5px; line-height: 1.35; color: var(--tibp-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Meta row */
:is(#tibp, #tibp-layer) .tibp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 16px; border-top: 1px solid var(--tibp-line); margin-bottom: 18px; }
:is(#tibp, #tibp-layer) .tibp-meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--tibp-muted); }
:is(#tibp, #tibp-layer) .tibp-meta svg { color: var(--tibp-soft); }
:is(#tibp, #tibp-layer) .tibp-meta .tibp-star { color: var(--tibp-ink); font-weight: 700; }
:is(#tibp, #tibp-layer) .tibp-meta .tibp-star svg { color: var(--tibp-gold); }

/* Price + footer */
:is(#tibp, #tibp-layer) .tibp-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
:is(#tibp, #tibp-layer) .tibp-price small { display: block; font-size: 12px; line-height: 1.3; color: var(--tibp-soft); margin-bottom: 2px; }
:is(#tibp, #tibp-layer) .tibp-price strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--tibp-ink); }

/* ---------- 6. Buttons ---------- */
:is(#tibp, #tibp-layer) .tibp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 12px; padding: 12px 18px;
	font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
	transition: background .2s, color .2s, transform .2s;
}
:is(#tibp, #tibp-layer) .tibp-btn:hover { transform: translateY(-2px); }
:is(#tibp, #tibp-layer) .tibp-btn:disabled { opacity: .5; cursor: default; transform: none; }
:is(#tibp, #tibp-layer) .tibp-btn--gold { background: var(--tibp-gold); color: var(--tibp-navy); }
:is(#tibp, #tibp-layer) .tibp-btn--gold:hover { background: var(--tibp-gold-dark); color: var(--tibp-navy); }
:is(#tibp, #tibp-layer) .tibp-btn--navy { background: var(--tibp-navy); color: #fff; }
:is(#tibp, #tibp-layer) .tibp-btn--navy:hover { background: var(--tibp-navy-2); color: #fff; }
:is(#tibp, #tibp-layer) .tibp-btn.is-added,
:is(#tibp, #tibp-layer) .tibp-btn.is-added:hover { background: var(--tibp-green); color: #fff; }
:is(#tibp, #tibp-layer) .tibp-btn--block { width: 100%; padding: 16px; font-size: 15px; }
:is(#tibp, #tibp-layer) .tibp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tibp-navy); text-decoration: underline; text-underline-offset: 3px; }
:is(#tibp, #tibp-layer) .tibp-link:hover { color: var(--tibp-navy-2); }

/* ---------- 7. Build-your-own: steps ---------- */
#tibp .tibp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
@media (max-width: 860px) { #tibp .tibp-steps { grid-template-columns: 1fr; } }
#tibp .tibp-step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--tibp-r-md); padding: 24px; }
#tibp .tibp-step-num {
	width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
	background: var(--tibp-navy); color: #fff; font-size: 14px; font-weight: 700; line-height: 1;
}
#tibp .tibp-step-title { font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--tibp-ink); margin: 4px 0 6px; }
#tibp .tibp-step-text { font-size: 14px; line-height: 1.55; color: var(--tibp-muted); }

/* ---------- 8. Route tracker ---------- */
#tibp .tibp-tracker { background: #fff; border-radius: var(--tibp-r-lg); padding: 36px 32px 28px; margin-bottom: 72px; }
#tibp .tibp-tracker-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
#tibp .tibp-tracker-scroll { overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; scrollbar-width: thin; }
#tibp .tibp-rail { position: relative; min-width: 100%; width: max-content; }
#tibp .tibp-rail-line { position: absolute; left: 70px; right: 70px; top: 17px; height: 4px; background: var(--tibp-line); border-radius: 4px; overflow: hidden; }
#tibp .tibp-rail-fill { height: 100%; width: 0; background: var(--tibp-gold); transition: width .5s cubic-bezier(.2,.8,.2,1); }
#tibp .tibp-rail-pins { position: relative; z-index: 1; display: flex; justify-content: space-between; }
#tibp .tibp-pin { flex: 1; min-width: 140px; display: flex; flex-direction: column; align-items: center; }
#tibp .tibp-pin-badge {
	height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: #fff; border: 2.5px solid var(--tibp-line); color: var(--tibp-soft);
	font-size: 12.5px; font-weight: 700; line-height: 1; transition: background .25s, border-color .25s, color .25s;
}
#tibp .tibp-pin-badge--round { width: 38px; padding: 0; }
#tibp .tibp-pin.is-lit .tibp-pin-badge { background: var(--tibp-gold); border-color: var(--tibp-gold); color: var(--tibp-navy); }
#tibp .tibp-pin.is-lit.is-start .tibp-pin-badge { background: var(--tibp-navy); border-color: var(--tibp-navy); color: #fff; }
#tibp .tibp-pin-thread { width: 2px; height: 14px; background: var(--tibp-line); }
#tibp .tibp-pin.is-lit .tibp-pin-thread { background: var(--tibp-gold); }
#tibp .tibp-pin-photo {
	width: 124px; height: 84px; border-radius: 12px; overflow: hidden;
	border: 1.5px dashed #D6D8DC; background: #FAFAFA; color: #CBD0D6;
	display: grid; place-items: center;
}
#tibp .tibp-pin.is-lit .tibp-pin-photo { border: 2px solid var(--tibp-gold); background: var(--tibp-navy); box-shadow: 0 8px 18px rgba(31,43,59,.12); }
#tibp .tibp-pin-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
#tibp .tibp-pin-cap { margin-top: 10px; min-height: 17px; max-width: 132px; font-size: 12.5px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tibp .tibp-pin-remove {
	margin-top: 4px; padding: 2px 6px; font-size: 12px; color: var(--tibp-muted); background: none;
	text-decoration: underline; text-underline-offset: 2px; visibility: hidden;
}
#tibp .tibp-pin-remove:hover { color: var(--tibp-ink); background: none; }
#tibp .tibp-pin.is-lit .tibp-pin-remove { visibility: visible; }
@media (max-width: 640px) { #tibp .tibp-tracker { padding: 24px 16px; } }

/* ---------- 9. Tour grid ---------- */
#tibp .tibp-grid-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
#tibp .tibp-tours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { #tibp .tibp-tours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { #tibp .tibp-tours { grid-template-columns: 1fr; } }
#tibp .tibp-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--tibp-muted); }

/* ---------- 10. Fixed layer: trip bar ---------- */
#tibp-layer .tibp-tripbar {
	position: fixed; left: 50%; bottom: 20px; z-index: 100050;
	width: min(760px, calc(100% - 32px)); transform: translate(-50%, 140%);
	display: flex; align-items: center; gap: 16px;
	background: var(--tibp-navy); color: #fff; border-radius: 18px; padding: 14px 14px 14px 20px;
	box-shadow: 0 24px 50px rgba(15,23,32,.35);
	visibility: hidden;
	transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s;
}
#tibp-layer .tibp-tripbar.is-visible { transform: translate(-50%, 0); visibility: visible; }
#tibp-layer .tibp-tripbar-count { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--tibp-gold); color: var(--tibp-navy); font-weight: 800; line-height: 1; }
#tibp-layer .tibp-tripbar-text { flex: 1; min-width: 0; }
#tibp-layer .tibp-tripbar-text strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; }
#tibp-layer .tibp-tripbar-text span { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tibp-layer .tibp-tripbar-total { text-align: right; }
#tibp-layer .tibp-tripbar-total small { display: block; font-size: 11px; color: rgba(255,255,255,.55); }
#tibp-layer .tibp-tripbar-total strong { display: block; font-size: 18px; font-weight: 700; color: var(--tibp-gold); }
@media (max-width: 560px) { #tibp-layer .tibp-tripbar-total { display: none; } }

/* ---------- 11. Fixed layer: overlay + drawer ---------- */
#tibp-layer .tibp-overlay { position: fixed; inset: 0; z-index: 100090; background: rgba(15,23,32,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#tibp-layer .tibp-overlay.is-open { opacity: 1; visibility: visible; }
#tibp-layer .tibp-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100100;
	width: 500px; max-width: 100vw; display: flex; flex-direction: column;
	background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.18);
	transform: translateX(100%); visibility: hidden;
	transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility .38s;
}
#tibp-layer .tibp-drawer.is-open { transform: translateX(0); visibility: visible; }
body.admin-bar #tibp-layer .tibp-drawer { top: 32px; }
@media (max-width: 782px) { body.admin-bar #tibp-layer .tibp-drawer { top: 46px; } }

#tibp-layer .tibp-drawer-close {
	position: absolute; top: 16px; right: 16px; z-index: 3;
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(15,23,32,.65); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
#tibp-layer .tibp-drawer-close:hover { background: var(--tibp-navy); color: #fff; }
#tibp-layer .tibp-drawer-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }

#tibp-layer .tibp-dhero { position: relative; height: 240px; background: var(--tibp-navy); flex-shrink: 0; }
#tibp-layer .tibp-dhero img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
#tibp-layer .tibp-dhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(15,23,32,.85) 100%); }
#tibp-layer .tibp-dhero-text { position: absolute; left: 28px; right: 70px; bottom: 22px; z-index: 2; }
#tibp-layer .tibp-dhero-title { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
#tibp-layer .tibp-dhero-sub { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.82); }

#tibp-layer .tibp-dcontent { padding: 32px 28px 40px; }
#tibp-layer .tibp-dcontent--plain { padding-top: 72px; }
#tibp-layer .tibp-dtitle { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
#tibp-layer .tibp-dlead { font-size: 15px; line-height: 1.7; color: #4B5563; margin-bottom: 28px; }
#tibp-layer .tibp-dsub { font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--tibp-ink); margin-bottom: 18px; }

#tibp-layer .tibp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
#tibp-layer .tibp-fact { background: var(--tibp-band); border-radius: 12px; padding: 14px; }
#tibp-layer .tibp-fact small { display: block; font-size: 12px; color: var(--tibp-muted); margin-bottom: 4px; }
#tibp-layer .tibp-fact strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--tibp-ink); }

#tibp-layer .tibp-timeline { position: relative; margin-bottom: 32px; }
#tibp-layer .tibp-timeline::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 3px; background: var(--tibp-line); border-radius: 3px; }
#tibp-layer .tibp-timeline > li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-left: 46px; margin-bottom: 22px; }
#tibp-layer .tibp-timeline > li:last-child { margin-bottom: 0; }
#tibp-layer .tibp-tl-num { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tibp-navy); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; border: 3px solid #fff; }
#tibp-layer .tibp-timeline > li:first-child .tibp-tl-num { background: var(--tibp-gold); color: var(--tibp-navy); }
#tibp-layer .tibp-tl-img { display: block; width: 84px; height: 68px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--tibp-navy); max-width: none; }
#tibp-layer .tibp-tl-body { flex: 1; min-width: 0; }
#tibp-layer .tibp-tl-body strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 700; margin: 2px 0 4px; }
#tibp-layer .tibp-tl-body span { display: block; font-size: 13px; line-height: 1.5; color: var(--tibp-muted); }
#tibp-layer .tibp-tl-price { font-size: 14.5px; font-weight: 700; white-space: nowrap; }

#tibp-layer .tibp-highlights { display: grid; gap: 12px; margin-bottom: 28px; }
#tibp-layer .tibp-highlights li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--tibp-ink); }
#tibp-layer .tibp-highlights li::before {
	content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
	background: var(--tibp-gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%231F2B3B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

#tibp-layer .tibp-drawer-foot {
	flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 28px 22px; border-top: 1px solid var(--tibp-line); background: #fff;
}
#tibp-layer .tibp-drawer-foot:empty { display: none; }
#tibp-layer .tibp-drawer-foot .tibp-price strong { font-size: 26px; }

/* Trip list */
#tibp-layer .tibp-trip-list { display: grid; gap: 12px; margin-bottom: 32px; }
#tibp-layer .tibp-trip-item { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--tibp-line); border-radius: 14px; }
#tibp-layer .tibp-trip-item img, #tibp-layer .tibp-trip-thumb { display: block; width: 60px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--tibp-navy); max-width: none; }
#tibp-layer .tibp-trip-item > div { flex: 1; min-width: 0; }
#tibp-layer .tibp-trip-item strong { display: block; font-size: 14.5px; font-weight: 700; }
#tibp-layer .tibp-trip-item span { font-size: 13px; color: var(--tibp-muted); }
#tibp-layer .tibp-trip-item button { font-size: 13px; color: var(--tibp-muted); text-decoration: underline; text-underline-offset: 2px; background: none; padding: 4px; }
#tibp-layer .tibp-trip-item button:hover { color: var(--tibp-ink); background: none; }
#tibp-layer .tibp-empty-note { text-align: center; padding: 32px 16px; color: var(--tibp-muted); font-size: 15px; line-height: 1.6; }

/* Enquiry form */
#tibp-layer .tibp-form { display: grid; gap: 16px; }
#tibp-layer .tibp-form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { #tibp-layer .tibp-form-row2 { grid-template-columns: 1fr; } }
#tibp-layer .tibp-field { display: grid; gap: 6px; }
#tibp-layer .tibp-field label { font-size: 13px; font-weight: 600; color: var(--tibp-ink); }
#tibp-layer .tibp-input {
	display: block; width: 100%; height: 46px; padding: 0 14px;
	font-size: 15px; line-height: 1.4; color: var(--tibp-ink); background: #fff;
	border: 1.5px solid var(--tibp-line); border-radius: 10px; box-shadow: none;
	transition: border-color .2s;
}
#tibp-layer textarea.tibp-input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
#tibp-layer .tibp-input:focus { border-color: var(--tibp-navy); outline: none; box-shadow: 0 0 0 3px rgba(31,43,59,.08); }
#tibp-layer .tibp-form-msg { font-size: 14px; line-height: 1.5; }
#tibp-layer .tibp-form-msg:empty { display: none; }
#tibp-layer .tibp-form-msg.is-error { color: #B42318; }
#tibp-layer .tibp-success { text-align: center; padding: 24px 8px; }
#tibp-layer .tibp-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--tibp-green); color: #fff; }
#tibp-layer .tibp-success p { font-size: 15px; line-height: 1.6; color: var(--tibp-muted); }

/* Toast */
#tibp-layer .tibp-toast {
	position: fixed; top: 24px; left: 50%; z-index: 100200; transform: translate(-50%, -160%);
	background: var(--tibp-navy); color: #fff; padding: 12px 18px; border-radius: 12px;
	font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: 0 12px 28px rgba(15,23,32,.25);
	visibility: hidden; pointer-events: none;
	transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s;
}
#tibp-layer .tibp-toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

html.tibp-lock, html.tibp-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	#tibp *, #tibp-layer * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
