.tour-detail-top {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.85fr);
	gap: 24px 40px;
	align-items: start;
	margin-bottom: 2rem;
}

.tour-detail-top--no-gallery {
	grid-template-columns: 1fr;
}

.tour-detail-gallery {
	position: relative;
	width: 100%;
	max-width: 800px;
	min-width: 0;
	margin-left: auto;
	margin-right: auto;
	justify-self: center;
}

.tour-detail-gallery .tour-gallery-swiper {
	width: 100%;
	height: 600px;
	border-radius: 20px;
	overflow: hidden;
}

.tour-detail-gallery .swiper-slide {
	width: 100%;
	height: 600px;
}

.tour-detail-gallery .swiper-wrapper {
	height: 600px;
}

.tour-detail-gallery__slide {
	display: block;
	width: 100%;
	height: 600px;
}

.tour-detail-gallery__img {
	display: block;
	width: 100%;
	height: 600px;
	object-fit: cover;
}

.main-title_text {
	margin-bottom: 30px;
}

.tour-detail-gallery .swiper-button-prev,
.tour-detail-gallery .swiper-button-next {
	position: absolute;
	z-index: 10;
	top: 50% !important;
	transform: translateY(-50%);
	width: 55px !important;
	height: 55px !important;
	margin-top: 0 !important;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #ffffff;
	color: transparent !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px !important;
	cursor: pointer;
}

.tour-detail-gallery .swiper-button-prev::after,
.tour-detail-gallery .swiper-button-next::after {
	content: none;
	display: none;
}

.tour-detail-gallery .swiper-button-prev {
	left: 20px;
	right: auto;
	background-image: url(/local/templates/blue/images/arrow-left.svg);
}

.tour-detail-gallery .swiper-button-next {
	right: 20px;
	left: auto;
	background-image: url(/local/templates/blue/images/arrow-right.svg);
}

.tour-detail-gallery .swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

@media (max-width: 576px) {
	.tour-detail-gallery .swiper-button-prev,
	.tour-detail-gallery .swiper-button-next {
		width: 45px !important;
		height: 45px !important;
	}
}

.tour-detail-about {
	min-width: 0;
}

@media (min-width: 769px) {
	.ditail_second .detial-tour {
		position: sticky;
		top: auto !important;
		bottom: 24px;
		align-self: end;
	}
}

@media (max-width: 768px) {
	.tour-detail-top {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tour-detail-gallery {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		justify-self: stretch;
	}
}

div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}
.tour-nav{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	box-shadow: 0px 4px 24px rgba(58, 65, 74, 0.1);
	border-radius: 20px;
	background-color: #ffffff;
	padding: 0.5rem 1rem;
	font-weight: 500;
	justify-content: space-between;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.tour-nav a{
	height: 44px;
	padding: 10px;
	border-radius: 15px;
	font-size: 1.4rem;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: auto;
	background-color: #0B5394;
	color: #ffffff;
}
.tour-nav a:hover{
	background-color: #125AB0;
	color: #ffffff;
}
.tour-nav a:last-child{
	margin-right: 0;
}
.tour-nav a svg{
	width: 30px;
	height: 30px;
	display: block;
	padding: 0.5rem;
	background: #3975ab;
	border-radius: 5px;
	margin-left: 1rem;

}
.tour-nav a svg path{
	fill: #fff;
}
.tour-nav a span{
	/*margin-top: 5px;*/
}
@media(max-width: 960px){
	.tour-nav{
		display: block;
		padding: 1rem;
	}
	.tour-nav a{
		width: 100%;
		margin-bottom: 1rem;
	}
	.tour-nav a:last-child{
		margin-bottom: 0;
	}
	.tour-nav a svg{
		display: block;
	}
}
/* Стили для таблицы дат тура */
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 15px 0;
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tour-dates-table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 14px;
	background: #ffffff;
}

.tour-dates-table__col-date {
	width: 14%;
}

.tour-dates-table__col-hotel {
	width: 28%;
}

.tour-dates-table__col-price {
	width: 12%;
}

.tour-dates-table__col-seats {
	width: 8%;
}

.tour-dates-table__col-action {
	width: 14%;
}

.tour-dates-table th:last-child,
.tour-dates-table td:last-child {
	min-width: 96px;
}

.tour-dates-table thead {
	background: rgba(97, 167, 248, 1);
	color: #ffffff;
}

.tour-dates-table thead tr:first-child th:first-child {
	border-top-left-radius: 12px;
}

.tour-dates-table thead tr:first-child th:last-child {
	border-top-right-radius: 12px;
}

.tour-dates-table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}

.tour-dates-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

.tour-dates-table th {
	padding: 12px 10px;
	text-align: left;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: normal;
	line-height: 1.3;
	word-break: break-word;
	hyphens: auto;
}

.tour-dates-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #eef0f3;
	vertical-align: middle;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.tour-dates-table th:last-child,
.tour-dates-table td:last-child {
	padding-right: 12px;
}

.tour-dates-table tbody tr:hover {
	background: #f8faff;
}

.tour-dates-table tbody tr:last-child td {
	border-bottom: none;
}

/* Стили для дат */
.tour-date-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.date {
	font-weight: 600;
	color: #1a2b3c;
	font-size: 14px;
}

.date-arrow {
	display: none;
	color: rgba(97, 167, 248, 1);
	font-weight: 300;
	font-size: 16px;
}

.arrival-date {
	font-weight: 600;
	color: #1a2b3c;
	font-size: 14px;
}

/* Стили для отеля */
.hotel-cell {
	display: flex;
	flex-direction: column;
}

.hotel-name {
	font-weight: 500;
	color: #1a2b3c;
	font-size: 14px;
}

.hotel-category {
	font-size: 12px;
	color: #8a9aa8;
	margin-top: 2px;
}

/* Стили для цен */
.price-cell {
	font-weight: 600;
	color: #1a2b3c;
	font-size: 14px;
	white-space: normal;
}

/* Стили для статуса мест */
.seats-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 40px;
	padding: 0;
	border-radius: 12px;
}

.seats-status.available {
	background: rgba(97, 167, 248, 0.12);
	color: rgba(97, 167, 248, 1);
}

.seats-status.unavailable {
	background: rgba(205, 214, 226, 0.35);
	color: #95a4b5;
}

.seats-status--btn {
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.seats-status--btn:hover {
	background: rgba(97, 167, 248, 0.22);
	transform: translateY(-1px);
}

.seats-status--btn:focus-visible {
	outline: 2px solid rgba(97, 167, 248, 1);
	outline-offset: 2px;
}

.seats-status__icon {
	display: block;
	width: 28px;
	height: 16px;
}

/* Режим просмотра схемы автобуса (без формы бронирования) */
.js-bottom-sheet.bus-only-view {
	left: 0 !important;
	right: 0 !important;
	width: 33.333% !important;
	max-width: 420px !important;
	min-width: 300px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	height: auto !important;
	max-height: 90vh !important;
}

.js-bottom-sheet.bus-only-view .booking-layout__form {
	display: none !important;
}

.js-bottom-sheet.bus-only-view #booking-form .booking-layout,
.js-bottom-sheet.bus-only-view .booking-layout {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	grid-template-columns: 1fr !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 16px !important;
	box-sizing: border-box !important;
}

.js-bottom-sheet.bus-only-view #booking-form .tour__item.bus,
.js-bottom-sheet.bus-only-view .tour__item.bus {
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
}

.js-bottom-sheet.bus-only-view #booking-form .booking-layout__bus,
.js-bottom-sheet.bus-only-view .booking-layout__bus {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-self: center !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

.js-bottom-sheet.bus-only-view .seat-map-shell {
	margin: 0 auto !important;
	display: flex !important;
	justify-content: center !important;
	width: max-content !important;
	max-width: 100% !important;
}

.js-bottom-sheet.bus-only-view #booking-form .seat-map,
.js-bottom-sheet.bus-only-view .seat-map {
	margin: 0 auto !important;
}

.js-bottom-sheet.bus-only-view .bus-layout_title {
	display: none;
}

.js-bottom-sheet.bus-only-view .seat-map__grid,
.js-bottom-sheet.bus-only-view .js-seat-map-container,
.js-bottom-sheet.bus-only-view .seat-map a,
.js-bottom-sheet.bus-only-view .seat {
	pointer-events: none !important;
	cursor: default !important;
}

.js-bottom-sheet.bus-only-view .seat.quoteYes:hover,
.js-bottom-sheet.bus-only-view .seat.selected,
.js-bottom-sheet.bus-only-view .seat.active {
	transform: none !important;
}

@media (max-width: 900px) {
	.js-bottom-sheet.bus-only-view {
		width: min(92vw, 420px) !important;
		min-width: 0 !important;
	}
}

.seats-status_icon {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

/* Кнопка "Выбрать" */
.btn-book-tour {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	background: rgba(97, 167, 248, 1);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: normal;
	text-align: center;
}

.btn-book-tour:hover {
	background: #4f9ff4;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(97, 167, 248, 0.3);
}

.btn-book-tour:active {
	transform: translateY(0);
}

.tour-dates-card__footer-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.tour-dates-card__footer-seats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.tour-dates-card__footer-label {
	display: none;
}

/* Ссылка "Смотреть все даты" */
.detial-tour-cal_all-wrapper {
	text-align: right;
	margin-top: 12px;
}

.detial-tour-cal_all {
	color: #0B5394;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.3s;
}

.detial-tour-cal_all:hover {
	color: #1a6cb8;
	text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1400px) {
	.tour-dates-table th {
		font-size: 11px;
		padding: 10px 8px;
		letter-spacing: 0;
	}

	.tour-dates-table td {
		padding: 10px 8px;
		font-size: 13px;
	}

	.tour-dates-table__col-date {
		width: 13%;
	}

	.tour-dates-table__col-hotel {
		width: 26%;
	}

	.tour-dates-table__col-price {
		width: 11%;
	}

	.tour-dates-table__col-action {
		width: 15%;
	}

	.tour-dates-table th:last-child,
	.tour-dates-table td:last-child {
		min-width: 92px;
	}

	.btn-book-tour {
		font-size: 12px;
		padding: 7px 8px;
	}

	.price-cell {
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	/* Мобильная версия — карточки вместо таблицы */
	.ditail_second .detial-tour {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		flex: 1 1 100%;
	}

	.detial-tour,
	.detial-tour-cal {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.table-responsive {
		overflow: visible;
		box-shadow: none;
		background: transparent;
		border-radius: 0;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0;
		padding: 0;
	}

	.tour-dates-table {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		table-layout: auto !important;
		box-sizing: border-box;
	}

	.tour-dates-table tbody {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box;
	}

	.tour-dates-table thead,
	.tour-dates-table colgroup {
		display: none !important;
	}

	.tour-dates-table th:last-child,
	.tour-dates-table td:last-child {
		min-width: 0 !important;
	}

	.tour-dates-table tbody tr.tour-dates-card {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"date date"
			"hotel hotel"
			"price-adult price-discount"
			"footer footer";
		gap: 0;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box;
		margin-bottom: 14px;
		padding: 16px;
		border: 1px solid #e3eaf3;
		border-radius: 14px;
		background: #ffffff;
		box-shadow: 0 2px 12px rgba(58, 65, 74, 0.08);
	}

	.tour-dates-table tbody tr.tour-dates-card:hover {
		background: #ffffff;
	}

	.tour-dates-table tbody tr.tour-dates-card:last-child {
		margin-bottom: 0;
	}

	.tour-dates-table td {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0;
		border: none;
		box-sizing: border-box;
	}

	.tour-dates-table td::before {
		display: block;
		content: attr(data-label);
		font-weight: 600;
		color: #8a9aa8;
		font-size: 11px;
		text-transform: uppercase;
		letter-spacing: 0.3px;
		margin-bottom: 4px;
	}

	.tour-dates-card__date {
		grid-area: date;
		padding-bottom: 12px;
		margin-bottom: 12px;
		border-bottom: 1px solid #eef0f3;
	}

	.tour-dates-card__date::before {
		display: none !important;
	}

	.tour-dates-card__hotel {
		grid-area: hotel;
		padding-bottom: 12px;
		margin-bottom: 12px;
		border-bottom: 1px solid #eef0f3;
	}

	.tour-dates-card__hotel::before {
		content: "Гостиница";
	}

	.tour-dates-card__price--adult {
		grid-area: price-adult;
		padding-right: 8px;
		padding-bottom: 12px;
	}

	.tour-dates-card__price--discount {
		grid-area: price-discount;
		padding-left: 8px;
		padding-bottom: 12px;
	}

	.tour-dates-card__footer {
		grid-area: footer;
		padding-top: 12px;
		border-top: 1px solid #eef0f3;
	}

	.tour-dates-card__footer::before {
		display: none !important;
	}

	.tour-dates-card__footer-actions {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 12px;
	}

	.tour-dates-card__footer-seats {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tour-dates-card__footer-label {
		display: block;
		font-size: 11px;
		font-weight: 600;
		color: #8a9aa8;
		text-transform: uppercase;
		letter-spacing: 0.3px;
		line-height: 1.2;
	}

	.tour-dates-card__footer-seats .seats-status--btn {
		width: 52px;
		height: 44px;
		flex-shrink: 0;
	}

	.tour-dates-card__footer-actions .btn-book-tour {
		width: auto;
		min-width: 120px;
		height: 44px;
		min-height: 44px;
		padding: 0 16px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		border-radius: 10px;
		flex-shrink: 0;
		margin-left: auto;
	}

	.tour-date-cell {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
	}

	.date-arrow {
		display: inline;
	}

	.date,
	.arrival-date {
		font-size: 15px;
	}

	.hotel-name {
		font-size: 14px;
		line-height: 1.4;
	}

	.tour-dates-card__price.price-cell {
		font-size: 15px;
	}
}