/* =============================================================
   Tour Itinerary Builder — frontend styles
   Everything below is scoped and !important-guarded on the
   properties that WordPress themes most commonly override
   (buttons, headings, inputs) so the widget looks the same
   regardless of the active theme.
   ============================================================= */

.tib-wrap,
.tib-wrap *,
#tib-drawer,
#tib-drawer *,
#tib-floating-bar,
#tib-floating-bar *,
#tib-modal-overlay {
	box-sizing: border-box;
}

.tib-wrap,
#tib-drawer,
#tib-floating-bar {
	--tib-ink: #111318;
	--tib-muted: #6b7280;
	--tib-border: #ececec;
	--tib-accent: #16181d;
	--tib-accent-hover: #2c2f36;
	--tib-success: #16a34a;
	--tib-danger: #dc2626;
	--tib-radius: 10px;
	--tib-warm: #FFBF1D;
	--tib-warm-dark: #E6A500;
	--tib-warm-soft: #fff6df;
	--tib-cream: #FAFAFA;
	font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Reset headings so theme H1-H6 rules can't leak in */
.tib-wrap h1, .tib-wrap h2, .tib-wrap h3, .tib-wrap h4,
#tib-drawer h1, #tib-drawer h2, #tib-drawer h3, #tib-drawer h4 {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* Reset every button/input/textarea inside our widget before
   applying our own look, so theme button skins don't bleed in */
.tib-wrap button, .tib-wrap input, .tib-wrap textarea,
#tib-drawer button, #tib-drawer input, #tib-drawer textarea,
#tib-floating-bar button {
	all: revert;
	box-sizing: border-box;
	font-family: inherit !important;
	appearance: none;
	-webkit-appearance: none;
}

/* ============================================================
   ROUTE TRACKER — GYG horizontal timeline, dynamic pins
   Matches the homepage style: bold line, Start/End pills,
   map-pin badges, photo cards below. Scrolls horizontally
   when more than 4 stops are added.
============================================================ */

.tib-route-hint {
	text-align: center; font-size: 13px !important; font-style: italic;
	color: #9a9a9a !important; margin: 0 0 16px !important;
}

.tib-route-wrap {
	position: relative; margin-bottom: 36px; padding: 0 4px;
	overflow-x: auto; overflow-y: visible;
	scrollbar-width: none; -ms-overflow-style: none;
}
.tib-route-wrap::-webkit-scrollbar { display: none; }
@media (max-width: 780px) { .tib-route-wrap { display: none; } .tib-route-hint { display: none; } }

/* Bold track behind pins */
.tib-route-line {
	position: absolute; left: 56px; right: 56px; top: 16px;
	height: 4px; background: #dcdee2; border-radius: 4px; z-index: 0; overflow: hidden;
}
.tib-route-line-fill {
	height: 100%; width: 0%; background: #FFBF1D;
	border-radius: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1);
}

/* Pin row — flex, extends as more pins are added */
.tib-route-pins {
	display: flex; justify-content: space-between;
	min-width: 100%; width: max-content; position: relative; z-index: 1;
	padding: 0 12px;
}

/* Each stop */
.tib-route-pin {
	display: flex; flex-direction: column; align-items: center; gap: 0;
	min-width: 130px; flex: 1;
	transition: opacity .3s ease;
}

/* Map-pin circle — middle stops */
.tib-route-num {
	width: 36px; height: 36px; border-radius: 50%; background: #fff;
	border: 2.5px solid #dcdee2; color: #b0b3bb;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	transition: background .25s, border-color .25s, color .25s;
	position: relative; z-index: 2; flex-shrink: 0;
}
.tib-route-pin.tib-lit .tib-route-num { background: #FFBF1D; border-color: #FFBF1D; color: #1b1917; }

/* Start / End pill badges — first and last pins only */
.tib-route-num--label {
	height: 32px; border-radius: 100px; background: #fff;
	border: 2.5px solid #dcdee2; color: #b0b3bb;
	display: inline-flex; align-items: center; justify-content: center;
	gap: 5px; padding: 0 14px;
	font-size: 12px; font-weight: 700; white-space: nowrap;
	transition: background .25s, border-color .25s, color .25s;
	position: relative; z-index: 2; flex-shrink: 0;
}
/* Start lights navy when filled */
.tib-route-pin[data-slot="start"].tib-lit .tib-route-num--label {
	background: #1F2B3B; border-color: #1F2B3B; color: #fff;
}
/* End lights gold when filled */
.tib-route-pin[data-slot="end"].tib-lit .tib-route-num--label {
	background: #FFBF1D; border-color: #FFBF1D; color: #1b1917;
}

.tib-route-thread { width: 2px; height: 12px; background: #dcdee2; transition: background .25s; }
.tib-route-pin.tib-lit .tib-route-thread { background: #FFBF1D; }

/* Photo card */
.tib-route-photo {
	width: 116px; height: 78px; border-radius: 10px;
	border: 1.5px dashed #dcdee2; background: #fafafa;
	display: flex; align-items: center; justify-content: center;
	transition: border-color .3s, box-shadow .3s, background .3s;
	overflow: hidden; flex-shrink: 0;
}
.tib-route-pin.tib-lit .tib-route-photo {
	border: 1.5px solid #FFBF1D; background: #fff;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.tib-route-photo svg { color: #d1d5db; }
.tib-route-photo img { display: none; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.tib-route-pin.tib-lit .tib-route-photo img { display: block; }
.tib-route-pin.tib-lit .tib-route-photo svg { display: none; }

.tib-route-cap {
	margin-top: 8px; font-size: 11px !important; font-weight: 600 !important;
	color: var(--tib-ink) !important; white-space: nowrap;
	max-width: 116px; overflow: hidden; text-overflow: ellipsis;
	min-height: 14px; text-align: center;
}

/* "+N more" overflow badge */
.tib-route-more {
	position: absolute; top: 8px; right: 0; transform: none;
	background: var(--tib-accent); color: #fff; font-size: 11px; font-weight: 700;
	padding: 4px 9px; border-radius: 999px; opacity: 0;
	transition: opacity .3s ease;
}
.tib-route-more.tib-lit { opacity: 1; }

/* ---------- How it works ---------- */

.tib-howit-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid var(--tib-border);
	border-radius: 16px;
	margin-bottom: 40px;
	overflow: hidden;
}
.tib-howit-step {
	display: flex; flex-direction: column;
	padding: 28px 30px;
	gap: 14px;
	border-right: 1px solid var(--tib-border);
	position: relative;
}
.tib-howit-step:last-child { border-right: none; }
.tib-howit-icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: #f4f4f5;
	display: flex; align-items: center; justify-content: center;
	color: var(--tib-ink);
}
.tib-howit-num {
	flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
	background: var(--tib-warm); color: #1f2b3b; font-weight: 800; font-size: 11px;
	display: flex; align-items: center; justify-content: center;
	position: absolute; top: 20px; right: 20px;
}
.tib-howit-step h4 { font-size: 15px !important; font-weight: 700 !important; color: var(--tib-ink) !important; margin: 0 0 4px !important; }
.tib-howit-step p { font-size: 13px !important; line-height: 1.55 !important; color: var(--tib-muted) !important; margin: 0 !important; }
@media (max-width: 780px) { .tib-howit-row { grid-template-columns: 1fr; } .tib-howit-step { border-right: none; border-bottom: 1px solid var(--tib-border); } .tib-howit-step:last-child { border-bottom: none; } }

/* ---------- Predefined itinerary packages ---------- */

/* ============================================================
   PACKAGE SECTION HEADER
============================================================ */
/* ============================================================
   PACKAGE SECTION HEADER
============================================================ */
.tib-pkg-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.tib-pkg-head h2 { font-size: 26px !important; font-weight: 700 !important; color: var(--tib-ink) !important; margin: 0 0 4px !important; }
.tib-pkg-head p { font-size: 14px !important; color: var(--tib-muted) !important; margin: 0 !important; }

/* ============================================================
   PACKAGE CARDS — horizontal card, image left + details right
============================================================ */
.tib-pkg-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 48px;
}

.tib-pkg-card {
	background: #fff;
	border: 1.5px solid #ebebeb;
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 380px 1fr;
	cursor: pointer;
	transition: transform .28s ease, box-shadow .28s ease, border-color .22s ease;
	min-height: 240px;
}
.tib-pkg-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(31,43,59,.12);
	border-color: #FFBF1D;
}
.tib-pkg-card.tib-pkg-selected {
	border-color: #FFBF1D;
	box-shadow: 0 0 0 3px rgba(255,191,29,.18), 0 16px 40px rgba(31,43,59,.1);
}
@media (max-width: 860px) { .tib-pkg-card { grid-template-columns: 1fr; } }

/* Image panel */
.tib-pkg-slideshow {
	position: relative !important;
	width: 100% !important; height: 100% !important; min-height: 240px !important;
	background: #1f2b3b !important;
	overflow: hidden !important;
}
.tib-pkg-slideshow img {
	position: absolute !important; inset: 0 !important;
	width: 100% !important; height: 100% !important;
	object-fit: cover !important; display: block !important;
	opacity: 0 !important; z-index: 1;
	transition: opacity .9s ease !important;
}
.tib-pkg-slideshow img.tib-slide-active { opacity: 1 !important; z-index: 2; }
/* Dark vignette on image */
.tib-pkg-slideshow::after {
	content: '';
	position: absolute; inset: 0; z-index: 3;
	background: linear-gradient(to right, transparent 60%, rgba(15,23,32,.25) 100%),
	            linear-gradient(to top, rgba(15,23,32,.5) 0%, transparent 50%);
	pointer-events: none;
}
.tib-pkg-collage-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#2c3b4f,#1f2b3b); }

/* Stop count badge */
.tib-pkg-img-badge {
	position: absolute; top: 16px; left: 16px; z-index: 4;
	background: rgba(0,0,0,.45);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,.18);
	color: #fff; font-size: 11.5px; font-weight: 700;
	padding: 5px 13px; border-radius: 999px; letter-spacing: .4px;
}

/* "View details" pill — bottom-left, fades in on hover */
.tib-pkg-img-cta {
	position: absolute; bottom: 16px; left: 16px; z-index: 4;
	background: #FFBF1D; color: #1f2b3b;
	font-size: 12px; font-weight: 700;
	padding: 7px 16px; border-radius: 999px;
	display: flex; align-items: center; gap: 6px;
	opacity: 0; transform: translateY(6px);
	transition: opacity .22s ease, transform .22s ease;
	border: none; cursor: pointer; font-family: inherit;
}
.tib-pkg-card:hover .tib-pkg-img-cta { opacity: 1; transform: translateY(0); }

/* Body panel */
.tib-pkg-body {
	padding: 28px 30px 24px;
	display: flex; flex-direction: column; flex: 1;
}
.tib-pkg-name { font-size: 21px !important; font-weight: 700 !important; color: var(--tib-ink) !important; margin: 0 0 6px !important; letter-spacing: -.02em !important; }
.tib-pkg-desc { font-size: 14px !important; color: var(--tib-muted) !important; line-height: 1.6 !important; margin: 0 0 18px !important; }

/* Stop chips */
/* Stop rows inside predefined package card */
.tib-pkg-stops { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.tib-pkg-stop-row {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 0; border-bottom: 1px solid #f5f5f5;
}
.tib-pkg-stop-row:last-child { border-bottom: none; padding-bottom: 0; }
.tib-pkg-stop-num {
	width: 22px; height: 22px; border-radius: 50%;
	background: #1f2b3b; color: #fff;
	font-size: 10px; font-weight: 700; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
.tib-pkg-stop-img {
	width: 52px; height: 40px; border-radius: 7px;
	object-fit: cover; flex-shrink: 0; background: #eee;
}
.tib-pkg-stop-img--empty { display: inline-block; background: #f0f0f0; }
.tib-pkg-stop-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tib-pkg-stop-title {
	font-size: 13px; font-weight: 600; color: #1f2b3b;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tib-pkg-stop-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.tib-pkg-stop-pill {
	display: inline-flex; align-items: center; gap: 3px;
	font-size: 11px; font-weight: 600; color: #6b7280;
	background: #f5f5f5; border: 1px solid #ebebeb;
	border-radius: 999px; padding: 2px 8px;
}
.tib-pkg-stop-pill--star { color: #1f2b3b; background: #fff9e6; border-color: #ffe49e; }
.tib-pkg-stop-price {
	font-size: 13.5px; font-weight: 700; color: #1f2b3b;
	white-space: nowrap; flex-shrink: 0;
}
/* Keep chip class for backward compat */
.tib-pkg-includes { display: none; }
.tib-pkg-chip { display: none; }

/* View details text link */
.tib-pkg-showmore {
	all: revert;
	display: inline-flex !important; align-items: center !important; gap: 5px;
	background: none !important; border: none !important; padding: 0 !important; margin: 0 0 22px !important;
	font-family: var(--tib-font, inherit) !important; font-size: 12.5px !important; font-weight: 600 !important;
	color: var(--tib-muted) !important; cursor: pointer;
	text-decoration: underline; text-underline-offset: 3px;
	transition: color .2s ease;
}
.tib-pkg-showmore:hover { color: var(--tib-ink) !important; }

/* Footer */
.tib-pkg-foot {
	margin-top: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border-top: 1px solid #f2f2f2; padding-top: 20px;
}
.tib-pkg-stats { display: flex; flex-direction: column; gap: 2px; }
.tib-pkg-count { font-size: 11.5px !important; color: var(--tib-muted) !important; }
.tib-pkg-price { font-size: 28px !important; font-weight: 700 !important; color: var(--tib-ink) !important; letter-spacing: -.5px; }

/* CTA button on card */
.tib-pkg-btn {
	background: #FFBF1D !important; color: #1f2b3b !important;
	font-size: 13.5px !important; font-weight: 700 !important;
	padding: 12px 24px !important; border: none !important;
	border-radius: 12px !important; cursor: pointer;
	white-space: nowrap; transition: background .2s ease, transform .2s ease;
	display: inline-flex !important; align-items: center !important; gap: 8px;
}
.tib-pkg-btn:hover { background: #E6A500 !important; transform: translateY(-2px); }
.tib-pkg-btn.tib-pkg-added { background: #16a34a !important; color: #fff !important; }
.tib-pkg-btn.tib-pkg-added:hover { background: #15803d !important; }

/* ============================================================
   PACKAGE DETAIL DRAWER — GYG-style vertical itinerary
============================================================ */
.tib-pkg-modal {
	position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 96vw;
	background: #fff; z-index: 100001;
	box-shadow: -20px 0 60px rgba(0,0,0,.18);
	transform: translateX(100%);
	transition: transform .35s cubic-bezier(.2,.8,.2,1);
	overflow: hidden;
	display: flex; flex-direction: column;
}
.tib-pkg-modal.tib-open { transform: translateX(0); }
@media (max-width: 520px) { .tib-pkg-modal { width: 100vw; } }

/* Hero image */
.tib-pkg-modal-hero {
	position: relative; width: 100%; height: 220px;
	background: #1f2b3b; flex-shrink: 0; overflow: hidden;
}
.tib-pkg-modal-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tib-pkg-modal-hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to bottom, transparent 30%, rgba(15,23,32,.8) 100%);
}
.tib-pkg-modal-hero-overlay {
	position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 20px 24px;
}
.tib-pkg-modal-hero-name {
	font-size: 22px !important; font-weight: 700 !important;
	color: #fff !important; margin: 0 0 4px !important; line-height: 1.2 !important;
}
.tib-pkg-modal-hero-meta {
	font-size: 12.5px !important; color: rgba(255,255,255,.75) !important; margin: 0 !important;
}

/* Close X — floats top-right over hero */
#tib-pkg-modal-close {
	position: fixed !important; top: 16px; right: 16px; z-index: 100002;
	width: 36px !important; height: 36px !important; border-radius: 50% !important;
	background: rgba(31,43,59,0.75) !important; color: #fff !important; border: none !important;
	font-size: 20px !important; line-height: 1 !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	cursor: pointer; transition: background .2s ease;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
#tib-pkg-modal-close:hover { background: rgba(31,43,59,1) !important; }

/* Scrollable body */
.tib-pkg-modal-inner {
	padding: 0; flex: 1; overflow-y: auto; overflow-x: hidden;
	display: flex; flex-direction: column;
}
.tib-pkg-modal-inner::-webkit-scrollbar { width: 4px; }
.tib-pkg-modal-inner::-webkit-scrollbar-thumb { background: #e8e8e8; border-radius: 2px; }

/* Modal body — hero is flush to top, then text content has padding */
#tib-pkg-modal-body {
	padding: 0; flex: 1;
}

/* Text content wrapper inside body, after the hero */
#tib-pkg-modal-body .tib-pkg-modal-hero {
	margin: 0;
}

.tib-pkg-modal-text-content {
	padding: 24px 24px 40px;
}

.tib-pkg-modal-name {
	font-size: 20px !important; font-weight: 700 !important;
	color: var(--tib-ink) !important; margin: 0 0 6px !important;
}
.tib-pkg-modal-desc {
	font-size: 13.5px !important; color: var(--tib-muted) !important;
	line-height: 1.6 !important; margin: 0 0 28px !important;
}

/* GYG-style vertical timeline label */
.tib-pkg-modal-stops-label {
	font-size: 11px !important; font-weight: 800 !important;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--tib-muted) !important; margin: 0 0 16px !important;
	display: flex; align-items: center; gap: 8px;
}
.tib-pkg-modal-stops-label::after {
	content: ''; flex: 1; height: 1px; background: #ebebeb;
}

/* Timeline wrapper — the bold vertical line lives here */
.tib-pkg-modal-timeline {
	position: relative;
	margin: 0 0 4px;
	padding-left: 20px;
	border-left: 3px solid #ebebeb;
}

/* Each stop on the vertical line */
.tib-pkg-modal-tour {
	position: relative;
	display: flex; gap: 14px;
	padding: 0 0 24px 20px;
	align-items: flex-start;
}
.tib-pkg-modal-tour:last-child { padding-bottom: 0; }

/* Numbered circle — sits on the left line */
.tib-pkg-modal-stop-num {
	position: absolute; left: -33px; top: 0;
	width: 28px; height: 28px; border-radius: 50%;
	background: #1f2b3b; color: #fff;
	font-size: 11px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; border: 3px solid #fff;
	box-shadow: 0 0 0 1px #ebebeb;
}

.tib-pkg-modal-tour-img {
	width: 100px; height: 76px; border-radius: 12px;
	object-fit: cover; background: #eee; flex-shrink: 0;
}
.tib-pkg-modal-tour-body { min-width: 0; flex: 1; padding-top: 2px; }
.tib-pkg-modal-tour-title {
	font-size: 14.5px !important; font-weight: 700 !important;
	color: var(--tib-ink) !important; margin: 0 0 4px !important;
}
.tib-pkg-modal-tour-desc {
	font-size: 12.5px !important; color: var(--tib-muted) !important;
	line-height: 1.45 !important; margin: 0 0 7px !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tib-pkg-modal-tour-row {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.tib-pkg-modal-tour-meta {
	display: flex; flex-wrap: wrap; gap: 4px 10px;
	font-size: 11.5px !important; color: var(--tib-muted) !important;
}
.tib-pkg-modal-tour-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tib-pkg-modal-tour-price {
	font-size: 14.5px !important; font-weight: 700 !important;
	color: var(--tib-ink) !important; white-space: nowrap;
}

/* Gold total summary */
.tib-pkg-modal-total {
	display: flex; align-items: center; justify-content: space-between;
	background: #fff9e6; border: 1.5px solid #ffe49e;
	border-radius: 14px; padding: 18px 22px; margin: 28px 0 0;
}
.tib-pkg-modal-total-left {}
.tib-pkg-modal-total-label { font-size: 12px !important; color: var(--tib-muted) !important; display: block; margin-bottom: 2px !important; }
.tib-pkg-modal-total-count { font-size: 13px !important; font-weight: 600 !important; color: var(--tib-ink) !important; }
.tib-pkg-modal-total-value { font-size: 30px !important; font-weight: 700 !important; color: var(--tib-ink) !important; letter-spacing: -.5px; }

/* Drawer CTA */
.tib-pkg-modal-cta {
	width: 100%; margin-top: 28px;
	background: #1f2b3b !important; color: #fff !important;
	font-size: 15px !important; font-weight: 700 !important;
	padding: 16px !important; border: none !important; border-radius: 14px !important;
	cursor: pointer; transition: background .2s ease, transform .2s ease;
	display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px;
}
.tib-pkg-modal-cta:hover { background: #2c3b4f !important; transform: translateY(-2px); }

/* ============================================================
   "BUILD YOUR OWN" SECTION DIVIDER
============================================================ */
.tib-pkg-orhint {
	margin: 0 0 36px !important;
	position: relative;
	display: flex; align-items: center; justify-content: center;
}
.tib-pkg-orhint::before {
	content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
	background: var(--tib-border);
}
.tib-pkg-orhint span {
	position: relative; z-index: 1;
	background: var(--tib-cream, #fafafa);
	padding: 0 18px;
	font-size: 12px !important; font-weight: 700 !important;
	color: var(--tib-muted) !important;
	text-transform: uppercase; letter-spacing: 1.5px;
}

/* ============================================================
   TOUR GRID & CARDS — "Build Your Own" section
============================================================ */

/* Section intro — sits above the grid */
.tib-build-intro {
	text-align: center;
	margin-bottom: 36px;
}
.tib-build-intro h3 {
	font-size: 22px !important; font-weight: 700 !important;
	color: var(--tib-ink) !important; margin: 0 0 6px !important;
}
.tib-build-intro p {
	font-size: 14px !important; color: var(--tib-muted) !important;
	margin: 0 !important; max-width: 540px; margin-inline: auto !important;
}

.tib-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
	margin: 0 0 24px !important;
}
@media (max-width: 980px) { .tib-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .tib-grid { grid-template-columns: 1fr !important; } }

/* Card shell */
/* ============================================================
   TOUR CARDS — Magazine / GYG hybrid style
   Full-bleed photo, gradient scrim, title on image,
   clean info strip below.
============================================================ */
a.tib-card,
div.tib-card,
.tib-card {
	background: #fff !important;
	border: 1.5px solid #e8e8e8 !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 2px 10px rgba(17,19,24,0.05) !important;
	display: flex !important; flex-direction: column !important;
	transition: transform .28s ease, box-shadow .28s ease, border-color .22s ease;
	text-decoration: none !important; color: inherit !important;
	position: relative; cursor: pointer;
}
.tib-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 44px rgba(17,19,24,0.13) !important;
	border-color: #FFBF1D !important;
}
.tib-card.tib-added-state { border-color: #16a34a !important; }

@keyframes tib-card-glow {
	0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.35), 0 1px 3px rgba(0,0,0,0.07); }
	100% { box-shadow: 0 0 0 14px rgba(22,163,74,0), 0 1px 3px rgba(0,0,0,0.07); }
}
.tib-card-added-glow { animation: tib-card-glow .7s ease-out; }

/* ---- Image panel: taller, overlaid title ---- */
.tib-card-image {
	position: relative !important; height: 240px !important;
	overflow: hidden !important; background: #1f2b3b !important;
	border-radius: 18px 18px 0 0 !important; flex-shrink: 0 !important;
}
.tib-card-img {
	width: 100% !important; height: 100% !important;
	object-fit: cover !important; display: block !important;
	border-radius: 18px 18px 0 0 !important;
	transition: transform .55s ease;
}
.tib-card:hover .tib-card-img { transform: scale(1.08); }

/* Full-image gradient scrim so overlaid text is always readable */
.tib-card-image::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,0.05) 40%,
		rgba(0,0,0,0.7) 100%
	);
	border-radius: 18px 18px 0 0;
}

/* Title + rating overlaid on photo — bottom of image */
.tib-card-img-overlay {
	position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
	padding: 14px 16px 16px;
}
.tib-card-img-title {
	font-size: 18px !important; font-weight: 700 !important;
	color: #fff !important; margin: 0 0 6px !important;
	line-height: 1.25 !important; letter-spacing: -0.01em !important;
	text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.tib-card-img-rating {
	display: inline-flex; align-items: center; gap: 4px;
	color: #fff; font-size: 12.5px; font-weight: 700;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Country badge — top-left */
.tib-country-badge {
	position: absolute; top: 12px; left: 12px; z-index: 3;
	display: inline-flex !important; align-items: center !important; gap: 5px;
	background: rgba(255,255,255,.92); color: #1f2b3b !important;
	font-size: 11.5px !important; font-weight: 600 !important;
	padding: 4px 10px !important; border-radius: 999px !important;
	backdrop-filter: blur(4px); box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* Duration badge — top-right */
.tib-duration-badge {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	display: inline-flex; align-items: center; gap: 5px;
	background: rgba(0,0,0,.48); color: #fff;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.18);
	font-size: 11.5px; font-weight: 600;
	padding: 4px 10px; border-radius: 999px;
}

/* "Added" checkmark badge overlaid on image corner */
.tib-card-added-overlay {
	position: absolute; top: 12px; right: 12px; z-index: 4;
	background: #16a34a; color: #fff; border-radius: 50%;
	width: 28px; height: 28px; display: none;
	align-items: center; justify-content: center;
}
.tib-card.tib-added-state .tib-card-added-overlay { display: flex; }

.tib-card-image-empty {
	position: relative; display: flex !important; flex-direction: column !important;
	align-items: center !important; justify-content: center !important; gap: 8px;
	color: #9ca3af !important;
	background: linear-gradient(135deg, #1f2b3b 0%, #2c3b4f 100%) !important;
	font-size: 13px !important;
}

/* ---- Card body ---- */
.tib-card-body {
	padding: 16px 18px 18px !important;
	box-sizing: border-box !important; width: 100% !important;
	display: flex; flex-direction: column; flex: 1;
}

/* Subtitle — plain text, no pill background */
.tib-card-rating-row { display: none; } /* rating now on image */
.tib-card-tag {
	display: block;
	font-size: 12.5px; font-weight: 500; color: var(--tib-muted);
	background: none; border: none; border-radius: 0; padding: 0;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	max-width: 100%; margin-bottom: 8px;
}

/* Title hidden from body — shown on image */

/* Description — plain, no background */
.tib-card-subtitle,
.tib-card-desc {
	margin: 0 0 14px !important; font-size: 13px !important;
	line-height: 1.65 !important; color: var(--tib-muted) !important;
	font-weight: 400 !important; background: none !important;
	display: -webkit-box !important; -webkit-line-clamp: 2;
	-webkit-box-orient: vertical; overflow: hidden !important;
}

/* Info row — icon + text, no pill background */
.tib-card-pills {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 0; margin-bottom: 16px;
	border-top: 1px solid #f2f2f2; padding-top: 12px;
}
.tib-pill {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 12px; font-weight: 500; color: #6b7280;
	background: none; border: none; border-radius: 0;
	padding: 0 14px 0 0;
}
.tib-pill:last-child { padding-right: 0; }
.tib-pill svg { color: #9ca3af; flex-shrink: 0; }
/* Divider between pills */
.tib-pill + .tib-pill {
	border-left: 1px solid #e5e7eb; padding-left: 14px;
}

.tib-card-click-hint { display: none; }

/* Footer */
.tib-card-footer {
	display: flex !important; align-items: center !important;
	justify-content: space-between !important; gap: 10px;
	width: 100% !important; margin-top: auto;
	padding-top: 14px; border-top: 1px solid #f2f2f2;
}
.tib-card-price { display: flex !important; flex-direction: column !important; gap: 1px; }
.tib-label { font-size: 11px !important; color: #9ca3af !important; }
.tib-card-price strong { font-size: 22px !important; color: var(--tib-ink) !important; font-weight: 700 !important; letter-spacing: -.3px; }

.tib-add-btn.tib-card-add { font-size: 13px !important; padding: 9px 16px !important; }

.tib-view-btn {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	background: #fff !important; color: var(--tib-ink) !important;
	border: 1.5px solid #e2e4e8 !important; border-radius: 9px !important;
	padding: 10px 18px !important; font-size: 13.5px !important; font-weight: 600 !important;
	text-decoration: none !important; white-space: nowrap;
	transition: background .15s ease, border-color .15s ease;
}
.tib-card:hover .tib-view-btn { background: #f5f5f6 !important; border-color: #d1d5db !important; }

/* ---- Package infobar + chip row ---- */
.tib-pkg-chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tib-pkg-infobar {
	display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px;
}
.tib-pkg-infopill {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 12px; font-weight: 600; color: #4b5563;
	background: #f5f5f5; border: 1px solid #ebebeb;
	border-radius: 999px; padding: 5px 12px;
}
.tib-pkg-infopill--star {
	background: #fff9e6; border-color: #ffe49e; color: #1f2b3b;
}


/* ---------- Buttons (shared "primary pill" look) ---------- */

.tib-add-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	gap: 6px !important;
	width: auto !important;
	background: var(--tib-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 10px 18px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.tib-add-btn:hover { background: var(--tib-accent-hover) !important; }
.tib-add-btn:active { transform: scale(0.97); }
.tib-add-btn.tib-added { background: var(--tib-success) !important; }
.tib-add-btn:disabled { opacity: .6 !important; cursor: default; transform: none; }

@keyframes tib-btn-bounce {
	0%   { transform: scale(1); }
	35%  { transform: scale(1.14); }
	65%  { transform: scale(0.95); }
	100% { transform: scale(1); }
}
.tib-add-btn.tib-just-added { animation: tib-btn-bounce .45s cubic-bezier(.34,1.56,.64,1); }

@keyframes tib-pop {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.18); }
	100% { transform: scale(1); }
}
.tib-pulse { animation: tib-pop .35s ease; }

/* ---------- Floating bar ---------- */

.tib-floating-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: var(--tib-accent);
	color: #fff !important;
	z-index: 9997;
	box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
	transform: translateY(100%);
	transition: transform .4s cubic-bezier(.34,1.4,.64,1);
}
.tib-floating-bar.tib-visible { transform: translateY(0); }

.tib-floating-bar-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.tib-floating-count { font-size: 14.5px !important; color: #fff !important; font-weight: 500 !important; }
.tib-floating-bar .tib-add-btn { background: #fff !important; color: var(--tib-ink) !important; }
.tib-floating-bar .tib-add-btn:hover { background: #ececec !important; }

/* ---------- Drawer overlay ---------- */

.tib-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15,15,18,0.45);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease, visibility .28s ease;
}
.tib-drawer-overlay.tib-open { opacity: 1; visibility: visible; }

/* ---------- Drawer panel ---------- */

#tib-drawer.tib-drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: 440px;
	max-width: 100vw;
	background: #fff !important;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .32s cubic-bezier(.32,.72,0,1);
	box-shadow: -12px 0 40px rgba(0,0,0,0.16);
}
#tib-drawer.tib-drawer.tib-open { transform: translateX(0); }

/* Keep clear of the WP admin toolbar so it never covers the drawer header
   (only visible to logged-in admins/editors, not regular site visitors) */
body.admin-bar .tib-drawer-overlay { top: 32px; }
body.admin-bar #tib-drawer.tib-drawer { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .tib-drawer-overlay { top: 46px; }
	body.admin-bar #tib-drawer.tib-drawer { top: 46px; }
}

.tib-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid var(--tib-border);
	flex-shrink: 0;
}
.tib-drawer-header h2 {
	font-size: 17px !important;
	font-weight: 700 !important;
	color: var(--tib-ink) !important;
}

.tib-modal-close {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	border-radius: 50% !important;
	background: #f3f4f6 !important;
	border: none !important;
	color: #6b7280 !important;
	font-size: 20px !important;
	line-height: 1 !important;
	cursor: pointer;
	padding: 0 !important;
	transition: background .15s ease, color .15s ease;
}
.tib-modal-close:hover { background: #e5e7eb !important; color: var(--tib-ink) !important; }

.tib-drawer-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}
.tib-drawer-body::-webkit-scrollbar { width: 6px; }
.tib-drawer-body::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 3px; }
.tib-drawer-body::-webkit-scrollbar-track { background: transparent; }

.tib-drawer-scroll {
	padding: 20px 24px 4px;
}

.tib-drawer-footer {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	padding: 16px 24px 20px;
	border-top: 1px solid var(--tib-border);
	background: #fff;
	box-shadow: 0 -6px 16px rgba(0,0,0,0.04);
}

.tib-drawer-subhead {
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--tib-muted) !important;
	margin-top: 4px !important;
	margin-bottom: 14px !important;
}

.tib-drawer-divider {
	border: none;
	border-top: 1px solid var(--tib-border);
	margin: 22px 0 18px;
}

.tib-drawer-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 14px;
	margin-top: 2px;
	background: #f9fafb;
	border-radius: 10px;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--tib-ink) !important;
}
.tib-drawer-total strong { font-size: 16px !important; }

/* ---------- Selected-tour rows ---------- */

.tib-modal-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f2f2f2;
	font-size: 14px;
	max-height: 100px;
	opacity: 0;
	transform: translateX(16px);
	animation: tib-item-in .38s ease forwards;
	transition: max-height .22s ease, opacity .22s ease, padding .22s ease, margin .22s ease, transform .22s ease;
}
.tib-modal-item:last-of-type { border-bottom: none; }
.tib-modal-item.tib-removing {
	opacity: 0 !important;
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin: 0 !important;
	border-bottom: none !important;
	transform: translateX(16px) !important;
	overflow: hidden;
}

@keyframes tib-item-in {
	to { opacity: 1; transform: translateX(0); }
}

.tib-modal-item-thumb {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	background-color: #eee;
	flex-shrink: 0;
}
.tib-modal-item-info { flex: 1; min-width: 0; }
.tib-modal-item-title {
	font-weight: 600 !important;
	font-size: 14px !important;
	color: var(--tib-ink) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tib-modal-item-price { color: var(--tib-muted) !important; font-size: 12.5px !important; margin-top: 2px !important; }

.tib-modal-item-remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	background: transparent !important;
	border: 1px solid #f0d0d0 !important;
	color: var(--tib-danger) !important;
	cursor: pointer;
	font-size: 12px !important;
	font-weight: 500 !important;
	padding: 6px 10px !important;
	border-radius: 8px !important;
	flex-shrink: 0;
	transition: background .15s ease, border-color .15s ease;
}
.tib-modal-item-remove:hover { background: #fef2f2 !important; border-color: #f3b8b8 !important; }

.tib-modal-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--tib-muted) !important;
	font-size: 13.5px !important;
	line-height: 1.55 !important;
	padding: 32px 8px;
	text-align: center;
}
.tib-modal-empty svg { color: #d1d5db; }
.tib-modal-empty strong { color: var(--tib-ink) !important; }

/* ---------- Success state ---------- */

.tib-drawer-body.tib-success-active > *:not(.tib-success-state) {
	display: none;
}

.tib-success-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 48px 16px;
	gap: 6px;
	animation: tib-fade-up .4s ease;
}
.tib-success-check { color: var(--tib-success); margin-bottom: 8px; }
.tib-success-circle {
	stroke-dasharray: 164;
	stroke-dashoffset: 164;
	animation: tib-draw .5s ease forwards;
}
.tib-success-tick {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: tib-draw .35s ease .45s forwards;
}
.tib-success-state h3 {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--tib-ink) !important;
	margin-top: 4px !important;
}
.tib-success-state p {
	font-size: 13.5px !important;
	color: var(--tib-muted) !important;
	line-height: 1.5 !important;
	max-width: 300px;
}

@keyframes tib-draw {
	to { stroke-dashoffset: 0; }
}
@keyframes tib-fade-up {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Form ---------- */

#tib-itinerary-form { margin-top: 4px; }
.tib-form-row { margin-bottom: 16px; }
.tib-form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}
.tib-form-row label, .tib-form-row-2 label {
	display: block !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	margin-bottom: 6px !important;
	color: var(--tib-ink) !important;
}
.tib-form-row input,
.tib-form-row-2 input,
.tib-form-row textarea {
	width: 100% !important;
	padding: 11px 13px !important;
	border: 1.5px solid #e2e4e8 !important;
	border-radius: 9px !important;
	font-size: 14px !important;
	color: var(--tib-ink) !important;
	background: #fff !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tib-form-row input:focus,
.tib-form-row-2 input:focus,
.tib-form-row textarea:focus {
	outline: none !important;
	border-color: var(--tib-ink) !important;
	box-shadow: 0 0 0 3px rgba(17,19,24,0.08) !important;
}
.tib-form-row textarea { resize: vertical; min-height: 70px; }

.tib-submit-btn { width: 100% !important; padding: 12px !important; margin-top: 2px; font-size: 14px !important; }

.tib-form-message {
	font-size: 13.5px !important;
	margin-top: 10px !important;
	line-height: 1.4 !important;
}
.tib-form-message.success { color: var(--tib-success) !important; }
.tib-form-message.error { color: var(--tib-danger) !important; }

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
	.tib-form-row-2 { grid-template-columns: 1fr; }
	.tib-floating-bar-inner { padding: 14px 18px; }
	#tib-drawer.tib-drawer { width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
	.tib-wrap *, #tib-drawer *, #tib-floating-bar * {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* ---------- Single tour page (dummy/starter template) ---------- */

/* Top padding clears the site's fixed/overlay header (roughly 90px tall)
   plus a bit of breathing room — this page's content would otherwise
   start right underneath the nav bar instead of below it. */
.tib-single-tour { padding: 130px 24px 80px; background: #fff; position: relative; }
.tib-single-inner { max-width: 1240px; margin: 0 auto; }

.tib-single-back {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--tib-muted) !important;
	text-decoration: none !important;
	margin-bottom: 20px;
	transition: color .15s ease;
}
.tib-single-back:hover { color: var(--tib-ink) !important; }

.tib-hero-topline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 8px;
}

.tib-single-area {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .04em !important;
	color: var(--tib-warm-dark) !important;
	margin: 0 !important;
}

.tib-single-title {
	font-size: 52px !important;
	font-weight: 800 !important;
	color: var(--tib-ink) !important;
	margin: 4px 0 14px !important;
	line-height: 1.15 !important;
	letter-spacing: -0.01em !important;
}

.tib-single-desc {
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: var(--tib-muted) !important;
	margin: 0 0 24px !important;
	max-width: 640px;
}
.tib-single-meta {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	font-size: 13.5px !important;
	color: var(--tib-muted) !important;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--tib-border);
}

.tib-single-body {
	font-size: 15.5px !important;
	line-height: 1.7 !important;
	color: var(--tib-ink) !important;
	margin-bottom: 32px;
}

@media (max-width: 640px) {
	.tib-single-title { font-size: 26px !important; }
}

/* Utility: forcibly hide an element via JS toggling. Since .tib-card and
   .tib-grid use `display: ... !important` (needed to survive theme CSS
   bleed), plain inline `style.display = 'none'` from JS cannot override
   them — an inline style never beats a stylesheet !important rule. This
   class exists specifically so JS can hide cards/grids reliably: same
   specificity as those rules, but declared later in the cascade, so it
   wins the tie. Always toggle this class from JS, never .style.display,
   for any element also styled by .tib-card or .tib-grid. */
.tib-hidden { display: none !important; }

/* ============================================================
   TOUR DETAIL DRAWER — right slide-in, card click trigger
============================================================ */
.tib-tour-detail-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: 500px; max-width: 95vw;
	background: #fff; z-index: 100001;
	box-shadow: -20px 0 60px rgba(0,0,0,.18);
	transform: translateX(100%);
	transition: transform .35s cubic-bezier(.2,.8,.2,1);
	overflow-y: auto; overflow-x: hidden;
	display: flex; flex-direction: column;
}
.tib-tour-detail-drawer.tib-open { transform: translateX(0); }
@media (max-width: 520px) { .tib-tour-detail-drawer { width: 100vw; } }

/* Hero image */
.tib-td-hero {
	position: relative; width: 100%; height: 200px;
	background: #1f2b3b; flex-shrink: 0; overflow: hidden;
}
.tib-td-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tib-td-hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to bottom, transparent 30%, rgba(15,23,32,.8) 100%);
}
.tib-td-hero-overlay {
	position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 20px 24px;
}
.tib-td-hero-title {
	font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 4px; line-height: 1.2;
}
.tib-td-hero-sub {
	font-size: 12.5px; color: rgba(255,255,255,.75); margin: 0;
}

/* Close button */
#tib-td-close {
	position: fixed !important; top: 14px; right: 14px; z-index: 100002;
	width: 34px !important; height: 34px !important; border-radius: 50% !important;
	background: rgba(0,0,0,.5) !important; color: #fff !important; border: none !important;
	font-size: 18px !important; line-height: 1 !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	cursor: pointer; transition: background .2s;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#tib-td-close:hover { background: rgba(0,0,0,.8) !important; }

/* Scrollable inner */
.tib-td-inner {
	padding: 20px 22px 8px; flex: 1; overflow-y: auto;
}

/* Quick facts row */
.tib-td-facts {
	display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.tib-td-fact {
	display: inline-flex; align-items: center; gap: 6px;
	background: #f7f7f7; border: 1px solid #ebebeb;
	border-radius: 999px; padding: 7px 14px;
	font-size: 13px; font-weight: 600; color: #1f2b3b;
}
.tib-td-fact svg { color: #9ca3af; flex-shrink: 0; }

/* Rating badge */
.tib-td-rating {
	display: inline-flex; align-items: center; gap: 5px;
	background: #fff9e6; border: 1px solid #ffe49e;
	border-radius: 999px; padding: 7px 14px;
	font-size: 13px; font-weight: 700; color: #1f2b3b;
}

/* Section label */
.tib-td-section-label {
	font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px;
	text-transform: uppercase; color: #9ca3af;
	margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.tib-td-section-label::after { content: ''; flex: 1; height: 1px; background: #ebebeb; }

/* Description */
.tib-td-desc {
	font-size: 14px; line-height: 1.7; color: #4b5563;
	margin: 0 0 24px;
}

/* Highlights list */
.tib-td-highlights {
	list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px;
}
.tib-td-highlights li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 13.5px; color: #1f2b3b; line-height: 1.5;
}
.tib-td-highlights li::before {
	content: '';
	display: block; width: 18px; height: 18px; border-radius: 50%;
	background: #FFBF1D; flex-shrink: 0; margin-top: 2px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%231f2b3b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center;
}

/* Bottom sticky CTA */
.tib-td-footer {
	position: sticky; bottom: 0; left: 0; right: 0;
	background: #fff; border-top: 1px solid #ebebeb;
	padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tib-td-price-wrap {}
.tib-td-price-label { font-size: 11.5px; color: #9ca3af; display: block; }
.tib-td-price-val { font-size: 26px; font-weight: 700; color: #1f2b3b; letter-spacing: -.4px; }
.tib-td-add-btn {
	background: #FFBF1D !important; color: #1f2b3b !important;
	font-size: 14px !important; font-weight: 700 !important;
	padding: 13px 28px !important; border: none !important; border-radius: 12px !important;
	cursor: pointer; white-space: nowrap;
	display: inline-flex !important; align-items: center !important; gap: 7px;
	transition: background .2s, transform .2s;
}
.tib-td-add-btn:hover { background: #E6A500 !important; transform: translateY(-2px); }
.tib-td-add-btn.tib-td-added { background: #16a34a !important; color: #fff !important; }
.tib-td-add-btn.tib-td-added:hover { background: #15803d !important; }

/* Card cursor */
.tib-card[data-tour-id] { cursor: pointer; }
