/**
 * YouTopin-style single tour (bh-yt-*)
 */
.bh-yt-tour {
	--yt-teal: #26B9B0;
	--yt-teal-dark: #1C95A2;
	--yt-blue: #00469F;
	--yt-text: #404040;
	--yt-muted: #6b7280;
	--yt-border: #e5e7eb;
	--yt-bg: #f9fafb;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	color: var(--yt-text);
	background: #fff;
	line-height: 1.7;
}

.bh-yt-tour-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 16px 60px;
}

/* Hero 3-column */
.bh-yt-hero { margin-bottom: 8px; }

.bh-yt-hero-grid {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) minmax(280px, 320px);
	gap: 20px;
	align-items: start;
}

.bh-yt-gallery {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #eee;
}

.bh-yt-gallery-main {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.bh-yt-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	z-index: 2;
}

.bh-yt-gallery-nav--prev { right: 10px; }
.bh-yt-gallery-nav--next { left: 10px; }

.bh-yt-gallery-share {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
}

.bh-yt-gallery-thumbs {
	display: flex;
	gap: 8px;
	padding: 10px;
	background: #fff;
	overflow-x: auto;
}

.bh-yt-gallery-thumb {
	flex: 0 0 72px;
	height: 52px;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	background: none;
	opacity: .7;
}

.bh-yt-gallery-thumb.is-active,
.bh-yt-gallery-thumb:hover { opacity: 1; border-color: var(--yt-teal); }

.bh-yt-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.bh-yt-title {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 800;
	color: #111;
	line-height: 1.4;
}

.bh-yt-ids {
	margin: 0 0 12px;
	font-size: .78rem;
	color: var(--yt-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bh-yt-leader {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.bh-yt-leader-avatar { border-radius: 50%; }

.bh-yt-leader-label {
	display: block;
	font-size: .72rem;
	color: var(--yt-muted);
}

.bh-yt-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 10px;
	font-size: .88rem;
}

.bh-yt-rating-count { color: var(--yt-muted); font-size: .8rem; }

.bh-yt-class-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: .82rem;
	font-weight: 600;
	color: #0f766e;
	margin-bottom: 14px;
}

.bh-yt-class-icon svg { width: 28px; height: 28px; }

.bh-yt-specs {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .84rem;
}

.bh-yt-specs li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 0;
	border-bottom: 1px solid #f3f4f6;
}

.bh-yt-spec-ico { flex: 0 0 20px; text-align: center; font-size: .9rem; }
.bh-yt-spec-wide span:last-child { font-size: .8rem; color: var(--yt-muted); }

.bh-yt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.bh-yt-tag {
	background: #f3f4f6;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: .78rem;
	font-weight: 600;
	color: #374151;
}

/* Booking card */
.bh-yt-booking-card {
	background: #fff;
	border: 1px solid var(--yt-border);
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 4px 20px rgba(0,0,0,.06);
	position: sticky;
	top: 72px;
}

.bh-yt-booking-title {
	margin: 0 0 4px;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.4;
}

.bh-yt-booking-code {
	margin: 0 0 14px;
	font-size: .75rem;
	color: var(--yt-muted);
}

.bh-yt-booking-price {
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--yt-border);
}

.bh-yt-booking-price-label {
	display: block;
	font-size: .78rem;
	color: var(--yt-muted);
	margin-bottom: 4px;
}

.bh-yt-booking-price-val {
	font-size: 1.05rem;
	font-weight: 800;
	color: #111;
}

.bh-yt-booking-price-val .bh-price-num { color: #111; }

.bh-yt-field-label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: #374151;
}

.bh-yt-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--yt-border);
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 14px;
}

.bh-yt-qty button {
	width: 36px;
	height: 36px;
	border: none;
	background: #f9fafb;
	border-radius: 8px;
	font-size: 1.2rem;
	cursor: pointer;
	color: #374151;
	font-family: inherit;
}

.bh-yt-qty button:hover { background: #ecfdf5; color: var(--yt-teal-dark); }

.bh-yt-qty span { font-size: .88rem; font-weight: 600; }

.bh-yt-select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--yt-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: .85rem;
	margin-bottom: 14px;
	background: #fff;
}

.bh-yt-btn-outline {
	display: block;
	width: 100%;
	padding: 11px;
	border: 1px solid var(--yt-teal);
	border-radius: 10px;
	background: #fff;
	color: var(--yt-teal-dark);
	font-weight: 600;
	font-family: inherit;
	font-size: .88rem;
	cursor: pointer;
	margin-bottom: 10px;
}

.bh-yt-btn-primary {
	display: block;
	width: 100%;
	padding: 13px;
	border: none;
	border-radius: 10px;
	background: var(--yt-teal);
	color: #fff !important;
	font-weight: 700;
	font-family: inherit;
	font-size: .95rem;
	cursor: pointer;
}

.bh-yt-btn-primary:hover { background: var(--yt-teal-dark); }

.bh-yt-btn-block { margin-top: 8px; }

.bh-yt-alert {
	padding: 10px 12px;
	border-radius: 8px;
	font-size: .82rem;
	margin-bottom: 12px;
}

.bh-yt-alert--ok { background: #d1fae5; color: #065f46; }
.bh-yt-alert--err { background: #fee2e2; color: #991b1b; }

/* Sticky nav */
.bh-yt-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--yt-border);
	margin: 0 -16px 24px;
	padding: 0 16px;
}

.bh-yt-nav-inner {
	display: flex;
	gap: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bh-yt-nav-inner::-webkit-scrollbar { display: none; }

.bh-yt-nav-link {
	flex: 0 0 auto;
	padding: 14px 16px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--yt-muted);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	transition: color .2s, border-color .2s;
}

.bh-yt-nav-link.is-active,
.bh-yt-nav-link:hover {
	color: var(--yt-teal-dark);
	border-bottom-color: var(--yt-teal);
}

/* Sections */
.bh-yt-section {
	padding: 28px 0;
	border-bottom: 1px solid var(--yt-border);
}

.bh-yt-section-title {
	margin: 0 0 16px;
	font-size: 1rem;
	font-weight: 800;
	color: #111;
}

.bh-yt-schedule-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.bh-yt-schedule-col {
	padding: 12px 16px;
	border-right: 1px solid var(--yt-border);
	font-size: .88rem;
}

.bh-yt-schedule-col:last-child { border-right: none; }

.bh-yt-schedule-col svg { color: #d1d5db; margin-bottom: 8px; }

.bh-yt-prose { font-size: .9rem; color: #374151; }
.bh-yt-prose h3 { font-size: .92rem; margin: 16px 0 8px; }
.bh-yt-muted { font-size: .82rem; color: var(--yt-muted); }

.bh-yt-itinerary-box {
	background: var(--yt-bg);
	border-radius: 12px;
	padding: 16px;
	margin-top: 20px;
}

.bh-yt-itinerary-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.bh-yt-itinerary-toggle {
	border: none;
	background: none;
	color: var(--yt-blue);
	font-weight: 600;
	font-size: .82rem;
	cursor: pointer;
	font-family: inherit;
}

.bh-yt-itinerary-day {
	border-bottom: 1px solid var(--yt-border);
}

.bh-yt-itinerary-day summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: .88rem;
}

.bh-yt-itinerary-day summary::-webkit-details-marker { display: none; }

.bh-yt-itinerary-pin { color: var(--yt-teal); }

.bh-yt-itinerary-chev { margin-right: auto; color: var(--yt-muted); }

.bh-yt-itinerary-day p {
	margin: 0 0 12px 28px;
	font-size: .85rem;
	color: var(--yt-muted);
}

.bh-yt-meals { margin-bottom: 20px; }
.bh-yt-meals ul { margin: 8px 0 0; padding-right: 1.2em; font-size: .88rem; }

.bh-yt-services-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.bh-yt-svc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bh-yt-svc-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	font-size: .86rem;
}

.bh-yt-acc-name { font-size: .9rem; margin-bottom: 12px; }

.bh-yt-room-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.bh-yt-room-card {
	border: 1px solid var(--yt-border);
	border-radius: 10px;
	padding: 12px 20px;
	text-align: center;
	min-width: 120px;
}

.bh-yt-room-card strong { display: block; font-size: .88rem; }
.bh-yt-room-card span { font-size: .78rem; color: var(--yt-muted); }
.bh-yt-room-note { font-size: .82rem; color: var(--yt-muted); margin-bottom: 16px; }

.bh-yt-acc-gallery {
	display: flex;
	gap: 12px;
	overflow-x: auto;
}

.bh-yt-acc-gallery img {
	width: 200px;
	height: 130px;
	object-fit: cover;
	border-radius: 10px;
}

.bh-yt-map { height: 400px; border-radius: 12px; border: 1px solid var(--yt-border); }

.bh-yt-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.bh-yt-chip {
	background: #f3f4f6;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: .82rem;
	color: #374151;
}

.bh-yt-gear-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 16px 0 10px;
}

.bh-yt-gear-row h3 { margin: 0; font-size: .9rem; }

.bh-yt-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--yt-border);
	background: #fff;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: .78rem;
	cursor: pointer;
	font-family: inherit;
	color: #374151;
}

.bh-yt-standard-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	border: 1px solid #99f6e4;
	border-radius: 12px;
	padding: 20px;
	background: #f0fdfa;
	margin-top: 24px;
}

.bh-yt-standard-badge {
	flex: 0 0 120px;
	text-align: center;
}

.bh-yt-standard-badge strong { display: block; margin-top: 8px; font-size: .85rem; }

.bh-yt-standard-box ul {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.bh-yt-standard-box li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 0;
	font-size: .86rem;
}

.bh-yt-op-rating-box {
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
	background: #fffbeb;
}

.bh-yt-op-score {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.1rem;
	margin-bottom: 8px;
}

/* Modal */
.bh-yt-modal[hidden] { display: none !important; }

.bh-yt-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.bh-yt-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.45);
}

.bh-yt-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	width: min(420px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.bh-yt-modal-close {
	position: absolute;
	top: 12px;
	left: 12px;
	border: none;
	background: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #666;
	line-height: 1;
}

.bh-yt-modal-dialog h2 { margin: 0 0 16px; font-size: 1.1rem; }

.bh-yt-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--yt-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: .9rem;
	box-sizing: border-box;
}

.bh-yt-modal-dialog p { margin: 0 0 12px; }
.bh-yt-modal-dialog label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }

.bh-yt-empty {
	font-size: .88rem;
	color: var(--yt-muted);
	background: var(--yt-bg);
	border-radius: 10px;
	padding: 16px;
	margin: 0;
	text-align: center;
}

.bh-yt-map--empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	background: var(--yt-bg);
	color: var(--yt-muted);
	font-size: .88rem;
	padding: 24px;
	text-align: center;
}

@media (max-width: 1024px) {
	.bh-yt-hero-grid {
		grid-template-columns: 1fr 1fr;
	}
	.bh-yt-booking-card {
		grid-column: 1 / -1;
		position: static;
		order: -1;
	}
}

@media (max-width: 768px) {
	.bh-yt-hero-grid { grid-template-columns: 1fr; }
	.bh-yt-schedule-grid { grid-template-columns: 1fr; }
	.bh-yt-schedule-col { border-right: none; border-bottom: 1px solid var(--yt-border); }
	.bh-yt-services-cols { grid-template-columns: 1fr; }
	.bh-yt-standard-box { flex-direction: column; }
}
