/* ============================================================
   Single tour detail page — self-contained, matches mockup
   ============================================================ */#vc-app .tour-page { padding-bottom: 46px; }
#vc-app .breadcrumb--dark { color: var(--muted); padding: 18px 0 8px; font-size: 13px; }
#vc-app .breadcrumb--dark a { color: var(--muted); }
#vc-app .breadcrumb--dark a:hover { color: var(--primary); }
#vc-app .breadcrumb--dark .current { color: var(--text); }

/* ---- Gallery ------------------------------------------------ */
#vc-app .tour-gallery {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	height: 400px;
	margin-top: 6px;
}
#vc-app .tg-main { grid-row: 1 / span 2; position: relative; border-radius: 12px; overflow: hidden; }
#vc-app .tg-thumb { position: relative; border-radius: 12px; overflow: hidden; }
#vc-app .tg-main img,
#vc-app .tg-thumb img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .4s ease;
}
#vc-app .tg-main:hover img,
#vc-app .tg-thumb:hover img { transform: scale(1.04); }
#vc-app .tg-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
#vc-app .tg-badge {
	padding: 6px 13px; border-radius: 7px; color: #fff;
	font-size: 12px; font-weight: 600;
}
#vc-app .tg-badge--blue { background: var(--primary); }
#vc-app .tg-badge--amber { background: var(--amber); }
#vc-app .tg-badge--red { background: var(--red); }
#vc-app .tg-viewall {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--primary); color: #fff;
	border: none; border-radius: 8px; padding: 10px 16px;
	font-weight: 600; font-size: 13px; cursor: pointer;
	box-shadow: 0 4px 14px rgba(20, 27, 38, .25);
	transition: background .15s ease;
}
#vc-app .tg-viewall:hover { background: var(--primary-dark); }
#vc-app .tg-viewall svg { width: 15px; height: 15px; }

/* ---- Two-column layout ------------------------------------- */
#vc-app .tour-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 40px;
	align-items: start;
	margin-top: 24px;
}
#vc-app .tour-main { min-width: 0; }
#vc-app .tour-h1 {
	font-size: 34px; font-weight: 700; color: var(--heading);
	margin: 0 0 16px; letter-spacing: -.4px;
}
#vc-app .tour-subline { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: #45505e; font-size: 16px; }
#vc-app .tsl-rating { display: inline-flex; align-items: center; gap: 9px; }
#vc-app .tsl-rating strong { color: var(--heading); font-size: 17px; }
#vc-app .tsl-rating .stars { font-size: 19px; }
#vc-app .tsl-reviews { color: var(--primary); font-weight: 600; font-size: 15.5px; }
#vc-app .tsl-reviews:hover { text-decoration: underline; }
#vc-app .tsl-meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #2c3542; }
#vc-app .tsl-meta svg { width: 18px; height: 18px; color: #7c8493; }
#vc-app .tsl-dot { width: 1px; height: 20px; border-radius: 0; background: #dfe3ea; }

/* ---- Quick facts ------------------------------------------- */
#vc-app .quick-facts {
	display: flex; flex-wrap: nowrap;
	background: #fff; border: 1px solid var(--border);
	border-radius: 14px; box-shadow: var(--shadow-sm);
	padding: 4px; margin: 28px 0 8px;
}
#vc-app .qf-item {
	display: flex; align-items: center; gap: 11px;
	padding: 14px 18px; flex: 1 1 0; min-width: 0;
}
#vc-app .qf-item + .qf-item { border-left: 1px solid var(--border); }
#vc-app .qf-icon {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--primary);
}
#vc-app .qf-icon svg,
#vc-app .qf-icon i { width: 22px; height: 22px; }
#vc-app .qf-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
#vc-app .qf-label { font-size: 13.5px; font-weight: 600; color: var(--heading); white-space: nowrap; }
#vc-app .qf-value { font-size: 12.5px; font-weight: 400; color: #55606e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Sections ---------------------------------------------- */
#vc-app .tour-section { padding: 22px 0 6px; }
#vc-app .tour-section h2 {
	font-size: 19px; font-weight: 700; color: var(--heading);
	margin: 0 0 14px;
}
#vc-app .tour-section p { color: #45505e; line-height: 1.75; margin: 0; font-size: 14.5px; }

/* ---- Itinerary timeline ------------------------------------ */
#vc-app .vc-itin { list-style: none; margin: 4px 0 0; padding: 0; }
#vc-app .vc-itin__step { position: relative; display: flex; gap: 15px; padding-bottom: 22px; }
#vc-app .vc-itin__step:last-child { padding-bottom: 0; }
#vc-app .vc-itin__step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 11.5px; top: 28px; bottom: 2px;
	width: 0;
	border-left: 2px dashed #c9d7f5;
}
#vc-app .vc-itin__marker {
	flex: 0 0 auto;
	width: 24px; height: 24px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 700; color: #fff;
	background: var(--primary);
	z-index: 1; margin-top: 1px;
}
#vc-app .vc-itin__content { min-width: 0; }
#vc-app .vc-itin__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 5px; }
#vc-app .vc-itin__head strong { color: var(--heading); font-size: 14.5px; font-weight: 600; }
#vc-app .itin-tag {
	font-size: 11.5px; font-weight: 600; color: var(--muted);
	background: #eef0f4; border-radius: 6px; padding: 3px 9px;
}
#vc-app .itin-tag--ok { background: #e5f6ec; color: #1c8a4e; }
#vc-app .vc-itin__desc { margin: 0; color: #5b6473; line-height: 1.65; font-size: 14px; }

/* ---- Included / not included -------------------------------- */
#vc-app .incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
#vc-app .vc-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#vc-app .vc-feature { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #3c4654; }
#vc-app .vc-feature__icon {
	flex: 0 0 auto;
	width: 20px; height: 20px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 700;
}
#vc-app .vc-feature--inc .vc-feature__icon { background: #22a060; color: #fff; }
#vc-app .vc-feature--inc .vc-feature__icon::before { content: "\2713"; }
#vc-app .vc-feature--exc .vc-feature__icon { color: var(--red); font-size: 15px; }
#vc-app .vc-feature--exc .vc-feature__icon::before { content: "\2715"; }

/* ---- Good to know ------------------------------------------- */
#vc-app .gtk-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 26px;
}
#vc-app .gtk-grid .vc-infogrid__item { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #3c4654; }
#vc-app .gtk-icon { flex: 0 0 auto; display: inline-flex; }
#vc-app .gtk-icon svg { width: 20px; height: 20px; color: var(--primary); }

/* ---- Cancellation policy ------------------------------------ */
#vc-app .policy-lead { margin-bottom: 14px !important; }
#vc-app .policy-tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#vc-app .pt {
	display: flex; align-items: center; gap: 18px;
	padding: 13px 16px; border-radius: 9px; font-size: 14px; color: #3c4654;
}
#vc-app .pt--full { background: #e9f7ef; }
#vc-app .pt--none { background: #fdeeee; }
#vc-app .pt-badge { font-weight: 700; min-width: 118px; font-size: 13.5px; }
#vc-app .pt--full .pt-badge { color: #1c8a4e; }
#vc-app .pt--none .pt-badge { color: #d63a3a; }

/* ---- Reviews summary ---------------------------------------- */
#vc-app .reviews-summary {
	display: grid; grid-template-columns: auto 1fr auto;
	gap: 46px; align-items: center;
	padding: 8px 4px 0;
}
#vc-app .rs-score { text-align: center; }
#vc-app .rs-big { font-size: 42px; font-weight: 700; color: var(--heading); line-height: 1.05; }
#vc-app .rs-score .stars { font-size: 16px; }
#vc-app .rs-count { display: block; margin-top: 5px; font-size: 13px; color: var(--primary); }
#vc-app .rs-bars { display: flex; flex-direction: column; gap: 9px; }
#vc-app .rev-bar { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
#vc-app .rev-bar > span:first-child { white-space: nowrap; color: var(--star); min-width: 26px; }
#vc-app .rev-bar .track { flex: 1; height: 7px; background: #eef0f4; border-radius: 7px; overflow: hidden; }
#vc-app .rev-bar .fill { display: block; height: 100%; background: var(--star); border-radius: 7px; }
#vc-app .rev-bar .pct { min-width: 34px; text-align: right; }
#vc-app .rs-total { text-align: center; }
#vc-app .rs-total-num { font-size: 36px; font-weight: 700; color: var(--heading); line-height: 1.05; }
#vc-app .rs-total-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Booking sidebar ---------------------------------------- */
#vc-app .booking-card {
	background: #fff; border: 1px solid var(--border);
	border-radius: 14px; box-shadow: var(--shadow-sm);
	padding: 22px; position: sticky; top: 90px;
}
#vc-app .bc-from { font-size: 13px; color: var(--muted); }
#vc-app .bc-price { font-size: 32px; font-weight: 700; color: var(--heading); line-height: 1.15; }
#vc-app .bc-unit { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
#vc-app .bc-rating { display: flex; align-items: center; gap: 7px; font-size: 13.5px; margin-bottom: 16px; }
#vc-app .bc-rating strong { color: var(--heading); }
#vc-app .bc-rating a { color: var(--primary); }
#vc-app .bc-rating .stars { font-size: 14px; }
#vc-app .bc-cta { width: 100%; padding: 13px; font-size: 14.5px; border-radius: 8px; }
#vc-app .bc-trust {
	list-style: none; margin: 18px 0; padding: 18px 0 16px;
	border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
	display: flex; flex-direction: column; gap: 15px;
}
#vc-app .bc-trust li { display: flex; align-items: flex-start; gap: 12px; }
#vc-app .bc-trust svg { width: 18px; height: 18px; color: #8b93a1; flex: 0 0 auto; margin-top: 2px; }
#vc-app .bc-trust strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--heading); }
#vc-app .bc-trust span { font-size: 12.5px; color: var(--muted); }
#vc-app .bc-partner { text-align: center; font-size: 12.5px; color: var(--muted); }
#vc-app .bc-viator {
	display: block; margin-top: 2px;
	 font-weight: 700; font-size: 24px;
	color: #16aa9b; letter-spacing: -.5px;
}

/* ---- Mobile sticky booking bar ------------------------------ */
#vc-app .mobile-book-bar { display: none; }

/* ---- Responsive --------------------------------------------- */

@media (max-width: 980px) {#vc-app .tour-layout { grid-template-columns: 1fr; gap: 24px; }
#vc-app .booking-card { position: static; }
#vc-app .tour-gallery { grid-template-columns: 1.4fr 1fr; height: 330px; }
#vc-app .tour-gallery > .tg-thumb:nth-child(4),
#vc-app .tour-gallery > .tg-thumb:nth-child(5) { display: none; }
#vc-app .reviews-summary { grid-template-columns: 1fr; gap: 22px; text-align: center; }
#vc-app .rs-total { border-top: 1px solid var(--border); padding-top: 18px; }
#vc-app .quick-facts { flex-wrap: wrap; }
#vc-app .qf-item { min-width: 46%; }
#vc-app .mobile-book-bar {
		display: flex; align-items: center; justify-content: space-between; gap: 14px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--border);
		box-shadow: 0 -6px 20px rgba(20, 27, 38, .1);
		padding: 12px 18px;
	}
#vc-app .mobile-book-bar .btn { padding: 12px 22px; }
#vc-app .mbb-price strong { font-size: 20px; color: var(--heading); }
#vc-app .mbb-price span { font-size: 13px; color: var(--muted); }
body { padding-bottom: 72px; }

}

@media (max-width: 620px) {#vc-app .tour-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
#vc-app .tour-gallery .tg-thumb { display: none; }
#vc-app .tg-main { height: 250px; grid-row: auto; }
#vc-app .tour-h1 { font-size: 23px; }
#vc-app .quick-facts { flex-direction: column; padding: 6px 4px; }
#vc-app .qf-item { padding: 12px 14px; }
#vc-app .incl-grid { grid-template-columns: 1fr; gap: 20px; }
#vc-app .gtk-grid { grid-template-columns: 1fr; gap: 14px; }
#vc-app .pt { flex-wrap: wrap; gap: 6px; }

}

/* ---- Mobile booking bar: keep price + CTA on one row down to 320px ------ */
#vc-app .mobile-book-bar {
	flex-wrap: nowrap;
	/* Respect iPhone home-indicator area. */
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
#vc-app .mobile-book-bar .btn {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	justify-content: center;
}
#vc-app .mbb-price {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}
#vc-app .mbb-price > span:first-child {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
}
#vc-app .mbb-price strong {
	font-size: 19px;
	white-space: nowrap;
}

@media (max-width: 480px) {
	#vc-app .mobile-book-bar { gap: 12px; padding-left: 14px; padding-right: 14px; }
	/* "/ person" is the first thing to go — the price block stays two lines. */
	#vc-app .mbb-price > span:last-child { display: none; }
	#vc-app .mobile-book-bar .btn { padding: 12px 14px; font-size: 14px; }
}

@media (max-width: 360px) {
	#vc-app .mbb-price strong { font-size: 17px; }
	#vc-app .mobile-book-bar .btn { font-size: 13px; padding: 11px 12px; }
}
