/**
 * تور — آرشیو، تک‌تور، ثبت تور
 */
.bh-tour-single,
.bh-tour-archive,
.bh-tour-submit {
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	color: #2d2d2d;
	line-height: 1.7;
}

/* ── Single tour (YouTopin-style) ── */
.bh-tour-single--youtopin {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	min-height: 60vh;
}

.bh-tour-single-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.bh-tour-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 16px;
}

.bh-tour-breadcrumb a {
	color: #64748b;
	text-decoration: none;
}

.bh-tour-breadcrumb a:hover {
	color: #a02040;
}

.bh-tour-gallery {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
	margin-bottom: 24px;
}

.bh-tour-gallery-main {
	aspect-ratio: 16 / 7;
	background: #e2e8f0;
}

.bh-tour-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bh-tour-gallery-thumbs {
	display: flex;
	gap: 8px;
	padding: 12px;
	overflow-x: auto;
}

.bh-tour-gallery-thumb {
	flex: 0 0 88px;
	height: 60px;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	background: none;
	opacity: 0.72;
	transition: opacity 0.2s, border-color 0.2s;
}

.bh-tour-gallery-thumb.is-active,
.bh-tour-gallery-thumb:hover {
	opacity: 1;
	border-color: #d64d5a;
}

.bh-tour-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bh-tour-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
}

.bh-tour-single-main {
	background: #fff;
	border-radius: 16px;
	padding: 24px 28px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.bh-tour-single-head h1 {
	margin: 0 0 8px;
	font-size: 1.65rem;
	font-weight: 800;
	color: #0f172a;
}

.bh-tour-single-cat {
	color: #d64d5a;
	font-weight: 700;
	font-size: 0.85rem;
	margin: 0 0 6px;
}

.bh-tour-leader {
	margin: 0 0 16px;
	font-size: 0.9rem;
	color: #64748b;
}

.bh-tour-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.bh-tour-fact {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
}

.bh-tour-fact-label {
	display: block;
	font-size: 0.72rem;
	color: #64748b;
	margin-bottom: 4px;
}

.bh-tour-fact-value {
	font-size: 0.88rem;
	color: #0f172a;
	font-weight: 700;
}

.bh-tour-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 20px;
}

.bh-tour-tab-btn {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 10px 16px;
	margin-bottom: -2px;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s;
}

.bh-tour-tab-btn.is-active {
	color: #a02040;
	border-bottom-color: #d64d5a;
}

.bh-tour-tab-panel {
	display: none;
}

.bh-tour-tab-panel.is-active {
	display: block;
}

.bh-tour-content {
	font-size: 0.95rem;
	color: #334155;
}

.bh-tour-content--plain {
	white-space: pre-wrap;
}

.bh-tour-itinerary {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bh-tour-itinerary-item {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #f1f5f9;
}

.bh-tour-itinerary-item:last-child {
	border-bottom: none;
}

.bh-tour-itinerary-day {
	flex: 0 0 auto;
	background: linear-gradient(135deg, #d64d5a, #a02040);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 8px 12px;
	border-radius: 999px;
	height: fit-content;
}

.bh-tour-itinerary-body h3 {
	margin: 0 0 6px;
	font-size: 1rem;
}

.bh-tour-itinerary-body p {
	margin: 0;
	color: #64748b;
	font-size: 0.9rem;
}

.bh-tour-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.bh-tour-services-col h3 {
	font-size: 0.95rem;
	margin: 0 0 10px;
}

.bh-tour-services-col ul {
	margin: 0;
	padding-right: 1.2em;
	font-size: 0.9rem;
}

.bh-tour-services-col--includes h3 {
	color: #0f766e;
}

.bh-tour-services-col--excludes h3 {
	color: #b45309;
}

.bh-tour-faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	margin-bottom: 8px;
	padding: 0 14px;
}

.bh-tour-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	padding: 12px 0;
	list-style: none;
}

.bh-tour-faq-item summary::-webkit-details-marker {
	display: none;
}

.bh-tour-faq-item p {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 0.9rem;
}

/* Booking sidebar */
.bh-tour-booking-box {
	position: sticky;
	top: 80px;
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
	border: 1px solid #e2e8f0;
}

.bh-tour-booking-price {
	text-align: center;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px dashed #e2e8f0;
}

.bh-tour-booking-price-label {
	margin: 0 0 4px;
	font-size: 0.82rem;
	color: #64748b;
}

.bh-tour-booking-price-value {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #a02040;
}

.bh-tour-booking-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.85rem;
}

.bh-tour-booking-form p {
	margin: 0 0 14px;
}

.bh-tour-booking-form select,
.bh-tour-booking-form input,
.bh-tour-booking-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.9rem;
	box-sizing: border-box;
}

.bh-tour-qty {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
}

.bh-tour-qty-btn {
	flex: 0 0 40px;
	height: 40px;
	border: none;
	background: #f8fafc;
	font-size: 1.2rem;
	cursor: pointer;
	font-family: inherit;
	color: #334155;
}

.bh-tour-qty-btn:hover {
	background: #f4c4c8;
	color: #a02040;
}

.bh-tour-qty input {
	flex: 1;
	border: none;
	text-align: center;
	padding: 8px;
	min-width: 0;
	-moz-appearance: textfield;
}

.bh-tour-qty input::-webkit-outer-spin-button,
.bh-tour-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bh-tour-booking-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fef2f2;
	border-radius: 10px;
	padding: 10px 14px !important;
	font-size: 0.9rem;
}

.bh-tour-booking-total strong {
	color: #a02040;
	font-size: 1rem;
}

.bh-btn-block {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px;
	font-size: 0.95rem;
}

.bh-tour-booking-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
}

.bh-tour-contact-link {
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
}

.bh-tour-booking-date-note {
	font-size: 0.88rem;
	color: #64748b;
}

.bh-tour-back {
	margin-top: 24px;
}

.bh-tour-back a {
	color: #64748b;
	text-decoration: none;
	font-weight: 600;
}

.bh-tour-back a:hover {
	color: #a02040;
}

.bh-alert-error {
	background: #fde8e8;
	color: #9b1c1c;
	padding: 12px;
	border-radius: 10px;
	margin-bottom: 14px;
	font-size: 0.88rem;
}

/* ── Legacy / archive / submit ── */
.bh-tour-single .bh-container,
.bh-tour-archive .bh-container,
.bh-tour-submit {
	width: min(900px, 92%);
	margin: 32px auto 48px;
}

.bh-tour-archive-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.bh-tour-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.bh-tour-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.bh-tour-card a { color: inherit; text-decoration: none; display: block; }
.bh-tour-thumb { width: 100%; height: 150px; object-fit: cover; }
.bh-tour-card .bh-body { padding: 14px; }
.bh-tour-card h3 { margin: 0 0 8px; font-size: 0.95rem; }
.bh-tour-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: #6b6b6b; }
.bh-tour-card hr { border: none; height: 2px; background: #d64d5a; margin: 8px 0; }
.bh-tour-price { font-size: 0.8rem; color: #6b6b6b; margin: 0; }
.bh-tour-price .bh-price-num,
.bh-tour-single-price .bh-price-num,
.bh-tour-booking-price-value .bh-price-num { font-weight: 800; color: #a02040; }

.bh-price-input {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: left;
	letter-spacing: 0.02em;
}

.bh-btn-primary {
	display: inline-block;
	background: linear-gradient(135deg, #d64d5a, #a02040);
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
}

.bh-btn-text { font-weight: 600; color: #a02040; background: none; border: none; cursor: pointer; font-family: inherit; text-decoration: none; }
.bh-btn-wide { display: block; text-align: center; margin-top: 24px; padding: 14px; background: #f4c4c8; border-radius: 16px; font-weight: 700; color: inherit; }

/* ثبت تور */
.bh-tour-submit-head h1 { margin: 0 0 8px; }
.bh-tour-steps-indicator {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.bh-tour-steps-indicator li {
	flex: 1;
	min-width: 120px;
	padding: 10px 12px;
	background: #f0f0f4;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
}

.bh-tour-steps-indicator li.is-active { background: #f4c4c8; color: #a02040; }

.bh-tour-step h2 { font-size: 1.1rem; margin: 0 0 16px; }
.bh-tour-step label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.bh-input-wide { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; box-sizing: border-box; }
.bh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-tour-submit-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.bh-tour-submit-nav [hidden],
.bh-tour-submit-nav .is-nav-hidden { display: none !important; }
.bh-tour-submit-nav .bh-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.bh-alert-success { background: #d4edda; color: #155724; padding: 14px; border-radius: 10px; margin-bottom: 20px; }
.bh-tour-submit--denied { text-align: center; padding: 40px 20px; }

.bh-tour-repeater { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.bh-tour-repeater-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bh-tour-repeater-remove { background: none; border: none; color: #b45309; cursor: pointer; font-family: inherit; font-size: 0.85rem; }
.bh-tour-repeater-add { margin-top: 8px; }

@media (max-width: 960px) {
	.bh-tour-single-layout {
		grid-template-columns: 1fr;
	}

	.bh-tour-booking-box {
		position: static;
		order: -1;
	}

	.bh-tour-services-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.bh-form-row { grid-template-columns: 1fr; }
	.bh-tour-single-main { padding: 18px 16px; }
	.bh-tour-gallery-main { aspect-ratio: 16 / 10; }
}

.bh-tour-step.bh-tour-step--cat-only > h2,
.bh-tour-step.bh-tour-step--cat-only > p:not(.bh-tour-cat-field) {
	display: none;
}

.bh-tour-people-form {
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid #e8e8ec;
	border-radius: 14px;
	background: #fafafa;
}

.bh-tour-people-form h2 {
	margin: 0 0 8px;
}
