/*
 * Aggarwal Holidays — Traveler single-tour redesign
 * Scoped to .ah-tour-redesign so the rest of the website is unchanged.
 */

.ah-tour-redesign {
	--ah-navy: #0b2748;
	--ah-navy-light: #143a66;
	--ah-orange: #fa5636;
	--ah-orange-dark: #e64527;
	--ah-blue: #2f80ed;
	--ah-green: #1fa463;
	--ah-text: #25364a;
	--ah-muted: #66778a;
	--ah-line: #e4eaf1;
	--ah-surface: #ffffff;
	--ah-background: #f5f7fb;
	--ah-radius: 18px;
	--ah-shadow: 0 14px 42px rgba(11, 39, 72, 0.10);
	background: var(--ah-background);
	color: var(--ah-text);
}

.ah-tour-redesign .st-single-tour {
	background: var(--ah-background);
}

.ah-tour-redesign .st-breadcrumb {
	background: #fff;
	border-top: 1px solid #eef2f6;
	border-bottom: 1px solid #eef2f6;
}

.ah-tour-redesign .st-breadcrumb ul {
	padding: 12px 0;
	margin: 0;
}

.ah-tour-redesign .st-breadcrumb a,
.ah-tour-redesign .st-breadcrumb li {
	color: var(--ah-muted);
	font-size: 13px;
}

/* Destination hero */
.ah-tour-redesign .tour-featured-image {
	position: relative;
	height: clamp(380px, 48vw, 560px);
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.ah-tour-redesign .tour-featured-image::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	background: linear-gradient(180deg, rgba(8, 28, 51, 0.05) 35%, rgba(8, 28, 51, 0.58) 100%);
	pointer-events: none;
}

.ah-tour-redesign .tour-featured-image .container,
.ah-tour-redesign .tour-featured-image .row,
.ah-tour-redesign .tour-featured-image .st-gallery {
	position: relative;
	z-index: 1;
}

.ah-tour-redesign .tour-featured-image .shares {
	top: 24px;
}

.ah-tour-redesign .tour-featured-image .share-item {
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 22px rgba(4, 25, 49, 0.18);
}

/* Main content grid */
.ah-tour-redesign .st-tour-content {
	padding: 0 0 72px;
	background: var(--ah-background);
}

.ah-tour-redesign .st-tour-content > .container > .row {
	align-items: flex-start;
}

@media (min-width: 992px) {
	.ah-tour-redesign .st-tour-content > .container > .row > .col-md-9 {
		flex: 0 0 70%;
		max-width: 70%;
	}

	.ah-tour-redesign .st-tour-content > .container > .row > .col-md-3 {
		flex: 0 0 30%;
		max-width: 30%;
	}
}

.ah-tour-redesign .st-service-header {
	position: relative;
	z-index: 4;
	margin-top: -82px;
	margin-bottom: 20px;
	padding: 28px 30px;
	border: 1px solid rgba(228, 234, 241, 0.9);
	border-radius: var(--ah-radius);
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--ah-shadow);
	backdrop-filter: blur(8px);
}

.ah-tour-redesign .st-service-header .st-heading {
	max-width: 760px;
	margin: 0 0 10px;
	color: var(--ah-navy);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.ah-tour-redesign .st-service-header .sub-heading {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--ah-muted);
	font-size: 15px;
}

.ah-tour-redesign .st-service-header .review-score {
	min-width: 115px;
	padding: 12px;
	border-radius: 14px;
	background: #f7f9fc;
	text-align: center;
}

/* Duration, tour type, group and language */
.ah-tour-redesign .st-service-feature {
	margin: 0 0 22px;
	padding: 22px 20px;
	border: 1px solid var(--ah-line);
	border-radius: var(--ah-radius);
	background: var(--ah-surface);
	box-shadow: 0 8px 28px rgba(11, 39, 72, 0.06);
}

.ah-tour-redesign .st-service-feature .item {
	min-height: 62px;
	padding: 8px 10px;
}

.ah-tour-redesign .st-service-feature .icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin-right: 12px;
	border-radius: 14px;
	background: #fff0ec;
	color: var(--ah-orange);
	font-size: 25px;
	place-items: center;
}

.ah-tour-redesign .st-service-feature .icon i {
	color: var(--ah-orange) !important;
}

.ah-tour-redesign .st-service-feature .name {
	margin-bottom: 3px;
	color: var(--ah-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ah-tour-redesign .st-service-feature .value {
	margin: 0;
	color: var(--ah-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

/* Tour information cards */
.ah-tour-redesign .st-tour-content .accordion-item {
	margin: 0 0 18px;
	overflow: hidden;
	border: 1px solid var(--ah-line);
	border-radius: var(--ah-radius) !important;
	background: var(--ah-surface);
	box-shadow: 0 7px 24px rgba(11, 39, 72, 0.055);
}

.ah-tour-redesign .st-tour-content .st-heading-section {
	margin: 0;
	border: 0;
}

.ah-tour-redesign #st-content-wrapper.st-single-tour .st-tour-content .accordion-item .accordion-button {
	padding: 20px 24px;
	border: 0;
	background: var(--ah-navy) !important;
	box-shadow: none;
	color: #fff !important;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.ah-tour-redesign #st-content-wrapper.st-single-tour .st-tour-content .accordion-item .accordion-button:hover,
.ah-tour-redesign #st-content-wrapper.st-single-tour .st-tour-content .accordion-item .accordion-button:focus,
.ah-tour-redesign #st-content-wrapper.st-single-tour .st-tour-content .accordion-item .accordion-button:not(.collapsed) {
	background: linear-gradient(135deg, var(--ah-navy), var(--ah-navy-light)) !important;
	color: #fff !important;
}

.ah-tour-redesign .st-tour-content .accordion-button::after {
	filter: brightness(0) invert(1);
}

.ah-tour-redesign .st-tour-content .accordion-body {
	padding: 24px;
	color: var(--ah-text);
	font-size: 16px;
	line-height: 1.75;
}

.ah-tour-redesign .st-description p:last-child,
.ah-tour-redesign .accordion-body p:last-child {
	margin-bottom: 0;
}

/* Itinerary */
.ah-tour-redesign .st-program-list.style1 {
	padding: 0;
}

.ah-tour-redesign .st-program-list .item {
	position: relative;
	margin: 0 0 14px;
	padding-left: 0 !important;
	border-left: 0 !important;
}

.ah-tour-redesign .st-program-list .item::before {
	display: none !important;
	content: none !important;
}

.ah-tour-redesign .st-program-list .item .header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	padding: 14px 18px;
	border: 1px solid #e8edf3;
	border-radius: 12px;
	background: #f8fafd;
	cursor: pointer;
}

.ah-tour-redesign .st-program-list .item .header h5 {
	margin: 0;
	padding-right: 14px;
	color: var(--ah-navy);
	font-size: 16px;
	font-weight: 750;
	line-height: 1.45;
}

.ah-tour-redesign .st-program-list .item .body {
	margin-top: 10px;
	padding: 16px;
	border: 1px solid #edf1f5;
	border-radius: 12px;
	background: #fff;
	color: var(--ah-text);
	line-height: 1.7;
}

/* Traveler keeps padding on closed itinerary panels; remove it completely. */
.ah-tour-redesign .st-program-list .item:not(.active) .body {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}

.ah-tour-redesign .st-program-list .item.active .body {
	display: block;
	height: auto;
}

.ah-tour-redesign .st-program-list .item .body img {
	width: 100%;
	max-height: 230px;
	border-radius: 12px;
	object-fit: cover;
}

/* Included and excluded */
.ah-tour-redesign .accordion-body ul.include,
.ah-tour-redesign .accordion-body ul.exclude {
	height: 100%;
	margin: 0;
	padding: 20px;
	border-radius: 14px;
	list-style: none;
}

.ah-tour-redesign .accordion-body ul.include {
	border: 1px solid #ccebdc;
	background: #f1fbf6;
}

.ah-tour-redesign .accordion-body ul.exclude {
	border: 1px solid #f7d7d0;
	background: #fff6f4;
}

.ah-tour-redesign .accordion-body ul.include li,
.ah-tour-redesign .accordion-body ul.exclude li {
	position: relative;
	margin: 0;
	padding: 9px 0 9px 28px;
	border-bottom: 1px dashed rgba(102, 119, 138, 0.2);
	line-height: 1.55;
}

.ah-tour-redesign .accordion-body ul.include li:last-child,
.ah-tour-redesign .accordion-body ul.exclude li:last-child {
	border-bottom: 0;
}

.ah-tour-redesign .accordion-body ul.include li > i,
.ah-tour-redesign .accordion-body ul.exclude li > i {
	position: absolute;
	top: 12px;
	left: 0;
}

/* Dividers and redundant Traveler fields */
.ah-tour-redesign .st-hr.large {
	display: none;
}

.ah-tour-redesign .st-map-wrapper,
.ah-tour-redesign .st-attributes.stt-attr-languages,
.ah-tour-redesign .st-attributes.stt-attr-durations {
	display: none !important;
}

/* Booking sidebar */
.ah-tour-redesign .st-tour-content .widgets {
	position: sticky;
	top: 105px;
	z-index: 5;
	margin-top: -82px;
}

.ah-tour-redesign .form-book-wrapper {
	overflow: hidden;
	border: 1px solid rgba(228, 234, 241, 0.95);
	border-radius: var(--ah-radius) !important;
	background: #fff;
	box-shadow: var(--ah-shadow);
}

.ah-tour-redesign #st-content-wrapper .form-book-wrapper .form-head {
	padding: 24px 20px;
	border-bottom: 0;
	background: linear-gradient(135deg, var(--ah-navy), var(--ah-navy-light)) !important;
}

.ah-tour-redesign #st-content-wrapper .form-book-wrapper .form-head .label,
.ah-tour-redesign #st-content-wrapper .form-book-wrapper .form-head .value,
.ah-tour-redesign #st-content-wrapper .form-book-wrapper .form-head .text-lg {
	color: #fff !important;
}

.ah-tour-redesign #st-content-wrapper .form-book-wrapper .form-head .onsale {
	color: rgba(255, 255, 255, 0.72) !important;
}

.ah-tour-redesign .tour-booking-form {
	padding: 4px 18px 20px;
}

.ah-tour-redesign .tour-booking-form .form-group {
	margin-bottom: 12px;
	border-color: var(--ah-line);
	border-radius: 10px;
}

.ah-tour-redesign .tour-booking-form .guest_name_input {
	margin: 12px 0;
	padding: 14px;
	border: 1px solid var(--ah-line);
	border-radius: 11px;
	background: #f8fafd;
}

.ah-tour-redesign .tour-booking-form .guest_name_input .control-item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
}

.ah-tour-redesign .tour-booking-form .guest_name_input .form-control {
	width: 100%;
	min-width: 0;
	padding-right: 4px;
	padding-left: 4px;
}

.ah-tour-redesign .tour-booking-form .btn-book-ajax,
.ah-tour-redesign .tour-booking-form .btn.btn-large {
	min-height: 52px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--ah-orange), var(--ah-orange-dark));
	box-shadow: 0 8px 20px rgba(250, 86, 54, 0.25);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.ah-tour-redesign .tour-booking-form .btn-book-ajax:hover,
.ah-tour-redesign .tour-booking-form .btn.btn-large:hover {
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(250, 86, 54, 0.33);
}

.ah-tour-redesign .tour-sale-box .box_sale {
	background: var(--ah-orange);
}

/* The generic Traveler owner card duplicates the agency details and CTAs. */
.ah-tour-redesign .owner-info {
	display: none !important;
}

/* Related tours */
.ah-tour-redesign .st-list-tour-related .item-tours {
	border-color: var(--ah-line);
	border-radius: 16px !important;
	background: #fff;
	box-shadow: 0 8px 24px rgba(11, 39, 72, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ah-tour-redesign .st-list-tour-related .item-tours:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(11, 39, 72, 0.13);
}

.ah-tour-redesign .st-list-tour-related .featured-image,
.ah-tour-redesign .st-list-tour-related .featured-image img {
	border-radius: 16px 16px 0 0;
}

/* Enquiry actions */
.ah-tour-actions {
	position: fixed;
	right: 22px;
	bottom: 82px;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Reserve the bottom-right corner for Traveler's Back to Top button. */
.ah-tour-redesign #gotop {
	right: 22px !important;
	bottom: 20px !important;
}

.ah-tour-action {
	display: flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-width: 142px;
	min-height: 48px;
	padding: 11px 16px;
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(11, 39, 72, 0.2);
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ah-tour-action svg {
	flex: 0 0 auto;
}

.ah-tour-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(11, 39, 72, 0.26);
}

.ah-tour-action--call {
	background: var(--ah-navy);
}

.ah-tour-action--whatsapp {
	background: #19a95b;
}

/* Tablet */
@media (max-width: 991px) {
	.ah-tour-redesign .tour-featured-image {
		height: 400px;
	}

	.ah-tour-redesign .st-service-header,
	.ah-tour-redesign .st-tour-content .widgets {
		margin-top: -54px;
	}

	.ah-tour-redesign .st-tour-content .widgets {
		position: static;
		margin-top: 22px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.ah-tour-redesign {
		padding-bottom: 68px;
	}

	.ah-tour-redesign .tour-featured-image {
		height: 285px;
	}

	.ah-tour-redesign .st-tour-content {
		padding-bottom: 42px;
	}

	.ah-tour-redesign .st-service-header {
		margin-top: -34px;
		padding: 22px 18px;
		border-radius: 15px;
	}

	.ah-tour-redesign .st-service-header .st-heading {
		font-size: 25px;
	}

	.ah-tour-redesign .st-service-feature {
		padding: 14px 8px;
	}

	.ah-tour-redesign .st-service-feature .col-6 {
		margin-bottom: 8px;
	}

	.ah-tour-redesign .st-service-feature .icon {
		width: 42px;
		height: 42px;
		margin-right: 8px;
		font-size: 22px;
	}

	.ah-tour-redesign .st-service-feature .value {
		font-size: 13px;
	}

	.ah-tour-redesign .st-tour-content .accordion-button {
		padding: 17px 18px;
		font-size: 17px;
	}

	.ah-tour-redesign .st-tour-content .accordion-body {
		padding: 18px;
		font-size: 15px;
	}

	.ah-tour-redesign .st-program-list .item .header {
		padding: 12px 14px;
	}

	.ah-tour-redesign .st-program-list .item .body {
		padding: 13px;
	}

	.ah-tour-redesign .accordion-body ul.include,
	.ah-tour-redesign .accordion-body ul.exclude {
		margin-bottom: 14px;
		padding: 15px;
	}

	.ah-tour-actions {
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 10001;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		padding: 8px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -8px 24px rgba(11, 39, 72, 0.12);
		backdrop-filter: blur(10px);
	}

	.ah-tour-redesign #gotop {
		right: 14px !important;
		bottom: 76px !important;
	}

	.ah-tour-action {
		min-width: 0;
		min-height: 48px;
		border-radius: 10px;
		box-shadow: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ah-tour-redesign *,
	.ah-tour-redesign *::before,
	.ah-tour-redesign *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
